Documentation / Guides

Errors

The GreyhoundAPI error shape, every error code the API returns and the HTTP statuses to expect for each.

Errors are JSON with a stable shape and a documentation link:

{ "error": { "code": "rate_limited",
  "message": "120 requests/minute exceeded. Retry after 21s.",
  "doc_url": "https://greyhoundapi.com/documentation/errors" } }
HTTPCodeMeaning
401unauthorizedMissing or unknown key.
403key_suspendedKey exists but its subscription has lapsed.
403outside_sandbox_windowSandbox key requested data outside its window.
404not_foundNo such resource.
405method_not_allowedThe API is read-only; every endpoint is GET.
404result_not_availableRace exists but has not completed; response includes its current status.
422invalid_paramA parameter failed validation; the message names it.
429rate_limitedPer-minute limit exceeded.
429quota_exceededMonthly (live) or daily (sandbox) quota exhausted.
500server_errorOur side. Safe to retry with backoff.
501not_implementedDocumented but not yet live — pre-launch only.