ASD Platform
Odds & Markets API

Odds & Markets API

Errors and limits

The Odds & Markets API error body, every status code in the spec, and how to pace polling.

The error body

Errors use one shape, ServerErrorResponse. This is the real response to a request with no key, captured from the live API (timestamp is UTC):

{
  "statusCode": 403,
  "message": "Forbidden",
  "data": null,
  "metadata": null,
  "stack": null,
  "timestamp": "2026-10-09T06:17:53.603Z"
}
FieldMeaning
statusCodeThe HTTP status, repeated in the body.
messageA short description, for example Event not found. Log it; branch on the HTTP status.
metadataExtra debugging information from the server, often null.
stackDebugging information, often null.
timestampWhen the error happened, in UTC.
dataSeen as null on errors. Not in the spec.

Status codes

Every code below comes from the live OpenAPI spec, except 403, which the spec does not list per operation but which every route returns for a missing or invalid key.

StatusWhereSpec descriptionWhat to do
403Every routeMissing or invalid X-API-Key.Send a current key in X-API-Key. A platform asd_live_ key does not work here; see Authentication.
400GET /eventsA plain eventStatus=UPCOMING (observed, not in the spec).Use the array form eventStatus[]=UPCOMING. See below.
400GET /events/{eventId}/participantsEvent participants are not available for this event.Treat as "no participant list" and carry on.
400GET /events/{gsoc,mltt,nll,jaialai}/{id}/oddsThe event id names a different sport than this route serves.Call the route that matches the event's competitionKey.
400POST /events/{eventId}/sgpInvalid SportType or Failed to process SGP request.Check the request body against the SGP guide.
404Event, league event and league odds routesEvent not found.Check the ID. Pass IDs exactly as GET /events returns them.
404GET /events/{eventId}/{oddType}Event/Odds not found.The event has no odds for that oddType yet. Check supportedMarkets on GET /sports.
404GET /events/{eventId}/heats/{heatId}Event/Heat not found.Take heatId from the event detail.
404GET /events/3ice/bracket/{tourYearId}Tour-year not found.Take tourYearId from the 3ICE event detail.
404GET /futures/{sportType}/tour/{tourId}/odds/{futureType}Future/Odds not found.Check tourId and that the competition lists the futureType in supportedFutureMarkets.
422POST /events/{eventId}/sgpOdds do not exist or are not valid for SGP combination.Rebuild the parlay from current, combinable selections.

GET /events, GET /sports, GET /futures and GET /events/jaialai/{id} list no error responses in the spec beyond the key check. A 5xx is not documented; back off and retry, and contact your account team if it repeats.

The eventStatus trap

eventStatus on GET /events is an array. In checks on 2026-10-08, a single plain eventStatus=UPCOMING returned 400, and repeating the plain key (eventStatus=UPCOMING&eventStatus=LIVE) was accepted but did not filter, so completed events came back too. Send eventStatus[]=VALUE once per status and check eventStatus on the returned events. Details and code in Events and status.

Rate limits

No rate-limit headers are returned. Responses carry no X-RateLimit-* or Retry-After headers, and the spec documents no 429. That does not mean there is no limit, so pace your polling:

  • Poll the event list for the window you carry, then poll odds only for events that are LIVE or about to start.
  • Compare updatedAt on events and market rows with the last value you stored, and only reprocess what changed.
  • Back off on any 5xx or unexpected status instead of retrying in a tight loop.

Ask your account team for the polling rate your contract allows.

Realtime

The REST API is the documented way to read prices. Ask your account team about realtime delivery for the leagues you carry.

On this page