Errors
Every status code the API returns, which ones to retry, how to read the error body, and how to use idempotency keys safely.
Codes
- 400 — malformed body; the response names the failing field
- 401 — missing or revoked key
- 403 — dataset outside the key's scope
- 404 — unknown dataset or cursor
- 409 — cursor expired; restart the query
- 422 — filter value not valid for that field
- 429 — rate limited; honour Retry-After
- 5xx — retry with exponential backoff, then contact support
Shape
Errors always return JSON with a stable code and a human-readable message. Do not parse the message.
{"error": {"code": "cursor_expired", "message": "Cursor older than 15 minutes. Restart with the original query."}}Idempotency
POST endpoints accept an Idempotency-Key header. Replaying the same key returns the original response instead of double-charging credits.
Missing something? Ask for API access and we answer in writing within 24 hours.