> ## Documentation Index
> Fetch the complete documentation index at: https://docs.remapdb.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Look up multiple DTC codes

> Requires vdb_read and an active API or MAX full API subscription. Returns immediately; no job ID. Responses use Cache-Control: private, no-store. Manufacturer context narrows dictionary interpretations; it does not verify vehicle applicability.



## OpenAPI

````yaml /openapi-v2.json post /dtc/lookup
openapi: 3.0.0
info:
  title: Remapdb API v2
  description: >-
    Vehicle Tuning Database API - For Tuning services and Tuners.


    Access comprehensive vehicle details, including types, manufacturers,
    models, engines, ECU and TCU info, tuning tools, dyno charts, and available
    tuning or remap stages with their performance gains.



    REST v2 uses the same Bearer API keys as v1. Account customizations apply
    only when the subscription has Customizations access. Cache catalog
    responses by API version, account, language and catalog profile, never by
    entity ID alone. IDs and cursors remain numeric and can exceed 32-bit
    integers; support integers through 9007199254740991. Identify stages by id,
    not stage_number. Manufacturer logos may be null; custom logos and
    generation photos use durable CDN object URLs. See
    https://docs.remapdb.com/api/migrate-to-v2.


    Private catalog slugs use rdb-brand-{id}, rdb-make-{id}, rdb-gen-{id}, and
    rdb-engine-{id}. Legacy rdb-private-{entity}-{id} links continue to resolve.


    Create and name up to 10 active key/secret pairs in API > API keys. All
    pairs share the same subscription and entitlements. Use only the key as the
    bearer token; this header does not require the secret. Rotation or
    revocation invalidates the selected key on subsequent requests, including
    existing MCP sessions. Other keys remain valid.


    Account activity is available in the Remapdb app under API > API usage.
    Request logging records account/key identifiers, normalized endpoint, status
    and duration; new logs exclude credential values and request payloads. See
    https://docs.remapdb.com/api/usage-and-monitoring.
  termsOfService: https://remapdb.com/terms
  contact:
    name: Remapdb.com
    url: https://remapdb.com
  version: 2.0.0
  x-logo:
    url: https://cdn.remapdb.com/logos/remapdb-logo-default-full-light.svg
    altText: Remapdb REST API Documentation
servers:
  - url: https://api.remapdb.com/v2
security:
  - bearerAuth: []
