Skip to main content
Every error response has the same shape:
  • code is machine-readable and stable. Branch on the code, never on the message.
  • message is a human-readable explanation. Its wording may change.
  • A 429 also carries retryAfterSeconds (see Rate limits).

Codes

Each operation in the API reference lists exactly which of these it can return.

Outcomes that are not errors

A lookup that ran but found nothing is not an error. Lookups answer 200 with found: false and a reason (for example profile-not-found or insufficient-credits), so you can tell “nobody matched” from “the call failed”. A few operations answer such an outcome with its own status (the company lookup answers 402, 422 or 503 with the usual data body); the reference states which. Every lookup response says what the call consumed in charged and pointsCharged.