Docs
Endpoints

Response examples

JSON examples for validation, access, entitlement, missing results, admission and temporary failures.

These examples describe the implemented public lookup API, not private portal or administration endpoints. Values and request references are illustrative. The JSON blocks are representative field subsets checked against implementation: additional result, billing or request-reference fields can appear. English detail may vary; use HTTP status, machine fields and endpoint context together. Never assume an error has a successful-result envelope.

Successful paint and missing-paint JSON is in paint lookup; successful VIN JSON is in registration to VIN; pending and completed JSON is in lookup status. See idempotency for replayed success.

Invalid VIN syntax — HTTP 400

{
  "detail": "Supply a valid 17-character VIN without I, O or Q.",
  "status": "invalid_input",
  "error": {
    "code": "invalid_vin_format",
    "field": "vin"
  },
  "validation": {
    "format": "invalid",
    "existence": "not_checked"
  }
}

This example is the invalid-character/length branch. Empty or non-string VINs can use different detail text. A valid-looking VIN that is not found is not a syntax error.

Malformed or non-object JSON — HTTP 400

{
  "detail": "Send a JSON object."
}

Correct the JSON or documented request fields before retrying. Validation errors need not contain a billing object.

Unsupported request fields — HTTP 400

{
  "detail": "Invalid lookup input."
}

Correct the JSON or documented request fields before retrying. Validation errors need not contain a billing object.

Missing or unsupported dedicated VIN input — HTTP 400

{
  "detail": "Supply a VIN and optional make only."
}

Correct the JSON or documented request fields before retrying. Validation errors need not contain a billing object.

Invalid polling request — HTTP 400

{
  "detail": "Supply valid unique lookup request IDs."
}

Correct the JSON or documented request fields before retrying. Validation errors need not contain a billing object.

Missing or unresolved authentication — HTTP 401

{
  "detail": "Authentication required."
}

Check the Bearer key. Depending on where authentication is rejected, an invalid key can use the same generic message as missing authentication.

Invalid or revoked API key — HTTP 401

{
  "detail": "API key is invalid."
}

Check the Bearer key. Depending on where authentication is rejected, an invalid key can use the same generic message as missing authentication.

Subscription required — HTTP 402

{
  "detail": "Complete a subscription checkout to search."
}

Check the account in the portal; changing the vehicle or retrying immediately will not repair entitlement. Some API-access checks reject earlier with HTTP 403 instead.

Payment needs attention — HTTP 402

{
  "detail": "Your payment needs attention."
}

Check the account in the portal; changing the vehicle or retrying immediately will not repair entitlement. Some API-access checks reject earlier with HTTP 403 instead.

Included allowance exhausted — HTTP 402

{
  "detail": "Your included requests have been used."
}

Check the account in the portal; changing the vehicle or retrying immediately will not repair entitlement. Some API-access checks reject earlier with HTTP 403 instead.

API access not activated — HTTP 403

{
  "detail": "Activate your subscription or paid allowance to use API keys."
}

Check account API access or the allowed origins configured for the key. Browser origin rejection is separate from vehicle availability.

Origin not allowed for this key — HTTP 403

{
  "detail": "This origin is not allowed for the API key."
}

Check account API access or the allowed origins configured for the key. Browser origin rejection is separate from vehicle availability.

Unknown lookup reference — HTTP 404

{
  "detail": "Lookup not found."
}

This response belongs to lookup-status: the request reference was not found in this account. It says nothing about the vehicle. Do not create a new paid lookup automatically.

Unknown endpoint or unsupported method — HTTP 404

{
  "detail": "Endpoint not found"
}

Check the URL and POST method. This is not a vehicle-not-found response.

Original request still running — HTTP 409

{
  "status": "in_progress",
  "request_id": "docs-example-paint-001",
  "retry_after": 3
}

An overlapping duplicate can return this response. Preserve the original key and use lookup-status. A recoverably queued execution instead returns HTTP 202. No billing object is required on this 409.

Idempotency key reused for different input — HTTP 409

{
  "detail": "Idempotency-Key already belongs to a different request."
}

Do not retry different vehicles or operations with the same key. Choose a new key only when you intentionally want a new logical lookup.

Account admission — no HTTP 429 for lookups

A lookup is not currently answered with HTTP 429. Keep handling the account_rate_limited reason if you already do. Other endpoints that ask you to wait still send Retry-After.

Unstructured temporary service failure — HTTP 503

{
  "detail": "Service temporarily unavailable."
}

