Errors

Errors use standard HTTP status codes and one JSON shape. You are never charged for an error or a not-found result.

{
  "error": {
    "code": "insufficient_credits",
    "message": "This call costs $1.19 and the balance is $0.40. Top up in the dashboard.",
    "request_id": "req_9q2w8e7r6t5y4u3i1o0p"
  }
}
StatusCodeWhen
400invalid_requestA parameter is missing or malformed, such as a VIN that is not 17 characters.
401unauthorizedThe API key is missing, malformed or revoked.
402insufficient_creditsA live call costs more than the credit left. Top up in the dashboard.
403permissible_use_requiredLive plate lookups need a DPPA permissible-use statement on the account.
404not_foundNo record exists for this VIN or plate. Not-found calls are free.
429rate_limitedToo many requests for this key. Wait for the Retry-After header.
503upstream_unavailableEvery data source for the product failed. Free; safe to retry.
500internal_errorSomething broke on our side. Free; safe to retry.

Retrying safely

  • Retry 429, 500 and 503 with backoff. For 429, wait for the Retry-After header.
  • Send an Idempotency-Key header (any unique string) on calls you might retry. A repeat with the same key returns the stored response with Idempotent-Replayed: true and is not charged again.
  • Quote the request_id when contacting support; it is also in the X-Request-Id header.
All docs pages