tags:
  - name: Response and Errors
    description: >-
      - API will always respond with json, content type: **application/json**.

      - Successfull response will return HTTP **2XX** ***(Success)*** response
      code.

      - Error response will return either HTTP **4XX** ***(Client Error)*** or
      HTTP **5XX** ***(Server Error)***.


      On error, API will return error object. It will contain the appropriate
      error **code** *(integer)* and a **message** *(string)*.

      The HTTP response code will be the same as the error code.


      Error Schema:

      ```json json_schema

      {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer"
          },
          "message": {
            "type": "string"
          }
        }
      }

      ```


      Error Example:

      ```json http

      {
        "code": 404,
        "message": "Method doesnt exist."
      }

      ```



      DTC and ECU endpoints instead use a structured `{error: {code: string,
      message: string}}` envelope; see their operation schemas.
    x-traitTag: true
  - name: Language
    description: >-
      All API methods accept custom language. It can be set via the
      **"Accept-Language"** header. Content of the header should be the code of
      the language you are requesting.


      #### Available languages:

      Code | Name

      ---------|----------
       `bg` | Bulgarian
       `da` | Danish
       `de` | German
       `en` | English **(default)**
       `es` | Spanish
       `et` | Estonian
       `fi` | Finnish
       `fr` | French
       `hr` | Croatian
       `hu` | Hungarian
       `it` | Italian
       `lt` | Lithuanian
       `lv` | Latvian
       `nb` | Norwegian Bokmål
       `nl` | Dutch
       `nn` | Norwegian Nynorsk
       `pt` | Portuguese
       `ru` | Russian
       `sv` | Swedish
       `tr` | Turkish
       `zs` | Chinese

      If no "accept-language" header is set, the API will use the default
      language - English.


      Following example shows how to set the language to Dutch (`nl`) using
      curl:

      ```json http

      curl 'https://api.remapdb.com/v1/search?query=audi' \

      --header 'Accept-Language: nl'

      ```



      DTC dictionary descriptions are returned as stored and are not translated.
    x-traitTag: true
  - name: Rate Limits
    description: >-
      All active API keys on an account share one request allowance across REST
      v1, REST v2 and MCP. The standard allowance is 120 requests per minute.
      Creating or rotating keys does not reset it. API v2 returns HTTP 429 when
      the limit is reached; retry after the current minute window. UK lookup
      credits and ECU job/storage quotas are also shared by the account.
    x-traitTag: true
  - name: Client SDKs
    description: >
      Remapdb offers OpenAPI v3 specification which can be used with any
      OpenAPI/Swagger client generator to generate your own client SDK.

      Download OpenAPI specification:
      [https://docs.remapdb.com/openapi.json](https://docs.remapdb.com/openapi.json).



      Following SDK's are automatically generated:

      Language | Link

      ----------|----------

      PHP |
      [https://github.com/remapdb-api/remapdb-php-sdk](https://github.com/remapdb-api/remapdb-php-sdk)

      JavaScript |
      [https://github.com/remapdb-api/remapdb-js-sdk](https://github.com/remapdb-api/remapdb-js-sdk)
    x-traitTag: true
  - name: Subscription
    description: >
      Most of the API methods require an active API subscription. The following
      method allows you to obtain information about your current API
      subscription.


      More info about Remapdb's API subscription can be found here:
      [https://app.remapdb.com/api](https://app.remapdb.com/api)
    x-displayName: API Subscription
  - name: Types
    description: >
      Obtain information about the vehicle types. 


      **Active API subscription required. Get it here:
      [https://app.remapdb.com/api](https://app.remapdb.com/api)**
    x-displayName: Vehicle Types
  - name: Manufacturers
    description: >
      Obtain information about vehicle manufacturers. 


      **Active API subscription required. Get it here:
      [https://app.remapdb.com/api](https://app.remapdb.com/api)**
  - name: Models
    description: >
      Obtain information about vehicle models. 


      **Active API subscription required. Get it here:
      [https://app.remapdb.com/api](https://app.remapdb.com/api)**
  - name: Generations
    description: >
      Obtain information about model generations. 


      **Active API subscription required. Get it here:
      [https://app.remapdb.com/api](https://app.remapdb.com/api)**      
  - name: Engines
    description: >
      Obtain information about vehicle engines. 


      **Active API subscription required. Get it here:
      [https://app.remapdb.com/api](https://app.remapdb.com/api)**     
  - name: Search
    description: >
      Searches through manufacturers, models, generations and engines. 


      **Active API subscription required. Get it here:
      [https://app.remapdb.com/api](https://app.remapdb.com/api)**
  - name: VRM lookup
    description: >-
      Ordinary UK VRM lookup requires an active API or MAX full API
      subscription, vdb_read scope and VRM entitlement. Designated saved test
      registrations are free through REST on every plan with a valid scoped API
      key, including trials. Widgets have separate access: Free accounts can use
      purchased credits with zero included allowance.
  - name: ECU observation
    description: >-
      Controlled-access, observation-only binary analysis under /ecu/. Jobs are
      asynchronous; reports are concise and account-scoped.
  - name: DTC lookup
    description: >-
      Synchronous diagnostic-code dictionary lookup included with every active
      API or MAX full API subscription. Requires vdb_read. No worker, lookup
      credits or ECU rollout access required. Descriptions are stored reference
      text, not diagnosis or verified vehicle applicability; not translated by
      Accept-Language.
paths:
  /dtc/lookup:
    post:
      tags:
        - DTC lookup
      summary: Look up multiple DTC codes
      description: >-
        Requires vdb_read and an active API or MAX full API subscription.
        Returns immediately; no job ID. Responses use Cache-Control: private,
        no-store. Manufacturer context narrows dictionary interpretations; it
        does not verify vehicle applicability.
      operationId: lookupDtcCodes
      requestBody:
        required: true
        description: >-
          JSON only, maximum 64 KiB. 1–20 codes; each is trimmed and uppercased.
          Unknown codes do not fail the whole request.
        content:
          application/json:
            schema:
              type: object
              properties:
                codes:
                  type: array
                  minItems: 1
                  maxItems: 20
                  items:
                    type: string
                    pattern: ^[PCBUpcbu][0-9A-Fa-f]{4}$
                manufacturer:
                  type: string
                  minLength: 1
                  maxLength: 10
                  example: FORD
                  description: >-
                    Exact token from /dtc/manufacturers, case-insensitive.
                    Includes generic references and this manufacturer, excludes
                    other manufacturers and unassigned entries. Unknown tokens
                    return 400. Omit to include all interpretations. GENERIC and
                    OTHER are not manufacturer tokens.
              required:
                - codes
              additionalProperties: false
            example:
              codes:
                - P0300
                - P1000
              manufacturer: FORD
      responses:
        '200':
          description: Matching dictionary references.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DtcBatch'
        '400':
          description: Invalid code, manufacturer, filters or request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DtcError'
        '401':
          description: Missing, invalid or revoked API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DtcError'
        '403':
          description: Missing vdb_read or active API/MAX subscription.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DtcError'
        '405':
          description: Method not allowed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DtcError'
        '413':
          description: Request exceeds 64 KiB.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DtcError'
        '415':
          description: Use application/json.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DtcError'
        '429':
          description: Shared account request limit reached.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DtcError'
        '503':
          description: Dictionary temporarily unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DtcError'
components:
  schemas:
    DtcBatch:
      type: object
      properties:
        results:
          type: array
          minItems: 1
          maxItems: 20
          items:
            $ref: '#/components/schemas/DtcLookup'
          description: >-
            Preserves input order and duplicates. Missing codes have found=false
            and empty matches.
      required:
        - results
      additionalProperties: false
    DtcError:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
                - invalid_request
                - invalid_key
                - scope_required
                - access_denied
                - invalid_manufacturer
                - not_found
                - rate_limited
                - method_not_allowed
                - unavailable
            message:
              type: string
          required:
            - code
            - message
          additionalProperties: false
      required:
        - error
      additionalProperties: false
    DtcLookup:
      type: object
      properties:
        code:
          type: string
          pattern: ^[PCBU][0-9A-F]{4}$
          example: P0300
        found:
          type: boolean
        matches:
          type: array
          items:
            $ref: '#/components/schemas/DtcDefinition'
      required:
        - code
        - found
        - matches
      additionalProperties: false
    DtcDefinition:
      type: object
      properties:
        code:
          type: string
          pattern: ^[PCBU][0-9A-F]{4}$
          example: P0300
        type:
          type: string
          enum:
            - P
            - B
            - C
            - U
          description: 'P: powertrain; B: body; C: chassis; U: network.'
        description:
          type: string
          description: >-
            Untranslated stored reference text; may contain possible causes
            rather than a short title.
        scope:
          type: string
          enum:
            - generic
            - manufacturer
            - unassigned
          description: >-
            Source category. generic is the generic-reference bucket, not a
            guarantee the code is universal. unassigned means no confirmed
            manufacturer context.
        manufacturer:
          type: object
          properties:
            name:
              type: string
            id:
              type: integer
              nullable: true
              description: >-
                Catalog ID when available. May be shared by different
                manufacturer tokens.
          required:
            - name
            - id
          additionalProperties: false
          nullable: true
      required:
        - code
        - type
        - description
        - scope
        - manufacturer
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: |-
        All API methods require Bearer authentication.
        Use your existing API key as the bearer token.

        Authorization header format: `Authorization: Bearer YOUR_API_KEY`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.