Wenmar Pro Codes API

Generic OBD-II trouble codes, described in this project's own words, and what is held about a code for one model year. Manufacturer-specific codes are not described.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 3

GET /v1/codes/{code} One generic trouble code, described in this project's own words #
GET /v1/vehicles/{id}/codes/{code} A trouble code on one model year: its description, the bulletins of that model… #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/wenmarpro-com:wenmarpro-com-codes-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

wenmarpro-com-codes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Wenmar Open Codes API
  description: 'Free vehicle data for auto repair shops: VIN decoding and a year, make, model, submodel and engine catalog. No API key and no account. Responses are plain JSON with no wrapper. Errors are `{ "error": { "code", "message", "details" } }`. Fields and endpoints are only ever added. One address may make 600 requests a minute.'
  license:
    name: MIT
    identifier: MIT
  version: 0.5.0
servers:
- url: https://open.wenmarpro.com
tags:
- name: Codes
  description: Generic OBD-II trouble codes, described in this project's own words, and what is held about a code for one model year. Manufacturer-specific codes are not described.
paths:
  /v1/codes:
    get:
      tags:
      - Codes
      summary: The trouble codes that are described, by code
      operationId: code_search
      parameters:
      - name: q
        in: query
        description: 'Only codes with this text in the code, the title or the meaning,

          in either case. At most 100 characters are read.'
        required: false
        schema:
          type: string
        example: P04
      - name: system
        in: query
        description: 'Only this system: `powertrain`, `body`, `chassis` or `network`, or

          an area of the powertrain such as `powertrain/emissions`. A group

          holds its areas.'
        required: false
        schema:
          type: string
        example: powertrain/emissions
      - name: limit
        in: query
        description: At most this many, up to 200. The default is 50.
        required: false
        schema:
          type: integer
          minimum: 0
      - name: cursor
        in: query
        description: '`next_cursor` from the page before, unchanged.'
        required: false
        schema:
          type: string
      responses:
        '200':
          description: One page of codes.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CodeList'
        '400':
          description: '`validation_failed`: `system` or `cursor` is not one this API knows; `details.field` names it.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '404':
          description: '`dataset_unavailable`: this server holds no code descriptions.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
  /v1/codes/{code}:
    get:
      tags:
      - Codes
      summary: One generic trouble code, described in this project's own words
      description: 'Only codes every maker uses the same way are described: `P0`, `P2`,

        `P3400` and up, `B0`, `C0`, `U0` and `U3`. The text is general and is

        not about one make.'
      operationId: code
      parameters:
      - name: code
        in: path
        description: A trouble code, in either case. A longer form such as `P0420:00` is cut to its first five characters.
        required: true
        schema:
          type: string
        example: P0420
      responses:
        '200':
          description: The code's description.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Code'
        '404':
          description: '`not_found`: the text is not a code, the code is specific to a manufacturer, or nobody has described it yet; the message says which. `dataset_unavailable`: this server holds no code descriptions.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
  /v1/vehicles/{id}/codes/{code}:
    get:
      tags:
      - Codes
      summary: 'A trouble code on one model year: its description, the bulletins of that model…'
      description: 'Any code answers, a manufacturer-specific one included: such a code has

        `description: null` and whatever bulletins name it. `bulletins` and

        `related.bulletins` are `null` where bulletins are not held, and

        `related.recalls` is `null` where recalls are not. Nothing here says a

        recall applies to one vehicle, or what is wrong with it.'
      operationId: vehicle_code
      parameters:
      - name: id
        in: path
        description: A vehicle id. A submodel or an engine in the id is set aside.
        required: true
        schema:
          type: string
        example: 2018_ford_f-150
      - name: code
        in: path
        description: A trouble code, in either case.
        required: true
        schema:
          type: string
        example: P0420
      responses:
        '200':
          description: What is held about the code for the model year.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VehicleCode'
        '404':
          description: '`not_found`: no vehicle has that id, or the text is not a code. `dataset_unavailable`: this server holds neither code descriptions nor bulletins.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
