Skip to main content

Base URL

All endpoints are under this base URL. No version prefix — the API is currently at v1.

Authentication

Every request requires an API key in the X-Api-Key header:
Keys are issued from your dashboard at oddsstream.io/dashboard/keys. Key format: os_live_<32-char-hex>.

Response Envelope

All successful responses follow this shape:
For single-object responses (e.g. GET /api/events/{id}), data is an object, not an array.

Error Format


Rate Limits

Limits are per API key: Rate limit headers on every response:

Common Query Parameters

These filters are accepted on all list endpoints unless stated otherwise:

Competition Codes

Competition codes are short uppercase identifiers used across all endpoints. They are stable — they don’t change with bookmaker translations. Examples: Use GET /api/sports to discover all active competition codes at runtime.

Market Types


Period Values

The period field on every odds row indicates which portion of the match the market covers: Full-time (period: 0) markets dominate. Half-time and quarter markets are available for most sports.