Map a diagnostic trouble code (DTC) read from an OBD-II scanner to readable diagnosis text. The /obdcodesdecoder endpoint takes the code alone — no VIN or vehicle identity required.
Parameters
| Parameter | Required | Description |
|---|---|---|
code | Yes | OBD-II diagnostic trouble code, for example P0115 |
key | Yes | Your CarsXE API key |
format | No | json by default, or xml if supported by your endpoint configuration |
Example
Decode an OBD-II code
For the full interactive reference, try it live in the API Reference.
Response
- Name
success- Type
- boolean
- Description
Whether the code was decoded.
- Name
diagnosis- Type
- string
- Description
Diagnostic description for the trouble code.
- Name
date- Type
- string
- Description
Lookup timestamp or date returned by the API.
- Name
code- Type
- string
- Description
Normalized OBD code returned by the API.
Errors
See the Errors guide for the full list.
- 400 - Missing OBD code.
- 401 - API key is missing, invalid, disabled, or unauthorized.
- 404 - The code is not in the reference table, either a typo or a manufacturer-specific code.
- 429 - Usage limit exceeded.
Decode an OBD-II diagnostic trouble code into a readable diagnosis.