Get started

Errors

Failures return standard HTTP statuses with a small JSON body. The Python SDK maps these to typed exceptions.

Status codes

HTTPMeaningWhen
401UnauthorizedMissing or invalid API key.
404Not foundTicker, market_id, or filing_id does not exist in the index.
429Too many requestsDaily or monthly quota exceeded. Resets at UTC midnight (daily) or on the 1st (monthly).
502Upstream errorRegistry temporarily unavailable. Retry after a few minutes.

Example body

Quota responses include a stable error string:

{
  "detail": { "error": "quota_exceeded", "dimension": "daily" }
}

Retry guidance

  • 429 — daily or monthly allotment spent. Wait for the next window, or see Rate limits for 402 when the prepaid balance cannot cover the call.
  • 502 — upstream registry blip; exponential backoff a few minutes is usually enough.
  • 401 — the request had no accepted X-API-Key. Check the header on API keys.