Data as a Service

Sport Data API

Errors, limits and plans

One error envelope, eleven codes, rate limits, caching, plans and credits.

The error envelope

Every error, on every endpoint, has the same shape. This is the real response to a misspelled sport, GET /v1/nope/events, captured from the live API on 2026-10-08:

{
  "object": "error",
  "code": "unknown_sport",
  "message": "Unknown product sport 'nope'. Product catalog sports: smx, wsl, masl, hlr.",
  "request_id": "req_90a4d8f37d31817af1031ef0",
  "details": { "known_sports": ["smx", "wsl", "masl", "hlr"] }
}

Branch on code, never on message. Quote request_id (also in the X-Request-Id header) in support tickets. details is optional and its keys depend on the code.

More real errors

All captured from the live API on 2026-10-08.

No Authorization header (401). This response carries no X-RateLimit-* headers, because the key is checked first:

{
  "object": "error",
  "code": "unauthorized",
  "message": "Missing bearer token. Send: Authorization: Bearer asd_test_…",
  "request_id": "req_e4ddf5953bc094c7abba62ed",
  "details": { "reason": "missing_api_key" }
}

limit=0 (400). Parameter errors list each bad field under details.fields:

{
  "object": "error",
  "code": "invalid_request",
  "message": "One or more request parameters are invalid.",
  "request_id": "req_88099143aee4afe1e948d394",
  "details": {
    "fields": [
      { "location": "query.limit", "message": "Input should be greater than or equal to 1", "type": "greater_than_equal" }
    ]
  }
}

Rankings for a sport without points, GET /v1/hlr/rankings (404):

{
  "object": "error",
  "code": "not_found",
  "message": "Rankings are not available for hlr: it carries no points column, so a points-based standing does not exist for this sport. This is a property of the vertical, not an outage.",
  "request_id": "req_34a7a3771ec7ef6ff8255b99",
  "details": {
    "sport": "hlr",
    "resource": "rankings",
    "has_points": false,
    "reason": "hlr declares has_points: false …",
    "capabilities_url": "/v1/hlr/capabilities"
  }
}

Over the limit (429). The response carries Retry-After: 15 and no details:

{
  "object": "error",
  "code": "rate_limited",
  "message": "Rate limit of 10 requests exceeded. Retry in 15s.",
  "request_id": "req_77128e5317eff4c7a680046f"
}
StatuscodeMeaningWhat to do
400invalid_requestA parameter is malformed, out of range, unknown, or a page_token does not match the query.Fix the request.
401unauthorizeddetails.reason is missing_api_key or invalid_api_key. Unknown, revoked and suspended keys look the same on purpose.Send Authorization: Bearer asd_… with a current key. Keys starting asl_ are from an old dashboard build: create a new key.
402payment_requiredReserved. Not returned today, because credit balances are not checked yet.
403forbidden_sportA real sport outside the service's sport reach. details.in_scope lists what is reachable. During the preview every key reaches all four product sports, so this is rare today.Use a reachable sport.
403forbidden_planReserved for plan-gated features. No endpoint raises it today.
404unknown_sportNot one of the product sports. details.known_sports lists them.Check the spelling.
404not_foundThe route exists but the resource does not, for example rankings for a sport without points.Read /v1/{sport}/capabilities.
429rate_limitedOver your key's allowance. Always carries Retry-After.Wait Retry-After seconds.
500internal_errorOur fault, including missing configuration on our side.Retry later; report the request_id.
502upstream_unavailableThe warehouse or an upstream feed refused or failed.Back off and retry; a repeat needs a ticket.
504upstream_timeoutThe warehouse was still running at the deadline.Retry is reasonable.

Checks run in a fixed order: authenticate (401), apply the rate limit (429), resolve the sport (404), then authorize it (403 forbidden_sport). Keys scoped to particular API groups are planned; they will add a 403 forbidden_scope check right after authentication. A typo and a missing entitlement never look the same.

