The shape
The spec's Error schema has two required strings. The gateway and the sandbox add object: "error" and, where it helps, a docs link or an available list. Match on error, never on the message text.
curl 'https://vinspeclookup.com/api/v1/fluids?vin=5J6RW2H82KL000007'# no Authorization header{
"error": "invalid_api_key",
"message": "Unknown API key."
}Every code, with the fix
| Status | error | Message | From | What to do |
|---|---|---|---|---|
| 400 | missing_param | Pass ?vin=… OR ?year=&make=&model=[&trim=] OR ?config_key=… | API | Send exactly one identifier mode. |
| 400 | invalid_vin | A VIN is exactly 17 characters. | API | Strip spaces and check the length before you call. |
| 401 | invalid_api_key | Unknown API key. | API | Send Authorization: Bearer or x-api-key with a live key. The same code covers a missing or revoked key. |
| 401 | expired_api_key | This key expired on 2026-11-07. Contact us to continue. | API | A key can end on a set date. Ask us to extend it or move you to a paid plan. |
| 402 | key_limit_reached | This key has used its 20 lookups outside the demo set. Vehicles already served still work. Higher volume comes with a paid plan. | API | limit says which cap: lookups_outside_demo_set or enrich_runs. Vehicles in the key's agreed set and ones you already looked up keep working. For more volume, contact us about a paid plan. |
| 402 | enrich_plan_limit | This plan allows 100 enrich runs a month. Contact us to raise it. | API | Paid keys on a plan that blocks at its limit stop here until the month resets or the limit is raised. |
| 403 | insufficient_scope | This key lacks the 'maintenance:read' scope. | API | Request the scope on the key. Free keys carry maintenance:read, labor:read and media:read; service history and enrich need a paid key. |
| 403 | paid_plan_required | GET /v1/catalog isn't available on free keys. | API | The full catalog is for keys on a plan; free keys and the keyless sandbox get this. Look vehicles up one at a time by VIN, year/make/model/trim (/v1/configs) or config_key, or browse /coverage. |
| 403 | write_disabled | Enrichment writes are disabled in the keyless sandbox. | Sandbox | Use your own key with enrich:write (Pro and Scale). |
| 404 | not_found | No enriched vehicle config matches that identifier. | API | Grow the dataset with POST /v1/enrich, then poll GET /v1/enrich. |
| 404 | no_image | Vehicle resolved but no image is cached for it yet. | API | Treat the render as optional. Retrying won't help until a render is cached for this config. |
| 409 | multiple_matches | More than one config matches — retry with ?config_key= from the list (or add &trim=). | API | Retry with a config_key from matches, or add &trim=. A ?vin= lookup lists up to 5, most complete first, with readable labels and total_matches. |
| 422 | unsupported_vehicle | The VIN decoded but no engine code could be resolved. | API | Nothing to retry. Surface it as unsupported. |
| 429 | rate_limited | Limit is 60 requests/minute for this key. | API | Back off for Retry-After seconds. Limits are per key, per minute. |
| 429 | rate_limited | Sandbox limit is 30 requests/minute per IP. | Sandbox | Wait for Retry-After, or use your own key. |
| 429 | daily_quota_exceeded | This plan allows 12500 lookups a day. It resets at 00:00 UTC. | API | Wait for the UTC day to roll over, or ask us to raise the limit. |
| 429 | monthly_quota_exceeded | This plan allows 250000 lookups a month. | API | Paid keys on a plan that blocks at its limit stop here until the month resets or the limit is raised. |
| 429 | quota_exceeded | Daily enrichment quota (5 scheduled runs/day/key) reached. | API | Enrichment credits reset daily. Cache hits and polls never spend them. |
| 502 | upstream_unreachable | The API backend did not respond. Try again shortly. | Gateway | Retry with backoff. The gateway forwards nothing it did not receive. |
| 503 | gateway_unconfigured | The API gateway is not connected to a backend in this environment. | Gateway | Only seen on a misconfigured deployment. Nothing to do client-side. |
“From” says which layer writes the body: the API itself, the branded gateway in front of it, or the keyless sandbox at https://vinspeclookup.com/api/sample.
409: candidates, not a dead end
A year/make/model lookup can fit more than one config (two drivetrains, two engines). Instead of guessing, the API answers 409 with every candidate. Pick a config_key and repeat the call, or add &trim=. GET /v1/configs returns the same list as a 200 if you would rather ask first.
More than one config matches — retry with ?config_key= from the list (or add &trim=).
curl 'https://vinspeclookup.com/api/v1/fluids?year=2019&make=Honda&model=CR-V' \ -H 'Authorization: Bearer otp_live_…'{
"error": "multiple_matches",
"message": "More than one config matches — retry with ?config_key= from the list (or add &trim=).",
"matches": [
{
"config_key": "2019_honda_cr_v_ex_l15be",
"label": "2019_honda_cr_v_ex_l15be"
},
{
"config_key": "2019_honda_cr_v_ex_l_l15be",
"label": "2019_honda_cr_v_ex_l_l15be"
}
]
}A VIN can fit more than one config too, when it doesn't say which engine or transmission the car has. The 409 then lists up to 5 configs, most complete first (verified, then complete, then partial; then fill rate), each with a readable label. total_matches says how many the VIN fits. The same 409 can come back from POST /v1/vehicle and POST /v1/enrich, at no charge.
curl 'https://vinspeclookup.com/api/v1/fluids?vin=…' \ -H 'Authorization: Bearer otp_live_…'{
"error": "multiple_matches",
"message": "This VIN fits more than one config — retry with ?config_key= from the list.",
"total_matches": 2,
"matches": [
{
"config_key": "2008_nissan_altima_base_qr25de_cvt",
"label": "2008 Nissan Altima Base, 2.5L QR25DE, CVT"
},
{
"config_key": "2008_nissan_altima_base_qr25de_manual",
"label": "2008 Nissan Altima Base, 2.5L QR25DE, Manual"
}
]
}What to retry
- 429 and 502: yes, after
Retry-Afterseconds or with exponential backoff. - 404 not_found: not as-is. Grow the dataset with
POST /v1/enrich(Pro and Scale), pollGET /v1/enrich, then read again. - 400, 401, 403, 422: no. Fix the request, the key, or surface the vehicle as unsupported.
Rate limits and the headers to read are on Rate limits.