components:
  schemas:
    RecallVehicle:
      type: object
      description: The model year an answer is about.
      required:
      - id
      - year
      - make
      - model
      properties:
        id:
          type: string
          description: The id of the year, make and model.
          example: 2018_ford_f-150
        make:
          type: string
          example: Ford
        model:
          type: string
          example: F-150
        year:
          type: integer
          format: int32
          minimum: 0
    VehicleCode:
      type: object
      description: A trouble code on one model year.
      required:
      - vehicle
      - code
      - generic
      - related
      - url
      - note
      - attribution
      properties:
        attribution:
          type: array
          items:
            type: string
        bulletins:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/CodeBulletins'
            description: '`null` where bulletins are not held: they are on the hosted

              service only.'
        code:
          type: string
          example: P0420
        description:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/Code'
            description: '`null` when the code is not generic, when nobody has described it,

              or where descriptions are not held.'
        generic:
          type: boolean
          description: 'Whether every maker uses the code the same way. A code that is not

            generic is never described, and may still be named by bulletins.'
        note:
          type: string
        related:
          $ref: '#/components/schemas/CodeRelated'
        url:
          type: string
          description: The page of this code on this model year.
        vehicle:
          $ref: '#/components/schemas/RecallVehicle'
    ErrorBody:
      type: object
      description: 'The body of every error: `{ "error": { "code", "message", "details" } }`.'
      required:
      - error
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
    Recall:
      type: object
      description: One recall campaign in a list.
      required:
      - source
      - country
      - campaign
      - models
      - url
      properties:
        built_from:
          type:
          - string
          - 'null'
          description: 'In an answer about one model year: the first and last build date

            the campaign gives. Compare them with the date on the door sticker.'
        built_to:
          type:
          - string
          - 'null'
        campaign:
          type: string
          description: The publisher's campaign number.
          example: 21V983000
        component:
          type:
          - string
          - 'null'
          description: The component, as the source words it.
          example: LATCHES/LOCKS/LINKAGES:TAILGATE:LATCH
        country:
          type: string
          description: '`us` or `ca`.'
          example: us
        date:
          type:
          - string
          - 'null'
          description: The day the campaign was reported.
          example: '2021-12-16'
        do_not_drive:
          type:
          - boolean
          - 'null'
          description: 'NHTSA''s advisory not to drive the vehicle until it is repaired.

            `null` for a Canadian campaign: Transport Canada publishes no such

            field.'
        manufacturer:
          type:
          - string
          - 'null'
        match:
          type:
          - string
          - 'null'
          description: 'In an answer about one model year: how the campaign''s vehicle text

            reached that model. `exact`, `base` (the campaign names a series or

            trim of it) or `curated`. `null` in a list that is not about one

            model year.'
          example: exact
        mfr_campaign:
          type:
          - string
          - 'null'
          description: 'The manufacturer''s own campaign number, which a dealer looks a

            recall up by.'
          example: 21S53
        models:
          type: array
          items:
            type: string
          description: 'In an answer about one model year: the model names the campaign

            lists that reached it.'
        notification:
          type:
          - string
          - 'null'
          description: Transport Canada's notification type, such as `Safety Mfr`.
        park_outside:
          type:
          - boolean
          - 'null'
          description: NHTSA's advisory to park outside, away from buildings.
        source:
          type: string
          description: 'Who published it: `nhtsa` or `tc` (Transport Canada).'
          example: nhtsa
        summary:
          type:
          - string
          - 'null'
          description: What is wrong, in the source's words.
        units:
          type:
          - integer
          - 'null'
          format: int32
          description: Units potentially affected.
          minimum: 0
        url:
          type: string
          description: The campaign's page on this site.
          example: https://open.wenmarpro.com/recalls/nhtsa/21V983000
    CodeRelated:
      type: object
      description: 'What else is held for the model year about the components a code

        concerns.'
      required:
      - components
      properties:
        bulletins:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/Bulletin'
          description: 'Bulletins about those components that do not name the code, at

            most ten. `null` where bulletins are not held.'
        components:
          type: array
          items:
            $ref: '#/components/schemas/CodeComponent'
          description: The components of the code's description. Empty without one.
        recalls:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/CodeRecalls'
            description: '`null` where recalls are not held.'
    CodeBulletins:
      type: object
      description: The bulletins of a model year whose summary names a code.
      required:
      - count
      - bulletins
      - url
      properties:
        as_of:
          type:
          - string
          - 'null'
          description: The day the bulletins were current.
          example: '2026-10-11'
        bulletins:
          type: array
          items:
            $ref: '#/components/schemas/Bulletin'
          description: The newest, newest first.
        count:
          type: integer
          format: int64
          description: How many there are. `bulletins` holds at most ten.
          minimum: 0
        url:
          type: string
          description: The model year's bulletin page on this site, narrowed to the code.
    BulletinDocument:
      type: object
      description: Where NHTSA's copy of a bulletin's document is expected to be.
      required:
      - url
      - alternate_url
      - confirmed
      properties:
        alternate_url:
          type: string
          description: 'The address to try when `url` answers "not found": NHTSA files

            documents under one of two endings, and the data does not say

            which.'
          example: https://static.nhtsa.gov/odi/tsbs/2018/MC-10152456-9999.pdf
        confirmed:
          type: boolean
          description: 'Always `false`. The addresses are built from a rule that held for

            a sample of documents; this API has not asked NHTSA for this one.'
        url:
          type: string
          description: The likelier address of NHTSA's copy (a PDF).
          example: https://static.nhtsa.gov/odi/tsbs/2018/MC-10152456-0001.pdf
    Code:
      type: object
      description: One generic trouble code, described in this project's own words.
      required:
      - code
      - generic
      - system
      - system_name
      - title
      - meaning
      - common_causes
      - checks
      - components
      - related
      - reviewer
      - checked
      - url
      - note
      - attribution
      properties:
        attribution:
          type: array
          items:
            type: string
          description: The credit lines the data's licences ask for.
        checked:
          type: string
          description: The day it was approved.
          example: '2026-10-12'
        checks:
          type: array
          items:
            type: string
          description: What a technician usually verifies first.
        code:
          type: string
          example: P0420
        common_causes:
          type: array
          items:
            type: string
          description: General causes, not about one make.
        components:
          type: array
          items:
            $ref: '#/components/schemas/CodeComponent'
        generic:
          type: boolean
          description: 'Always `true` here: only codes every maker uses the same way are

            described.'
        meaning:
          type: string
          description: What the code tells a service advisor.
        note:
          type: string
          description: What a description is and is not.
        related:
          type: array
          items:
            $ref: '#/components/schemas/CodeLink'
          description: Related codes that are described too.
        reviewer:
          type: string
          description: The GitHub name of the person who approved the text.
        system:
          type: string
          example: powertrain/emissions
        system_name:
          type: string
          example: Emission controls
        title:
          type: string
        url:
          type: string
          example: https://open.wenmarpro.com/codes/P0420
    CodeRecalls:
      type: object
      description: The recalls of a model year about the components a code concerns.
      required:
      - may_apply
      - recalls
      - lookup
      properties:
        lookup:
          $ref: '#/components/schemas/RecallLookup'
        may_apply:
          type: boolean
          description: 'Always `true`: a campaign lists a model year, never one vehicle.'
        recalls:
          type: array
          items:
            $ref: '#/components/schemas/Recall'
          description: At most ten, newest first.
    RecallLookup:
      type: object
      description: 'Where to check one vehicle for open recalls. Neither government

        publishes recalls by VIN as data, so no answer here can say a recall

        applies to a VIN: these lookups can.'
      required:
      - nhtsa
      - tc
      properties:
        maker:
          type:
          - string
          - 'null'
          description: The maker's own lookup by VIN, where one is on file.
        nhtsa:
          type: string
          description: NHTSA's lookup by VIN, for the United States.
          example: https://www.nhtsa.gov/recalls
        tc:
          type: string
          description: Transport Canada's recall search, for Canada.
    CodeComponent:
      type: object
      description: A component a trouble code concerns.
      required:
      - id
      - name
      properties:
        id:
          type: string
          example: oxygen-sensor
        name:
          type: string
          example: Oxygen sensor
        parent:
          type:
          - string
          - 'null'
          description: The system a part belongs to. `null` for a system.
          example: exhaust-emissions
    CodeList:
      type: object
      description: One page of the described codes, by code.
      required:
      - codes
      - note
      - attribution
      properties:
        as_of:
          type:
          - string
          - 'null'
          description: The newest day a description was approved.
          example: '2026-10-12'
        attribution:
          type: array
          items:
            type: string
        codes:
          type: array
          items:
            $ref: '#/components/schemas/CodeLink'
        next_cursor:
          type:
          - string
          - 'null'
          description: Pass it back as `cursor` for the next page. `null` on the last.
        note:
          type: string
    CodeLink:
      type: object
      description: A trouble code in a list.
      required:
      - code
      - system
      - title
      - url
      properties:
        code:
          type: string
          example: P0420
        system:
          type: string
          description: 'Where the index lists it: a group (`powertrain`, `body`, `chassis`,

            `network`), or a group and an area of it.'
          example: powertrain/emissions
        title:
          type: string
        url:
          type: string
          description: The code's page on this site.
          example: https://open.wenmarpro.com/codes/P0420
    ErrorDetail:
      type: object
      required:
      - code
      - message
      - details
      properties:
        code:
          type: string
          description: 'A stable code to branch on. One of `invalid_vin`, `validation_failed`,

            `not_found`, `dataset_unavailable`, `method_not_allowed`,

            `payload_too_large`, `uri_too_long`, `rate_limited`, `unavailable`,

            `internal_error`.'
          example: invalid_vin
        details:
          type: object
          description: 'More about the error. Always an object; empty when there is nothing

            to add.'
        message:
          type: string
          description: A sentence for a person to read.
          example: a VIN has 17 characters, this has 16
    Bulletin:
      type: object
      description: 'One manufacturer communication in a list: a service bulletin, a

        service campaign, a warranty extension or an over-the-air update.'
      required:
      - nhtsa_id
      - type
      - type_name
      - date_added
      - url
      properties:
        component:
          type:
          - string
          - 'null'
          description: NHTSA's components, in its words, separated by `; `.
          example: ENGINE AND ENGINE COOLING:EXHAUST SYSTEM
        date:
          type:
          - string
          - 'null'
          description: The manufacturer's own date.
          example: '2018-11-02'
        date_added:
          type: string
          description: The day NHTSA published it. Lists are ordered by it.
          example: '2019-01-07'
        document:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/BulletinDocument'
            description: 'Where NHTSA''s copy of the document is expected to be. `null` when

              no address can be built for it: a communication with no

              manufacturer''s date, or one NHTSA received before July 2017.'
        document_id:
          type:
          - string
          - 'null'
          description: 'The manufacturer''s own number for the document, which a dealer

            looks it up by.'
          example: TSB 18-2324
        mfr_campaign:
          type:
          - string
          - 'null'
          description: The manufacturer's campaign id or software version.
        nhtsa_id:
          type: integer
          format: int64
          description: NHTSA's id number for the communication.
          example: 10152456
        summary:
          type:
          - string
          - 'null'
          description: 'NHTSA''s summary of the communication. The document itself is the

            manufacturer''s and is not here.'
        type:
          type: string
          description: '`service_bulletin`, `service_campaign`, `warranty_extension`,

            `over_the_air`, `emissions` or `other`.'
          example: service_bulletin
        type_name:
          type: string
          description: The type in words.
          example: Service bulletin
        url:
          type: string
          description: The bulletin's page on this site.
          example: https://open.wenmarpro.com/bulletins/10152456