Request IDs

Every response carries X-Request-Id. You can send your own (8 to 64 letters, digits, - or _) to tie our logs to yours; anything else is replaced with a generated ID.

Rate limits

Today each key has one per-minute budget shared by every endpoint. In a check on 2026-10-08, calls to /v1/sports, /v1/streams and /v1/resources/sports all counted against the same 10 requests. During early access the counter is kept per server rather than shared, so you may occasionally get a little more than 10 in a minute: treat the limit as a ceiling to stay under, not an exact quota.

Separate budgets per API group are being rolled out. When they ship, each group below gets its own allowance, so a burst of odds calls will no longer use up your allowance for historical data:

Group (planned)Endpoints
spine/v1/sports and everything under /v1/{sport}/ (resources, rankings, capabilities)
catalog/v1/catalog/*, /v1/resources/sports, /v1/resources/{sport}/capabilities
status/v1/status/freshness, /v1/resources/status/freshness
odds/v1/odds/*
streams/v1/streams*
pressbox/v1/pressbox/*, /v1/resources/pressbox/*
playground/v1/playground/chat

Every response after authentication carries the headers below, except 400 responses for parameters that fail basic validation (for example limit=0 or a malformed date), which are rejected before the rate limit is applied:

HeaderMeaning
X-RateLimit-LimitRequests allowed in the current window.
X-RateLimit-RemainingRequests left in that window.
X-RateLimit-ResetUnix seconds when that window resets.
Retry-AfterOn 429 only. Seconds to wait, never less than 1.

Today every key has a per-minute window. Daily, weekly and monthly limits per key are planned; when a key has them, the headers will describe whichever window has the fewest requests left, so X-RateLimit-Reset can be hours or days away. Throttle off X-RateLimit-Remaining and you will rarely see a 429. A 401 carries no rate-limit headers.

Every request that passes parameter validation counts, including ones that end in 400 (for example an unknown parameter), 404 or 429. Retrying in a tight loop while blocked keeps spending your allowance, so wait for Retry-After.

Real headers, captured on 2026-10-08 on the call that tripped the limit. The window allowed 10 requests, and Retry-After counted down to the same instant as X-RateLimit-Reset:

HTTP/2 429
x-request-id: req_77128e5317eff4c7a680046f
x-ratelimit-limit: 10
x-ratelimit-remaining: 0
x-ratelimit-reset: 1791520223
retry-after: 15
cache-control: private, no-store

Plan your first walk

Keys are currently allowed 10 requests a minute in total. Your key's real number is always in X-RateLimit-Limit. At that allowance, walk large tables at limit=100, not the default limit=10.

Caching

Responses are marked private, so shared caches never store them. How long your client may reuse one depends on how fast the data changes:

ClassCache-ControlEndpoints
Historicalprivate, max-age=3600, stale-while-revalidate=86400competitors, seasons
Recentprivate, max-age=300events, competitions, results, event-results, rankings, /v1/sports, capabilities, catalog, pressbox, /v1/odds/sports
Liveprivate, max-age=30/v1/status/freshness, /v1/streams*, the other /v1/odds/* endpoints
Noneprivate, no-store/v1/playground/chat and every error

Plans and credits

Plans are free, pro, team and enterprise. Three separate questions are easy to blur:

QuestionWhere the answer lives
What can my key read?entitled on each row of /v1/sports (always true during the preview: reach is service-wide, per-key entitlements are planned)
How complete is a sport's data?grade on /v1/sports (standard, silver, gold). A data grade, unrelated to your plan.
What did a call cost?Credits. Most reads cost 1; discovery, lookups and streams are free. Errors cost 0.

Early access: what is enforced today

Every key currently runs on the free plan (meta.plan says so) with the limits shown in its X-RateLimit-* headers, whatever plan is shown on your account. Every call is recorded with its credit cost, but balances are not checked or debited yet, so no call is refused for credit.

On this page