The HTTP error boundary can return only detail. Treat result, reason, validation, request_id and billing as optional on this response; absence is not proof that no work or charge occurred. Recover using the original idempotency key.

Service fault — HTTP 503

{
  "status": "temporarily_unavailable",
  "paint": null,
  "reason": "lookup_unavailable",
  "detail": "Something went wrong and this lookup didn\u2019t finish. Please try again. If it keeps happening, contact support and quote the reference.",
  "retryable": true
}

The lookup could not be completed. It was not charged. Settled responses can also contain vehicle, validation, request_id and billing fields.

Lookup incomplete — HTTP 503

{
  "status": "search_incomplete",
  "paint": null,
  "reason": "search_incomplete",
  "detail": "Lookup incomplete. Try again later.",
  "retryable": true
}

The lookup stopped before it finished, so this is not a final answer. It was not charged. Settled responses can also contain vehicle, validation, request_id and billing fields.

Lookup ran out of time — HTTP 503

{
  "status": "search_incomplete",
  "paint": null,
  "reason": "lookup_timeout",
  "detail": "This lookup ran out of time. Please try again.",
  "retryable": true
}

This is an operational failure, not a missing-vehicle verdict. These examples show the public failure envelope; settled responses can also contain vehicle, validation, request_id and billing fields.

Lookup busy — HTTP 503

{
  "status": "temporarily_unavailable",
  "paint": null,
  "reason": "lookup_busy",
  "detail": "This lookup is busy. Please try again in a moment.",
  "retryable": true
}

This is an operational failure, not a missing-vehicle verdict. These examples show the public failure envelope; settled responses can also contain vehicle, validation, request_id and billing fields.

Vehicle recognised, lookup incomplete — HTTP 503

{
  "status": "search_incomplete",
  "paint": null,
  "validation": {
    "format": "valid",
    "existence": "confirmed"
  },
  "reason": "search_incomplete",
  "detail": "Vehicle found. Paint code not confirmed. Try again later.",
  "retryable": true
}

The vehicle was identified, but the lookup did not finish. Try again later. It was not charged.

No matching vehicle — HTTP 200

{
  "status": "not_found",
  "paint": null,
  "validation": {
    "format": "valid",
    "existence": "not_found"
  },
  "reason": "vehicle_not_found",
  "detail": "We couldn\u2019t find a vehicle with this registration or VIN. Check it\u2019s typed correctly and try again.",
  "retryable": false
}

This is a completed negative result, not a pending lookup. A vehicle that is not found may still exist. A vehicle-not-found result can also be delivered with HTTP 404; inspect the JSON and endpoint, not HTTP status alone.

Vehicle not confirmed — HTTP 200

{
  "status": "not_found",
  "paint": null,
  "validation": {
    "format": "valid",
    "existence": "unconfirmed"
  },
  "reason": "vehicle_unconfirmed",
  "detail": "We couldn\u2019t confirm a vehicle for this registration or VIN. Check it\u2019s typed correctly. This doesn\u2019t mean the vehicle doesn\u2019t exist.",
  "retryable": false
}

This is a completed negative result, not a pending lookup. A vehicle that is not found may still exist. A vehicle-not-found result can also be delivered with HTTP 404; inspect the JSON and endpoint, not HTTP status alone.

Registration-to-VIN lookup without a confirmed vehicle — HTTP 200

{
  "status": "not_found",
  "vehicle": {
    "reg": "AB12CDE",
    "make": null,
    "model": null,
    "year": null
  },
  "validation": {
    "format": "valid",
    "existence": "unconfirmed"
  },
  "reason": "vehicle_unconfirmed",
  "detail": "We couldn\u2019t confirm a vehicle for this registration or VIN. Check it\u2019s typed correctly. This doesn\u2019t mean the vehicle doesn\u2019t exist.",
  "retryable": false
}

This is the public negative-result shape for a VIN operation. An unsuccessful lookup can omit vehicle.vin entirely; do not treat a missing VIN as a successful lookup.

Request body too large — HTTP 413

{
  "detail": "Request is too large."
}

The lookup JSON body limit is 8192 bytes. Reduce the request body; these endpoints do not accept batches of vehicle inputs.

Invalid idempotency key syntax — HTTP 400

{
  "detail": "Invalid lookup identity."
}

Use 8–128 letters, digits, underscores, hyphens, dots or colons in Idempotency-Key. This is request identity validation, not vehicle validation.

On this page