Skip to main content

Error format

The API returns errors as JSON. The format depends on the endpoint type:

Status codes

Handling errors

401 Unauthorized

Your API key is missing, invalid, or revoked.
Fix: Check that your Authorization: Bearer <key> header is correct and the key hasn’t been revoked.

402 Payment Required

Your workspace has insufficient credits for the requested operation.
Fix: Add credits in the dashboard billing page, or use free endpoints (validate, breaches) that don’t consume credits.

429 Rate Limited

You’ve exceeded the request limit for this endpoint.
The response includes headers to help you retry: See Rate Limits for full details.

502 Bad Gateway

An upstream data provider (search engine or breach database) failed to respond.
Fix: Retry after a short delay. These are transient and typically resolve within seconds.