Overview
`code` is trimmed and uppercased, then must be a letter P, B, C or U, a digit 0-3 and three hex characters (0-9, A-F); anything else returns 400. The letter sets `system`: Powertrain, Body, Chassis or Network. Each code is one stored record rebuilt weekly from three open sources: OBDex for generic content, an OBD codes list for the warning lamp and system category, and a DTC database of carmaker titles for 32 makes.
`codeType` is `generic` when OBDex has a record for the code. Otherwise it follows SAE J2012 numbering: P1, P30-P33, B1, B2, C1, C2, U1 and U2 are manufacturer-controlled and read `manufacturer`, the rest `generic`. Where OBDex's title disagrees with the standard list (low word overlap after expanding abbreviations such as EGR and MAF), its detailed content is dropped and only the standard title kept, so the paid detail fields are null rather than describing another fault.
`warningLight` is the lamp from the category data, or Check Engine Light when OBDex marks the code as lighting the MIL. `subsystem` is the part after the dash in the category, such as Ignition. `lang=de` returns German title, description, causes and symptoms where OBDex has them, and English otherwise.
`make` accepts common spellings (Chevrolet or Chevy, VW, Mercedes or Benz) and is ignored, not rejected, when unrecognised. With a supported make, `manufacturer` carries that carmaker's title for the code; `availableMakes` lists every make that defines it, or is null. An unknown code returns 200 with `found: false`. On the Free plan the description, causes, symptoms, components, repair, cost, labor, flags, related codes, `subsystem` and `manufacturer` are null.
Endpoint
One host, one path per API. The block below shows this call in four languages; every one of them is the same HTTP request. Making requests covers the timeouts, retries and parameter rules that apply to all of them. The SDKs wrap the same call in a typed client.
curl "https://api.apiverve.com/v1/dtclookup?code=P0301&make=Ford&lang=en" \
-H "x-api-key: your_api_key_here"const res = await fetch('https://api.apiverve.com/v1/dtclookup?code=P0301&make=Ford&lang=en', {
headers: { 'x-api-key': 'your_api_key_here' },
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const { data } = await res.json();
console.log(data);import requests
res = requests.get(
"https://api.apiverve.com/v1/dtclookup?code=P0301&make=Ford&lang=en",
headers={"x-api-key": "your_api_key_here"},
timeout=15,
)
res.raise_for_status()
print(res.json()["data"])package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.apiverve.com/v1/dtclookup?code=P0301&make=Ford&lang=en", nil)
req.Header.Set("x-api-key", "your_api_key_here")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
out, _ := io.ReadAll(res.Body)
fmt.Println(string(out))
}Replace your_api_key_here with the key from your dashboard. When the inputs arrive as a list rather than one at a time, batch requests run up to 200 of them through this same API in a single call.
Authentication
Send your key in the x-api-key header. That is the only auth step — there is no token exchange and no per-endpoint scope to configure. Authentication covers creating, rotating and revoking keys.
A 401 means the key is missing, invalid or expired. A 403 means the key is valid but not permitted here — blocked by a key restriction or an IP allow-list. Running out of credits is a 429.
Parameters
Sent in the query string. Premium parameters are accepted on every plan but only take effect on plans that include them.
| Parameter | Type | Description |
|---|---|---|
codeRequired | string | The OBD-II trouble code: P, B, C or U followed by four characters, for example P0301, U0100 or P2BAC. A VAG (VW, Audi, SEAT, Skoda) 5-digit code in the OBD-II ranges is also accepted, for example 16684 for P0300 length 0–10 |
makeOptional | string | The vehicle make, for carmaker-specific codes, for example Ford, Chevrolet, Audi or Lexus. Brands that share a code list answer from it, so Audi, SEAT and Skoda use the Volkswagen list and Lexus uses Toyota's length 0–40 |
langOptional | string | Language of the title, description, causes and symptoms of generic codesendedefault en |
Response
Every API returns the same three top-level keys, so one response handler covers your whole integration: status, error and data. Only data changes shape. Response format covers the envelope, the other output formats and how premium fields are withheld.
{
"status": "ok",
"error": null,
"data": {
"code": "P0301",
"found": true,
"system": "Powertrain",
"subsystem": "Ignition",
"codeType": "generic",
"title": "Cylinder 1 Misfire Detected",
"description": "Misfires concentrated on cylinder 1. A cylinder-specific code points away from shared causes (fuel pressure, MAF) toward components dedicated to that cylinder — coil, spark plug, injector, compression…",
"warningLight": "Check Engine Light",
"affectedComponents": [
"ignition_coil",
"spark_plug",
"fuel_injector"
],
"causes": [
{
"cause": "Ignition coil for cylinder 1 failed",
"likelihood": "high"
},
{
"cause": "Spark plug for cylinder 1 worn or fouled",
"likelihood": "high"
},
{
"cause": "Cylinder 1 injector clogged",
"likelihood": "medium"
},
{
"cause": "Low compression on cylinder 1",
"likelihood": "low"
}
],
"symptoms": [
"Check engine light on or flashing",
"Rough idle and uneven running",
"Power loss, hesitation under acceleration",
"Increased fuel consumption",
"Possible smell of unburned fuel from exhaust"
],
"repairDifficulty": "easy",
"diyPossible": true,
"estimatedRepairCost": {
"min": 40,
"max": 800,
"currency": "EUR"
},
"estimatedLaborHours": {
"min": 0.3,
"max": 4
},
"emissionsRelated": true,
"limpModePossible": null,
"relatedCodes": [
"P0302",
"P0303",
"P0304",
"P0305",
"P0306",
"P0307",
"P0308",
"P0309",
"P0310",
"P0311",
"P0312"
],
"make": null,
"manufacturer": null,
"availableMakes": null,
"language": "en"
}
}
Response fields
Paths are relative to data. Premium fields are absent rather than zeroed on plans that do not include them, so check for presence instead of comparing to 0.
| Field | Type | Example | Description |
|---|---|---|---|
code | string | "P0301" | The trouble code, uppercased |
found | boolean | true | Whether the code has a record |
system | string | "Powertrain" | Vehicle system: Powertrain, Body, Chassis or Network |
subsystemPremium | string | "Ignition" | Powertrain subsystem, for example Ignition or Transmission |
codeType | string | "generic" | generic (same meaning on every vehicle) or manufacturer (carmaker-specific) |
title | string | "Cylinder 1 Misfire Detected" | Standard title of a generic code |
descriptionPremium | string | "Misfires concentrated on cylinder 1. A cylinder-specific code points away from shared causes (fuel p…" | What the code means and what the control module detected |
warningLight | string | "Check Engine Light" | Warning light the code turns on, for example Check Engine Light or ABS Light |
affectedComponentsPremium | array | [ignition_coil, ...] | Components involved, as identifiers such as ignition_coil |
causesPremium | array[4] | Common causes of the code | |
causePremium | string | "Ignition coil for cylinder 1 failed" | The cause |
likelihoodPremium | string | "high" | How often this cause is responsible: high, medium or low |
symptomsPremium | array | [Check engine light on or flashing, ...] | Symptoms a driver may notice |
repairDifficultyPremium | string | "easy" | easy, medium, hard or shop_only |
diyPossiblePremium | boolean | true | Whether the usual repair is within reach of a home mechanic |
estimatedRepairCostPremium | object | {...} | Typical repair cost range |
minPremium | number | 40 | Low end of the cost range |
maxPremium | number | 800 | High end of the cost range |
currencyPremium | string | "EUR" | Currency of the cost range (EUR) |
estimatedLaborHoursPremium | object | {...} | Typical labor time range |
minPremium | number | 0.3 | Low end of labor hours |
maxPremium | number | 4 | High end of labor hours |
emissionsRelatedPremium | boolean | true | Whether the fault affects emissions |
limpModePossiblePremium | object | null | Whether the fault can put the vehicle into limp mode |
relatedCodesPremium | array | [P0302, ...] | Codes that commonly appear with this one |
make | object | null | The make the lookup used, when a supported make was given |
manufacturerPremium | object | null | The carmaker's definition of a carmaker-specific code, when make is given |
availableMakes | object | null | Makes that define this carmaker-specific code |
language | string | "en" | Language of the returned text |
Errors
Read the HTTP status first, then error for the specific reason. The body names the parameter that has to change. Error handling covers the full status list and which of them are worth retrying.
| Status | Meaning | What to do |
|---|---|---|
400 | Input was rejected | Read error; it names the parameter. |
401 | Key missing or invalid | Check the header name and the key value. |
403 | Key valid, but not permitted | A key restriction or IP allow-list; see key scoping. |
429 | Rate limited, or out of credits | Read error to tell them apart; see rate limits. |
Use cases
- Scan Tool Apps
- Bluetooth OBD-II dongle apps turn the raw codes a car reports into plain-language titles, likely causes and the warning light involved.
- Repair Shop Software
- Workshop systems attach the likely causes, labor hours and cost range to a job card the moment a technician reads a code.
- Fleet Telematics
- Fleet platforms receiving fault codes from vehicles flag which ones are emissions-related or can put the vehicle into limp mode, and route them to maintenance.
- Used Car Inspections
- Inspection and listing tools explain stored codes found during a pre-purchase check in terms a buyer understands.
Other ways to use DTC Lookup
Set up DTC Lookup on APIVerve, or reach the same source a different way. Your APIVerve account and credits work on all of them — one key, one balance.
Related
More in Transportation: