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"
}
}| Status | Code | When |
|---|---|---|
| 400 | invalid_request | A parameter is missing or malformed, such as a VIN that is not 17 characters. |
| 401 | unauthorized | The API key is missing, malformed or revoked. |
| 402 | insufficient_credits | A live call costs more than the credit left. Top up in the dashboard. |
| 403 | permissible_use_required | Live plate lookups need a DPPA permissible-use statement on the account. |
| 404 | not_found | No record exists for this VIN or plate. Not-found calls are free. |
| 429 | rate_limited | Too many requests for this key. Wait for the Retry-After header. |
| 503 | upstream_unavailable | Every data source for the product failed. Free; safe to retry. |
| 500 | internal_error | Something broke on our side. Free; safe to retry. |
Retrying safely
- Retry
429,500and503with backoff. For 429, wait for theRetry-Afterheader. - Send an
Idempotency-Keyheader (any unique string) on calls you might retry. A repeat with the same key returns the stored response withIdempotent-Replayed: trueand is not charged again. - Quote the
request_idwhen contacting support; it is also in theX-Request-Idheader.