Reference$0.001 per call, 1,000 free a month

OBD code lookup

Title, description, affected components, common causes with likelihood, symptoms, repair difficulty and flags (check-engine light, emissions) for the generic SAE J2012 trouble codes: P0, P2, P3, B0, C0 and U0. Data from the OBDex project (CC0).

GET /v1/obd/{code}

Parameters

NameInDescription
code*pathA five-character OBD-II trouble code.

Request

curl "https://api.hubcapdata.com/v1/obd/P0300" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

Sample data from test mode. Live responses have the same fields.

{
  "data": {
    "code": "P0300",
    "system": "powertrain",
    "scope": "generic",
    "title": "Random/Multiple Cylinder Misfire Detected",
    "description": "The engine module detects misfire from crankshaft speed: a cylinder that does not fire gives no acceleration impulse. At a catalyst-damaging rate (CARB: at least 5 % per 200 revolutions) the warning light flashes; at an emissions-relevant rate (at least 1 % per 1,000 revolutions – GM about 2–5 %, Ford 0.9–1.5 %) it comes on after two trips. Ford and GM may shut off a misfiring cylinder's injector to protect the catalyst. P0300 sets when the misfire cannot be assigned to one cylinder: several cylinders each account for more than 10 %, the cylinder changes randomly, or – at Ford – the cylinder cannot be identified at high speed. It often appears together with cylinder codes. Causes are usually systemic: false air, worn plugs on several cylinders, fuel pressure or fuel quality, valve timing – and false detection from a damaged tone wheel, rough roads or vibration. Bulletins name coils, cracked plug insulators and wrong plug gaps.",
    "affected_components": [
      "ignition system",
      "fuel system",
      "intake system",
      "crankshaft position sensor"
    ],
    "common_causes": [
      {
        "cause": "False air (vacuum leak, crankcase ventilation, intake gasket)",
        "likelihood": "high"
      },
      {
        "cause": "Worn or wrong spark plugs on several cylinders, faulty ignition coils",
        "likelihood": "high"
      },
      {
        "cause": "Fuel pressure too low or high, contaminated fuel",
        "likelihood": "medium"
      },
      {
        "cause": "Valve timing (stretched chain), valves, compression on several cylinders",
        "likelihood": "low"
      },
      {
        "cause": "False detection: tone wheel or pulley, rough road, vibration, software",
        "likelihood": "low"
      }
    ],
    "symptoms": [
      "Check engine light on, flashing at a catalyst-damaging rate",
      "Rough idle, jerking, vibration",
      "Loss of power, hesitation",
      "Smell of unburnt fuel, higher consumption"
    ],
    "repair": {
      "difficulty": "medium",
      "diy_possible": true,
      "estimated_hours": [
        0.5,
        6
      ]
    },
    "flags": {
      "check_engine_light": true,
      "emissions_relevant": true,
      "drive_cycle_required": true,
      "limp_mode_possible": true
    },
    "related_codes": [
      "P0301",
      "P0302",
      "P0316",
      "P0315",
      "P0171",
      "P0420"
    ],
    "source": "OBDex (CC0-1.0)"
  },
  "meta": {
    "request_id": "req_4n8b2v6c1x9z3l7k5j0h",
    "mode": "live",
    "cost": 0.001,
    "cached": false,
    "balance": 98.42
  }
}

Errors

400 invalid input, 401 bad key, 402 not enough credit, 404 no record (free), 429 rate limited, 503 sources unavailable (free). See Errors.

All docs pages