# AI & LLM Integration - Documentation Export Source: https://docs.oddspapi.io/ai Download OddsPapi documentation for AI tools, LLMs, and offline use. Machine-readable exports in TXT and OpenAPI JSON formats for ChatGPT, Claude, and other AI assistants. ## Download * **Docs index:** [`/llms.txt`](/llms.txt) * **Full docs bundle:** [`/llms-full.txt`](/llms-full.txt) * **OpenAPI (REST reference):** [`/api-reference/openapi.json`](/api-reference/openapi.json) ## Recommended usage If your AI tool supports fetching URLs, give it: * `/llms-full.txt` (best for β€œread everything once”) * `/api-reference/openapi.json` (best for endpoint + schema accuracy) If your tool only supports copy/paste, open `/llms-full.txt` in the browser and paste the contents. ## Notes * `llms-full.txt` follows the same ordering as the site navigation. * WebSocket channels are documented in MDX; REST endpoints are in OpenAPI. *** ## πŸ’¬ Ask an AI Assistant Want to explore or ask questions about this page using your favorite AI? Click one of the links below β€” each one opens this page in the selected tool with a pre-filled prompt: * [Ask ChatGPT](https://chatgpt.com/?prompt=Read+from+https%3A%2F%2Fdocs.oddspapi.io%2Fllms-full.txt+and+help+me+with+this+API.) * [Ask Claude](https://claude.ai/?prompt=Please+read+https%3A%2F%2Fdocs.oddspapi.io%2Fllms-full.txt+and+help+me+use+this+API.) * [Ask Perplexity](https://www.perplexity.ai/search?q=Read+from+https%3A%2F%2Fdocs.oddspapi.io%2Fllms-full.txt) * [Ask Gemini](https://gemini.google.com/app?query=Read+from+https%3A%2F%2Fdocs.oddspapi.io%2Fllms-full.txt+and+help+me+use+this+API.) # API Authentication - How to Authenticate Requests Source: https://docs.oddspapi.io/api-reference/authentication Learn how to authenticate OddsPapi API requests using your API key, as an X-API-Key header or an apiKey query parameter. All HTTP endpoints require an API key. You will only receive: 1. what you are requesting, filtered by 2. what you have access for ## How to authenticate Pass your key either as the `X-API-Key` **header** or as the `apiKey` **query parameter**. Both are accepted on every endpoint β€” pick one. Prefer the header: query strings land in proxy, CDN and browser history logs. The query parameter stays supported indefinitely. > [tab] Header (recommended) > > ```bash theme={null} > curl -H 'X-API-Key: YOUR_KEY' 'https://v5.oddspapi.io/en/bookmakers' > ``` > [tab] Query parameter > > ```bash theme={null} > curl 'https://v5.oddspapi.io/en/bookmakers?apiKey=YOUR_KEY' > ``` > [!WARNING] > > **Send one, not both.** If the header and the query parameter are both > present and carry *different* values, the request is rejected with `401` > `invalid_api_key` β€” whichever of the two is valid. Sending the same key in > both places is harmless. ## Errors | Status | `code` | Cause | | - | - | - | | `401` | `missing_api_key` | neither the header nor the query parameter was sent | | `401` | `invalid_api_key` | the key is unknown, expired or disabled | | `403` | `channel_not_allowed` | valid key, but it is not entitled to that endpoint | ```json theme={null} { "error": 401, "message": "missing apiKey", "code": "missing_api_key" } ``` # Get Bookmakers Source: https://docs.oddspapi.io/api-reference/common/get-bookmakers /api-reference/openapi.json get /bookmakers List bookmakers. Returns the bookmaker catalog available to the provided apiKey. Lookup mode: `bookmakers` (optional filter list) + `playerProps` (optional capability filter). # Get Currencies Source: https://docs.oddspapi.io/api-reference/common/get-currencies /api-reference/openapi.json get /currencies List currencies and conversion values. Lookup mode: `currency` (optional filter). # Get Markets Source: https://docs.oddspapi.io/api-reference/common/get-markets /api-reference/openapi.json get /markets List markets. Lookup mode: `marketIds` OR `sportId` OR `outcomeIds`. # Get Participants Source: https://docs.oddspapi.io/api-reference/common/get-participants /api-reference/openapi.json get /participants List participants. Lookup mode: `participantIds` OR `sportId` OR `playerId`. # Get Players Source: https://docs.oddspapi.io/api-reference/common/get-players /api-reference/openapi.json get /players List players. Lookup mode: `playerIds` OR `participantId` OR `sportId`. # Get Seasons Source: https://docs.oddspapi.io/api-reference/common/get-seasons /api-reference/openapi.json get /seasons List seasons. Lookup mode: `seasonIds` OR `tournamentId`. # Get Sports Source: https://docs.oddspapi.io/api-reference/common/get-sports /api-reference/openapi.json get /sports List sports. Lookup mode: `sportIds` (optional filter list). # Get Tournaments Source: https://docs.oddspapi.io/api-reference/common/get-tournaments /api-reference/openapi.json get /tournaments List tournaments. Lookup mode: `sportId` OR `tournamentIds`. Default: if neither is provided, the API uses `sportId=11`. # Get Venues Source: https://docs.oddspapi.io/api-reference/common/get-venues /api-reference/openapi.json get /venues List venues by explicit IDs. Name fields are returned in the requested language when available. # Core Concepts - IDs, Data Models & Best Practices Source: https://docs.oddspapi.io/api-reference/concepts Understand OddsPapi data models: fixture IDs, market IDs, odds identifiers, entity relationships, timestamps, and implementation best practices for arbitrage detection. This page explains the core concepts used throughout the Odds API: how IDs are constructed, how entities relate to each other, how timestamps are used, and how to design reliable client-side storage. *** ## Language prefix All endpoints are prefixed with a language code: * `/en/...` * `/de/...` * `/fr/...` Translated fields (for example names) follow the prefix language when available. Identifiers (`sportId`, `fixtureId`, etc.) are language-independent. *** ## Sports, tournaments, seasons All three are integers, each belonging to exactly one parent: | ID | Discover via | Note | | - | - | - | | `sportId` | `/sports` | its **first two digits** are embedded into several downstream IDs | | `tournamentId` | `/tournaments` | belongs to one sport | | `seasonId` | `/seasons` | belongs to one tournament | > See the full [Sports Coverage](/coverage) table for every `sportId` and whether it's available as fixtures, futures, or both. *** ## Entity hierarchy Everything in the API hangs off one tree: ``` Sport └── Tournament (recurring competition / topic) └── Season (time-bound instance) └── Fixture (single match) ──or── Future (outright / prediction market) β”œβ”€β”€ Participants (teams / competitors) β”œβ”€β”€ Scores (per period β€” fixtures only) └── Players (squad members β€” sports only) ``` A **tournament** is the recurring thing ("Premier League", "US Presidential Election"), a **season** is one time-bound instance of it ("Premier League 25/26", "US Presidential Election 2028"). Fixtures and futures both live inside a season. ### How Fixtures Work (Sports) A **fixture** is a single match between two participants (teams or players): ``` Sport: Soccer (sportId=10) Tournament: Premier League (tournamentId=17) Season: Premier League 25/26 (seasonId=130281) Fixture: Arsenal vs Chelsea (fixtureId=id1000001770366972) β”œβ”€β”€ participant1Id β†’ Arsenal β”œβ”€β”€ participant2Id β†’ Chelsea β”œβ”€β”€ Scores: result 2-1, p1 1-0, p2 1-1 (per-period rows) └── Players: squads per participant (player prop markets) ``` * The fixture object carries the schedule and state: `startTime` (epoch seconds), `statusId`, `participant1Id` / `participant2Id`, `seasonId`, venue β€” see the [`fixtures` channel](/websocket/channels/fixtures) and REST reference for full schemas. * **Scores are per period**, keyed `result`, `p1`, `p2`, … β€” the `result` row is the authoritative final/current score; period rows let you settle period markets. See the [`scores` channel](/websocket/channels/scores). * Odds attach to fixtures via the [odds identifiers](#odds-identifiers) below β€” one price per `{fixtureId}:{bookmaker}:{outcomeId}:{playerId}`. ### How Futures Work (Prediction Markets) A **future** is an outright market on a whole season or event rather than a single match β€” "Who wins the Premier League?" β€” and the same model covers non-sports prediction markets ("Who wins the 2028 US election?", "Will Bitcoin hit \$100k?"). For sports, a future hangs off the **exact same season** its fixtures do β€” only the leaf differs: ``` Sport: Soccer (sportId=10) ← same as the fixture example Tournament: Premier League (tournamentId=17) ← same tournament Season: Premier League 25/26 (seasonId=130281) ← same season Future: Winner market (futureId=id1013028110001) └── Participants: the entities you can back (Arsenal, Chelsea, …) ``` Compare with the fixture above: `Arsenal vs Chelsea` is **one match inside** season `130281`; the Winner future is a **market on that season as a whole**. Same tree, same `seasonId` β€” a fixture resolves in 90 minutes, a future resolves when the season does. Non-sports prediction markets reuse the identical model β€” the recurring topic is the tournament, the edition is the season: ``` Sport: Politics (sportId=69) Tournament: US Presidential Election (tournamentId=800042) ← recurring topic Season: US Presidential Election 2028 (seasonId=8847293156) ← this edition Future: Winner market (futureId=pm69884729315669001) └── Participants: the entities you can back (candidates, parties) ``` * One future = one outright market within a season. The trailing `futureMarketId` in the `futureId` says which kind. It is allocated **per sport**, so the same question is a distinct market in each sport: | `futureMarketId` | marketType | Question | | - | - | - | | `{sportId}001` | `winner` | Who wins the Premier League? Who is the next president? | | `{sportId}002` | `topscorer` | Golden Boot, top goalscorer β€” sports only | | `{sportId}002` | `prediction` | Will X happen by date Y? β€” non-sports and racing specials only | | `{sportId}003` | `relegation` | Which teams go down | | `{sportId}004` | `mvp` | Season MVP | So soccer's Winner market is `10001` and the Politics Prediction market is `69002`. Position `002` is `topscorer` for sports and `prediction` for the non-sports bands β€” the two never collide, because no sport carries both. * Futures odds are keyed `{futureId}:{bookmaker}:{futureOutcomeId}:{participantId}` β€” see [Future odds IDs](#future-odds-ids). * Non-sports topics (politics, elections, finance, crypto, weather, …) are modeled as sports with `sportId` 69+ and exist as **futures only**; racing codes (79–81) are ante-post futures. See [Sports Coverage](/coverage) for the exact bands. *** ## Markets and outcomes > [!NOTE] > > **TL;DR** β€” A market is `sportId Γ— marketType Γ— period Γ— handicap`; add the side and you have the `outcomeId`. Everything is baked into the id, so the same bet always resolves to the same `marketId` / `outcomeId` β€” addressed by coordinates, never by bookmaker name strings. The one part *not* in the id is the player, carried separately by `playerId`. All outcomes of a market share its `marketId`, which equals the market's first `outcomeId`. For which market types, lines, periods and player props are actually carried, see [market coverage](/coverage/markets). ### The identity of a market (the strict rule) A market is identified by exactly four cells, and an outcome adds a fifth: ``` market sportId Γ— marketType Γ— period Γ— handicap outcome sportId Γ— marketType Γ— period Γ— handicap Γ— outcomeName ``` | Cell | Meaning | | - | - | | `marketType` | the kind of question (`1x2`, `totals`, `spreads`, `bothteamsscore`, `oddeven`, …) | | `period` | the scope it applies to (`fulltime`, `result`, `p1`, `p1o6`, …) | | `handicap` | the line / specifier (`2.5`, `-0.25`); `0.0` for a lineless market | | `outcomeName` | the side (`Over`/`Under`, `1`/`X`/`2`, `Yes`/`No`, …) | Nothing else distinguishes a market β€” in particular **not its name**. Two consequences, both audited against the published catalogue on every release: **Each line is its own market.** "Over 2.5" and "Over 3.5" are *different* `marketId`s, not two outcomes of one market. Within one `marketId` the outcomes are only the sides of that exact line (`Over 2.5` + `Under 2.5`). **One structure per `marketType` and `period`, with a complete side set.** The same type at the same scope always offers the same sides, and those sides are the whole probability space: | if the market has | it also has | | - | - | | `Yes` | `No` | | `Over` | `Under` at that same `handicap` | | `Odd` | `Even` | | `1` | `2`, plus `X` wherever the market is three-way and a draw is possible | | `1X` | `12` and `2X` | | a `-team1` marketType | its `-team2` sibling at the same `period` and `handicap` | Two notes on applying this. Completeness is **per line** β€” an Over/Under ladder is many markets, so check the pair at a line, not across the ladder. And the band families are complete *without* an opposite, because their shape is a partition rather than a pair: `correctscore` (`a:b` cells), `winningmargin` and the `exact*` families cover their measure in bands, and a "no bet" market excludes one side deliberately (the excluded result is a push, not a missing outcome). This same key is what composes the `oddsId` β€” see [Odds identifiers](#odds-identifiers). > [accordion] Worked example β€” soccer (sportId 10) > > Each `marketId` equals its first `outcomeId`, and each line value is its own market: > > | marketId | marketName | marketType | period | handicap | outcomeId | outcomeName | > | -: | - | - | - | -: | -: | - | > | 101 | Full Time Result | `1x2` | fulltime | 0.0 | 101 | 1 | > | 101 | Full Time Result | `1x2` | fulltime | 0.0 | 102 | X | > | 101 | Full Time Result | `1x2` | fulltime | 0.0 | 103 | 2 | > | 104 | Both Teams To Score | `bothteamsscore` | fulltime | 0.0 | 104 | Yes | > | 104 | Both Teams To Score | `bothteamsscore` | fulltime | 0.0 | 105 | No | > | 106 | Over Under Full Time | `totals` | fulltime | 0.5 | 106 | Over | > | 106 | Over Under Full Time | `totals` | fulltime | 0.5 | 107 | Under | > | 1010 | Over Under Full Time | `totals` | fulltime | 2.5 | 1010 | Over | > | 1010 | Over Under Full Time | `totals` | fulltime | 2.5 | 1011 | Under | > | 1068 | Asian Handicap | `spreads` | fulltime | -0.5 | 1068 | 1 | > | 1068 | Asian Handicap | `spreads` | fulltime | -0.5 | 1069 | 2 | > | 10208 | First Half Result | `1x2` | p1 | 0.0 | 10208 | 1 | > | 10224 | Over Under Team 1 | `teamtotals-team1` | fulltime | 0.5 | 10224 | Over | > | 10224 | Over Under Team 1 | `teamtotals-team1` | fulltime | 0.5 | 10225 | Under | > > Reading the first row: `marketType=1x2`, `period=fulltime`, `handicap=0.0`, `outcomeName=1` β€” the home side of the full-time match-result market. Note `106` and `1010` are the same question at two lines, hence two markets. ### Relationship between `marketId` and `outcomeId` Markets and outcomes are tightly coupled by design: * A **market** represents a complete betting market (for example moneyline, 1x2, totals). * A **market contains multiple outcomes**. * **All outcomes that belong to the same market share the same `marketId`.** * **The first `outcomeId` of a market is always equal to the `marketId`.** This makes it possible to determine which outcomes belong to which market **without additional metadata**. ### marketLength The size of **one complete probability space** where that size is fixed β€” the sides whose implied probabilities sum to β‰ˆ 1 before margin removal (`moneyline` β†’ 2, `1x2` β†’ 3). **`0` means variable-length** (`correctscore`, `winningmargin`). It is **not** a count of the outcome rows you received. The field is frozen metadata, so a market whose missing side was appended after publication still reports its original value β€” 26 markets today. **To count sides, read the outcome list.** ### ID structure Both `marketId` and `outcomeId` are integers constructed as: ``` {sportId (2 digits)} + {incrementing number} ``` Examples: * `11xxxx` β†’ basketball market or outcome * `14xxxx` β†’ American football market or outcome This design provides: * Unlimited markets and outcomes per sport * Fast grouping by sport * Immediate visibility of market relationships ### Why `marketId` matters (arbitrage & modeling) All outcomes under a single `marketId` together represent a **complete probability space**. This makes `marketId` especially useful for: * Arbitrage detection * Overround / margin calculations * Probability normalization * Market completeness checks **Recommendation:** If you perform arbitrage or pricing logic, always group odds by `marketId`. *** ## Participants and players Both integers: `participantId` identifies teams or competitors in fixtures (discover via `/participants`); `playerId` ties odds to a player for player prop markets, with `0` meaning a non-player market (discover via `/players`). *** ## Fixture IDs ### fixtureId structure `fixtureId` is a **string** that encodes multiple pieces of information: ``` {prefix}{sportId}{tournamentId}{nativeId} ``` Conceptual example: ``` id1100013262926199 ``` Where: * `id` β†’ internal namespace prefix β€” treat as opaque * `11` β†’ sportId (2 digits) * `000132` β†’ tournamentId (6 digits) * `62926199` β†’ native fixture ID within that namespace From the `fixtureId` alone you can infer the sport and tournament β€” handy for logging and cross-system correlation. To correlate with a fixture ID from another system, use the `externalProviders` block on the [fixtures channel](/websocket/channels/fixtures) or the mapping endpoints β€” see [running OddsPapi as a second feed](/guides/second-feed). *** ## Future IDs ### futureId structure `futureId` follows the same principle as `fixtureId`: ``` {prefix}{sportId}{seasonId}{futureMarketId} ``` Where: * `prefix` β†’ internal namespace prefix (e.g. `id`, `pm`, `ks`) β€” treat as opaque * `sportId` β†’ 2 digits * `seasonId` β†’ the season / event instance * `futureMarketId` β†’ the outright market this future asks (5 digits β€” see below) This encodes sport, season, and the market question β€” one future per (season, question). Tournament is a **field on the future**, not a segment of the ID. Read it from `tournament.tournamentId` on the [`futures`](/websocket/channels/futures) payload; keeping it out of the ID is what lets the `futureId` stay stable when a provider re-parents a season under a different tournament. ### Future markets and outcomes A future market is a **question kind** β€” "Who wins the Premier League?", "Who is top scorer?", "Will X happen by Y?" β€” not a stat template. One market is reused by every future that asks it, and is identified by `market.marketId` on the [`futures`](/websocket/channels/futures) payload: the same 5-digit `futureMarketId` carried in the `futureId` tail. Markets come in two shapes: | Shape | Examples | The selection is | Outcome rows | | - | - | - | - | | **Participant-keyed** | `winner`, `topscorer`, `relegation`, `mvp` | the participant itself | none β€” odds carry the sentinel `futureOutcomeId` `0` | | **Decomposed** | `prediction` (Yes / No), season totals (Over / Under) | a side the market owns | a complete side set per line, each with its own `futureOutcomeId` | Two deliberate differences from [fixture markets](#markets-and-outcomes): * **`handicap` sits on the outcome, not the market.** For fixtures each line is its own `marketId`. A future is minted per (season, question) before anyone knows which ladder a book will offer, so one future market carries many lines. * **There is no `period`.** A future resolves when its season or question does. *** ## Odds identifiers > [!NOTE] > > **TL;DR** β€” A single price is uniquely keyed by `{fixtureId}:{bookmaker}:{outcomeId}:{playerId}` (fixtures) or `{futureId}:{bookmaker}:{futureOutcomeId}:{participantId}` (futures). Use these `oddsId` strings as **primary keys** in your storage for clean dedup, updates, and reconciliation. ### Fixture odds keys For fixtures, a single price is uniquely identified by: ``` {fixtureId}:{bookmaker}:{outcomeId}:{playerId} ``` Example: ``` id1400003160574217:bet365:141:0 ``` This combination uniquely defines **one price**. Drop the `bookmaker` and you have the **selection** itself β€” `{fixtureId}:{outcomeId}:{playerId}` β€” the bookmaker-independent key for grading / settlement, since a selection wins or loses the same way everywhere. No `marketId` is needed; the `outcomeId` already encodes the market. Selection keys are what make cross-book and cross-feed comparison cheap β€” see [running OddsPapi as a second feed](/guides/second-feed) for joining to an existing feed on them. ### Why the `oddsId` is static (and what that saves you) The key is the market identity rule plus one extra coordinate: ``` {fixtureId} : {bookmaker} : {outcomeId} : {playerId} ``` | Segment | What it encodes | | - | - | | `outcomeId` | sportId Γ— marketType Γ— period Γ— handicap Γ— side | | `playerId` | the player (`0` for non-player markets) | Because all of that is *in the id*, a price is self-describing the moment it arrives: * **No joins on the hot path.** `outcomeId` `1010` *is* "soccer, total goals, full time, line 2.5, Over" β€” nothing is resolved at read time. * **The whole dictionary fits in memory** β€” 156,757 outcome rows, \~17.8 MB as CSV. Load once, resolve any id with a hash lookup. * **Integer keys, minimal payload.** No market name, period label, or line string repeated per message; cross-book comparison is `GROUP BY fixtureId, outcomeId` and nothing else. * **Arbitrage spaces are explicit.** Each line is its own `marketId` and 97.8% of markets are 2-sided β€” sum the implied probabilities under one `marketId` and the space is complete. * **Stable and cacheable.** Ids are append-only and never renumbered β€” safe to embed in code or a schema. The 2026-11-16 release re-filed 33,792 outcomes onto new `marketType` / `period` values with **zero** id changes. * **Player props don't inflate the id space.** The player is a coordinate of the price, not the taxonomy β€” one ladder serves every roster, and a transfer never churns an id. **The one cost:** a line a bookmaker quotes *outside* our published ladder has no id to land on and is dropped. That is why ladders are generated mechanically per family (floor `0.5`, ceiling = measured maximum + `2.5`) rather than decided per market. ### Future odds IDs Future odds are identified by four segments, mirroring fixture odds keys: ``` {futureId}:{bookmaker}:{futureOutcomeId}:{participantId} ``` The last two segments split one job between them, and which of them carries the selection depends on the market's shape: | Market shape | `futureOutcomeId` | `participantId` | | - | - | - | | Participant-keyed (`winner`, `topscorer`, `relegation`, `mvp`) | `0` β€” sentinel, the market owns no outcome rows | the entity you back | | Decomposed (`prediction` Yes / No, season totals Over / Under) | the side and line within the market | the entity the line is about, where one applies | `0` is a sentinel exactly as `playerId` is `0` for non-player fixture odds β€” a real, stable key value, not a null. The two ID spaces never overlap by construction: `futureMarketId` is at most 5 digits, `futureOutcomeId` is always 6 (β‰₯ 100001), so a value can never be read as the wrong kind of ID. **Treat `oddsId` as an opaque string.** Key your storage on it, but read `bookmaker`, `futureOutcomeId`, `participantId`, and the rest from the explicit fields on the odds row rather than splitting the segments. *** ## Timestamps (seconds vs milliseconds) This API intentionally uses **both epoch seconds and epoch milliseconds**, depending on context. The rule is consistent across fixtures **and** futures: ### Epoch seconds (UTC) All **start times** are integer epoch seconds: * `startTime` / `endTime` * `startTimeFrom` * `startTimeTo` ### Epoch milliseconds (UTC) All **odds-update times** are integer epoch milliseconds β€” for fixtures and futures alike: * `changedAt` / `bookmakerChangedAt` * Odds `since` filters (`/fixtures/odds`, `/fixtures/odds/main`, `/futures/odds`) * WebSocket envelope `ts` and the timestamp part of `entryId` Store timestamps as integers. Rule of thumb: **schedule times are seconds, odds-update times are milliseconds.** *** ## Operating tips ### Server Location Matters To achieve the lowest latency for realtime updates: * Our main infrastructure runs in **Germany** and **US East** β€” the fastest delivery regions. * For best performance, deploy your backend **in the same datacenters we use**: [Hetzner](https://www.hetzner.com/cloud), central Germany. * On AWS, use: * **eu-central-1** (Frankfurt) β€” preferred, or * **eu-west-1** (Ireland) β€” e.g. for prediction-market work near Polymarket > ⚑ Servers colocated near our streaming infrastructure receive updates faster and with fewer hops. ### Snapshot + realtime pattern A reliable integration pattern: **1. Subscribe to WebSocket** Connect, log in with your filters, and start applying updates keyed per row as soon as `login_ok` arrives. **2. Fetch HTTP snapshot** Pull the current state (fixtures, odds, or futures) over REST and merge it in β€” per key, the newer `changedAt` wins. **3. Re-snapshot on signal** If the WebSocket signals `snapshot_required`, re-fetch the HTTP snapshot with the same merge rule. Connecting before you snapshot is what makes the handover gapless: changes during the snapshot fetch are already on the socket, and no REST-to-WebSocket cursor exists or is needed β€” updates are full latest-state per row. ### Efficient backfills * Use `since` parameters where available * Avoid full historical fetches unless required * Store odds keyed by their odds identifiers for deduplication ### Rate limits See [Rate Limits](/api-reference/rate-limits) for headers, per-endpoint limits, and 429 backoff handling. *** ## Historical odds and CLV The realtime WebSocket `odds` and `oddsFutures` channels deliver **latest state** on a fixed \~6 ms batching window β€” ticks superseded within a window are collapsed to the newest value (no state is lost), so the stream is not a tick ledger. See [delivery semantics](/websocket/channels/odds#delivery-semantics). > Use the live stream to **trade**, and the REST history endpoints to **measure** β€” CLV models, fill auditing, and backtests. When you need the **full price movement** of an outcome, or its **opening vs closing line**, use the REST history endpoints. They share the same `oddsId` format (`{fixtureId}:{bookmaker}:{outcomeId}:{playerId}`) as the live `odds` channel, so you can join realtime fills directly to their historical and closing-line records. | Purpose | Fixtures | Futures | | - | - | - | | Full price timeline | `GET /fixtures/odds/historical` | `GET /futures/odds/historical` | | Opening vs closing line (OLV/CLV) | `GET /fixtures/odds/clv` | `GET /futures/odds/clv` | **Trading use cases:** * **CLV modelling** β€” compare your fill price against the closing line to measure edge. * **Fill auditing** β€” reconcile traded prices with the recorded timeline to detect slippage. * **Backtesting** β€” replay the full historical timeline to test strategies against real line movement. See the **API β†’ Reference** section for full request parameters, response schemas, and an interactive playground for each of these endpoints. For the trading workflow around these β€” limits, per-book delay, main-line filtering, and grading β€” see [sharp-line trading & CLV](/guides/sharp-line-trading). *** ## Glossary Quick definitions of the core terms used throughout the API. **Identifiers & data model** * **sportId** β€” Numeric sport identifier; the first two digits of downstream `marketId`, `outcomeId`, and `fixtureId`. * **fixtureId** β€” String key for a single match/event, encoding sport, tournament, and a native fixture ID. * **futureId** β€” String key for a futures / outright market, encoding sport, tournament, season, and market. * **marketType** β€” The kind of market (`1x2`, `totals`, `spreads`, `bothteamsscore`, …). * **period** β€” The segment a market applies to (`fulltime`, `p1`, `p2`). * **handicap** β€” The line value / specifier of a market; each distinct line value is its own `marketId`. * **marketId** β€” Integer grouping all outcomes of one market; equals the market's first `outcomeId`. * **marketLength** β€” The size of one complete probability space where that size is fixed (`0` = variable-length). Frozen metadata, **not** a count of the outcome rows you received β€” read the outcome list for that. * **outcomeId** β€” Integer identifying one fully-decomposed selection: `marketType` + `period` + `handicap` (line) + side. It encodes everything except the player β€” that's what `playerId` adds. * **playerId** β€” Ties an outcome to a player for player markets; `playerId = 0` is a non-player market. * **participantId** β€” Integer identifying a team or competitor in a fixture. * **oddsId** β€” Composite price key. Fixtures: `{fixtureId}:{bookmaker}:{outcomeId}:{playerId}`. Futures: `{futureId}:{bookmaker}:{futureOutcomeId}:{participantId}`. **Prices & trading** * **OLV** β€” Opening line value: the outcome's first recorded price. * **CLV** β€” Closing line value: the outcome's last price before settlement; the reference for grading execution. * **staleOdds** β€” Flag indicating a bookmaker's connectivity is degraded, so its odds may not be current. * **settlement** β€” Post-event endpoints returning per-outcome results (won / lost), final scores, and margins. **Streaming & delivery** * **serverEpoch + entryId** β€” The per-channel cursor; a change in `serverEpoch` means the client must re-snapshot. * **resume / replay** β€” Reconnect and replay missed messages within `resumeWindowMs` (default `60000`). * **snapshot\_required** β€” Signal that the cursor is outside the resume window and a fresh REST snapshot is needed. # Enumerations - Status IDs, Periods & Settlement Statuses Source: https://docs.oddspapi.io/api-reference/enumerations Complete reference of all fixed enum values in the OddsPapi API: statusId lifecycle values, period keys, and settlement statuses. This page enumerates every **fixed vocabulary** used on the wire. These values are part of the public contract: existing values are **frozen** (they never change meaning or disappear), and new values are only ever **appended** β€” treat unknown values gracefully in your client. *** ## statusId (fixture / future lifecycle) The lifecycle of every fixture and future. Frozen set: | statusId | Slug | live | Meaning | | -: | - | :-: | - | | `0` | `pregame` | no | Scheduled, has not begun. | | `1` | `live` | yes | Currently in play. | | `2` | `finished` | no | Finished; final scores/results available. | | `3` | `cancelled` | no | Cancelled / will not be played. | | `4` | `removed` | no | Wrongly issued; withdrawn from the schedule. | Notes: * `statusName` is the translated display label (follows the language prefix); `statusId` is the stable key β€” always branch on the ID. * Status only ever moves **forward** (`0 β†’ 1 β†’ 2`, any state β†’ `3`, any state β†’ `4`); it never goes backwards. * **`3` vs `4`.** `cancelled` is a *real* event that will not be played β€” called off, abandoned, postponed indefinitely. `removed` means the entity **should never have existed**: a provider-side duplicate, a test entry, an event that was not real. Nothing was called off. * **`4` outranks `3`.** Any state can move to `4`, including `3`, and `4` is terminal β€” once an entity is `removed` it stays removed. Treat it as final and stop polling it. Scores and settlement are never published for a `4`. *** ## period Score, stats, and market data are keyed by a **generic period vocabulary**, so the same keys work across all sports. What a period *means* depends on the sport's structure β€” use the fixture's `expectedPeriods` and `periodLength` to interpret it (e.g. `p1` is a half in soccer, a quarter in NBA basketball, a set in tennis, a map in esports). ### Whole-match keys | Value | Meaning | | - | - | | `result` | The overall match score β€” the headline scoreline including everything played so far. | | `fulltime` | Regulation time only (excludes overtime and penalties). Not every sport has it β€” see [Periods per sport](/guides/periods). | | `overtime` | Overtime / extra time segment only. | | `penalties` | Penalty shootout. **Current behavior:** carries the score *after* penalties (cumulative), not the shootout segment alone β€” this is inconsistent with the other whole-match keys and will change in a future release to be segment-only. | ### Numbered periods | Value | Meaning | | - | - | | `p1` … `p12` | Period *N* of the sport's natural structure: half, quarter, set, map, inning, or round (e.g. `p10`–`p12` cover boxing rounds). | ### Combined segments Sums of consecutive periods, used where markets are offered on a combined segment: | Value | Typical use | | - | - | | `p1+p2` | First half in quarter-based sports (e.g. basketball). | | `p3+p4` | Second half in quarter-based sports. | | `p1+p2+p3+p4+p5` | Combined multi-period segment. | | `fulltime+overtime` | Regulation plus overtime. | | `p3+p4+overtime` | Second half including overtime. | | `p4+overtime` | Final period including overtime. | | `p6+p7+p8+p9+overtime` | Combined late-innings segment (e.g. baseball). | | `p1o1+p1o2` … `p1o1+…+p1o20` | **First *N* overs** of an innings β€” cricket, innings 1–2, *N* up to 20. Spelled out as the sum of its member overs, like every other combined segment. | ### Sub-period keys (grids within a period) Sub-period keys follow one shape: `p{X}{axis}{Y}` β€” unit *Y* within period *X*. Three axes exist today, and one of them nests a second level. | Value | Meaning | | - | - | | `p1g1` … `p5g13` | **`g` = game.** Game *Y* within period/set *X* β€” tennis first: sets 1–5, games 1–12, and `g13` = the tiebreak. Market periods use only `g2`, `g4` and `g6` (the `correctscore` "after *Y* games" lines); score periods use the full grid. | | `p1r1` … `p5r36` | **`r` = round.** Round *Y* within map *X* β€” esports. | | `p1o1`, `p2o1` | **`o` = over.** Over *Y* within innings *X* β€” cricket. `p1` remains the whole innings. | | `p1o1b1` … `p2o20b6` | **`b` = ball**, nested inside an over: delivery *d* of over *n* of innings *i* (`p{i}o{n}b{d}`). Innings 1–2, overs 1–20, balls 1–6. The only two-level sub-period key β€” `p{X}{axis}{Y}` alone does not describe it. | | `currentgame` | Rolling pointer to the **in-progress** game (e.g. the current tennis game score). Only ever the live pointer β€” settled per-game facts use the `pXgY` keys. | > [!NOTE] > > The period vocabulary is **append-only**: new sports may introduce additional keys, and new axes may join `g`, `r` > and `o` (darts legs are a likely next one). Never hard-code an exhaustive list β€” handle unknown period keys > gracefully. Parsing structurally is safer than matching a fixed set of strings β€” but note that an axis may nest a > second level, as cricket's `b` does inside `o`, so match the axes you know rather than assuming a single > `p{X}{axis}{Y}` shape. *** ## settlementStatus Per-outcome grading returned by the settlement endpoints: | Value | Meaning | | - | - | | `WIN` | The outcome won β€” full payout. | | `LOSE` | The outcome lost. | | `PUSH` | Void / tie on the line β€” stake returned. | | `HALFWIN` | Half the stake wins, half is returned (Asian quarter lines). | | `HALFLOSS` | Half the stake loses, half is returned (Asian quarter lines). | | `CANCELLED` | Market voided (fixture cancelled, market not actionable) β€” stake returned. | | `UNDECIDED` | Cannot be graded (yet) β€” result data insufficient or pending. | For non-clean grades (`CANCELLED` / `UNDECIDED`) the settlement row carries a `reason` string explaining why. *** ## Open taxonomies (not enums) These vocabularies are **string sets that grow over time** β€” stable per value, but never exhaustive: * **`marketType`** β€” market kind (`1x2`, `totals`, `spreads`, `players-shots`, …). See [Concepts β†’ Markets](/api-reference/concepts#markets-and-outcomes). * **`eventType`** β€” in-play action types on the events channel (`goal`, `card_yellow`, `corner_taken`, `substitution`, `var`, …). * **`statType`** β€” countable stat aggregates on the stats channel (`score`, `corners`, `cards`, `aces`, …). Treat these as opaque identifiers: match on the values you support and ignore the rest. # API Error Codes - HTTP Status Codes & Error Handling Source: https://docs.oddspapi.io/api-reference/errors Complete guide to OddsPapi API error responses. HTTP status codes, error formats, rate limit headers, and troubleshooting common error causes. ## Error Format Most error responses return a JSON object like: ```json theme={null} { "error": 401, "message": "invalid apiKey", "code": "invalid_api_key" } ``` | Field | Type | Description | | - | - | - | | `error` | integer | HTTP status code | | `message` | string | Human-readable description | | `code` | string | Machine-readable reason code | *** ## Rate Limit Headers All endpoints protected by the rate limiter return these headers: | Header | Description | | - | - | | `X-RateLimit-Limit` | Requests allowed per window (per apiKey) | | `X-RateLimit-Remaining` | Requests left in the current window | | `X-RateLimit-Reset` | Unix timestamp when the window resets | If you hit the limit (`429`), you also receive: | Header | Description | | - | - | | `Retry-After` | Seconds to wait before retrying | *** ## Common Error Responses ### 400 β€” Bad Request ```json theme={null} { "error": 400, "message": "Invalid filters.", "code": "invalid_filters" } ``` Used for syntactically valid requests with invalid parameters. *** ### 401 β€” Unauthorized **Missing or invalid `apiKey`.** ```json theme={null} { "error": 401, "message": "missing apiKey", "code": "missing_api_key" } ``` ```json theme={null} { "error": 401, "message": "invalid apiKey", "code": "invalid_api_key" } ``` *** ### 403 β€” Forbidden **Valid API key, but no access to this channel or feature.** ```json theme={null} { "error": 403, "message": "Access denied: apiKey is not allowed to access this endpoint.", "code": "channel_not_allowed" } ``` *** ### 422 β€” Validation Error Usually returned by FastAPI’s internal validation. ```json theme={null} { "error": 422, "message": "Validation error", "code": "validation_error", "details": [ { "loc": ["query", "fixtureId"], "msg": "Field required", "type": "missing" } ] } ``` *** ### 429 β€” Rate Limit Exceeded Triggered when request volume exceeds limits per apiKey. ```json theme={null} { "error": 429, "message": "rate limit exceeded", "code": "rate_limited", "limit": 30, "windowSec": 1, "retryAfterSec": 1, "endpoint": "/fixtures/odds", "method": "GET" } ``` Headers: * `Retry-After: 1` * `X-RateLimit-Limit: 30` * `X-RateLimit-Remaining: 0` * `X-RateLimit-Reset: 1700000000` *** ### 503 β€” Service Unavailable If internal systems (e.g. rate limiter) are unavailable: ```json theme={null} { "error": 503, "message": "rate limiter unavailable", "code": "rate_limiter_error" } ``` ## Notes * `code` is stable and suitable for programmatic handling. * `message` may change (but is designed to help developers). * Most endpoints return `429` if rate-limited β€” check your headers. * FastAPI validation errors are always returned as `422`. *** # Fixtures Filtered Source: https://docs.oddspapi.io/api-reference/fixtures/fixtures-filtered /api-reference/openapi.json get /fixtures List fixtures. Lookup mode: `fixtureIds` OR filters (`sportId`, `tournamentId`, `statusId`, optional time range). If `bookmakers` is present, bookmaker meta is included and results may be filtered by mapping availability. # Fixtures Live Source: https://docs.oddspapi.io/api-reference/fixtures/fixtures-live /api-reference/openapi.json get /fixtures/live List live fixtures. Lookup mode: optional filters (`bookmakers`, `sportId`, `tournamentId`). # Fixtures Today Source: https://docs.oddspapi.io/api-reference/fixtures/fixtures-today /api-reference/openapi.json get /fixtures/today List today's fixtures. Lookup mode: optional filters (`bookmakers`, `sportId`, `tournamentId`). # Fixture Odds Source: https://docs.oddspapi.io/api-reference/fixturesodds/fixture-odds /api-reference/openapi.json get /fixtures/odds Get current odds for a fixture. Lookup mode: required `fixtureId` + optional `bookmakers`, optional filtering flags. If `since` is provided, returns odds updates with `changedAt >= since`. # Fixture Odds CLV Source: https://docs.oddspapi.io/api-reference/fixturesodds/fixture-odds-clv /api-reference/openapi.json get /fixtures/odds/clv Get opening vs closing line values (OLV/CLV) for a fixture. Lookup mode: required `fixtureId` + optional `bookmakers` OR optional `oddsIds`. # Fixture Odds Historical Source: https://docs.oddspapi.io/api-reference/fixturesodds/fixture-odds-historical /api-reference/openapi.json get /fixtures/odds/historical Get historical odds timeline for a fixture. Lookup mode: required `fixtureId` + (`bookmaker` required when `oddsIds` is not provided) OR `oddsIds`. # Fixtures Odds Main Source: https://docs.oddspapi.io/api-reference/fixturesodds/fixtures-odds-main /api-reference/openapi.json get /fixtures/odds/main Get current main odds for multiple fixtures. Lookup mode: provide exactly one of: - `tournamentId` (recommended) - `fixtureIds` (fast path) If `since` is provided, returns odds updates with `changedAt >= since`. **Capped at 100 fixtures per call.** The limit is fixed and cannot be raised by a parameter β€” `limit`, `offset`, `cursor` and `page` are not supported and are ignored if sent. Truncation is silent: a `tournamentId` with more than 100 fixtures, or a `fixtureIds` list longer than 100, still returns `200` with only the first 100 entries and no warning. To cover a larger tournament, list the fixtures first with `/fixtures?tournamentId=...` (uncapped) and then request odds in chunks of 100 via `fixtureIds`. Response size is driven by the number of **bookmakers**, not the number of fixtures. A single top-league call with `bookmakers=*` can return tens of MiB and take ten seconds, while the same call narrowed to one bookmaker returns well under a MiB in under a second. Always pass an explicit `bookmakers` list in production. # Futures Filtered Source: https://docs.oddspapi.io/api-reference/futures/futures-filtered /api-reference/openapi.json get /futures List futures. Lookup mode: `futureIds` OR `sportId` OR `tournamentId` (at least one). # Futures Live Source: https://docs.oddspapi.io/api-reference/futures/futures-live /api-reference/openapi.json get /futures/live List live futures. Lookup mode: optional `sportId` / `tournamentId` filters. # Future Odds Source: https://docs.oddspapi.io/api-reference/futuresodds/future-odds /api-reference/openapi.json get /futures/odds Get latest odds for a future. Lookup mode: required `futureId` + optional filters (`bookmakers`, `since`, `mainLines`, `includeFuture`). # Future Odds CLV Source: https://docs.oddspapi.io/api-reference/futuresodds/future-odds-clv /api-reference/openapi.json get /futures/odds/clv Get OLV and CLV for a future’s odds. Lookup mode: required `futureId` + optional `bookmakers` OR optional `oddsIds`. # Future Odds Historical Source: https://docs.oddspapi.io/api-reference/futuresodds/future-odds-historical /api-reference/openapi.json get /futures/odds/historical Get historical odds changes for a future. Lookup mode: required `futureId` + (`bookmakers` required when `oddsIds` is not provided) OR `oddsIds`. # Fixture Mapping Source: https://docs.oddspapi.io/api-reference/mapping/fixture-mapping /api-reference/openapi.json get /fixtures/mapping List fixture mappings for external bookmakers. Lookup mode: `bookmaker` (optional) + `fixtureIds` OR `bookmakerFixtureIds`. # Future Mapping Source: https://docs.oddspapi.io/api-reference/mapping/future-mapping /api-reference/openapi.json get /futures/mapping Map internal future IDs to bookmaker/provider future IDs. Lookup mode: required `bookmaker` + (`futureIds` OR `bookmakerFutureIds`). # Media Bookmaker Source: https://docs.oddspapi.io/api-reference/media/media-bookmaker /api-reference/openapi.json get /media/bookmakers/{slug} Get bookmaker logo. Returns an HTTP redirect to the image asset. Response: 302 with `Location` header (final resource typically WebP). # Media Category Source: https://docs.oddspapi.io/api-reference/media/media-category /api-reference/openapi.json get /media/categories/{category} Get category icon. Returns an HTTP redirect to the image asset. Response: 302 with `Location` header (final resource typically SVG). # Media Participant Source: https://docs.oddspapi.io/api-reference/media/media-participant /api-reference/openapi.json get /media/participants/{participantId} Get participant image. Returns an HTTP redirect to the image asset. Response: 302 with `Location` header (final resource typically PNG). # Media Tournament Source: https://docs.oddspapi.io/api-reference/media/media-tournament /api-reference/openapi.json get /media/tournaments/{tournamentId} Get tournament image. Returns an HTTP redirect to the image asset. Response: 302 with `Location` header (final resource typically PNG). # REST API Overview - HTTP Endpoints for Sports Data Source: https://docs.oddspapi.io/api-reference/overview OddsPapi REST API reference. HTTP endpoints for sports betting data snapshots, metadata retrieval, historical odds, and recovery workflows. Supports 8 languages. The HTTP API complements WebSockets by providing: * **Initial snapshots** (bootstrap your local state) * **Recovery** after `snapshot_required` * **Metadata** (sports, tournaments, bookmakers) * **Backfills** (historical odds / CLV) when replay is not possible If you only need realtime updates, WebSockets may be enough. ## Base URL & languages All endpoints are prefixed with a language code: * `https://v5.oddspapi.io/{lang}` Examples: * `https://v5.oddspapi.io/en/bookmakers` * `https://v5.oddspapi.io/de/sports` Available languages are: `en`, `es`, `fr`, `pt`, `de`, `it`, `ru`, `zh`. Anything else falls back to English names rather than erroring (`zh-CN` β†’ use `zh`), and the prefix is case-insensitive but cannot be omitted. Only name fields are translated (sport, tournament, season, status, participant and venue names). Ids, odds, prices and timestamps are identical in every language. For simplicity, the documentation is written in English. ## Rate limits This API enforces request limits per `apiKey` per endpoint. See **Rate Limits** for the authoritative limits and endpoint groups: * `api-reference/rate-limits` *** ## πŸ’¬ Ask an AI Assistant Want to explore or ask questions about this page using your favorite AI? Click one of the links below β€” each one opens this page in the selected tool with a pre-filled prompt: * [Ask ChatGPT](https://chatgpt.com/?prompt=Read+from+https%3A%2F%2Fdocs.oddspapi.io%2Fllms-full.txt+and+help+me+with+this+API.) * [Ask Claude](https://claude.ai/?prompt=Please+read+https%3A%2F%2Fdocs.oddspapi.io%2Fllms-full.txt+and+help+me+use+this+API.) * [Ask Perplexity](https://www.perplexity.ai/search?q=Read+from+https%3A%2F%2Fdocs.oddspapi.io%2Fllms-full.txt) * [Ask Gemini](https://gemini.google.com/app?query=Read+from+https%3A%2F%2Fdocs.oddspapi.io%2Fllms-full.txt+and+help+me+use+this+API.) # Parlays - Price Multi-Leg Bets Source: https://docs.oddspapi.io/api-reference/parlays Price accumulators and correlated same-game parlays from OddsPapi oddsIds. Compare bookmakers side by side, read the correlation margin, and handle suspended or missing legs. Two endpoints turn a list of `oddsIds` into a multi-leg price: | Endpoint | Priced by | Legs may span | Correlation | | - | - | - | - | | `GET /fixtures/odds/parlay` | OddsPapi, locally | several fixtures & sports | none β€” a plain product | | `GET /fixtures/odds/sgp` | the bookmaker itself | exactly one fixture | yes, quoted by the book | Both take the same `oddsIds` parameter and return the same fixture view you already know β€” they only **add** a section. For the workflow around these endpoints β€” choosing between them, keeping a live slip priced, degrading when a leg suspends β€” see [Building a betslip](/guides/parlays). *** ## Selecting legs A leg is identified by its `oddsId`: ``` {fixtureId}:{bookmaker}:{outcomeId}:{playerId} ``` which is exactly the key you already get back from `/fixtures/odds`. Pass them comma- or space-separated: ```bash theme={null} curl -H 'X-API-Key: YOUR_KEY' \ 'https://v5.oddspapi.io/en/fixtures/odds/parlay?oddsIds=id1400003160574217:bet365:141:0,id1400003160574217:bet365:146:0' ``` * Duplicates are removed and the list sorted, so the same selection always produces the same request. * **Max 20 legs** per request. * Legs are grouped **by bookmaker** β€” request the same selections at several books to price them side by side. `parlayId`, the key inside the `parlay` / `sgp` section, is that sorted list joined by `,`. It is built the same way on both endpoints, so a `/parlay` and an `/sgp` entry for the same selections are directly comparable. *** ## What comes back Both endpoints return a normal fixture view, with one section added. | Section | Content | | - | - | | fixture meta | flattened at top level (`status`, `sport`, `tournament`, …) | | `odds` | the requested legs, **inactive ones included** | | `bookmakers` | `BookmakerFixtureMeta` for the requested bookmakers | | `parlay` / `sgp` | the multi-leg price, keyed by bookmaker then `parlayId` | | `missingOddsIds` | legs that could not be found β€” only when something is missing | An empty `parlay` / `sgp` section is normal: see [suspended vs missing legs](#suspended-vs-missing-legs). `/fixtures/odds/parlay` returns an **array** β€” one object per fixture a leg belongs to, ordered by `fixtureId`. `/fixtures/odds/sgp` returns a **single object**, because all its legs share one fixture. *** ## Parlay: priced locally The added section, for two legs at 3.8 and 2.1: ```json theme={null} "parlay": { "bet365": { "id1400003160574217:bet365:141:0,id1400003160574217:bet365:146:0": { "bookmaker": "bet365", "active": true, "price": 7.98, "priceFractional": "349/50", "priceAmerican": 698, "singlesPrice": 7.98, "changedAt": 1766667441097 } } } ``` `price` is `3.8 Γ— 2.1`, and `singlesPrice` equals it while the parlay is active. A cross-fixture parlay comes back on **every** involved fixture with the same entry, so read it off whichever one you were already looking at. *** ## SGP: priced by the bookmaker All legs must belong to one fixture. Requesting legs from two fixtures is a `400`: ```json theme={null} { "error": 400, "message": "oddsIds must share one fixture.", "code": "invalid_filters" } ``` The `sgp` section carries the bookmaker's own quote: ```json theme={null} "sgp": { "bet365": { "id1400003160574217:bet365:141:0,id1400003160574217:bet365:146:0": { "bookmaker": "bet365", "active": true, "price": 6.5, "priceFractional": "11/2", "priceAmerican": 550, "limit": 500.0, "singlesPrice": 7.98, "changedAt": 1766667441097, "bookmakerParlayId": "B365-2493810567", "bookmakerChangedAt": 1766667440813, "betslip": "https://www.bet365.com/dl/sportsbookredirect?bs=..." } } } ``` > [!NOTE] > > **The correlation margin.** `singlesPrice` (7.98) is what the naive product would pay; `price` (6.5) is what the > bookmaker actually offers once it accounts for the legs being correlated. The gap between the two is the margin the > book charges for the correlation β€” the number most clients are after. SGP-only fields: * `limit` β€” max stake at this price. Optional; absent means no stated cap, not zero. * `bookmakerParlayId` β€” the book's own id for the parlay. * `bookmakerChangedAt` β€” the book's quote timestamp (epoch ms). Optional; falls back to `changedAt`. * `betslip` β€” deep link that opens the wager with every leg pre-loaded. * `meta.offers` β€” exchanges only: the price-ladder rungs below the best one, as `[{ price, limit }, ...]`. ### Which bookmakers offer SGP `/fixtures/odds/parlay` prices **every** bookmaker we carry. `/fixtures/odds/sgp` only works with these 55. Any other slug comes back with `sgp_unsupported`. `atg.se`, `ballybet`, `betboo.bet.br`, `betcity.nl`, `betmgm`, `betmgm.co.uk`, `betonline.ag`, `betparx`, `betplay`, `betrivers`, `betuk`, `bingoal.be`, `borgata`, `bwin`, `bwin.de`, `bwin.dk`, `bwin.es`, `casumo`, `draftkings`, `expekt.se`, `fanduel`, `fourwinds`, `grosvenor`, `jacks.nl`, `kto`, `leovegas`, `leovegas.es`, `leovegas.it`, `novig.us`, `oddset`, `paddypower`, `paf`, `paf.es`, `partycasino`, `partypoker`, `pmu`, `prolineplus`, `prophetx`, `rushbet.co`, `scooore.be`, `sportingbet`, `sportingbet.bet.br`, `sportsinteraction`, `stake`, `stake.bet.br`, `svenskaspel`, `tabtouch`, `unibet`, `unibet.be`, `unibet.co.uk`, `unibet.com.au`, `unibet.dk`, `unibet.ie`, `unibet.nl`, `unibet.se` Being on this list is not a promise for a given slip β€” the book still has to carry that fixture and be willing to combine those particular legs, otherwise you get `not_combinable`. *** ## Suspended vs missing legs This is the distinction to build against, and it is the same on both endpoints. **A suspended leg still exists**, so it comes back in `odds` with `active: false` and the parlay keeps an inactive entry carrying the reason: ```json theme={null} "id1400003160574217:bet365:141:0,id1400003160574217:bet365:146:0": { "active": false, "price": 1, "singlesPrice": 7.98, "meta": { "inactiveReason": "market_closed" } } ``` `price: 1` means stake back; `singlesPrice` still shows what it would have paid, so you can keep the selection on screen. **A leg that cannot be found** β€” unknown bookmaker, unknown or expired `oddsId` β€” gets that bookmaker no entry at all, and is named in `missingOddsIds`. > [!WARNING] > > **`sgp: {}` without `missingOddsIds`.** On `/fixtures/odds/sgp` the bookmaker is also dropped when *we* hold every leg > but the bookmaker's own pricing service could not resolve the parlay β€” it does not know the fixture, it rate limited > us, or it errored. Your legs are all present in `odds`, there is no `missingOddsIds`, and `sgp` is simply `{}`. Treat > an empty `sgp` as "no correlated price available right now" rather than "your selection was wrong", and fall back to > `/fixtures/odds/parlay` for an uncorrelated price. ### `meta.inactiveReason` values | Reason | Endpoint | Meaning | | - | - | - | | `leg_suspended` | both | one of the legs is currently suspended | | `market_closed` | both | the leg's market is closed | | `bookmaker_suspended` | both | the bookmaker is suspended for an involved fixture | | `not_combinable` | `/sgp` | the bookmaker offers SGPs but will not combine *these particular* legs β€” by far the most common reason in practice | | `sgp_unsupported` | `/sgp` | the bookmaker does not offer an SGP on these legs | | `sgp_fetch_failed` | `/sgp` | the bookmaker could not be quoted in time | | `fixture_ended` | `/sgp` | the fixture is over | *** ## Rate limits | Endpoint | Limit | | - | - | | `GET /fixtures/odds/parlay` | **10 requests / second** | | `GET /fixtures/odds/sgp` | **10 requests / second** | Both sit in the odds bucket with the rest of the odds surface. See [Rate Limits](/api-reference/rate-limits). *** ## Errors | Status | When | | - | - | | `400` | empty or invalid `oddsIds`, more than 20 legs, or (on `/sgp`) legs spanning several fixtures | | `422` | the `oddsIds` parameter was omitted entirely (`validation_error`) β€” sending it empty gives `400` instead | | `401` | missing or invalid API key | | `403` | your key is not entitled to the endpoint (`channel_not_allowed`), or a fixture, sport, tournament or bookmaker in the request is not allowed for it | | `404` | (`/sgp`) the pricing service explicitly reported the fixture as unknown | | `429` | rate limit exceeded | | `501` | (`/sgp`) SGP pricing is not enabled for your endpoint | | `502` | (`/sgp`) the pricing service was unreachable or failed β€” in practice a fabricated `fixtureId` surfaces here rather than as `404` | A leg you are not entitled to makes the **whole request** fail with `403` β€” it is not silently dropped, so filter selections against your key's access before requesting a price. Both endpoints are opt-in per API key. If yours is not enabled you get `403` `channel_not_allowed` β€” contact us to have them added. # Parlay Odds Source: https://docs.oddspapi.io/api-reference/parlays/parlay-odds /api-reference/openapi.json get /fixtures/odds/parlay Price a parlay (accumulator) from selected `oddsIds`. The legs are grouped by bookmaker and each group's prices are multiplied locally β€” no bookmaker round-trip and **no correlation adjustment**. Legs may span several fixtures and sports; for a correlated same-game price use `/fixtures/odds/sgp`. Returns one normal fixture view per fixture a leg belongs to, ordered by `fixtureId`, each with a `parlay` section added. A cross-fixture parlay appears on every involved fixture with the same entry. Max 20 legs per request. # Same-Game Parlay Odds Source: https://docs.oddspapi.io/api-reference/parlays/same-game-parlay-odds /api-reference/openapi.json get /fixtures/odds/sgp Price a correlated same-game parlay (SGP) from selected `oddsIds`. All `oddsIds` must belong to **one** fixture. The legs are priced by the bookmaker itself, so `price` reflects the correlation between them; `singlesPrice` is the naive product and the gap is the correlation margin. Several bookmakers may be requested at once and are returned side by side. Returns ONE fixture view with an `sgp` section added. Max 20 legs per request. # API Rate Limits - Request Quotas & Throttling Source: https://docs.oddspapi.io/api-reference/rate-limits OddsPapi API rate limits and quotas. Request limits per endpoint, rate limit headers, and best practices for handling 429 responses. Rate limits are counted **per `apiKey`** and by endpoint. ## Limits ### Odds endpoints (high-frequency) These endpoints allow higher throughput: * `GET /fixtures/odds` * `GET /fixtures/odds/main` * `GET /fixtures/odds/parlay` * `GET /fixtures/odds/sgp` * `GET /futures/odds` **Limit:** **10 requests / second** ### All other endpoints Everything else (metadata, fixtures list, mapping, settlements, historical, media redirects): **Limit:** **200 requests / minute** (default) ## Rate limit headers Every authenticated response includes: * `X-RateLimit-Limit` * `X-RateLimit-Remaining` * `X-RateLimit-Reset` When limited (429), responses also include: * `Retry-After` Requests rejected for authentication (`401`) are turned away before the limiter runs and carry no rate-limit headers. ## What happens when you exceed limits You’ll receive: * **429** with `code: "rate_limited"` Example: ```json theme={null} { "error": 429, "message": "rate limit exceeded", "code": "rate_limited", "retryAfterSec": 1 } ``` # Reliability & Operations - Uptime, Status & Incident Response Source: https://docs.oddspapi.io/api-reference/reliability How OddsPapi delivers reliable realtime data for trading: redundant architecture, live status page, recovery design, support response, and incident handling. OddsPapi is built for teams that trade on the feed, so reliability is a first-class concern. This page explains how the platform is designed to stay available, how to monitor it, and how to reach us when something goes wrong. > [!NOTE] > > Specific uptime targets, support response times, and remedies are defined per agreement for B2B customers. Contact [contact@55-tech.com](mailto:contact@55-tech.com) to discuss SLA terms for your use case. *** ## Live status & incident history Real-time platform status, ongoing incidents, and historical uptime are published on our status page: > [card] [OddsPapi Status Page](https://oddspapi-v5.instatus.com) > > Live availability, incident reports, and uptime history β€” subscribe for updates. Subscribe on the status page to be notified of incidents and scheduled maintenance. *** ## Architecture for availability The platform is designed so that no single failure should interrupt your data flow: * **WebSocket-first delivery** β€” a persistent gateway streams updates with minimal latency, avoiding the overhead and gaps of REST polling. * **REST + WebSocket redundancy** β€” REST snapshots and the realtime stream are independent paths to the same data. If the stream drops, REST keeps your state current. * **Resume & replay** β€” after a brief disconnect, clients resume from their last cursor and replay missed updates without a full refresh. See [Resume & Replay](/websocket/resume-replay). * **Deterministic recovery** β€” when replay isn't possible, the gateway emits `snapshot_required` so clients rebuild state from a fast REST snapshot. Recovery is an explicit, designed path β€” not an error state. *** ## Latency and freshness OddsPapi is built to compete on **measured end-to-end delay** β€” not throughput β€” and every odds update carries the timestamps to verify it: | Stamp | Field | Meaning | | - | - | - | | t0 | `bookmakerChangedAt` | The bookmaker's own change timestamp (when provided) | | t1 | `changedAt` | When OddsPapi observed the change at the bookmaker | | t2 | `ts` (message envelope) | When the gateway sent the WebSocket message | | t3 | β€” | Client receipt β€” measured on your side | `changedAt βˆ’ bookmakerChangedAt` gives the observation delay per update; comparing `ts` to your receipt time gives the delivery hop. Per-bookmaker freshness bounds are published on [`GET /bookmakers`](/api-reference/common/get-bookmakers): `maxDelayLiveInSec`, `maxDelayPregameInSec`, and `maxDelayPregameMainInSec` state the maximum expected refresh delay per delivery mode for each book β€” measured from observed vs. bookmaker change times (currently the rolling p50) where the book publishes usable timestamps, estimated otherwise. Representative rolling p50 observation delays (live values per book on `GET /bookmakers`): | Bookmaker | In-play | Pregame | Mode | | - | -: | -: | - | | Polymarket | 0.05 s | 0.05 s | measured | | Betfair Exchange | 0.10 s | 0.10 s | measured | | BC.Game | 0.25 s | 0.50 s | measured | | DraftKings | 0.28 s | 0.28 s | measured | | Pinnacle | 0.28 s | 0.28 s | measured | | FanDuel | \~0.5 s | \~2 s | estimated | | Singbet | \~1 s | \~8 s | estimated | Downstream of observation, the internal pipeline adds \~20 ms (p50) to gateway egress; the delivery hop from `ts` to client receipt depends on where you deploy β€” as low as \~5 ms when colocated (see [server location guidance](/api-reference/concepts#server-location-matters)). How these numbers are produced β€” and why they exclude the delivery hop β€” is in the [latency methodology](/guides/latency-methodology). To verify them yourself during a trial, see [evaluating the feed](/guides/evaluation); to benchmark them against a feed you already run, see [running OddsPapi as a second feed](/guides/second-feed); to trade on them, see [sharp-line trading & CLV](/guides/sharp-line-trading). *** ## Bookmaker staleness: `staleOdds` Two different things can fail: the platform (gateway, your connection) and our link to each upstream bookmaker. `staleOdds` covers the second β€” the flag that says **this bookmaker's odds on this fixture can no longer be trusted**, even while everything else is healthy. Which is why a price can look immaculate and be untradeable at the same time β€” here in a REST snapshot (`GET /fixtures/odds`), where one response carries both maps; the [`bookmakers`](/websocket/channels/bookmakers) channel streams the same meta: ```json theme={null} { "odds": { "singbet": { "id1100013273682356:singbet:111470:0": { "price": 1.952, "active": true, "marketActive": true, "changedAt": 1776717657402 } } }, "bookmakers": { "singbet": { "bookmaker": "singbet", "hasOdds": true, "suspended": false, "staleOdds": true } } } ``` The price row is perfectly normal; the verdict sits in the map next to it. Whether you hydrate over REST or react to the stream, the flag is in hand at the same moment as the price. #### What trips it The flag is always set deliberately, in three situations: 1. **Lost contact** β€” a block, maintenance, or downtime at the bookmaker. We can no longer observe its prices at all. 2. **Unusual inactivity** β€” a watcher per bookmaker: if an entire book produces no odds movement for longer than its per-book threshold, all of its fixtures are marked stale out of caution. A genuinely quiet stretch (e.g. a pregame-only book overnight) can trip this legitimately β€” the flag then means we cannot currently distinguish "quiet" from "broken", which is exactly when you should not be trading it. 3. **Mismapping** β€” a fixture found mapped to the wrong bookmaker event is marked stale until it is remapped and the old prices are removed. In this case the prices are not old, they are **wrong** β€” which is why `staleOdds` is a hard block and not an advisory signal. #### The level, and how incidents fan out One rule: `staleOdds` lives at exactly **one level β€” fixture Γ— bookmaker**. Never per market or selection (the flag covers *all* odds of that bookmaker on that fixture), and never as a single bookmaker-wide message (a book-wide incident is expressed as the flag on *every* fixture of that book). What you receive per cause: | Underlying event | What arrives | | - | - | | One fixture mismapped | **1 message** β€” that fixture Γ— that bookmaker | | Book-wide block, maintenance, or inactivity | **One message per fixture of that book** β€” easily \~1,000 updates announcing the same incident | | Platform issue (gateway, your connection) | Not signalled via `staleOdds` at all β€” that is `reconnect` / the status page | Store and evaluate it keyed per `fixtureId:bookmaker` pair, exactly as delivered. If you want a book-wide view (e.g. "this book is down"), derive it on your side β€” say, the share of that book's fixtures currently flagged β€” rather than waiting for a book-level message that will never come. #### What it is not Not a suspension. `suspended` is the bookmaker's own action on the fixture, and `active` / `marketActive` on the odds row are the bookmaker's selection- and market-level stops. `staleOdds` is about **our visibility** β€” it can be true while all of those read fine, and either can be true without the other. Both independently mean "do not trade this book right now". #### The treatment * **Pause** trading and quoting on that bookmaker for that fixture. * **Treat held prices as unvalidated.** Do not re-price from stale values. * **Resume when the flag returns to `false`.** Recovery is automatic: every update is full latest state, so the next updates re-validate your store β€” nothing to replay or reconcile. * **Or fall back.** If the book is a reference, not a venue β€” risk measurement at a sportsbook, pricing input for market making β€” switch to a still-live book of similar sharpness, and back when the flag clears. The alternative β€” silently serving the last known price β€” is the failure mode that costs money. A feed that never shows staleness is not fresher; it is just not telling you. *** ## Designed for trading-grade failover Recovery is bounded and predictable rather than best-effort: * The gateway buffers a replay window (`resumeWindowMs`) so short interruptions resume with **no data loss**. * If your cursor falls outside that window, a single REST snapshot restores full state in one call. * Bookmaker connectivity is surfaced explicitly via the [`staleOdds` flag](#bookmaker-staleness-staleodds), so you always know when a price may no longer be current. This means worst-case recovery is a **fast, well-defined REST snapshot**, not an open-ended outage. See [Resume & Replay](/websocket/resume-replay) for the full recovery flow. *** ## Monitoring & operational responsibility OddsPapi gives you the signals to operate safely; your client should act on them: * Track the [`staleOdds` flag](#bookmaker-staleness-staleodds) per bookmaker before trading on a price. * Handle `snapshot_required` and reconnect logic (see the [Resume & Replay](/websocket/resume-replay) template). * Respect [rate limits](/api-reference/rate-limits) and [WebSocket connection limits](/websocket/overview); contact support to raise limits for distributed systems. * Watch the status page for platform-level incidents. *** ## Support & incident response | Channel | Use for | | - | - | | [contact@55-tech.com](mailto:contact@55-tech.com) | Technical support, integration help, incident reports | | [contact@55-tech.com](mailto:contact@55-tech.com) | API access, SLA terms, raising limits | | [Status page](https://oddspapi-v5.instatus.com) | Live availability and incident updates | When reporting an issue, include your `apiKey` group, affected channels or endpoints, timestamps (UTC), and any `serverEpoch` / `entryId` values β€” these let us trace your session quickly. # Fixture Settlement Source: https://docs.oddspapi.io/api-reference/settlement/fixture-settlement /api-reference/openapi.json get /fixtures/settlement Get settlements for a fixture. Lookup mode: required `fixtureId` + optional `outcomeId`, optional `playerId`. # Future Settlement Source: https://docs.oddspapi.io/api-reference/settlement/future-settlement /api-reference/openapi.json get /futures/settlement Get settlements for a future. Rolling out β€” not yet serving results. # API Changelog - Updates, Features & Breaking Changes Source: https://docs.oddspapi.io/changelog/index OddsPapi API changelog. New features, improvements, bug fixes, and breaking changes. Track WebSocket and REST API updates for sports betting data integration. We continuously improve the Odds API. This page lists **new features**, **changes**, **fixes**, and **breaking changes**. > [!NOTE] > > All timestamps are UTC. > If a change affects data shape or behavior, it will be marked as **Breaking**. *** ## 2026-11-16 Market catalogue update. **Data only** β€” no endpoint, field or type changes. Refetch `GET /markets` once on or after this date and you are current. ### ✨ Added * **7,882 `outcomeId`s across 3,733 new markets** and **33 new `marketType` values** β€” almost all soccer: shots, saves, yellow and red cards, substitutions, own goals, penalties awarded and missed (as totals / team totals / 1X2 / race-to), plus `firstcorner`, `lastcorner`, `penaltyawarded`, `1up`, `players-firstcard`. * **280 new `period` keys**, all cricket over scopes: `p{i}o{n}` (after over *n* of innings *i*), `p{i}o{n}b{d}` (delivery *d*), `p{i}o1+…+p{i}oN` (first *N* overs). The vocabulary in use goes 280 β†’ 560 and stays append-only; `p1` is still the whole innings. ### ⚠️ Breaking * **300 cricket `marketType` values retired; their markets re-filed onto the new over periods.** The over count was in the type (`12-overs-3-delivery-team1`) and is now a `period`, so those markets carry a plain `totals` / `teamtotals-team1` / `teamtotals-team2`. **33,792 outcomes change `marketType` and `period` together**; `outcomeId`, `marketId`, `handicap`, both names and `marketLength` are untouched, so nothing is lost and no price needs re-mapping. | before | after | | - | - | | `6-overs` @ `p1` | `totals` @ `p1o6` | | `12-overs-team1` @ `p2` | `teamtotals-team1` @ `p2o12` | | `12-overs-3-delivery-team2` @ `p1` | `teamtotals-team2` @ `p1o12b3` | If you key cricket over markets on `marketType`, switch to `period`. This is the rule the rest of the catalogue follows: **a market's scope lives in `period`, never in its type or name.** * **60 ice-hockey player markets move from `fulltime+overtime` to `result`.** `Over Under Player Saves (incl. overtime)` (50 markets) and `Over Under Player Blocks (incl. overtime)` (10) were published at the `fulltime+overtime` scope; both now carry `result`. **120 outcomes change `period` only** β€” `outcomeId`, `marketId`, `handicap`, both names and `marketLength` are untouched, so no price needs re-mapping. If you key those two on `period`, switch to `result`. * **46 markets gain their missing side** β€” `Yes`-only markets now offer `Yes` and `No`, the `No` appended under the same `marketId`. Re-read the outcome list rather than a cached count. `marketLength` is deliberately not updated: it is frozen metadata for a market's intended probability space, not the length of the array you received β€” see [marketLength](/api-reference/concepts#marketlength). ### πŸ” Changed * **Market uniqueness is now strict and enforced.** A market is `sportId Γ— marketType Γ— period Γ— handicap`; an outcome adds `outcomeName` β€” the same coordinates that compose the `oddsId`. So one `marketType` at one `period` has one structure, and its sides are always the complete space (`Yes`β‡’`No`, `Over`β‡’`Under` at that line, `-team1`β‡’`-team2`, three-way carries its draw). Audited every release. See [Markets and outcomes](/api-reference/concepts#the-identity-of-a-market-the-strict-rule). *** ## 2026-11-12 ### πŸ”§ Improved * **Concurrent WebSocket connections raised from 5 to 8 per API key group.** Nothing to change on your side β€” the extra headroom is simply available, and error `4003` (`too_many_connections`) now fires at 9 rather than 6. Useful if you shard channels across processes or run a warm standby alongside a live consumer. See [WebSocket limits](/websocket/overview#websocket-limits). ### ✨ Added * **`statusId` `4` β€” `removed`.** A fixture or future that was **wrongly issued** and withdrawn from the schedule: a provider-side duplicate, a test entry, an event that was never real. Not a cancellation β€” `3` is a real event that will not be played, `4` should never have existed. It **outranks `3`** and is terminal (any state β†’ `4`, never moves again), so treat it as final and stop polling; scores and settlement are never published for a `4`. See [Enumerations](/api-reference/enumerations#statusid-fixture--future-lifecycle). > [!NOTE] > > Clients branching exhaustively on `statusId` need a `4` arm. The enumeration has > always been append-only, so if you already handle unknown values gracefully, nothing > breaks. *** ## 2026-10-28 ### ✨ Added * **`previousFixtureId` on every fixture response** β€” REST (`GET /fixtures`, `/fixtures/today`, `/fixtures/live`, `/fixtures/odds`, …) and the `fixtures` WebSocket channel. The inverse of `reissuedFixtureId` (added 2026-10-09): where that field points forward from a cancelled fixture to its replacement, this one points back from the replacement to the fixture it replaced. * **`previousFutureId` on every future response** β€” same semantics, on `GET /futures`, `GET /futures/odds` and the `futures` WebSocket channel. Unlike the forward pointer, this one sits on a normal scheduled or live fixture, so you can see that a fixture you are tracking has a history without having met the cancelled one. Same contract otherwise: always present, `null` most of the time, a plain id string, one hop only β€” a fixture postponed twice gives `A β†’ B β†’ C`, where `B` carries both `previousFixtureId: A` and `reissuedFixtureId: C`. One predecessor at most, cleared again if a postponement is reverted. Existing reissue pairs are backfilled, so the back-pointer is also present on replacements created before this date. ### ⚠️ Breaking * **Fixture and future response shapes gained a top-level key.** `previousFixtureId` sits next to `fixtureId` and `reissuedFixtureId`; `previousFutureId` next to `futureId` and `reissuedFutureId`. Clients that reject unknown fields when deserializing need to add them; everyone else is unaffected. *** ## 2026-10-09 ### ✨ Added * **`reissuedFixtureId` on every fixture response** β€” REST (`GET /fixtures`, `/fixtures/today`, `/fixtures/live`, `/fixtures/odds`, …) and the `fixtures` WebSocket channel. When a cancelled fixture is re-listed under a new id β€” a postponed match moved to a later date, a board re-keyed by the provider β€” the cancelled fixture points at its replacement. * **`reissuedFutureId` on every future response** β€” same semantics, on `GET /futures`, `GET /futures/odds` and the `futures` WebSocket channel. The field is always present and `null` most of the time β€” it is only populated on a cancelled entity (`status.statusId` `3`) that already has a replacement in the feed. Many cancellations are permanent and stay `null`; others are re-listed later, so the value can appear after you first saw the entity cancelled. It is a plain id string, one hop only: if the replacement is cancelled too, read its own `reissuedFixtureId`. ### ⚠️ Breaking * **Fixture and future response shapes gained a top-level key.** `reissuedFixtureId` sits next to `fixtureId`, `reissuedFutureId` next to `futureId`. Clients that reject unknown fields when deserializing need to add them; everyone else is unaffected. *** ## 2026-10-05 This entry is a **data change only** β€” no endpoint, field or type changes. It all surfaces through `GET /markets` (and `GET /fixtures/markets`): refetch the catalogue once on or after this date and you are current. Odds payloads are untouched, they just start carrying the new `outcomeId`s. ### ✨ Added * **64 new esports `marketType` values** and 568 new `marketType` Γ— `period` combinations β€” objectives, first-objective and multikill markets across Counter-Strike, League of Legends, Dota, Valorant and Rainbow Six. Map-level markets arrive under a new `sportId` **83** (ESport Mobile Legends). * **195 new `period` keys**, all sub-period grids β€” `p1r1` … `p5r36` (round within map) and `p1g2` … `p5g6` (tennis). The vocabulary goes from 19 values to 213 and stays append-only. > [accordion] All 64 new marketType values > > **Totals / spreads / team totals on esports objectives** β€” `totals-kills`, `totals-towers`, `totals-turrets`, `totals-dragons`, `totals-barons`, `totals-roshans`, `totals-inhibitors`, `totals-barracks`, `totals-rounds`, `totals-headshots`, `spreads-kills`, `spreads-towers`, `spreads-turrets`, `spreads-dragons`, `spreads-roshans`, `spreads-inhibitors`, `spreads-barracks`, `spreads-rounds`, `teamtotals-kills-team1`/`-team2`, `teamtotals-towers-team1`/`-team2`, `teamtotals-turrets-team1`/`-team2`, `teamtotals-dragons-team1`/`-team2`, `teamtotals-barons-team1`/`-team2`, `teamtotals-roshans-team1`/`-team2`, `teamtotals-inhibitors-team1`/`-team2`, `teamtotals-barracks-team1`/`-team2`, `teamtotals-rounds-team1`/`-team2` > > **First objective** β€” `firstblood`, `firsttower`, `firstbaron`, `firstroshan`, `firstinhibitor`, `firstbarracks` > > **Multikills** β€” `triplekill`, `quadrakill`, `pentakill` > > **Other** β€” `1x2-kills`, `drawnobet-kills`, `oddeven-kills`, `oddeven-rounds`, `racetokills`, `winningmargin-rounds`, `playertotals-kills`, `playertotals-headshots`, `toqualify` > > **Rename targets that did not exist before** β€” `spreads-bookings`, `players-commitpenalty`, `players-goalieshutouts`, `players-goalsagainst`, `players-nextgoalscorer`, `players-powerplaypoints`, `players-secondgoalscorer`, `players-shorthandedgoals`, `players-shorthandedgoalscorer`, `players-thirdgoalscorer`. These are new only because the market moved to them β€” see the rename table below. ### πŸ” Changed * **24 `marketType` values are renamed for cross-sport consistency**, affecting **222** markets in Ice Hockey, Soccer and Cricket. The singular prefixes `player-`, `spread-` and `total-` become the plural `players-`, `spreads-` and `totals-` already used everywhere else. * **`period` changes on 74 markets.** **28 move from `fulltime` to `result`** across 26 sports that have no scoring phase after regulation, so the two values were names for one number β€” see [Periods per sport](/guides/periods). The other **46 had a blank `period` and are now populated**. `marketId`s are unchanged throughout. * **No market has an empty `period` any more.** If you special-cased the blank, drop that branch. > [accordion] All 74 period changes > > **`fulltime` β†’ `result` β€” the `1x2` market in 26 sports:** MMA `203`, Boxing `213`, Beach Volley `303`, Squash `343`, Basketball 3x3 `353`, Curling `393`, Padel `403`, Soccer Specials `443`, Beach Handball `473`, Athletics `483`, Badminton `493`, Bowls `503`, Cross-Country `513`, ESport Call of Duty `563`, ESport Overwatch `573`, ESport Rainbow Six `583`, ESport Rocket League `593`, ESport StarCraft `603`, ESport Valorant `613`, ESport Arena of Valor `623`, ESport King of Glory `633`, Judo `643`, ESport Honor of Kings `653`, Speedway `663`, Golf `673`, Cycling `683`. > > Boxing also moves two `Total Rounds` lines (`216`, `218`) β€” its last `fulltime` markets, in a sport whose other Total Rounds lines were already on `result`. > > **Blank β†’ populated, 46 markets:** > > | New `period` | Markets | Which | > | - | - | - | > | `fulltime` | 13 | Soccer both-halves / highest-scoring-half, Will There Be Overtime, Will There Be An Extra Inning | > | `result` | 10 | Basketball player firsts, Volleyball exact-sets | > | `p1+p2`, `p3+p4`, `p3+p4+overtime` | 8 | Basketball and American Football half splits | > | `p1g2` … `p5g6` | 15 | Tennis `correctscore` "after *N* games" | > [accordion] Full marketType rename table > > | Old `marketType` | New `marketType` | Sport | Markets | `marketId` | > | - | - | - | - | - | > | `moneyline` | `toqualify` | Soccer | 1 | `10728` | > | `player-anytimegoalscorer` | `players-anytimegoalscorer` | Ice Hockey | 4 | `152401`, `152671`, `152709`, `152747` | > | `player-assists` | `players-assists` | Ice Hockey | 1 | `152376` | > | `player-blocks` | `players-blocks` | Ice Hockey | 1 | `152468` | > | `player-commitpenalty` | `players-commitpenalty` | Ice Hockey | 1 | `152670` | > | `player-firstgoalscorer` | `players-firstgoalscorer` | Ice Hockey | 4 | `152402`, `152672`, `152710`, `152748` | > | `player-goalieshutouts` | `players-goalieshutouts` | Ice Hockey | 1 | `152654` | > | `player-goals` | `players-goals` | Ice Hockey | 4 | `152381`, `152679`, `152717`, `152755` | > | `player-goalsagainst` | `players-goalsagainst` | Ice Hockey | 1 | `152644` | > | `player-lastgoalscorer` | `players-lastgoalscorer` | Ice Hockey | 1 | `152406` | > | `player-nextgoalscorer` | `players-nextgoalscorer` | Ice Hockey | 1 | `152405` | > | `player-points` | `players-points` | Ice Hockey | 4 | `152386`, `152689`, `152727`, `152765` | > | `player-powerplaypoints` | `players-powerplaypoints` | Ice Hockey | 1 | `152443` | > | `player-saves` | `players-saves` | Ice Hockey | 1 | `152579` | > | `player-secondgoalscorer` | `players-secondgoalscorer` | Ice Hockey | 1 | `152403` | > | `player-shorthandedgoals` | `players-shorthandedgoals` | Ice Hockey | 1 | `152664` | > | `player-shorthandedgoalscorer` | `players-shorthandedgoalscorer` | Ice Hockey | 1 | `152669` | > | `player-shots` | `players-shots` | Ice Hockey | 1 | `152425` | > | `player-shotsongoal` | `players-shotsongoal` | Ice Hockey | 4 | `152391`, `152703`, `152741`, `152779` | > | `player-thirdgoalscorer` | `players-thirdgoalscorer` | Ice Hockey | 1 | `152404` | > | `spread-bookings` | `spreads-bookings` | Soccer | 59 | `10972`–`101332` (59 ids) | > | `spread-corners` | `spreads-corners` | Soccer | 54 | `10845`–`101635` (54 ids) | > | `total-fours` | `totals-fours` | Cricket | 42 | `2712`–`27126` (42 ids) | > | `total-sixes` | `totals-sixes` | Cricket | 32 | `2754`–`27158` (32 ids) | > > **13 of these renames merge into a `marketType` that already existed** β€” > `players-anytimegoalscorer`, `players-assists`, `players-blocks`, > `players-firstgoalscorer`, `players-goals`, `players-lastgoalscorer`, > `players-points`, `players-saves`, `players-shots`, `players-shotsongoal`, > `spreads-corners`, `totals-fours` and `totals-sixes` were already in the > registry alongside their singular twin. If you group by `marketType`, those > groups get **larger** rather than disappearing β€” the duplicate spelling for > the same concept is gone. > > The `moneyline` β†’ `toqualify` row is the one rename that is not cosmetic: a single Soccer market > typed `moneyline` becomes `toqualify`, which is what it always meant. It is also the only market > whose `marketName` changes in this release β€” `Winner (incl. overtime)` becomes `To Qualify`. > [!WARNING] > > **If you key markets on `marketType` Γ— `period`, re-pull the registry and > regenerate those groupings.** 296 markets change their `marketType` or > `period` β€” a hard-coded or cached mapping will silently stop matching them. > > **If you key on `marketId`, nothing breaks.** No `marketId` was removed, and > no market gained or lost an `outcomeId`; every one of the 32,950 existing ids > still resolves, and the 13,891 additions are purely new. *** ## 2026-09-28 ### ✨ Added * **`GET /{lang}/fixtures/odds/parlay`** β€” price an accumulator from a list of `oddsIds`, across fixtures and sports. See [Parlays & SGP](/api-reference/parlays). * **`GET /{lang}/fixtures/odds/sgp`** β€” price a **correlated** same-game parlay, quoted by the bookmaker. `price` carries the correlation, `singlesPrice` the naive product. * **`missingOddsIds`** on both new endpoints β€” names the requested legs that could not be found, so an empty section is never ambiguous. * **`X-API-Key` header authentication** on every endpoint, alongside the `apiKey` query parameter. Send one or the other. See [Authentication](/api-reference/authentication). *** ## 2026-05-25 ### ✨ Added * **WebSocket `receiveType: "zstd"` β€” dictless compression.** Opt-in zstd egress with **no dictionary handling**: every data frame is a standalone dictless zstd frame (`dictId 0`), decoded in one line (`zstd.decompress(frame)` β†’ JSON). \~5–6Γ— smaller than JSON on `odds` β€” the simplest way to cut bandwidth. See [Compression](/websocket/compression). * **WebSocket `receiveType: "zstd-dict"` β€” trained dictionaries.** Maximum ratio (\~7–9Γ— on `odds`) using per-channel dictionaries the server pushes as `dict` control frames at connect. ### πŸ” Changed * **`receiveType: "zstd"` now means dictless.** During the zstd beta, `"zstd"` previously delivered trained dictionaries; that behavior moved to the new `"zstd-dict"`. If you were decoding dictionary frames under `"zstd"`, switch to `"zstd-dict"`. * **Dictionary version cache removed.** The `dicts` login field is gone; the server now re-sends the (\~32 KB) dictionaries on every `zstd-dict` connection, so clients no longer persist or version dictionaries across reconnects. A `dicts` field, if still sent, is ignored. *** ## 2026-04-09 ### ✨ Added * **Fixture view: `venue` section** β€” new nested object on all fixture responses with `venueId`, `venueName`, and `venueLocation`. Translated per language. * **Fixture view: `clock` section** β€” new nested object on all fixture responses with `currentPeriod`, `currentTime`, `remainingTime`, `remainingTimeInPeriod`, and `stopped`. All keys present with `null` values until clock data is populated for a fixture. * **Fixture view: `participant1ShortName` / `participant2ShortName`** β€” new fields in the `participants` section of fixture responses, sourced from translated participant data. * **Fixture view: `seasonRound`** β€” new field in the `season` section of fixture responses. * **Futures view: `marketId`** β€” the `market` section in future responses now includes the `marketId` from the futures table. Name fields (`marketName`, `marketType`, `playerMarket`, `participantMarket`) remain `null` for now. * **Participants endpoint: `participantShortName`** β€” the `GET /{lang}/participants` response now includes `participantShortName` for each participant. * New REST endpoint: **`GET /{lang}/venues?venueIds=...`** β€” returns venue data with translated `venueName` and `venueLocation`. * New WebSocket channel: **`clocks`** β€” delivers live clock updates per fixture (same routing as `scores`: filtered by `fixtureId`, sport, tournament). Supports resume/replay. ### ⚠️ Breaking * **Fixture response shape changed** β€” all fixture endpoints (REST and WebSocket) now include three new top-level keys: `venue` (object), `clock` (object), and updated `participants` / `season` sections. Clients parsing fixture responses strictly should update their models. * `season` now includes `seasonRound: integer | null` * `participants` now includes `participant1ShortName: string | null` and `participant2ShortName: string | null` * `venue: { venueId, venueName, venueLocation }` added after `season` * `clock: { currentPeriod, currentTime, remainingTime, remainingTimeInPeriod, stopped }` added after `scores` * **Future response shape changed** β€” `market.marketId` is now populated (integer or null) instead of always `null`. *** ## 2025-12-12 ### ✨ Added * WebSocket **resume & replay** support using `entryId` cursors * New WebSocket channels: * `injuries` * `lineups` * `stats` * AsyncAPI 3.0 reference for WebSocket gateway ### πŸ”§ Improved * Reduced WebSocket latency for `odds` and `scores` * Better filtering for `sportIds`, `tournamentIds`, and `bookmakers` ### πŸ› Fixed * Fixed an issue where some `odds` updates were delivered without bookmaker gating * Fixed incorrect `live` flag on some fixtures during transitions *** ## 2025-11-28 ### ⚠️ Breaking * `odds.payload.odds` keys are now **always bookmaker-scoped** * Old clients expecting a flat structure must update ### ✨ Added * Support for `receiveType: "binary"` (MessagePack) * Added `entryId` to all update messages *** ## 2025-11-10 ### ✨ Added * Initial WebSocket gateway * Channels: * `fixtures` * `scores` * `odds` * `bookmakers` # Coverage - Sports, Bookmakers & Markets Source: https://docs.oddspapi.io/coverage What the OddsPapi B2B odds API covers: sports and prediction-market topics with fixtures and futures per sportId, the bookmaker catalogue anchored on sharp trading books, and the full fixture-market taxonomy. Coverage has three dimensions, and each one has its own matrix: **which sports** we carry, **which bookmakers** we collect, and **which fixture markets** exist per sport. The three pages below are generated from the live catalogue rather than hand-maintained. | | Covered | | - | - | | Sports and topics | **75** total β€” **60** with fixtures, **72** with futures | | Bookmakers | **200+** actively collected | | Fixture markets | published for **60** sports, up to **200** market types each | > [card] [Sports](/coverage/sports) > > Every `sportId` with its fixtures and futures availability and how many fixture market types it publishes. > [card] [Bookmakers](/coverage/bookmakers) > > Every bookmaker we actively collect, with the slug you address it by. > [card] [Markets](/coverage/markets) > > The full fixture-market `marketType` Γ— `period` matrix per sport, and which combinations settle from a collected counter. ## The two product planes * **Fixtures** are match- or event-level markets (a single game, bout, or match), streamed on the [`fixtures`](/websocket/channels/fixtures) and [`odds`](/websocket/channels/odds) channels. * **Futures** are outright / season-long or topic-level markets (league winner, tournament, election, etc.), streamed on the [`futures`](/websocket/channels/futures) and `oddsFutures` channels. A sport can carry one plane or both. `sportId` **69–78** are prediction-market topics (politics, elections, finance, crypto, weather, …) and **79–81** are racing codes (horse, greyhound, harness) β€” both groups exist as futures only. For the per-sport answer rather than a rule of thumb, see [Sports coverage](/coverage/sports). ## What the bookmaker catalogue is anchored on * **Sharp trading books** β€” the core of the feed. The bookmakers that are most accurate in pricing and dominate global sports prediction (e.g. Pinnacle, Singbet, Circa Sports) β€” the books trading systems benchmark against, carried with [limits](/websocket/channels/odds#limits) and full delivery timestamps. * **Betting exchanges & prediction markets** β€” realtime prices with [orderbook depth](/websocket/channels/odds#advanced-metadata-meta) (`back` / `lay` ladders), e.g. Betfair and Polymarket. * **European, US, and crypto sportsbooks** β€” broad retail coverage across regions (e.g. DraftKings, Stake). **Asian lines are first-class**: Asian handicap market types, quarter-line settlement (`HALFWIN` / `HALFLOSS` β€” see [Enumerations](/api-reference/enumerations)), and fiat + crypto exchange rates on the [currencies channel](/websocket/channels/currencies) for odds conversion. ## Discovering your own catalogue These pages describe the whole feed. What **your key** can read is narrower, and the API is the authority on it: | Dimension | Endpoint | | - | - | | Sports | [`GET /sports`](/api-reference/common/get-sports) | | Bookmakers | [`GET /bookmakers`](/api-reference/common/get-bookmakers) | | Markets and outcomes | [`GET /markets`](/api-reference/common/get-markets) | Identifiers are language-independent; display names follow the request's [language prefix](/api-reference/concepts#language-prefix). The `sportId` is the **first two digits** of downstream `marketId`, `outcomeId`, and `fixtureId` values β€” see [Core Concepts](/api-reference/concepts#id-structure). # Bookmaker Coverage - Sharps, Exchanges & Retail Books Source: https://docs.oddspapi.io/coverage/bookmakers Every bookmaker OddsPapi actively collects β€” sharp trading books, exchanges and prediction markets, and retail sportsbooks β€” with the slug you address each one by, plus the per-book capabilities, freshness bounds, and status signals the API exposes. OddsPapi aggregates bookmakers anchored on the books that matter for price discovery rather than optimized for a headline count. The catalog available to you is determined by your key β€” query [`GET /bookmakers`](/api-reference/common/get-bookmakers) for the live list. *** ## The catalogue **200+** bookmakers are actively collected. Skins and regional duplicates of these books are not listed separately β€” they resolve to the book above via `clone_of`. Where a book states no display name, its slug stands in. What each book carries β€” sport and country breadth, player props, stake limits, delivery modes and freshness bounds β€” is per book and per key, so read it from [`GET /bookmakers`](/api-reference/common/get-bookmakers) rather than from this page. | Bookmaker | `slug` | | - | - | | 18Bet | `18bet` | | 198Bet | `198bet` | | 1xBet | `1xbet` | | 22Bet | `22bet` | | 3et | `3et` | | 3et +5 sec | `3et+5` | | 4casters Exchange | `4casters` | | 7Bet LT | `7bet.lt` | | 888Sport | `888sport` | | 888Sport DE | `888sport.de` | | 888Sport DK | `888sport.dk` | | 888Sport ES | `888sport.es` | | 888Sport IT | `888sport.it` | | Aces High AG | `aceshigh.ag` | | AdmiralBet IT | `admiralbet.it` | | AdmiralBet RS | `admiralbet.rs` | | AFB88 Sports | `afb88` | | All British Casino | `allbritishcasino` | | Apuesta Total | `apuestatotal` | | ATG SE | `atg.se` | | Balkan Bet RS | `balkanbet.rs` | | Bally Bet | `ballybet` | | BC.Game | `bcgame` | | Bet3000 | `bet3000` | | bet365 | `bet365` | | bet365 AR | `bet365.bet.ar` | | bet365 DE | `bet365.de` | | bet365 ES | `bet365.es` | | bet365 FR | `bet365.fr` | | bet365 GR | `bet365.gr` | | bet365 IT | `bet365.it` | | bet365 NL | `bet365.nl` | | Bet99 | `bet99` | | BetAmapola | `betamapola` | | Betano | `betano` | | Betano BG | `betano.bg` | | Betano CZ | `betano.cz` | | Betano DE | `betano.de` | | Betano PT | `betano.pt` | | Betcity NL | `betcity.nl` | | BetDEX | `betdex` | | BetFair Exchange | `betfair-ex` | | Betfred | `betfred` | | Betfury | `betfury` | | Betika KE | `betika` | | Betinia DK | `betinia.dk` | | BetMGM | `betmgm` | | BetMGM UK | `betmgm.co.uk` | | BetOnline AG | `betonline.ag` | | BetParx | `betparx` | | betPawa CM | `betpawa.cm` | | BetPlay | `betplay` | | BetRivers | `betrivers` | | Betsson | `betsson` | | BetUK | `betuk` | | BetUS | `betus` | | BetWar | `betwar` | | Betway | `betway` | | Betway DE | `betway.de` | | Betway ES | `betway.es` | | Bingoal BE | `bingoal.be` | | Blaze | `blaze` | | Bookmaker EU | `bookmaker.eu` | | Borgata Online Sports | `borgata` | | Bovada | `bovada.lv` | | Bwin | `bwin` | | Bwin DE | `bwin.de` | | Bwin DK | `bwin.dk` | | Bwin ES | `bwin.es` | | Bwin FR | `bwin.fr` | | Caesars Sportsbook | `caesars` | | Casa Pariurilor Bet RO | `casapariurilor.ro` | | CASHPOINT | `cashpoint` | | Casumo | `casumo` | | Circa Sports | `circasports` | | Cloudbet | `cloudbet` | | CMD 368 | `cmd368` | | Codere ES | `codere.es` | | Coolbet | `coolbet` | | Coral | `coral` | | Crypto.com | `crypto.com` | | Dafabet | `dafabet` | | Desert Diamond Sport | `desertdiamond` | | Draftkings | `draftkings` | | draftkings-predictions | `draftkings-predictions` | | Duel | `duel` | | Duelbits | `duelbits` | | Estrela Bet | `estrelabet` | | Eurobet IT | `eurobet.it` | | Expekt DK | `expekt.dk` | | Expekt SE | `expekt.se` | | Fanatics | `fanatics` | | Fanatics Markets | `fanaticsmarkets` | | FanDuel | `fanduel` | | FEZbet | `fezbet` | | Fliff Sportsbook | `fliff` | | Fonbet | `fonbet` | | Fortuna PL | `efortuna.pl` | | Fortuna RO | `efortuna.ro` | | Four Winds Sportsbook | `fourwinds` | | Gamdom | `gamdom` | | Gemini Predict | `gemini` | | Goldbet IT | `goldbet.it` | | Golden Palace Sports BE | `goldenpalacesports.be` | | Grosvenor | `grosvenor` | | Hard Rock Bet | `hardrockbet` | | iddaa | `iddaa` | | Jacks NL | `jacks.nl` | | Jazz Sports | `jazzsports` | | Kaiyun Sports | `kaiyun` | | Kalshi | `kalshi` | | KTO | `kto` | | Ladbrokes | `ladbrokes` | | LeoVegas | `leovegas` | | LeoVegas ES | `leovegas.es` | | LeoVegas IT | `leovegas.it` | | LibraBet | `librabet` | | Limitless Exchange | `limitless-ex` | | Lottoland | `lottoland` | | Mansion 88 | `mansion88` | | Marathonbet | `marathonbet` | | Matchbook Exchange | `matchbook` | | MaxBet RS | `maxbet.rs` | | Mega Dice | `megadice` | | Midnite | `midnite` | | mostbet | `mostbet` | | Mozzart Bet | `mozzartbet` | | Mr Green DK | `mrgreen.dk` | | MrGreen | `mrgreen` | | Myriad Markets | `myriad` | | MyStake | `mystake` | | Napoleon Sports BE | `napoleonsports.be` | | Neds AU | `neds.com.au` | | NetBet | `netbet` | | NetBet IT | `netbet.it` | | NetBet UK | `netbet.co.uk` | | Novig US | `novig.us` | | OddSet | `oddset` | | Overtime Exchange | `overtime.io` | | Paddy Power | `paddypower` | | PAF | `paf` | | paf ES | `paf.es` | | Pamestoixima GR | `pamestoixima.gr` | | Paradise Wager | `paradisewager` | | Partycasino | `partycasino` | | PartyPoker Sports | `partypoker` | | Pinnacle +30 sec | `pinnacle+30` | | Pinnacle +5 sec | `pinnacle+5` | | Pinnacle Sports | `pinnacle` | | PlayNow | `playnow` | | PMU | `pmu` | | PointsBet AU | `pointsbet.com.au` | | PokerStars | `pokerstars` | | PokerStars ES | `pokerstars.es` | | PokerStars FR | `pokerstars.fr` | | PokerStars RO | `pokerstars.ro` | | Polymarket | `polymarket` | | Polymarket US | `polymarket.us` | | PrizePicks | `prizepicks` | | Proline + | `prolineplus` | | Prophet Exchange | `prophetx` | | Punter.io | `punter.io` | | Quigioco IT | `quigioco.it` | | Rainbet | `rainbet` | | robinhood | `robinhood` | | Roobet | `roobet` | | Rushbet CO | `rushbet.co` | | SABA Sports | `sabasports` | | SBOBET | `sbobet` | | Scooore BE | `scooore.be` | | Sharp | `sharp.ag` | | SharpBet | `sharpbet` | | SingBet | `singbet` | | SingBet Group B | `singbet-b` | | SingBet Group C | `singbet-c` | | SingBet Group D | `singbet-d` | | Sisal IT | `sisal.it` | | SoccerBet RS | `soccerbet.rs` | | SportingBet | `sportingbet` | | Sports Interaction | `sportsinteraction` | | sportwetten.de | `sportwetten.de` | | SportyBet | `sportybet` | | Stake.com | `stake` | | Stoiximan | `stoiximan` | | Superbet PL | `superbet.pl` | | Superbet RO | `superbet.ro` | | Superbet RS | `superbet.rs` | | Svenska Spel | `svenskaspel` | | SX Bet | `sx.bet` | | TAB AU | `tab.com.au` | | TABtouch AU | `tabtouch` | | theScore | `thescore` | | Thunderpick | `thunderpick.io` | | Tipico DE | `tipico` | | TipTorro | `tiptorro` | | TopOdds | `topodds` | | TOTO NL | `toto.nl` | | Unibet | `unibet` | | Unibet AU | `unibet.com.au` | | Unibet BE | `unibet.be` | | Unibet DK | `unibet.dk` | | Unibet FR | `unibet.fr` | | Unibet IE | `unibet.ie` | | Unibet NL | `unibet.nl` | | Unibet SE | `unibet.se` | | Vave | `vave` | | Vertex | `vertex` | | Virginbet | `virginbet` | | Wettarena | `wettarena` | | WilliamHill | `williamhill` | | Winamax DE | `winamax.de` | | Winamax ES | `winamax.es` | | Winamax FR | `winamax.fr` | | WinBet BG | `winbet.bg` | | WinBet RO | `winbet.ro` | | Winpot MX | `winpot.mx` | | YesPlay | `yesplay` | *** ## Categories **Sharp trading books** β€” the core of the feed. The books that are most accurate in pricing and dominate global sports prediction (e.g. Pinnacle, Singbet, Circa Sports). These are what trading systems benchmark against, and they carry [stake limits](/websocket/channels/odds#limits) and the full delivery timestamp chain. **Exchanges & prediction markets** β€” realtime prices with [orderbook depth](/websocket/channels/odds#advanced-metadata-meta): `meta.back` / `meta.lay` ladders of `{ price, cents, size, limit }` rungs, up to three deep, with the same shape across Polymarket, Kalshi and ProphetX (Betfair Exchange uses legacy `availableToBack` / `availableToLay` keys). Non-sports prediction topics are covered as futures; see [Coverage by sport](/coverage). **European, US, and crypto sportsbooks** β€” broad retail coverage across regions (e.g. DraftKings, Stake, BC.Game). **Asian lines are first-class**: Asian handicap market types, quarter-line settlement (`HALFWIN` / `HALFLOSS`), and fiat + crypto rates on the [`currencies`](/websocket/channels/currencies) channel for stake and limit conversion. *** ## What a book can carry Not every capability exists at every book β€” what a book publishes determines what we can pass through. Check the per-book fields rather than assuming: | Capability | Where it appears | Notes | | - | - | - | | Price | `price`, `priceAmerican`, `priceFractional` | Always present | | Stake limit | `limit` on the outcome | Carried for close to every sharp book | | Orderbook depth | `meta.back` / `meta.lay` | Exchanges and prediction markets | | Native venue IDs | `bookmakerMarketId`, `bookmakerOutcomeId` | Per price, on the live stream β€” used for order routing | | Book's own timestamp | `bookmakerChangedAt` | Where the book publishes one; enables exact delay measurement | | Main line flag | `mainLine` | Follow headline prices without every alternate line | | Fixture-level mapping | `bookmakerFixtureId`, `fixturePath` | On the [`bookmakers`](/websocket/channels/bookmakers) channel; also `GET /fixtures/mapping` | *** ## Per-book metadata [`GET /bookmakers`](/api-reference/common/get-bookmakers) returns the catalog with the operational fields you need to plan an integration: | Field | Meaning | | - | - | | `slug` | Stable identifier used in `bookmakers` filters and in `oddsId` | | `bookmakerName` | Display name | | `active` | Whether the book is currently being collected | | `websocketPregame` / `websocketLive` | Which delivery modes this book is available in | | `maxDelayPregameInSec` | Freshness bound, pregame | | `maxDelayPregameMainInSec` | Freshness bound, pregame main lines | | `maxDelayLiveInSec` | Freshness bound, in-play | The `maxDelay*` fields state the maximum expected refresh delay per mode β€” measured from observed vs. bookmaker change times (currently the rolling p50) where the book publishes usable timestamps, estimated otherwise. Representative p50s per book are published in [Latency and freshness](/api-reference/reliability#latency-and-freshness). *** ## Status signals Coverage is not only "is this book in the list" but "is it current right now". The [`bookmakers`](/websocket/channels/bookmakers) channel reports per book, per fixture: * `hasOdds` β€” the book currently offers odds on this fixture * `staleOdds` β€” connection degraded, freshness no longer guaranteed (treat as a kill switch) * `suspended` β€” the book's odds are suspended * `participantsRotated` β€” the book's home/away assignment differs from the OddsPapi baseline Wire `staleOdds`, `suspended`, `marketActive`, and `active` into a single "is this price tradeable" decision. See [Reliability & Operations](/api-reference/reliability). *** ## Discovering your catalog ```bash theme={null} curl 'https://v5.oddspapi.io/en/bookmakers?apiKey=YOUR_KEY' ``` Bookmaker access is granted per key, and `odds`, `bookmakers`, `oddsFutures`, and `bookmakersFutures` are bookmaker-gated channels β€” you receive what your key allows, intersected with any `bookmakers` filter you send at login. See [Auth & Filters](/websocket/auth). # Fixture Market Coverage - marketType x period per Sport Source: https://docs.oddspapi.io/coverage/markets The OddsPapi fixture-market coverage map: every marketType x period combination published per sport, and which of them settle from a collected counter. **These are the FIXTURE markets** β€” the markets of a single match, bout or game. Outright and season-long markets are a separate taxonomy with its own ids; see [future markets and outcomes](/api-reference/concepts#future-markets-and-outcomes). Markets are not a fixed list per sport β€” they are generated from a deterministic decomposition, so the same bet resolves to the same identifiers everywhere. **This page is only the coverage map: which combinations exist.** How a market is addressed, `marketLength`, id structure and the odds keys are in [Markets and outcomes](/api-reference/concepts#markets-and-outcomes); the live catalogue for your key is [`GET /markets`](/api-reference/common/get-markets). Every `marketType` we publish, per sport, against the period scopes it covers. Pick a sport, then open a market group. > [!NOTE] > > **βœ“** covered, and settles from a counter we collect Β· **β—¦** covered, but settlement is not counter-derived Β· **βœ“β—¦** covered at several scopes inside a collapsed grid column, only some settleable Β· blank β€” not covered. A mark means the combination exists, not how many line values it carries β€” every distinct line is its own `marketId`, so read the ladder from [`GET /markets`](/api-reference/common/get-markets). > > `…-team{1,2}` is **one row for two market types** β€” the `-team1` and `-team2` siblings, which cover the same scopes. Expand the brace to get the real `marketType`. > > **Columns** are ordered by how many market types cover them, densest first. **Rows** follow the market's own id, so the base markets come before the long tail of props. > [tab] Soccer > > **110** market types Β· **6** period scopes Β· `sportId` `10` > > > [accordion] Match outcome (23) > > > > | `marketType` | `fulltime` | `result` | `p1` | `p2` | `overtime` | `fulltime+overtime` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | > > | `1x2` | βœ“ | | βœ“ | βœ“ | βœ“ | | > > | `bothteamsscore` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `drawnobet` | βœ“ | | βœ“ | βœ“ | βœ“ | | > > | `oddeven` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `toscore-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `toscoreinbh-team{1,2}` | βœ“ | | | | | | > > | `cleansheet-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `wintonil-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `nobet-team{1,2}` | βœ“ | | βœ“ | βœ“ | βœ“ | | > > | `oddeven-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `correctscore` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `1x2-corners` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `1x2-bookings` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `oddeven-bookings` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `oddeven-bookings-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `oddeven-corners` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `oddeven-corners-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `doublechance` | βœ“ | | βœ“ | βœ“ | βœ“ | | > > | `halftime-fulltime` | βœ“ | | | | | | > > | `winningmargin` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `exactscore` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `exactscore-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `1x2-shotsongoal` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > > [accordion] Laddered lines (27) > > > > | `marketType` | `fulltime` | `result` | `p1` | `p2` | `overtime` | `fulltime+overtime` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | > > | `totals` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `spreads` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `spreads-european` | βœ“ | | βœ“ | βœ“ | βœ“ | | > > | `teamtotals-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `totals-corners` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `spreads-corners` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `totals-bookings` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `spreads-bookings` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `teamtotals-bookings-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `teamtotals-corners-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `totals-saves` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `teamtotals-saves-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `totals-substitutions` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `teamtotals-substitutions-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `totals-penalties-awarded` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `teamtotals-penalties-awarded-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `totals-penalties-missed` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `teamtotals-penalties-missed-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `totals-own-goals` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `teamtotals-own-goals-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `racetocorners` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | > > | `totals-shots` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `teamtotals-shots-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `totals-red-cards` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `totals-yellow-cards` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `teamtotals-red-cards-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `teamtotals-yellow-cards-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > > [accordion] Player props (Yes/No) (13) > > > > | `marketType` | `fulltime` | `result` | `p1` | `p2` | `overtime` | `fulltime+overtime` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | > > | `players-anytimegoalscorer` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `players-firstgoalscorer` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | > > | `players-lastgoalscorer` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | > > | `players-goals` | | βœ“ | | | | | > > | `players-assists` | | βœ“ | | | | | > > | `players-shots` | | β—¦ | | | | | > > | `players-shotsongoal` | | βœ“ | | | | | > > | `players-tackles` | | β—¦ | | | | | > > | `players-foulscommitted` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | > > | `players-offsides` | | βœ“ | | | | | > > | `players-cards` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `players-saves` | | β—¦ | | | | | > > | `players-firstcard` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | > > > [accordion] Player totals (laddered) (9) > > > > | `marketType` | `fulltime` | `result` | `p1` | `p2` | `overtime` | `fulltime+overtime` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | > > | `playertotals-goals` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `playertotals-assists` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `playertotals-shots` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | > > | `playertotals-shotsongoal` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `playertotals-tackles` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | > > | `playertotals-foulscommitted` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | > > | `playertotals-offsides` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `playertotals-cards` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `playertotals-saves` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | > > > [accordion] Specials and order (15) > > > > | `marketType` | `fulltime` | `result` | `p1` | `p2` | `overtime` | `fulltime+overtime` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | > > | `firstgoal` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | > > | `lastgoal` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | > > | `wineitherh-team{1,2}` | βœ“ | | | | | | > > | `winbothh-team{1,2}` | βœ“ | | | | | | > > | `toqualify` | β—¦ | β—¦ | | | | | > > | `2up` | β—¦ | | | | | | > > | `highestscoringh` | βœ“ | | | | | | > > | `highestscoringh-team{1,2}` | βœ“ | | | | | | > > | `winfrombehind` | β—¦ | | | | | | > > | `1up` | β—¦ | | | | | | > > | `firstcorner` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | > > | `lastcorner` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | > > | `penaltyawarded` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | > > | `highestscoringh-bookings` | β—¦ | | | | | | > > | `highestscoringh-corners` | β—¦ | | | | | | > [tab] Basketball > > **36** market types Β· **10** period scopes Β· `sportId` `11` > > > [accordion] Match outcome (3) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p1+p2` | `p3+p4` | `p3+p4+overtime` | `p4+overtime` | `fulltime` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `moneyline` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | | > > | `1x2` | | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | βœ“ | > > | `oddeven` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > > [accordion] Laddered lines (3) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p1+p2` | `p3+p4` | `p3+p4+overtime` | `p4+overtime` | `fulltime` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `totals` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `spreads` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `teamtotals-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > > [accordion] Player props (Yes/No) (16) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p1+p2` | `p3+p4` | `p3+p4+overtime` | `p4+overtime` | `fulltime` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `players-points` | βœ“ | | | | | | | | | | > > | `players-rebounds` | βœ“ | | | | | | | | | | > > | `players-3pointers` | βœ“ | | | | | | | | | | > > | `players-ptsassreb` | βœ“ | | | | | | | | | | > > | `players-assists` | βœ“ | | | | | | | | | | > > | `players-assreb` | βœ“ | | | | | | | | | | > > | `players-ptsreb` | βœ“ | | | | | | | | | | > > | `players-ptsass` | βœ“ | | | | | | | | | | > > | `players-steals` | βœ“ | | | | | | | | | | > > | `players-blocks` | βœ“ | | | | | | | | | | > > | `players-turnovers` | βœ“ | | | | | | | | | | > > | `players-stlblo` | βœ“ | | | | | | | | | | > > | `players-doubledouble` | β—¦ | | | | | | | | | | > > | `players-tripletriple` | β—¦ | | | | | | | | | | > > | `players-firstpoint` | β—¦ | | | | | | | | | | > > | `players-first3pointer` | β—¦ | | | | | | | | | | > > > [accordion] Player totals (laddered) (13) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p1+p2` | `p3+p4` | `p3+p4+overtime` | `p4+overtime` | `fulltime` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `playertotals-points` | βœ“ | βœ“ | | | | | | | | | > > | `playertotals-rebounds` | βœ“ | βœ“ | | | | | | | | | > > | `playertotals-3pointers` | βœ“ | | | | | | | | | | > > | `playertotals-ptsassreb` | βœ“ | βœ“ | | | | | | | | | > > | `playertotals-assists` | βœ“ | βœ“ | | | | | | | | | > > | `playertotals-assreb` | βœ“ | βœ“ | | | | | | | | | > > | `playertotals-ptsreb` | βœ“ | βœ“ | | | | | | | | | > > | `playertotals-ptsass` | βœ“ | βœ“ | | | | | | | | | > > | `playertotals-steals` | βœ“ | βœ“ | | | | | | | | | > > | `playertotals-blocks` | βœ“ | βœ“ | | | | | | | | | > > | `playertotals-turnovers` | βœ“ | βœ“ | | | | | | | | | > > | `playertotals-stlblo` | βœ“ | βœ“ | | | | | | | | | > > | `playertotals-3pointer` | | βœ“ | | | | | | | | | > [tab] Tennis > > **61** market types Β· **8** period scopes Β· `sportId` `12` > > > [accordion] Match outcome (14) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | `games` | `game-spans` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `moneyline` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | > > | `moneyline-aces` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | > > | `oddeven-games` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | > > | `correctscore` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | βœ“ | > > | `oddeven-sets` | βœ“ | | | | | | | | > > | `correctscore-points` | | | | | | | β—¦ | | > > | `oddeven-points` | βœ“ | | | | | | βœ“ | | > > | `drawnobet-aces` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | > > | `drawnobet-doublefaults` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | > > | `moneyline-doublefaults` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | > > | `drawnobet-breaks` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | > > | `moneyline-breaks` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | > > | `moneyline-games` | βœ“ | | | | | | | | > > | `oddeven` | βœ“ | | | | | | | | > > > [accordion] Laddered lines (23) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | `games` | `game-spans` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `totals-games` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | > > | `spreads-games` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | > > | `totals` | βœ“ | | | | | | | | > > | `spreads` | βœ“ | | | | | | | | > > | `totals-tiebreaks` | βœ“ | | | | | | | | > > | `totals-aces` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | > > | `teamtotals-games-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | > > | `totals-points` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `spreads-points` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `teamtotals-aces-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | > > | `spreads-aces` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | > > | `totals-doublefaults` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | > > | `teamtotals-doublefaults-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | > > | `spreads-doublefaults` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | > > | `totals-breaks` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | > > | `teamtotals-breaks-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | > > | `spreads-breaks` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | > > | `totals-breakpoints` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | > > | `teamtotals-breakpoints-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | > > | `racetogames` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | | > > | `totals-servicegames` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | > > | `teamtotals-servicegames-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | > > | `totals-duration` | β—¦ | | | | | | | | > > > [accordion] Specials and order (14) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | `games` | `game-spans` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `winaset-team{1,2}` | βœ“ | | | | | | | | > > | `tiebreak` | | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | > > | `exactsets` | βœ“ | | | | | | | | > > | `anysettonil` | βœ“ | | | | | | | | > > | `bothwinset` | βœ“ | | | | | | | | > > | `exactsets-team{1,2}` | βœ“ | | | | | | | | > > | `gamewinner` | | | | | | | βœ“ | | > > | `deuce` | | | | | | | β—¦ | | > > | `firstbreak` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | | > > | `winfrombehind` | β—¦ | | | | | | | | > > | `winfirstservicegame-team{1,2}` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | | > > | `anysettonil-team{1,2}` | β—¦ | | | | | | | | > > | `exactaces` | βœ“ | | | | | | | | > > | `exactdoublefaults` | βœ“ | | | | | | | | > [tab] Baseball > > **45** market types Β· **13** period scopes Β· `sportId` `13` > > > [accordion] Match outcome (5) > > > > | `marketType` | `result` | `p1+p2+p3+p4+p5` | `p6+p7+p8+p9+overtime` | `p1` | `p2` | `p3` | `p4` | `p5` | `p6` | `p7` | `p8` | `p9` | `fulltime` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `moneyline` | βœ“ | βœ“ | βœ“ | | | | | | | | | | | > > | `1x2` | | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `oddeven` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `oddeven-team{1,2}` | βœ“ | βœ“ | βœ“ | | | | | | | | | | | > > | `correctscore` | βœ“ | βœ“ | βœ“ | | | | | | | | | | | > > > [accordion] Laddered lines (3) > > > > | `marketType` | `result` | `p1+p2+p3+p4+p5` | `p6+p7+p8+p9+overtime` | `p1` | `p2` | `p3` | `p4` | `p5` | `p6` | `p7` | `p8` | `p9` | `fulltime` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `totals` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `spreads` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `teamtotals-team{1,2}` | βœ“ | βœ“ | βœ“ | | | | | | | | | | | > > > [accordion] Player props (Yes/No) (15) > > > > | `marketType` | `result` | `p1+p2+p3+p4+p5` | `p6+p7+p8+p9+overtime` | `p1` | `p2` | `p3` | `p4` | `p5` | `p6` | `p7` | `p8` | `p9` | `fulltime` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `players-hits` | βœ“ | | | | | | | | | | | | | > > | `players-runs` | βœ“ | | | | | | | | | | | | | > > | `players-bases` | βœ“ | | | | | | | | | | | | | > > | `players-runsbattedin` | β—¦ | | | | | | | | | | | | | > > | `players-strikeouts` | βœ“ | | | | | | | | | | | | | > > | `players-homeruns` | βœ“ | | | | | | | | | | | | | > > | `players-stolenbases` | βœ“ | | | | | | | | | | | | | > > | `players-earnedruns` | β—¦ | | | | | | | | | | | | | > > | `players-hitsallowed` | β—¦ | | | | | | | | | | | | | > > | `players-outs` | βœ“ | | | | | | | | | | | | | > > | `players-walks` | βœ“ | | | | | | | | | | | | | > > | `players-singles` | βœ“ | | | | | | | | | | | | | > > | `players-doubles` | βœ“ | | | | | | | | | | | | | > > | `players-triples` | βœ“ | | | | | | | | | | | | | > > | `players-hitsrunsunsbti` | β—¦ | | | | | | | | | | | | | > > > [accordion] Player totals (laddered) (15) > > > > | `marketType` | `result` | `p1+p2+p3+p4+p5` | `p6+p7+p8+p9+overtime` | `p1` | `p2` | `p3` | `p4` | `p5` | `p6` | `p7` | `p8` | `p9` | `fulltime` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `playertotals-hits` | βœ“ | | | | | | | | | | | | | > > | `playertotals-runs` | βœ“ | | | | | | | | | | | | | > > | `playertotals-bases` | βœ“ | | | | | | | | | | | | | > > | `playertotals-runsbattedin` | β—¦ | | | | | | | | | | | | | > > | `playertotals-strikeouts` | βœ“ | | | | | | | | | | | | | > > | `playertotals-homeruns` | βœ“ | | | | | | | | | | | | | > > | `playertotals-stolenbases` | βœ“ | | | | | | | | | | | | | > > | `playertotals-earnedruns` | β—¦ | | | | | | | | | | | | | > > | `playertotals-hitsallowed` | β—¦ | | | | | | | | | | | | | > > | `playertotals-outs` | βœ“ | | | | | | | | | | | | | > > | `playertotals-walks` | βœ“ | | | | | | | | | | | | | > > | `playertotals-singles` | βœ“ | | | | | | | | | | | | | > > | `playertotals-doubles` | βœ“ | | | | | | | | | | | | | > > | `playertotals-triples` | βœ“ | | | | | | | | | | | | | > > | `playertotals-hitsrunsrunsbi` | β—¦ | | | | | | | | | | | | | > > > [accordion] Specials and order (4) > > > > | `marketType` | `result` | `p1+p2+p3+p4+p5` | `p6+p7+p8+p9+overtime` | `p1` | `p2` | `p3` | `p4` | `p5` | `p6` | `p7` | `p8` | `p9` | `fulltime` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `firsttoscorearun` | β—¦ | | | | | | | | | | | | | > > | `extrainning` | | | | | | | | | | | | | βœ“ | > > | `exactruns` | βœ“ | βœ“ | βœ“ | | | | | | | | | | | > > | `exactruns-team{1,2}` | βœ“ | βœ“ | βœ“ | | | | | | | | | | | > [tab] American Football > > **200** market types Β· **12** period scopes Β· `sportId` `14` > > > [accordion] Match outcome (25) > > > > | `marketType` | `result` | `p1+p2` | `p3+p4` | `p1` | `p2` | `p3` | `p4` | `fulltime` | `p3+p4+overtime` | `p4+overtime` | `overtime` | `p1+p2+p3+p4` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `moneyline` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | βœ“ | βœ“ | βœ“ | | > > | `1x2` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `oddeven` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | βœ“ | βœ“ | βœ“ | | > > | `oddeven-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | βœ“ | βœ“ | βœ“ | | > > | `halftime-fulltime` | | | | | | | | βœ“ | | | | | > > | `doublechance` | | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `drawnobet` | | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `winningmargin` | | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `toscore-team{1,2}` | | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | | | | > > | `cleansheet-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | | | | > > | `wintonil-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | | | | > > | `exactscore` | βœ“ | βœ“ | βœ“ | | | | | | | | | | > > | `exactscore-team{1,2}` | βœ“ | βœ“ | βœ“ | | | | | | | | | | > > | `toscoreinbh-team{1,2}` | | | | | | | | βœ“ | | | | | > > | `oddeven-touchdowns` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | | | | > > | `1x2-touchdowns` | | | | | | | | βœ“ | | | | | > > | `1x2-fieldgoals` | | | | | | | | βœ“ | | | | | > > | `drawnobet-touchdowns` | βœ“ | βœ“ | βœ“ | | | | | | | | | | > > | `drawnobet-fieldgoals` | βœ“ | βœ“ | βœ“ | | | | | | | | | | > > | `moneyline-turnovers` | β—¦ | | | | | | | | | | | | > > | `moneyline-sacks` | β—¦ | | | | | | | | | | | | > > | `moneyline-totalyards` | β—¦ | | | | | | | | | | | | > > | `moneyline-firstdowns` | β—¦ | | | | | | | | | | | | > > | `moneyline-penalties` | β—¦ | | | | | | | | | | | | > > | `nobet-team{1,2}` | | | | | | | | βœ“ | | | | | > > > [accordion] Laddered lines (41) > > > > | `marketType` | `result` | `p1+p2` | `p3+p4` | `p1` | `p2` | `p3` | `p4` | `fulltime` | `p3+p4+overtime` | `p4+overtime` | `overtime` | `p1+p2+p3+p4` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `totals` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | βœ“ | βœ“ | βœ“ | | > > | `spreads` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | βœ“ | βœ“ | βœ“ | | > > | `teamtotals-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | βœ“ | βœ“ | βœ“ | | > > | `totals-touchdowns` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `totals-fieldgoals` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `spreads-european` | | βœ“ | βœ“ | | | | | βœ“ | βœ“ | | | | > > | `bothteamsscore` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | | | | > > | `teamtotals-touchdowns-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | | | | > > | `teamtotals-fieldgoals-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | | | | > > | `racetopoints` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | β—¦ | | | | > > | `totals-turnovers` | β—¦ | | | | | | | | | | | | > > | `totals-sacks` | β—¦ | | | | | | | | | | | | > > | `totals-interceptions` | β—¦ | | | | | | | | | | | | > > | `totals-fumbles` | β—¦ | | | | | | | | | | | | > > | `totals-defensivetd` | β—¦ | | | | | | | | | | | | > > | `totals-firstdowns` | β—¦ | | | | | | | | | | | | > > | `totals-penalties` | β—¦ | | | | | | | | | | | | > > | `totals-punts` | β—¦ | | | | | | | | | | | | > > | `totals-thirddownconversions` | β—¦ | | | | | | | | | | | | > > | `totals-redzonetd` | β—¦ | | | | | | | | | | | | > > | `totals-extrapoints` | β—¦ | | | | | | | | | | | | > > | `totals-totalyards` | β—¦ | | | | | | | | | | | | > > | `totals-penaltyyards` | β—¦ | | | | | | | | | | | | > > | `totals-puntyards` | βœ“ | | | | | | | | | | | | > > | `teamtotals-turnovers-team{1,2}` | β—¦ | | | | | | | | | | | | > > | `teamtotals-sacks-team{1,2}` | β—¦ | | | | | | | | | | | | > > | `teamtotals-interceptions-team{1,2}` | β—¦ | | | | | | | | | | | | > > | `teamtotals-fumbles-team{1,2}` | β—¦ | | | | | | | | | | | | > > | `teamtotals-defensivetd-team{1,2}` | β—¦ | | | | | | | | | | | | > > | `teamtotals-firstdowns-team{1,2}` | β—¦ | | | | | | | | | | | | > > | `teamtotals-penalties-team{1,2}` | β—¦ | | | | | | | | | | | | > > | `teamtotals-punts-team{1,2}` | β—¦ | | | | | | | | | | | | > > | `teamtotals-thirddownconversions-team{1,2}` | β—¦ | | | | | | | | | | | | > > | `teamtotals-redzonetd-team{1,2}` | β—¦ | | | | | | | | | | | | > > | `teamtotals-extrapoints-team{1,2}` | β—¦ | | | | | | | | | | | | > > | `teamtotals-totalyards-team{1,2}` | β—¦ | | | | | | | | | | | | > > | `teamtotals-penaltyyards-team{1,2}` | β—¦ | | | | | | | | | | | | > > | `teamtotals-puntyards-team{1,2}` | βœ“ | | | | | | | | | | | | > > | `firstdriverunyards-team{1,2}` | β—¦ | | | | | | | | | | | | > > | `firstdrivepassyards-team{1,2}` | β—¦ | | | | | | | | | | | | > > | `firstdriveplayyards-team{1,2}` | β—¦ | | | | | | | | | | | | > > > [accordion] Player props (Yes/No) (34) > > > > | `marketType` | `result` | `p1+p2` | `p3+p4` | `p1` | `p2` | `p3` | `p4` | `fulltime` | `p3+p4+overtime` | `p4+overtime` | `overtime` | `p1+p2+p3+p4` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `players-td` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | βœ“ | βœ“ | | | > > | `players-firsttd` | βœ“ | | | | | | | | | | | | > > | `players-secondtd` | βœ“ | | | | | | | | | | | | > > | `players-thirdtd` | βœ“ | | | | | | | | | | | | > > | `players-td-other` | βœ“ | βœ“ | | βœ“ | | | | | βœ“ | | | | > > | `players-passyards` | βœ“ | | | | | | | | | | | | > > | `players-rushyards` | βœ“ | | | | | | | | | | | | > > | `players-rushattempts` | βœ“ | | | | | | | | | | | | > > | `players-rushtd` | βœ“ | | | | | | | | | | | | > > | `players-sacks` | βœ“ | | | | | | | | | | | | > > | `players-assists` | β—¦ | | | | | | | | | | | | > > | `players-tacass` | βœ“ | | | | | | | | | | | | > > | `players-fieldgoals` | βœ“ | | | | | | | | | | | | > > | `players-kickingpoints` | βœ“ | | | | | | | | | | | | > > | `players-receptions` | βœ“ | | | | | | | | | | | | > > | `players-passattempts` | βœ“ | | | | | | | | | | | | > > | `players-passcompletions` | βœ“ | | | | | | | | | | | | > > | `players-tdpasses` | βœ“ | | | | | | | | | | | | > > | `players-interceptions` | βœ“ | | | | | | | | | | | | > > | `players-receivingyards` | βœ“ | | | | | | | | | | | | > > | `players-longestpasscomp` | βœ“ | | | | | | | | | | | | > > | `players-longestrushyards` | βœ“ | | | | | | | | | | | | > > | `players-lasttd` | β—¦ | | | | | | | | | | | | > > | `players-longestreception` | β—¦ | | | | | | | | | | | | > > | `players-extrapoints` | β—¦ | | | | | | | | | | | | > > | `players-interceptionsthrown` | β—¦ | | | | | | | | | | | | > > | `players-rushrec` | β—¦ | | | | | | | | | | | | > > | `players-top-passer` | β—¦ | | | | | | | | | | | | > > | `players-top-rusher` | β—¦ | | | | | | | | | | | | > > | `players-top-receiver` | β—¦ | | | | | | | | | | | | > > | `players-passyardsinbh` | | | | | | | | β—¦ | | | | | > > | `players-rushyardsinbh` | | | | | | | | β—¦ | | | | | > > | `players-receivingyardsinbh` | | | | | | | | β—¦ | | | | | > > | `players-firstpoint` | β—¦ | | | | | | | | | | | | > > > [accordion] Player totals (laddered) (22) > > > > | `marketType` | `result` | `p1+p2` | `p3+p4` | `p1` | `p2` | `p3` | `p4` | `fulltime` | `p3+p4+overtime` | `p4+overtime` | `overtime` | `p1+p2+p3+p4` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `playertotals-tdpasses` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | | | | > > | `playertotals-interceptions` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | | | | > > | `playertotals-receptions` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | | | | > > | `playertotals-passyards` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | | | | > > | `playertotals-passattempts` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | | | | > > | `playertotals-passcompletions` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | | | | > > | `playertotals-longestpasscomp` | βœ“ | | | | | | | | | | | | > > | `playertotals-rushyards` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | | | | > > | `playertotals-rushattempts` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | | | | > > | `playertotals-longestrushyards` | βœ“ | | | | | | | | | | | | > > | `playertotals-rushtd` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | | | | > > | `playertotals-sacks` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | | | | > > | `playertotals-assists` | β—¦ | | | | | | | | | | | | > > | `playertotals-tacass` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | | | | > > | `playertotals-fieldgoals` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | | | | > > | `playertotals-kickingpoints` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | | | | > > | `playertotals-td` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | | | | > > | `playertotals-receivingyards` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | | | | | > > | `playertotals-longestreception` | β—¦ | | | | | | | | | | | | > > | `playertotals-extrapoints` | β—¦ | | | | | | | | | | | | > > | `playertotals-interceptionsthrown` | β—¦ | | | | | | | | | | | | > > | `playertotals-rushrec` | β—¦ | | | | | | | | | | | | > > > [accordion] Specials and order (36) > > > > | `marketType` | `result` | `p1+p2` | `p3+p4` | `p1` | `p2` | `p3` | `p4` | `fulltime` | `p3+p4+overtime` | `p4+overtime` | `overtime` | `p1+p2+p3+p4` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `overtime` | | | | | | | | βœ“ | | | | | > > | `exacttd` | βœ“ | βœ“ | βœ“ | | | | | | | | | | > > | `exactfieldgoals` | βœ“ | βœ“ | βœ“ | | | | | | | | | | > > | `highestscoringh` | | | | | | | | βœ“ | | | | | > > | `highestscoringh-team{1,2}` | | | | | | | | βœ“ | | | | | > > | `highestscoringperiod` | | | | | | | | βœ“ | | | | | > > | `highestscoringperiod-team{1,2}` | | | | | | | | βœ“ | | | | | > > | `coin-toss` | β—¦ | | | | | | | | | | | | > > | `wineitherh-team{1,2}` | | | | | | | | βœ“ | | | | | > > | `winbothh-team{1,2}` | | | | | | | | βœ“ | | | | | > > | `exacttd-team{1,2}` | βœ“ | βœ“ | βœ“ | | | | | | | | | | > > | `firstscore` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | β—¦ | | | | > > | `lastscore` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | β—¦ | | | | > > | `firsttd` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | | | | | > > | `firstfieldgoal` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | | | | | > > | `touchdown` | | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | | | | | > > | `twopointconversion` | β—¦ | β—¦ | β—¦ | | | | | | | | | | > > | `scorelessquarter` | | | | | | | | β—¦ | | | | | > > | `firstteamtoscorewins` | β—¦ | | | | | | | | | | | | > > | `safety` | β—¦ | β—¦ | β—¦ | | | | | | | | | | > > | `safety-team{1,2}` | β—¦ | β—¦ | β—¦ | | | | | | | | | | > > | `firstdrivescore-team{1,2}` | β—¦ | | | | | | | | | | | | > > | `winanyperiod-team{1,2}` | | | | | | | | | | | | βœ“ | > > | `winallperiods-team{1,2}` | | | | | | | | | | | | βœ“ | > > | `scoreinallperiods-team{1,2}` | | | | | | | | | | | | βœ“ | > > | `bothwinperiod` | | | | | | | | | | | | βœ“ | > > | `anyperiodtonil` | | | | | | | | | | | | βœ“ | > > | `bothscoreinallperiods` | | | | | | | | | | | | β—¦ | > > | `firstdrivefirstdown-team{1,2}` | β—¦ | | | | | | | | | | | | > > | `firstdrivesack-team{1,2}` | β—¦ | | | | | | | | | | | | > > | `firstdrivefourthdown-team{1,2}` | β—¦ | | | | | | | | | | | | > > | `firstdrivecross-team{1,2}` | β—¦ | | | | | | | | | | | | > > | `firstscoringplay` | β—¦ | β—¦ | β—¦ | | | | | | | | | | > > | `winfrombehind` | | | | | | | | β—¦ | | | | | > > | `tied-match` | βœ“ | | | | | | | | | | | | > > | `firsttd-team{1,2}` | β—¦ | | | | | | | | | | | | > [tab] Ice Hockey > > **52** market types Β· **6** period scopes Β· `sportId` `15` > > > [accordion] Match outcome (8) > > > > | `marketType` | `fulltime` | `result` | `p1` | `p2` | `p3` | `fulltime+overtime` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | > > | `moneyline` | | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `1x2` | βœ“ | | βœ“ | βœ“ | βœ“ | | > > | `correctscore` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `winningmargin` | βœ“ | βœ“ | | | | | > > | `oddeven` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `toscore-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `bothteamsscore` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `wintonil-team{1,2}` | βœ“ | βœ“ | | | | | > > > [accordion] Laddered lines (4) > > > > | `marketType` | `fulltime` | `result` | `p1` | `p2` | `p3` | `fulltime+overtime` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | > > | `totals` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `spreads` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `teamtotals-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `spreads-european` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > > [accordion] Player props (Yes/No) (19) > > > > | `marketType` | `fulltime` | `result` | `p1` | `p2` | `p3` | `fulltime+overtime` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | > > | `players-assists` | | | | | | βœ“ | > > | `players-goals` | | | βœ“ | βœ“ | βœ“ | βœ“ | > > | `players-points` | | | β—¦ | β—¦ | β—¦ | β—¦ | > > | `players-shotsongoal` | | | βœ“ | βœ“ | βœ“ | βœ“ | > > | `players-anytimegoalscorer` | βœ“ | | βœ“ | βœ“ | βœ“ | | > > | `players-firstgoalscorer` | β—¦ | | β—¦ | β—¦ | β—¦ | | > > | `players-secondgoalscorer` | β—¦ | | | | | | > > | `players-thirdgoalscorer` | β—¦ | | | | | | > > | `players-nextgoalscorer` | β—¦ | | | | | | > > | `players-lastgoalscorer` | β—¦ | | | | | | > > | `players-shots` | | | | | | β—¦ | > > | `players-powerplaypoints` | | | | | | β—¦ | > > | `players-blocks` | | | | | | βœ“ | > > | `players-saves` | | | | | | βœ“ | > > | `players-goalsagainst` | | | | | | β—¦ | > > | `players-goalieshutouts` | | | | | | β—¦ | > > | `players-shorthandedgoals` | | | | | | β—¦ | > > | `players-shorthandedgoalscorer` | β—¦ | | | | | | > > | `players-commitpenalty` | | | | | | βœ“ | > > > [accordion] Player totals (laddered) (11) > > > > | `marketType` | `fulltime` | `result` | `p1` | `p2` | `p3` | `fulltime+overtime` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | > > | `playertotals-assists` | | βœ“ | | | | | > > | `playertotals-goals` | | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `playertotals-points` | | β—¦ | β—¦ | β—¦ | β—¦ | | > > | `playertotals-shotsongoal` | | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `playertotals-shots` | | | | | | β—¦ | > > | `playertotals-powerplaypoints` | | | | | | β—¦ | > > | `playertotals-blocks` | | βœ“ | | | | | > > | `playertotals-saves` | | βœ“ | | | | | > > | `playertotals-goalsagainst` | | | | | | β—¦ | > > | `playertotals-goalieshutouts` | | | | | | β—¦ | > > | `playertotals-shorthandedgoals` | | | | | | β—¦ | > > > [accordion] Specials and order (6) > > > > | `marketType` | `fulltime` | `result` | `p1` | `p2` | `p3` | `fulltime+overtime` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | > > | `exactgoals` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `exactgoals-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `firstgoal` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | > > | `lastgoal` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | > > | `highestscoringperiod` | βœ“ | | | | | | > > | `overtime` | βœ“ | | | | | | > [tab] ESport Dota > > **32** market types Β· **6** period scopes Β· `sportId` `16` > > > [accordion] Match outcome (8) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | > > | `moneyline` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `correctscore` | βœ“ | | | | | | > > | `winningmargin` | βœ“ | | | | | | > > | `1x2-kills` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `drawnobet-kills` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `oddeven-kills` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `1x2` | βœ“ | | | | | | > > | `oddeven` | βœ“ | | | | | | > > > [accordion] Laddered lines (15) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | > > | `totals` | βœ“ | | | | | | > > | `spreads` | βœ“ | | | | | | > > | `totals-kills` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `spreads-kills` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `teamtotals-kills-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `totals-towers` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `spreads-towers` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `teamtotals-towers-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `totals-barracks` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | > > | `spreads-barracks` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | > > | `teamtotals-barracks-team{1,2}` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | > > | `totals-roshans` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | > > | `teamtotals-roshans-team{1,2}` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | > > | `spreads-roshans` | | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | > > | `racetokills` | | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | > > > [accordion] Player totals (laddered) (1) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | > > | `playertotals-kills` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | > > > [accordion] Specials and order (4) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | > > | `firstblood` | | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | > > | `firsttower` | | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | > > | `firstbarracks` | | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | > > | `firstroshan` | | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | > [tab] ESport Counter-Strike > > **20** market types Β· **7** period scopes Β· `sportId` `17` > > > [accordion] Match outcome (7) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | `rounds` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `moneyline` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `correctscore` | βœ“ | | | | | | | > > | `winningmargin` | βœ“ | | | | | | | > > | `winningmargin-rounds` | | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `oddeven-rounds` | | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `1x2` | βœ“ | | | | | | | > > | `oddeven` | βœ“ | | | | | | | > > > [accordion] Laddered lines (8) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | `rounds` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `totals` | βœ“ | | | | | | | > > | `spreads` | βœ“ | | | | | | | > > | `totals-rounds` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `totals-kills` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | > > | `teamtotals-kills-team{1,2}` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | > > | `totals-headshots` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | > > | `spreads-rounds` | | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `teamtotals-rounds-team{1,2}` | | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > > [accordion] Player totals (laddered) (2) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | `rounds` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `playertotals-kills` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | > > | `playertotals-headshots` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | > > > [accordion] Specials and order (1) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | `rounds` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `overtime` | | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > [tab] ESport League of Legends > > **37** market types Β· **6** period scopes Β· `sportId` `18` > > > [accordion] Match outcome (8) > > > > | `marketType` | `p1` | `p2` | `p3` | `p4` | `p5` | `result` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | > > | `moneyline` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `correctscore` | | | | | | βœ“ | > > | `winningmargin` | | | | | | βœ“ | > > | `1x2-kills` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `drawnobet-kills` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `oddeven-kills` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `1x2` | | | | | | βœ“ | > > | `oddeven` | | | | | | βœ“ | > > > [accordion] Laddered lines (17) > > > > | `marketType` | `p1` | `p2` | `p3` | `p4` | `p5` | `result` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | > > | `totals` | | | | | | βœ“ | > > | `spreads` | | | | | | βœ“ | > > | `totals-kills` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `spreads-kills` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `teamtotals-kills-team{1,2}` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `totals-turrets` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | > > | `spreads-turrets` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | > > | `teamtotals-turrets-team{1,2}` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | > > | `totals-dragons` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | > > | `spreads-dragons` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | > > | `teamtotals-dragons-team{1,2}` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | > > | `totals-barons` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | > > | `teamtotals-barons-team{1,2}` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | > > | `totals-inhibitors` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | > > | `spreads-inhibitors` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | > > | `teamtotals-inhibitors-team{1,2}` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | > > | `racetokills` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | > > > [accordion] Player totals (laddered) (1) > > > > | `marketType` | `p1` | `p2` | `p3` | `p4` | `p5` | `result` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | > > | `playertotals-kills` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | > > > [accordion] Specials and order (6) > > > > | `marketType` | `p1` | `p2` | `p3` | `p4` | `p5` | `result` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | > > | `firstblood` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | > > | `firstbaron` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | > > | `firstinhibitor` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | > > | `triplekill` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | > > | `quadrakill` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | > > | `pentakill` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | > [tab] Darts > > **5** market types Β· **1** period scopes Β· `sportId` `19` > > > [accordion] Match outcome (3) > > > > | `marketType` | `result` | > > | - | :-: | > > | `moneyline` | βœ“ | > > | `moneyline-180s` | βœ“ | > > | `oddeven` | βœ“ | > > > [accordion] Laddered lines (2) > > > > | `marketType` | `result` | > > | - | :-: | > > | `totals` | βœ“ | > > | `spreads` | βœ“ | > [tab] MMA > > **12** market types Β· **1** period scopes Β· `sportId` `20` > > > [accordion] Match outcome (3) > > > > | `marketType` | `result` | > > | - | :-: | > > | `moneyline` | βœ“ | > > | `1x2` | βœ“ | > > | `oddeven` | βœ“ | > > > [accordion] Laddered lines (1) > > > > | `marketType` | `result` | > > | - | :-: | > > | `totals` | βœ“ | > > > [accordion] Specials and order (5) > > > > | `marketType` | `result` | > > | - | :-: | > > | `methodofvictory` | β—¦ | > > | `gothedistance` | β—¦ | > > | `winbyko-team{1,2}` | β—¦ | > > | `winbysubmission-team{1,2}` | β—¦ | > > | `winbydecision-team{1,2}` | β—¦ | > [tab] Boxing > > **6** market types Β· **1** period scopes Β· `sportId` `21` > > > [accordion] Match outcome (3) > > > > | `marketType` | `result` | > > | - | :-: | > > | `moneyline` | βœ“ | > > | `1x2` | βœ“ | > > | `oddeven` | βœ“ | > > > [accordion] Laddered lines (1) > > > > | `marketType` | `result` | > > | - | :-: | > > | `totals` | βœ“ | > > > [accordion] Specials and order (2) > > > > | `marketType` | `result` | > > | - | :-: | > > | `methodofvictory` | β—¦ | > > | `gothedistance` | β—¦ | > [tab] Handball > > **5** market types Β· **2** period scopes Β· `sportId` `22` > > > [accordion] Match outcome (3) > > > > | `marketType` | `fulltime` | `result` | > > | - | :-: | :-: | > > | `moneyline` | | βœ“ | > > | `1x2` | βœ“ | | > > | `oddeven` | βœ“ | | > > > [accordion] Laddered lines (2) > > > > | `marketType` | `fulltime` | `result` | > > | - | :-: | :-: | > > | `totals` | βœ“ | | > > | `spreads` | βœ“ | | > [tab] Volleyball > > **4** market types Β· **6** period scopes Β· `sportId` `23` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | > > | `moneyline` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `oddeven` | βœ“ | | | | | | > > > [accordion] Laddered lines (2) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | > > | `totals` | βœ“ | | | | | | > > | `spreads` | βœ“ | | | | | | > [tab] Snooker > > **4** market types Β· **1** period scopes Β· `sportId` `24` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | > > | - | :-: | > > | `moneyline` | βœ“ | > > | `oddeven` | βœ“ | > > > [accordion] Laddered lines (2) > > > > | `marketType` | `result` | > > | - | :-: | > > | `totals` | βœ“ | > > | `spreads` | βœ“ | > [tab] Table Tennis > > **3** market types Β· **1** period scopes Β· `sportId` `25` > > > [accordion] Match outcome (1) > > > > | `marketType` | `result` | > > | - | :-: | > > | `moneyline` | βœ“ | > > > [accordion] Laddered lines (2) > > > > | `marketType` | `result` | > > | - | :-: | > > | `totals-points` | βœ“ | > > | `spreads-points` | βœ“ | > [tab] Rugby > > **5** market types Β· **2** period scopes Β· `sportId` `26` > > > [accordion] Match outcome (3) > > > > | `marketType` | `fulltime` | `result` | > > | - | :-: | :-: | > > | `moneyline` | | βœ“ | > > | `1x2` | βœ“ | | > > | `oddeven` | βœ“ | | > > > [accordion] Laddered lines (2) > > > > | `marketType` | `fulltime` | `result` | > > | - | :-: | :-: | > > | `totals` | βœ“ | | > > | `spreads` | βœ“ | | > [tab] Cricket > > **48** market types Β· **7** period scopes Β· `sportId` `27` > > > [accordion] Match outcome (4) > > > > | `marketType` | `result` | `p1` | `p2` | `fulltime` | `over-spans` | `overs` | `over-deliveries` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `moneyline` | βœ“ | | | | | | | > > | `1x2` | | | | βœ“ | | | | > > | `oddeven-1st-over` | | β—¦ | | | | | | > > | `oddeven` | | βœ“ | βœ“ | | | | | > > > [accordion] Laddered lines (11) > > > > | `marketType` | `result` | `p1` | `p2` | `fulltime` | `over-spans` | `overs` | `over-deliveries` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `totals-fours` | β—¦ | β—¦ | β—¦ | | | | | > > | `totals-sixes` | β—¦ | β—¦ | β—¦ | | | | | > > | `totals` | | βœ“ | βœ“ | | β—¦ | β—¦ | | > > | `1st-wicket-fall` | β—¦ | | | | | | | > > | `highest-individual-score` | βœ“ | | | | | | | > > | `teamtotals-team{1,2}` | βœ“ | | | | β—¦ | β—¦ | β—¦ | > > | `teamtotals-fours-team{1,2}` | βœ“ | | | | | | | > > | `teamtotals-sixes-team{1,2}` | βœ“ | | | | | | | > > | `teamtotals-match-fours-team{1,2}` | β—¦ | | | | | | | > > | `teamtotals-match-sixes-team{1,2}` | β—¦ | | | | | | | > > | `totals-match-run-outs` | β—¦ | | | | | | | > > > [accordion] Player props (Yes/No) (9) > > > > | `marketType` | `result` | `p1` | `p2` | `fulltime` | `over-spans` | `overs` | `over-deliveries` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `players-top-batter` | βœ“ | βœ“ | βœ“ | | | | | > > | `players-top-bowler` | β—¦ | β—¦ | β—¦ | | | | | > > | `players-top-batter-team{1,2}` | βœ“ | βœ“ | βœ“ | | | | | > > | `players-top-bowler-team{1,2}` | β—¦ | β—¦ | β—¦ | | | | | > > | `players-skores-10-run` | βœ“ | βœ“ | βœ“ | | | | | > > | `players-skores-20-run` | βœ“ | βœ“ | βœ“ | | | | | > > | `players-skores-30-run` | βœ“ | βœ“ | βœ“ | | | | | > > | `players-skores-40-run` | βœ“ | βœ“ | βœ“ | | | | | > > | `players-skores-50-run` | βœ“ | βœ“ | βœ“ | | | | | > > > [accordion] Player totals (laddered) (5) > > > > | `marketType` | `result` | `p1` | `p2` | `fulltime` | `over-spans` | `overs` | `over-deliveries` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `playertotals-runs` | βœ“ | βœ“ | βœ“ | | | | | > > | `playertotals-performance` | β—¦ | | | | | | | > > | `playertotals-fours` | βœ“ | | | | | | | > > | `playertotals-sixes` | βœ“ | | | | | | | > > | `playertotals-wickets` | β—¦ | | | | | | | > > > [accordion] Specials and order (12) > > > > | `marketType` | `result` | `p1` | `p2` | `fulltime` | `over-spans` | `overs` | `over-deliveries` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `tied-match` | | | | βœ“ | | | | > > | `coin-toss` | | | | β—¦ | | | | > > | `completed-match` | | | | β—¦ | | | | > > | `mvp` | β—¦ | | | | | | | > > | `1st-wicket-method` | β—¦ | | | | | | | > > | `1st-wicket-method-caught` | β—¦ | | | | | | | > > | `highest-opening-partnership` | β—¦ | | | | | | | > > | `most-run-outs` | β—¦ | | | | | | | > > | `most-match-fours` | β—¦ | | | | | | | > > | `most-match-sixes` | β—¦ | | | | | | | > > | `score-50-in-match` | βœ“ | | | | | | | > > | `score-100-in-match` | βœ“ | | | | | | | > [tab] Waterpolo > > **2** market types Β· **2** period scopes Β· `sportId` `28` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | `fulltime` | > > | - | :-: | :-: | > > | `moneyline` | βœ“ | | > > | `1x2` | | βœ“ | > [tab] Futsal > > **2** market types Β· **2** period scopes Β· `sportId` `29` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | `fulltime` | > > | - | :-: | :-: | > > | `moneyline` | βœ“ | | > > | `1x2` | | βœ“ | > [tab] Beach Volley > > **2** market types Β· **1** period scopes Β· `sportId` `30` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | > > | - | :-: | > > | `moneyline` | βœ“ | > > | `1x2` | βœ“ | > [tab] Aussie Rules > > **2** market types Β· **2** period scopes Β· `sportId` `31` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | `fulltime` | > > | - | :-: | :-: | > > | `moneyline` | βœ“ | | > > | `1x2` | | βœ“ | > [tab] Field hockey > > **2** market types Β· **2** period scopes Β· `sportId` `32` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | `fulltime` | > > | - | :-: | :-: | > > | `moneyline` | βœ“ | | > > | `1x2` | | βœ“ | > [tab] Floorball > > **2** market types Β· **2** period scopes Β· `sportId` `33` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | `fulltime` | > > | - | :-: | :-: | > > | `moneyline` | βœ“ | | > > | `1x2` | | βœ“ | > [tab] Squash > > **2** market types Β· **1** period scopes Β· `sportId` `34` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | > > | - | :-: | > > | `moneyline` | βœ“ | > > | `1x2` | βœ“ | > [tab] Basketball 3x3 > > **2** market types Β· **1** period scopes Β· `sportId` `35` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | > > | - | :-: | > > | `moneyline` | βœ“ | > > | `1x2` | βœ“ | > [tab] Beach Soccer > > **2** market types Β· **2** period scopes Β· `sportId` `36` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | `fulltime` | > > | - | :-: | :-: | > > | `moneyline` | βœ“ | | > > | `1x2` | | βœ“ | > [tab] Pesapallo > > **2** market types Β· **2** period scopes Β· `sportId` `37` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | `fulltime` | > > | - | :-: | :-: | > > | `moneyline` | βœ“ | | > > | `1x2` | | βœ“ | > [tab] Lacrosse > > **2** market types Β· **2** period scopes Β· `sportId` `38` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | `fulltime` | > > | - | :-: | :-: | > > | `moneyline` | βœ“ | | > > | `1x2` | | βœ“ | > [tab] Curling > > **2** market types Β· **1** period scopes Β· `sportId` `39` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | > > | - | :-: | > > | `moneyline` | βœ“ | > > | `1x2` | βœ“ | > [tab] Padel > > **2** market types Β· **1** period scopes Β· `sportId` `40` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | > > | - | :-: | > > | `moneyline` | βœ“ | > > | `1x2` | βœ“ | > [tab] Bandy > > **2** market types Β· **2** period scopes Β· `sportId` `41` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | `fulltime` | > > | - | :-: | :-: | > > | `moneyline` | βœ“ | | > > | `1x2` | | βœ“ | > [tab] Kabaddi > > **2** market types Β· **2** period scopes Β· `sportId` `42` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | `fulltime` | > > | - | :-: | :-: | > > | `moneyline` | βœ“ | | > > | `1x2` | | βœ“ | > [tab] Rink Hockey > > **2** market types Β· **2** period scopes Β· `sportId` `43` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | `fulltime` | > > | - | :-: | :-: | > > | `moneyline` | βœ“ | | > > | `1x2` | | βœ“ | > [tab] Soccer Specials > > **2** market types Β· **1** period scopes Β· `sportId` `44` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | > > | - | :-: | > > | `moneyline` | βœ“ | > > | `1x2` | βœ“ | > [tab] Gaelic Football > > **2** market types Β· **2** period scopes Β· `sportId` `45` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | `fulltime` | > > | - | :-: | :-: | > > | `moneyline` | βœ“ | | > > | `1x2` | | βœ“ | > [tab] Netball > > **2** market types Β· **2** period scopes Β· `sportId` `46` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | `fulltime` | > > | - | :-: | :-: | > > | `moneyline` | βœ“ | | > > | `1x2` | | βœ“ | > [tab] Beach Handball > > **2** market types Β· **1** period scopes Β· `sportId` `47` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | > > | - | :-: | > > | `moneyline` | βœ“ | > > | `1x2` | βœ“ | > [tab] Athletics > > **2** market types Β· **1** period scopes Β· `sportId` `48` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | > > | - | :-: | > > | `moneyline` | βœ“ | > > | `1x2` | βœ“ | > [tab] Badminton > > **2** market types Β· **1** period scopes Β· `sportId` `49` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | > > | - | :-: | > > | `moneyline` | βœ“ | > > | `1x2` | βœ“ | > [tab] Bowls > > **2** market types Β· **1** period scopes Β· `sportId` `50` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | > > | - | :-: | > > | `moneyline` | βœ“ | > > | `1x2` | βœ“ | > [tab] Cross-Country > > **2** market types Β· **1** period scopes Β· `sportId` `51` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | > > | - | :-: | > > | `moneyline` | βœ“ | > > | `1x2` | βœ“ | > [tab] Gaelic Hurling > > **2** market types Β· **2** period scopes Β· `sportId` `52` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | `fulltime` | > > | - | :-: | :-: | > > | `moneyline` | βœ“ | | > > | `1x2` | | βœ“ | > [tab] Softball > > **2** market types Β· **2** period scopes Β· `sportId` `53` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | `fulltime` | > > | - | :-: | :-: | > > | `moneyline` | βœ“ | | > > | `1x2` | | βœ“ | > [tab] eSoccer > > **2** market types Β· **2** period scopes Β· `sportId` `54` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | `fulltime` | > > | - | :-: | :-: | > > | `moneyline` | βœ“ | | > > | `1x2` | | βœ“ | > [tab] eBasketball > > **2** market types Β· **2** period scopes Β· `sportId` `55` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | `fulltime` | > > | - | :-: | :-: | > > | `moneyline` | βœ“ | | > > | `1x2` | | βœ“ | > [tab] ESport Call of Duty > > **7** market types Β· **10** period scopes Β· `sportId` `56` > > > [accordion] Match outcome (5) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | `p6` | `p7` | `p8` | `p9` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `moneyline` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `1x2` | βœ“ | | | | | | | | | | > > | `correctscore` | βœ“ | | | | | | | | | | > > | `winningmargin` | βœ“ | | | | | | | | | | > > | `oddeven` | βœ“ | | | | | | | | | | > > > [accordion] Laddered lines (2) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | `p6` | `p7` | `p8` | `p9` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `totals` | βœ“ | | | | | | | | | | > > | `spreads` | βœ“ | | | | | | | | | | > [tab] ESport Overwatch > > **7** market types Β· **8** period scopes Β· `sportId` `57` > > > [accordion] Match outcome (5) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | `p6` | `p7` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `moneyline` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `1x2` | βœ“ | | | | | | | | > > | `correctscore` | βœ“ | | | | | | | | > > | `winningmargin` | βœ“ | | | | | | | | > > | `oddeven` | βœ“ | | | | | | | | > > > [accordion] Laddered lines (2) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | `p6` | `p7` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `totals` | βœ“ | | | | | | | | > > | `spreads` | βœ“ | | | | | | | | > [tab] ESport Rainbow Six > > **14** market types Β· **7** period scopes Β· `sportId` `58` > > > [accordion] Match outcome (7) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | `rounds` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `moneyline` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `1x2` | βœ“ | | | | | | | > > | `correctscore` | βœ“ | | | | | | | > > | `winningmargin` | βœ“ | | | | | | | > > | `winningmargin-rounds` | | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `oddeven-rounds` | | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `oddeven` | βœ“ | | | | | | | > > > [accordion] Laddered lines (5) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | `rounds` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `totals` | βœ“ | | | | | | | > > | `spreads` | βœ“ | | | | | | | > > | `totals-rounds` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `spreads-rounds` | | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `teamtotals-rounds-team{1,2}` | | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > > [accordion] Specials and order (1) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | `rounds` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `overtime` | | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > [tab] ESport Rocket League > > **7** market types Β· **10** period scopes Β· `sportId` `59` > > > [accordion] Match outcome (5) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | `p6` | `p7` | `p8` | `p9` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `moneyline` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `1x2` | βœ“ | | | | | | | | | | > > | `correctscore` | βœ“ | | | | | | | | | | > > | `winningmargin` | βœ“ | | | | | | | | | | > > | `oddeven` | βœ“ | | | | | | | | | | > > > [accordion] Laddered lines (2) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | `p6` | `p7` | `p8` | `p9` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `totals` | βœ“ | | | | | | | | | | > > | `spreads` | βœ“ | | | | | | | | | | > [tab] ESport StarCraft > > **7** market types Β· **8** period scopes Β· `sportId` `60` > > > [accordion] Match outcome (5) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | `p6` | `p7` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `moneyline` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `1x2` | βœ“ | | | | | | | | > > | `correctscore` | βœ“ | | | | | | | | > > | `winningmargin` | βœ“ | | | | | | | | > > | `oddeven` | βœ“ | | | | | | | | > > > [accordion] Laddered lines (2) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | `p6` | `p7` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `totals` | βœ“ | | | | | | | | > > | `spreads` | βœ“ | | | | | | | | > [tab] ESport Valorant > > **16** market types Β· **7** period scopes Β· `sportId` `61` > > > [accordion] Match outcome (7) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | `rounds` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `moneyline` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `1x2` | βœ“ | | | | | | | > > | `correctscore` | βœ“ | | | | | | | > > | `winningmargin` | βœ“ | | | | | | | > > | `winningmargin-rounds` | | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `oddeven-rounds` | | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `oddeven` | βœ“ | | | | | | | > > > [accordion] Laddered lines (5) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | `rounds` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `totals` | βœ“ | | | | | | | > > | `spreads` | βœ“ | | | | | | | > > | `totals-rounds` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `spreads-rounds` | | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > | `teamtotals-rounds-team{1,2}` | | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > > > [accordion] Player totals (laddered) (2) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | `rounds` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `playertotals-kills` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | > > | `playertotals-headshots` | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | β—¦ | | > > > [accordion] Specials and order (1) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | `rounds` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `overtime` | | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | | > [tab] ESport Arena of Valor > > **7** market types Β· **8** period scopes Β· `sportId` `62` > > > [accordion] Match outcome (5) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | `p6` | `p7` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `moneyline` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `1x2` | βœ“ | | | | | | | | > > | `correctscore` | βœ“ | | | | | | | | > > | `winningmargin` | βœ“ | | | | | | | | > > | `oddeven` | βœ“ | | | | | | | | > > > [accordion] Laddered lines (2) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | `p6` | `p7` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `totals` | βœ“ | | | | | | | | > > | `spreads` | βœ“ | | | | | | | | > [tab] ESport King of Glory > > **7** market types Β· **8** period scopes Β· `sportId` `63` > > > [accordion] Match outcome (5) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | `p6` | `p7` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `moneyline` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `1x2` | βœ“ | | | | | | | | > > | `correctscore` | βœ“ | | | | | | | | > > | `winningmargin` | βœ“ | | | | | | | | > > | `oddeven` | βœ“ | | | | | | | | > > > [accordion] Laddered lines (2) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | `p6` | `p7` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `totals` | βœ“ | | | | | | | | > > | `spreads` | βœ“ | | | | | | | | > [tab] Judo > > **2** market types Β· **1** period scopes Β· `sportId` `64` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | > > | - | :-: | > > | `moneyline` | βœ“ | > > | `1x2` | βœ“ | > [tab] ESport Honor of Kings > > **7** market types Β· **8** period scopes Β· `sportId` `65` > > > [accordion] Match outcome (5) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | `p6` | `p7` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `moneyline` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `1x2` | βœ“ | | | | | | | | > > | `correctscore` | βœ“ | | | | | | | | > > | `winningmargin` | βœ“ | | | | | | | | > > | `oddeven` | βœ“ | | | | | | | | > > > [accordion] Laddered lines (2) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | `p6` | `p7` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `totals` | βœ“ | | | | | | | | > > | `spreads` | βœ“ | | | | | | | | > [tab] Speedway > > **2** market types Β· **1** period scopes Β· `sportId` `66` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | > > | - | :-: | > > | `moneyline` | βœ“ | > > | `1x2` | βœ“ | > [tab] Golf > > **2** market types Β· **1** period scopes Β· `sportId` `67` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | > > | - | :-: | > > | `moneyline` | βœ“ | > > | `1x2` | βœ“ | > [tab] Cycling > > **2** market types Β· **1** period scopes Β· `sportId` `68` > > > [accordion] Match outcome (2) > > > > | `marketType` | `result` | > > | - | :-: | > > | `moneyline` | βœ“ | > > | `1x2` | βœ“ | > [tab] Formula 1 > > No fixture markets yet for `sportId` `82`. The sport is covered for fixtures and futures, but its market list is still being decided, so there is nothing to show here β€” [`GET /markets`](/api-reference/common/get-markets) returns an empty set for it rather than an error. > [tab] ESport Mobile Legends > > **7** market types Β· **8** period scopes Β· `sportId` `83` > > > [accordion] Match outcome (5) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | `p6` | `p7` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `moneyline` | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | βœ“ | > > | `correctscore` | βœ“ | | | | | | | | > > | `winningmargin` | βœ“ | | | | | | | | > > | `1x2` | βœ“ | | | | | | | | > > | `oddeven` | βœ“ | | | | | | | | > > > [accordion] Laddered lines (2) > > > > | `marketType` | `result` | `p1` | `p2` | `p3` | `p4` | `p5` | `p6` | `p7` | > > | - | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | > > | `totals` | βœ“ | | | | | | | | > > | `spreads` | βœ“ | | | | | | | | > [tab] Chess > > No fixture markets yet for `sportId` `84`. The sport is covered for fixtures and futures, but its market list is still being decided, so there is nothing to show here β€” [`GET /markets`](/api-reference/common/get-markets) returns an empty set for it rather than an error. βœ“ is an estimate from the counters we collect, not a settlement guarantee for an individual match β€” coverage varies by tournament. A per-fixture endpoint derived from past settlement results is coming (working name `/fixtures/markets/settleable`). ## How to read it * **A market's scope lives in `period`, never in its `marketType`.** This is why the cricket over markets moved from `12-overs-3-delivery-team1` to a plain `teamtotals-team1` at period `p1o12b3` β€” see the [changelog](/changelog). * **`players-…` is Yes / No; `playertotals-…` is Over / Under plus a `handicap`.** A counter question is always the `playertotals-` form. * **A period's *meaning* is per sport** β€” `p1` is a half in soccer, a quarter in NBA basketball, a set in tennis, a map in esports. Interpret it with the fixture's `expectedPeriods` and `periodLength`, never by assuming a sport's structure. See [Periods per sport](/guides/periods). * **`marketType` is append-only** β€” new values appear as coverage grows and never change meaning. Match on the types you support and ignore the rest rather than failing on unknown values. * **A β—¦ is not a defect.** Order and timing questions (first/last scorer), awards, match circumstances and every market at a cricket over scope need more than a `(stat, period)` counter, so no settle bridge is published rather than an approximate one. > [!NOTE] > > This is the **catalogue**, not a price feed and not a settlement promise. It says a combination exists, and estimates whether it is gradeable β€” not that a bookmaker is quoting it right now. For what is priced on a given fixture, read `GET /fixtures/odds` and group by `marketId`; `mainLine` marks each book's headline line. # Sports Coverage - Fixtures & Futures by sportId Source: https://docs.oddspapi.io/coverage/sports Every sportId OddsPapi covers, with fixtures and futures availability and how many fixture market types are published per sport. Every sport and prediction-market topic we carry, identified by a numeric `sportId`. Availability is per **product** β€” a sport can be covered as fixtures, as futures, or both. **75** sports and prediction-market topics. **βœ“** covered Β· **soon** planned, not live yet Β· **β€”** no such product for this sport. **Market types** is how many distinct `marketType` values the sport publishes β€” see [the market matrix](/coverage/markets) for which ones, at which period scopes, and how deep each line ladder runs. | sportId | Sport | Fixtures | Futures | Market types | | -: | - | :-: | :-: | -: | | 10 | Soccer | βœ“ | βœ“ | 110 | | 11 | Basketball | βœ“ | βœ“ | 36 | | 12 | Tennis | βœ“ | βœ“ | 61 | | 13 | Baseball | βœ“ | βœ“ | 45 | | 14 | American Football | βœ“ | βœ“ | 200 | | 15 | Ice Hockey | βœ“ | βœ“ | 52 | | 16 | ESport Dota | βœ“ | βœ“ | 32 | | 17 | ESport Counter-Strike | βœ“ | βœ“ | 20 | | 18 | ESport League of Legends | βœ“ | βœ“ | 37 | | 19 | Darts | βœ“ | βœ“ | 5 | | 20 | MMA | βœ“ | βœ“ | 12 | | 21 | Boxing | βœ“ | βœ“ | 6 | | 22 | Handball | βœ“ | βœ“ | 5 | | 23 | Volleyball | βœ“ | βœ“ | 4 | | 24 | Snooker | βœ“ | βœ“ | 4 | | 25 | Table Tennis | βœ“ | βœ“ | 3 | | 26 | Rugby | βœ“ | βœ“ | 5 | | 27 | Cricket | βœ“ | βœ“ | 48 | | 28 | Waterpolo | βœ“ | βœ“ | 2 | | 29 | Futsal | βœ“ | βœ“ | 2 | | 30 | Beach Volley | βœ“ | βœ“ | 2 | | 31 | Aussie Rules | βœ“ | βœ“ | 2 | | 32 | Field hockey | βœ“ | βœ“ | 2 | | 33 | Floorball | βœ“ | βœ“ | 2 | | 34 | Squash | βœ“ | βœ“ | 2 | | 35 | Basketball 3x3 | βœ“ | βœ“ | 2 | | 36 | Beach Soccer | βœ“ | βœ“ | 2 | | 37 | Pesapallo | βœ“ | βœ“ | 2 | | 38 | Lacrosse | βœ“ | βœ“ | 2 | | 39 | Curling | βœ“ | βœ“ | 2 | | 40 | Padel | βœ“ | βœ“ | 2 | | 41 | Bandy | βœ“ | βœ“ | 2 | | 42 | Kabaddi | βœ“ | βœ“ | 2 | | 43 | Rink Hockey | βœ“ | βœ“ | 2 | | 44 | Soccer Specials | βœ“ | βœ“ | 2 | | 45 | Gaelic Football | βœ“ | βœ“ | 2 | | 46 | Netball | βœ“ | βœ“ | 2 | | 47 | Beach Handball | βœ“ | βœ“ | 2 | | 48 | Athletics | βœ“ | soon | 2 | | 49 | Badminton | βœ“ | βœ“ | 2 | | 50 | Bowls | βœ“ | βœ“ | 2 | | 51 | Cross-Country | βœ“ | βœ“ | 2 | | 52 | Gaelic Hurling | βœ“ | βœ“ | 2 | | 53 | Softball | βœ“ | βœ“ | 2 | | 54 | eSoccer | βœ“ | βœ“ | 2 | | 55 | eBasketball | βœ“ | βœ“ | 2 | | 56 | ESport Call of Duty | βœ“ | βœ“ | 7 | | 57 | ESport Overwatch | βœ“ | βœ“ | 7 | | 58 | ESport Rainbow Six | βœ“ | βœ“ | 14 | | 59 | ESport Rocket League | βœ“ | βœ“ | 7 | | 60 | ESport StarCraft | βœ“ | βœ“ | 7 | | 61 | ESport Valorant | βœ“ | βœ“ | 16 | | 62 | ESport Arena of Valor | βœ“ | βœ“ | 7 | | 63 | ESport King of Glory | βœ“ | βœ“ | 7 | | 64 | Judo | soon | soon | 2 | | 65 | ESport Honor of Kings | soon | soon | 7 | | 66 | Speedway | βœ“ | βœ“ | 2 | | 67 | Golf | βœ“ | βœ“ | 2 | | 68 | Cycling | βœ“ | βœ“ | 2 | | 69 | Politics | β€” | βœ“ | β€” | | 70 | Elections | β€” | βœ“ | β€” | | 71 | Economics | β€” | βœ“ | β€” | | 72 | Finance | β€” | βœ“ | β€” | | 73 | Technology | β€” | βœ“ | β€” | | 74 | Health | β€” | βœ“ | β€” | | 75 | Science | β€” | βœ“ | β€” | | 76 | Cryptocurrency | β€” | βœ“ | β€” | | 77 | Weather | β€” | βœ“ | β€” | | 78 | Culture | β€” | βœ“ | β€” | | 79 | Horse Racing | β€” | βœ“ | β€” | | 80 | Greyhound Racing | β€” | βœ“ | β€” | | 81 | Harness Racing | β€” | βœ“ | β€” | | 82 | Formula 1 | βœ“ | βœ“ | β€” | | 83 | ESport Mobile Legends | βœ“ | βœ“ | 7 | | 84 | Chess | βœ“ | βœ“ | β€” | > [!NOTE] > > **soon** today: **48** Athletics (futures), **64** Judo (fixtures), **64** Judo (futures), **65** ESport Honor of Kings (fixtures), **65** ESport Honor of Kings (futures). Nothing is published for those products yet β€” treat them as planned rather than available. ## Reading the table * **Fixtures** are match- or event-level markets (a single game, bout, or match), streamed on the [`fixtures`](/websocket/channels/fixtures) and [`odds`](/websocket/channels/odds) channels. * **Futures** are outright / season-long or topic-level markets (league winner, tournament, election, etc.), streamed on the [`futures`](/websocket/channels/futures) and `oddsFutures` channels. * `sportId` **69–78** are **prediction-market topics** (politics, elections, finance, crypto, weather, …) β€” these exist only as futures/outright markets and feed the prediction-market and exchange use cases. * `sportId` **79–81** are **racing codes** (horse, greyhound, harness) β€” covered as **ante-post futures** (one future per ante-post market), not as per-race fixtures. * A **market type count** of `β€”` means no fixture-market taxonomy is published for that sport yet. The sport can still be covered; see [Markets](/coverage/markets). > [!NOTE] > > A sport being covered is not a promise that every market type or every bookmaker is available for it. Market breadth is per sport ([Markets](/coverage/markets)), and which books quote a given fixture comes from the odds themselves β€” read it from `GET /fixtures/odds`, not from a coverage table. ## Identifiers `sportId` is stable and language-independent; the display name follows the request's [language prefix](/api-reference/concepts#language-prefix). It is also the **first two digits** of downstream `marketId`, `outcomeId`, and `fixtureId` values β€” see [Core Concepts](/api-reference/concepts#id-structure). Discover the list available to your key with [`GET /sports`](/api-reference/common/get-sports). # Evaluating OddsPapi - Measure Latency, Coverage & Recovery Yourself Source: https://docs.oddspapi.io/guides/evaluation A trial protocol for OddsPapi: log per-book observation delay against the published numbers, drill the recovery paths, verify coverage from the API, and settle the speed question with CLV. We publish measured per-book delay numbers and every update carries the timestamps to check them. So don't take the numbers on trust β€” this page is the protocol for a trial that ends with your own distributions instead of an impression. *** ## What every update lets you measure Two metrics, judged separately because they have different owners: | Metric | Compute it as | Who owns it | | - | - | - | | Observation delay | `changedAt βˆ’ bookmakerChangedAt` | **Us**, per book β€” this is the number we publish | | Delivery hop | `your receipt βˆ’ ts` | **You** β€” it depends on where you deploy | A slow reading on the second metric says nothing about the first; measure both before attributing anything. Both compare your clock to ours, so run NTP before trusting sub-100 ms readings. The full stamp chain is in [Latency and freshness](/api-reference/reliability#latency-and-freshness), and deployment placement in [Server location](/api-reference/concepts#server-location-matters). *** ## The protocol **1. Scope it to what you trade** Log in with `sportIds`, `tournamentIds`, and `bookmakers` filters for the books and sports that will actually carry your volume. Subscribe to [`bookmakers`](/websocket/channels/bookmakers) alongside `odds` β€” you will want the staleness signal in the data you collect. **2. Log raw, aggregate later** Per update, record the bookmaker, `oddsId`, both deltas, and whether the fixture was live. Aggregate into per-book percentiles (p50 / p95), split live vs. pregame β€” the published numbers are per delivery mode, so your comparison should be too. **3. Compare against what we publish** Per book: your measured p50 against the representative p50s in [Latency and freshness](/api-reference/reliability#latency-and-freshness), and your tail against the `maxDelayLiveInSec` / `maxDelayPregameInSec` bounds on [`GET /bookmakers`](/api-reference/common/get-bookmakers). Those bounds are the claim; hold us to them. **4. Drill the failure paths** Speed differences between feeds show up in outages more than in steady state β€” see the drills below. **5. Race it against your incumbent** Map fixtures once via `externalProviders`, compare on the selection key, and time both feeds on the same line moves β€” the mapping and method are in [running a second feed](/guides/second-feed#measure-which-feed-is-faster). *** ## Drill the failure paths Steady-state latency is the easy part; recovery behavior is what actually differs between feeds in production. Three drills, all safe to run during a trial: * **Resume** β€” kill the connection for a few seconds, reconnect with your `serverEpoch` + per-channel `lastSeenId`, and verify the missed updates replay with no gap. This is the designed path for short interruptions. * **Re-snapshot** β€” stay down past the replay window (`resumeWindowMs`) so the gateway emits `snapshot_required`, then time a full recovery: one REST snapshot, merged by newest `changedAt` per key. That timing is your worst-case bound β€” confirm it is one you can live with. * **Staleness accounting** β€” over the trial, count `staleOdds` episodes and their durations per book. Loss of upstream contact is reported explicitly rather than hidden; a feed that never shows staleness is not necessarily fresher, it may just not be telling you. Mechanics for the first two are in [Resume & Replay](/websocket/resume-replay); the flags are in [Status signals](/coverage/bookmakers#status-signals). *** ## Coverage, from the API Verify coverage against your requirements list from live responses rather than a brochure: * **Books your key can see** β€” enumerate [`GET /bookmakers`](/api-reference/common/get-bookmakers); access is permissioned per key, so this is the authoritative list for *your* contract. * **Markets per sport** β€” `GET /markets?sportId=…` returns every market and outcome you can be quoted on, line by line. * **Schedule depth** β€” pull `GET /fixtures` for a representative week in the competitions you need and diff it against your own required schedule. The catalog shape is described in [Coverage](/coverage), [Bookmaker coverage](/coverage/bookmakers), and [Market coverage](/coverage/markets). *** ## Integration costs to compare Latency tables don't capture how much machinery a feed forces you to build. Four questions worth asking of any feed you evaluate, with our answers: * **Is it push?** Updates arrive over a persistent WebSocket with [resume & replay](/websocket/resume-replay) β€” not polling, and not one-way server-sent events where every drop means reconnect-and-refetch logic on your side. * **How many books per request?** No per-request bookmaker cap: one subscription streams every book your key can see, and one REST snapshot returns them all. Full-market width never turns into parallel-call fan-out. * **How is history rate-limited?** [Historical and CLV endpoints](/api-reference/concepts#historical-odds-and-clv) run under the standard [rate limits](/api-reference/rate-limits) β€” no separate throttle that turns a backtest into an overnight job. * **Where does coverage live?** 200+ books across US, European, and Asian markets, exchanges with depth, and prediction markets β€” not a US-retail catalog with thin edges. *** ## The outcome-level verdict Per-update stopwatch races answer "who saw it first"; closing line value answers whether that speed pays. At the end of the trial, join the prices you would have traded on against the closing line: ```json theme={null} "id1400003160574219:pinnacle:14198:0": { "olv": { "price": 1.952, "changedAt": 1765975761422 }, "clv": { "price": 1.952, "changedAt": 1766361894121 } } ``` `GET /fixtures/odds/clv` returns the opening and closing price per `oddsId` β€” the same key as the live stream, so the join with your trial log is free. Beating the close on the lines you flagged during the trial is the evaluation result that survives contact with production. Method in [sharp-line trading & CLV](/guides/sharp-line-trading). *** ## What a finished evaluation looks like * Per-book observation-delay distributions, live and pregame, next to the published p50s and bounds β€” matching or not. * Measured resume and re-snapshot timings, so worst-case recovery is a number, not a hope. * A coverage diff against your requirements, from live API responses. * A CLV join on the lines you would have traded. If your measurements disagree with the published numbers, we want to know: send the affected books, UTC timestamps, and your `serverEpoch` / `entryId` values to [contact@55-tech.com](mailto:contact@55-tech.com) so we can trace the session. Trial access is arranged through the same address. # Latency Methodology - How OddsPapi Measures Per-Book Delay Source: https://docs.oddspapi.io/guides/latency-methodology How the published per-bookmaker delay numbers are produced: what is measured, what counts as measured vs. estimated, what the numbers exclude, and how to reproduce them. We publish per-book delay numbers in [Latency and freshness](/api-reference/reliability#latency-and-freshness) and as live bounds on [`GET /bookmakers`](/api-reference/common/get-bookmakers). This page is the methodology behind them β€” what exactly is measured, where the numbers come from, and how to reproduce them yourself. A number without a methodology is marketing; held to one, it is a claim. *** ## The quantity One metric per odds update: ``` observation delay = changedAt βˆ’ bookmakerChangedAt ``` * `bookmakerChangedAt` β€” the bookmaker's own change timestamp, as published by the book. * `changedAt` β€” when OddsPapi observed the change at the bookmaker. This is the delay **we own**: from the price changing at the source to us having it. It deliberately excludes everything downstream of observation β€” see [what the numbers exclude](#what-the-numbers-exclude). Delays are aggregated **per bookmaker**, split by delivery mode β€” live, pregame, and pregame main lines β€” because the modes run on different collection paths and their delays differ. A single blended number would hide exactly the difference that matters. *** ## Measured vs. estimated Every published number carries one of two modes: | Mode | When | How the number is produced | | - | - | - | | **measured** | The book publishes usable change timestamps | Rolling p50 of `changedAt βˆ’ bookmakerChangedAt` across that book's updates, per delivery mode | | **estimated** | The book publishes no usable timestamp | Derived from the collection cycle for that book β€” stated as an approximation, never presented as measured | The mode is printed next to every number we publish. If a book's row says *estimated*, treat it as our honest upper-bound guess, not a measurement β€” and note that `bookmakerChangedAt` is the book's clock, not ours, so even measured values inherit the source's timestamping quality. *** ## Where the numbers live Two artifacts, with different jobs: * **[`GET /bookmakers`](/api-reference/common/get-bookmakers)** β€” the live source of truth. `maxDelayLiveInSec`, `maxDelayPregameInSec`, and `maxDelayPregameMainInSec` state the maximum expected refresh delay per delivery mode, per book, maintained as a rolling value. These bounds are the claim; hold us to them. * **The [docs table](/api-reference/reliability#latency-and-freshness)** β€” a representative snapshot of rolling p50s for books trialists ask about most. It illustrates; the endpoint governs. When the two disagree, the endpoint wins β€” it moves with the feed, the docs page moves with editors. *** ## What the numbers exclude Observation delay ends at `changedAt`. Downstream of it: * **Internal pipeline** β€” observation to gateway egress adds \~20 ms (p50). * **Conflation** β€” updates are batched on a fixed \~6 ms window, newest value wins; nothing is dropped, see [delivery semantics](/websocket/channels/odds#delivery-semantics). * **Delivery hop** β€” gateway `ts` to your receipt depends on where you deploy; as low as \~5 ms colocated (see [server location](/api-reference/concepts#server-location-matters)). These are excluded on purpose: the delivery hop is dominated by *your* deployment, so folding it into a published number would make the number unverifiable. Each update carries the full stamp chain (`bookmakerChangedAt`, `changedAt`, `ts`), so every segment is measurable separately. *** ## Reproduce it Nothing in this methodology is privileged β€” the same timestamps we aggregate arrive on every update you receive. Log `changedAt βˆ’ bookmakerChangedAt` per book over your trial, split live vs. pregame, take the p50, and put it next to the published row. The full protocol, including recovery drills and a CLV join, is in [evaluating the feed](/guides/evaluation); racing an incumbent feed on the same line moves is in [running a second feed](/guides/second-feed#measure-which-feed-is-faster). If your measurements disagree with ours, send the affected books and UTC timestamps to [contact@55-tech.com](mailto:contact@55-tech.com) β€” a reproducible disagreement is a bug report, and we treat it as one. # Parlays & SGP - Building a Betslip Source: https://docs.oddspapi.io/guides/parlays A workflow guide for multi-leg betting on OddsPapi: choosing between the parlay and SGP endpoints, keeping a live slip priced, comparing bookmakers, and degrading gracefully when a leg suspends. [Parlays & SGP](/api-reference/parlays) is the field-by-field reference for the two multi-leg endpoints. This guide is the other half: **how to wire them into a betslip that stays correct while a user is still building it.** *** ## Which endpoint The choice is made by the legs, not by preference. **1. All legs in one fixture?** Use `GET /fixtures/odds/sgp`. The bookmaker prices it, so `price` reflects the real correlation between the legs β€” "over 2.5 goals" and "home win" are not independent events, and a naive product would overprice the slip. **2. Legs across several fixtures?** Use `GET /fixtures/odds/parlay`. Legs are independent, so the price is the product of the decimal odds, computed locally and instantly. **3. A mix?** `/sgp` rejects it β€” all legs must share one fixture. Either split the slip or price the whole thing with `/parlay` and accept the uncorrelated number. The two answers for the same two legs, side by side: > [tab] /parlay β€” a plain product > > ```json theme={null} > "parlay": { > "bet365": { > "id1400003160574217:bet365:141:0,id1400003160574217:bet365:146:0": { > "bookmaker": "bet365", > "active": true, > "price": 7.98, > "singlesPrice": 7.98, > "changedAt": 1766667441097 > } > } > } > ``` > [tab] /sgp β€” the bookmaker's quote > > ```json theme={null} > "sgp": { > "bet365": { > "id1400003160574217:bet365:141:0,id1400003160574217:bet365:146:0": { > "bookmaker": "bet365", > "active": true, > "price": 6.5, > "singlesPrice": 7.98, > "changedAt": 1766667441097, > "betslip": "https://www.bet365.com/dl/sportsbookredirect?bs=..." > } > } > } > ``` Same legs, same `parlayId`, two different prices. `singlesPrice` is the naive product in both; on `/sgp` the gap down to `price` is the correlation margin. Showing both numbers is what makes an SGP legible to a user. *** ## Comparing bookmakers Legs are grouped **by bookmaker**, and `parlayId` is built the same way on both endpoints (sorted, deduped `oddsIds` joined by `,`). Two consequences you can build on: * Request the same selection at several books in one call and you get every book's price for that slip side by side, under the same `parlayId`. * A `/parlay` result and an `/sgp` result for an identical selection are directly comparable β€” same key, different pricing model. A book that cannot price the slip is simply absent from the section. Absence is not an error; see below. *** ## Keeping a live slip priced A betslip is a long-lived object and prices move under it. * **Re-price on every leg change.** `parlayId` changes the moment the selection changes, so cached prices are keyed correctly for free. * **Re-price on a clock, not on every tick.** Both endpoints are capped at **10 requests/second**. Poll a live slip on a fixed interval rather than chasing every odds update β€” an `/sgp` call can round-trip the bookmaker, so it is the slower of the two even where the budget is the same. * **Cap at 20 legs.** Both endpoints reject more. > [!WARNING] > > Do not fan a language sweep or a bookmaker sweep out in parallel against > `/parlay`. Ten requests per second is per key, and the endpoint answers > quickly enough that a burst trips the limit before you notice β€” the symptom > looks like empty parlay sections, not like a rate-limit error. *** ## Degrading gracefully Three different things can make a slip unpriceable, and a good UI distinguishes them: | What happened | How you see it | What to tell the user | | - | - | - | | A leg was never found | the `oddsId` appears in `missingOddsIds` | the selection is invalid β€” drop it | | A leg is temporarily off | the leg is present but inactive, with `meta.inactiveReason` | suspended β€” the slip returns when it reopens | | The book could not quote | the bookmaker is absent from `sgp`, and `missingOddsIds` is **not** set | try another book | That third row is the one that surprises people: every leg was found on our side, but the bookmaker's own pricing service could not resolve the parlay. The section is empty and nothing is reported as missing, because nothing *was* missing. Read [suspended vs missing legs](/api-reference/parlays#suspended-vs-missing-legs) for the full `inactiveReason` list. The `odds` section is never filtered for you β€” inactive legs come back included, deliberately, so you can render a suspended leg in place instead of having it vanish from the slip. *** ## Periods and legs Legs from different periods of the same fixture combine normally β€” a `fulltime` 1X2 and a `p1` totals line are two legs like any other. If you are building market groupings to select from, read [Periods per sport](/guides/periods) first: whether a sport even offers `fulltime` depends on its structure, and assuming it does is the most common source of empty market buckets. *** ## Related > [card] [Parlays & SGP reference](/api-reference/parlays) > > Every field, error and `inactiveReason`. > [card] [Rate limits](/api-reference/rate-limits) > > Authoritative per-endpoint budgets. > [card] [Periods per sport](/guides/periods) > > Which periods exist where, and why. > [card] [Powering a sportsbook](/guides/sportsbook) > > The full pipeline this slip sits inside. # Periods per Sport - When fulltime and result Differ Source: https://docs.oddspapi.io/guides/periods Understand the OddsPapi period vocabulary per sport: when fulltime is a distinct fact, when it collapses into result, and how to group markets by marketType and period without hard-coding assumptions. Every market and every score line carries a `period`. The vocabulary is generic and shared across all sports β€” `result`, `fulltime`, `p1`, `p1+p2`, `fulltime+overtime`, `p1g6`, and 200-odd more. [Enumerations β†’ period](/api-reference/enumerations#period) is the reference list. This guide answers the question the reference list does not: **which periods a given sport actually has, and why `fulltime` exists for soccer but not for MMA.** *** ## The two whole-match periods | Value | What it is | | - | - | | `result` | The score that decides the fixture β€” everything cumulated, including any overtime, extra time or shootout. Always present, for every sport. | | `fulltime` | The score frozen at the end of regulation, **before** any phase that can still change it. | `result` is never withheld and never derived. If you only ever consume one whole-match period, consume `result`. From [2026-10-05](/changelog/index) every market carries a non-empty `period`. Before that date a blank value is possible on a handful of markets. *** ## When does `fulltime` exist? > [!NOTE] > > **The rule:** ask *"does this sport have a defined end of regulation, with a > further phase after it that can still add to the score?"* > > **Yes** β†’ `fulltime` is a distinct fact, and markets are offered on both. > **No** β†’ `fulltime` and `result` would be two names for one number, so only > `result` is published. Soccer is the reason the period exists at all. A cup tie that ends 1–1 after 90 minutes and 2–1 after extra time has two genuinely different answers to "who won": a draw at `fulltime`, a home win at `result`. A 90-minute 1X2 market deliberately excludes what comes after, and that exclusion is the product. ### The discriminator is not "is the sport time-bounded" This is the common mistake. The question is about **a scoring phase after the boundary**, not about clocks. > [accordion] Baseball β€” no clock, but fulltime exists > > Baseball has no timer. It still has a defined end of regulation β€” nine > innings β€” and extra innings after it that add runs. So `fulltime` (through > nine) and `result` (including extras) are different numbers, and both are > published. > [accordion] MMA and boxing β€” bounded rounds, but no fulltime > > A bout has a fixed round count, so it looks time-bounded. But nothing after > the final round adds to the score: the judges' decision *names a winner*, it > does not extend the contest. The score at the end of the final round **is** > the result. Publishing `fulltime` there would be a second label for one > number, so MMA and boxing markets sit on `result` only. > [accordion] Tennis, snooker, darts β€” the match ends when it ends > > Play-to-target sports have no regulation cutoff at all. There is no moment > where the score is provisional and a later phase might move it β€” the match > simply ends. Only `result` (plus the set/leg/frame periods `p1`, `p2`, …). ### Sports where both are published These sports have a scoring phase after regulation β€” overtime, extra time, a shootout, extra innings or a golden point β€” so `fulltime` and `result` are distinct: Soccer, Basketball, Baseball, American Football, Ice Hockey, Handball, Rugby, Cricket, Waterpolo, Futsal, Aussie Rules, Field Hockey, Floorball, Beach Soccer, Pesapallo, Lacrosse, Bandy, Kabaddi, Rink Hockey, Gaelic Football, Netball, Gaelic Hurling, Softball, eSoccer, eBasketball β€” 25 sports. Everywhere else β€” MMA, Boxing, Tennis, Darts, Snooker, Table Tennis, Volleyball, Squash, Badminton, Curling, Padel, Golf, Cycling, Athletics, Judo, Speedway, Bowls, Cross-Country, Beach Volley, Beach Handball, Basketball 3x3, and every esports title β€” whole-match markets are on `result`, and there is no `fulltime` bucket to look for. > [!WARNING] > > Do not hard-code this list. It is what ships today, and sports get added. > Read the `period` off the market itself; treat "this sport has no `fulltime`" > as an observation, not a constant. *** ## Soccer's shootout, specifically Soccer is the one sport where the shootout tally is folded into the `result` score rather than being reported as a separate segment. A tie decided 4–3 on penalties after 1–1 is carried as a 1–1 `fulltime` and a shootout-inclusive `result`. Other sports that go to a shootout report the phase separately. This is also why the `penalties` *score* period is cumulative today rather than segment-only β€” see the note in [Enumerations β†’ period](/api-reference/enumerations#period). *** ## Periods inside the match Beyond the two whole-match values, `period` also names segments. What `p1` means is sport-dependent, which is the whole point of a generic vocabulary: | `p1` is a… | in | | - | - | | half | Soccer, Rugby, Handball | | quarter | Basketball, American Football | | set | Tennis, Volleyball, Table Tennis | | map | Counter-Strike, Valorant, Dota, League of Legends | | inning | Baseball, Softball | | period | Ice Hockey | Use the fixture's `expectedPeriods` and `periodLength` to interpret them rather than branching on `sportId`. Combined segments (`p1+p2` = first half in a quarter sport, `p3+p4+overtime` = second half including OT) and sub-period grids (`p1g6` = game 6 of set 1, `p1r13` = round 13 of map 1) follow the same principle. *** ## Grouping markets in your client Markets are keyed by `marketType` Γ— `period`. Two rules keep that grouping stable: **1. Never synthesise a period** Do not assume a sport offers `fulltime` and fall back to `result` when the lookup misses. If a market is published on `result`, that *is* the whole-match market β€” an empty `fulltime` bucket is not a gap. **2. Pin to marketId where you can** `marketId` is sticky: it never changes for a market and never gets reused. `marketType` and `period` are descriptive and can be corrected β€” as they are on [2026-10-05](/changelog/index), when 26 sports move their `1x2` from `fulltime` to `result` under exactly the rule above. Clients keyed on `marketId` see nothing; clients keyed on `marketType` Γ— `period` have to regroup. The period vocabulary is **append-only** β€” new sports introduce new keys (esports round grids are the most recent). Pass unknown period strings through rather than rejecting them. *** ## Related > [card] [Enumerations β†’ period](/api-reference/enumerations#period) > > The full reference list of period values. > [card] [Market coverage](/coverage/markets) > > Which market types exist per sport, and how they are scoped. > [card] [Parlays & SGP](/api-reference/parlays) > > Combining legs across periods and fixtures. > [card] [Changelog](/changelog/index) > > Registry changes, including period corrections. # Prediction Markets & Exchanges - Orderbook Depth & Limits Source: https://docs.oddspapi.io/guides/prediction-markets Build market-making and arbitrage systems on OddsPapi: aggregated exchange prices with back/lay orderbook depth, native venue IDs for order routing, stake limits, and measured per-venue delay. Market making across venues needs four things at once: prices, depth, the identifiers to send an order back, and an honest answer to "is this quote still real?". All four arrive on the same row, so adding a venue is a filter change rather than an integration project. This guide covers the trading decisions on top of that stream. Payload schemas live on the [`odds`](/websocket/channels/odds) channel page. *** ## What arrives on every price | Field | What it gives you | | - | - | | `price` | Best available price (decimal), plus `priceAmerican` / `priceFractional` | | `meta.back` / `meta.lay` | Orderbook ladders β€” `{ price, cents, size, limit }` rungs, best price first, up to three deep | | `limit` | Stake available at this price. On an exchange it mirrors top-of-book depth (`meta.back[0].limit`); on a traditional book it is the maximum accepted stake | | `bookmakerMarketId` / `bookmakerOutcomeId` | The venue's own market and selection identifiers | | `bookmakerChangedAt` / `changedAt` | Venue's change stamp (t0), and when we observed it (t1) | | `active` / `marketActive` | Hard stops β€” do not quote against a false | No secondary lookup, and one parsing branch rather than one per venue: `polymarket`, `polymarket.us`, `kalshi` and `prophetx` share the same ladder shape, and the first `back` entry is top of book and matches `price`. `betfair-ex` is the exception β€” it uses legacy `availableToBack` / `availableToLay` keys. Shape detail in [Advanced metadata](/websocket/channels/odds#advanced-metadata-meta). *** ## Building a cross-venue view Group by selection β€” the same selection at two venues differs only in the venue segment of the key: ``` id1100064864029581 : polymarket : 112 : 0 └──── fixture β”€β”€β”€β”€β”˜ └─venueβ”€β”˜ β””selectionβ”˜ ``` Then take the highest `back` and the lowest `lay` across the venues you are permissioned for. Carry both sides even if you only ever take one β€” the tightest spread shows where consensus sits, and a venue far outside it is either carrying information or carrying a stale price. The timestamps tell you which; the price does not. ```json theme={null} "price": 1.053, "meta": { "back": [ { "price": 1.053, "limit": 246.19, "cents": 0.95, "size": 259.15 } ], "lay": [ { "price": 12.5, "limit": 21.62, "cents": 0.08, "size": 270.2 } ] } ``` Best `back` always equals `price`. Here the `lay` side sits nowhere near it β€” 15 units of interest at 100.0 is a one-sided book, not a spread you can quote inside. Three things that bite: * **A crossed book is a signal, not an opportunity.** If best `back` on one venue exceeds best `lay` on another, check `changedAt` on both sides. A genuine cross closes in milliseconds; a persistent one means a side stopped updating. * **Depth is per venue, never aggregate.** You cannot fill one venue's order against another's queue. Model executable size per venue, then aggregate the *outcomes*, not the books. * **`limit` is a stake in the venue's base currency; `size` is a count of shares.** Compare depth on `limit`, and convert through the [`currencies`](/websocket/channels/currencies) channel before comparing across crypto venues, or the same exposure reads as two different numbers. *** ## Sizing: `limit` and depth do different jobs * **`limit`** on an exchange or prediction market is depth at the touch β€” the same value as `meta.back[0].limit`, not a cap on your order. (On a traditional book it *is* a cap; see [Limits](/websocket/channels/odds#limits).) * **The ladder** bounds the fill β€” what rests behind the touch, and what it costs to clear a size. Walk the ladder to your target and price the fill at the volume-weighted average, not at the touch: ```json theme={null} "price": 3.333, "limit": 308.25, "meta": { "back": [ { "price": 3.333, "limit": 308.25, "cents": 0.3, "size": 1027.51 }, { "price": 3.226, "limit": 1840.71, "cents": 0.31, "size": 5937.78 }, { "price": 3.125, "limit": 971.23, "cents": 0.32, "size": 3035.1 } ] } ``` Walk `limit`, not `size`: `size` counts shares at the venue, `limit` is the stake those shares represent (`size Γ— cents`). 3,120.19 of stake rests on this ladder, so a target of 1,228.61 fills 308.25 at 3.333 and 920.36 at 3.226 β€” an average of **3.253**, not the 3.333 on screen. Note the quote's own `limit` (308.25) is just the top rung: it is the depth at the touch, not a cap on your order. Limit cuts arrive as ordinary odds updates on the same `oddsId` and are often the earlier signal. Full treatment, including traditional books where `limit` is the only size signal there is, in [sharp-line trading & CLV](/guides/sharp-line-trading#limit-and-depth-answer-different-questions). *** ## Gating: is this quote tradeable Freshness is a separate question from value, and the expensive one to get wrong. Four flags can veto, each independently: | Gate | Source | Meaning | | - | - | - | | `active` | `odds` | This selection is not currently available | | `marketActive` | `odds` | The whole market is down β€” every selection under it is untradeable | | `suspended` | [`bookmakers`](/websocket/channels/bookmakers) | The venue has suspended this fixture | | `staleOdds` | [`bookmakers`](/websocket/channels/bookmakers) | **Our connection to the venue was lost.** Freshness is no longer guaranteed | Two of them arrive on a different channel than the price, which is what makes the failure mode look like this β€” a quote that is immaculate and untradeable at the same time: ```json theme={null} // odds { "price": 6.369, "active": true, "marketActive": true, "changedAt": 1766939876376 } // bookmakers β€” same venue, same fixture { "bookmaker": "polymarket", "hasOdds": true, "suspended": false, "staleOdds": true } ``` `staleOdds` is the one people miss, because nothing about the last price you received looks wrong β€” the prices you hold may have moved at the venue with no way for us to tell you. Pull your quotes rather than re-price them, until it flips back to `false`. See [Critical fields for automated trading](/websocket/channels/bookmakers#critical-fields-for-automated-trading). Add a fifth gate of your own β€” an age check against the bound the book publishes in `maxDelayLiveInSec` / `maxDelayPregameInSec` on `GET /bookmakers`. A quiet venue and a broken venue look identical for the first few seconds. See [Status signals](/coverage/bookmakers#status-signals). Evaluate all five as one predicate on every update, not on a timer. > [!NOTE] > > On fixture markets, `participantsRotated` is a sixth check of a different kind: when true, that venue's home/away assignment is flipped relative to ours, reversing side-based outcomes and flipping handicap signs. It affects correctness, not freshness β€” and it is silent if you map outcomes by position instead of by ID. *** ## Delay budget Your reaction time is four segments, and you control one: | Segment | Measure it as | Who controls it | | - | - | - | | Venue β†’ our observation | `changedAt βˆ’ bookmakerChangedAt` | published per book | | Conflation | fixed \~6 ms batching window; newest value always lands | bounded by design | | Gateway β†’ you | `your receipt βˆ’ ts` | **you** β€” see [Server location](/api-reference/concepts#server-location-matters) | | Decision + order round-trip | your own clock | you | Every message carries the first three stamps, so the split is measurable per venue rather than something you take on trust: ``` "bookmakerChangedAt": 1776717657043 ← t0 the venue stamped it "changedAt": 1776717657402 ← t1 we observed it +359 ms "ts": 1776717657500 ← t2 the gateway sent it +98 ms t3 your receipt β€” the one segment you move ``` Uniform quoting policy across venues is therefore wrong: a 0.05 s venue and a \~1 s venue justify different spreads on the same underlying, and the numbers to parameterize that are [published](/api-reference/reliability#latency-and-freshness) rather than inferred. If a venue re-prices faster than your loop closes, quote behind it or size smaller β€” do not chase its touch. *** ## Surviving gaps The worst state is quoting from a book you believe is current and is not. So: **pull quotes first, reconcile second.** * **Server-initiated reconnect** β€” we push a `reconnect` control frame before deploys and keep streaming through a grace window. Act on the frame, not on the eventual socket error. * **Within the replay window** β€” reconnect with your per-channel cursor (`serverEpoch` + `entryId`) and missed updates replay with no gaps. * **Outside it** β€” the gateway emits `snapshot_required`; restore with one REST snapshot. A designed path with a bounded worst case, not an error. * **Changed `serverEpoch`** β€” old cursors are meaningless; re-snapshot instead of resuming. Mechanics in [Resume & Replay](/websocket/resume-replay). Keep a "last known good" timestamp per venue and let it gate quoting independently of whether your socket is up β€” a live socket with a frozen venue behind it is the failure that actually costs money. *** ## Routing orders back Venue-native IDs ride on the price itself, so the moment you decide is not the moment you need a lookup: ```json theme={null} "price": 6.369, "limit": 4.71, "bookmakerMarketId": "1011497", "bookmakerOutcomeId": "4937..." ``` Those last two are Polymarket's own market and selection identifiers, already in hand: the order is `bookmakerOutcomeId` at `price`, staked at no more than `limit`. At fixture level, `GET /fixtures/mapping` resolves both directions β€” `fixtureIds` in for venue IDs, `bookmakerFixtureIds` in to go back. The [`bookmakers`](/websocket/channels/bookmakers) channel also carries `bookmakerFixtureId` and `fixturePath`, so a manual desk can open the venue's own page. *** ## Pricing across venues Group by `marketId` before pricing anything: all outcomes under one `marketId` form a complete probability space, which is what overround and completeness checks need β€” and each distinct line value is its own `marketId`, so a market never silently mixes lines. Normalize within each venue, then combine across them. Two weightings the data supports explicitly: * **By size** β€” real depth and a high `limit` is a stronger observation than a token amount at the same price. * **By delay** β€” a measured sub-100 ms venue and a multi-second one are not equally current. For fill auditing, backtests, and closing lines, the REST [historical odds and CLV](/api-reference/concepts#historical-odds-and-clv) endpoints share the same `oddsId` key as the live stream, so decisions and their audit trail join without a translation step. *** ## Non-sports markets are futures Politics, elections, finance, crypto, and weather are sports with `sportId` 69+ and exist as **futures only** β€” one future per outright market, on the [`futures`](/websocket/channels/futures) and [`oddsFutures`](/websocket/channels/oddsFutures) channels, with the same delivery semantics and the same orderbook `meta`. Everything above applies unchanged. ``` {futureId}:{bookmaker}:{futureOutcomeId}:{participantId} ``` **Which question** the future asks is `market.marketId` β€” the 5-digit `futureMarketId` also carried in the `futureId` tail, allocated per sport (`69002` = Politics Prediction). **Which selection** a price is on depends on the market's shape: | Shape | Markets | `futureOutcomeId` | The selection is | | - | - | - | - | | Participant-keyed | `winner`, `topscorer`, `relegation`, `mvp` | `0` β€” sentinel, no outcome rows exist | the participant you back | | Decomposed | `prediction` Yes / No, season totals Over / Under | a real id per side per line | the side, plus the participant the line is about | One decomposed future market spans many lines, and unlike fixture markets the handicap sits on the **outcome**, not on the market. Read both from the explicit fields rather than splitting `oddsId` β€” see [Future odds IDs](/api-reference/concepts#future-odds-ids) and [How Futures Work](/api-reference/concepts#how-futures-work-prediction-markets). *** ## Wiring it up **1. Stream** Connect to `wss://v5.oddspapi.io/ws` and log in with the channels, sports, and venues you trade. Subscribe to `bookmakers` alongside `odds` β€” without it you have prices but no staleness signal. **2. Snapshot** With updates already flowing, hydrate over REST (`/fixtures/odds` or `/futures/odds`) and merge by newest `changedAt` per key. Connect-first is what makes hydration gapless β€” there is no REST-to-WebSocket cursor, and none is needed. **3. Apply updates** Key by `oddsId` and overwrite in place. Each message is state, not a tick. **4. Gate** Evaluate the quoting predicate on every update, per venue, before anything downstream sees the price. **5. Recover** Handle `reconnect` and `snapshot_required` as designed paths. Filter at login β€” `sportIds`, `tournamentIds`, and `bookmakers` cut volume far more effectively than client-side filtering β€” and prefer `receiveType: "zstd"` on `odds` at scale ([Compression](/websocket/compression)). Login shapes and a worked client are on the [`odds`](/websocket/channels/odds) page and in the [Quickstart](/quickstart). *** ## What you can rely on * **One orderbook shape, not one per venue.** On Polymarket, Polymarket US, Kalshi and ProphetX, `meta.back` / `meta.lay` are `{ price, cents, size, limit }` arrays with the same semantics, so you write one parser β€” treat `size` as optional, since ProphetX omits it. Unknown `meta` keys are additive; the `back` / `lay` core will not be repurposed. * **Venue-native IDs ride on the price itself.** Routing an order back costs no second lookup and no reverse-mapping table of your own. * **Size is a first-class field.** `limit` is normalized across books and carried for close to every sharp book β€” per rung on an exchange, so you can price a fill rather than guess at one. * **Loss of contact is reported, not hidden.** `staleOdds` is the difference between pulling quotes and unknowingly trading against a frozen book. # Running OddsPapi as a Second Feed - Mapping & Cross-Validation Source: https://docs.oddspapi.io/guides/second-feed Add OddsPapi alongside an existing odds feed: join fixtures via external provider IDs and the mapping endpoints, compare prices on stable selection keys, and measure which feed is faster. Most desks that adopt OddsPapi already have a feed. Running two sources in parallel is normal practice β€” one for cross-validation, one for the coverage the other lacks β€” and the cost of doing it is almost entirely in **entity mapping**: deciding that your existing provider's match is the same match as ours. OddsPapi publishes those mappings directly, so joining is a lookup rather than a fuzzy-matching project. *** ## Join on IDs, not on names The [`fixtures`](/websocket/channels/fixtures) channel carries an `externalProviders` object on every fixture: | Field | Provider | | - | - | | `betradarId` | Betradar | | `flashscoreId` | Flashscore | | `pinnacleId` | Pinnacle | | `sofascoreId` | Sofascore | | `oddinId` | Oddin | | `mollybetId` | Mollybet | | `opticoddsId` | OpticOdds | | `lsportsId` | LSports | | `txoddsId` | TXOdds | If your current feed is one of these, the join is a single field. Store it once per fixture and your two systems share a key from then on. > [!NOTE] > > Mappings are populated where a match exists β€” treat any field as nullable and fall back to start time plus participants for the remainder. *** ## Bookmaker-side mapping For joins against a **bookmaker's** own identifiers rather than a data provider's, use the mapping endpoints: ```bash theme={null} # OddsPapi fixture -> bookmaker fixture IDs curl 'https://v5.oddspapi.io/en/fixtures/mapping?fixtureIds=id1100013270505136&apiKey=YOUR_KEY' # Bookmaker fixture ID -> OddsPapi fixture curl 'https://v5.oddspapi.io/en/fixtures/mapping?bookmaker=pinnacle&bookmakerFixtureIds=1628488896&apiKey=YOUR_KEY' ``` `GET /futures/mapping` does the same for outright markets. Per price, the [`odds`](/websocket/channels/odds) channel also carries `bookmakerMarketId` and `bookmakerOutcomeId`, and the [`bookmakers`](/websocket/channels/bookmakers) channel carries `bookmakerFixtureId` and `fixturePath`. *** ## Compare prices on a stable key Within OddsPapi a price is keyed by: ``` {fixtureId}:{bookmaker}:{outcomeId}:{playerId} ``` Drop the bookmaker and you have the **selection** β€” `{fixtureId}:{outcomeId}:{playerId}` β€” which is what you want when comparing across feeds, because a selection wins or loses identically regardless of who quoted it. To line up a selection against another feed's market model, decompose it into coordinates rather than matching market name strings: ``` marketType β†’ period β†’ handicap β†’ side [+ playerId] ``` `marketType` (`1x2`, `totals`, `spreads`, …), `period` (`fulltime`, `p1`, …), and `handicap` (the line value) are all explicit on [`GET /markets`](/api-reference/common/get-markets). Every distinct line value is its own `marketId`, so "Over 2.5" and "Over 3.5" never collapse into one market. See [Markets and outcomes](/api-reference/concepts#markets-and-outcomes). **1. Map the fixture** Join on `externalProviders`, or via `/fixtures/mapping` for bookmaker-side IDs. **2. Map the market** Translate your existing model into `marketType` + `period` + `handicap` and resolve the `marketId` from `/markets`. **3. Map the side** Pick the `outcomeId` for the side; add `playerId` for player markets (`0` otherwise). **4. Store the pair** Persist your key ↔ `{fixtureId}:{outcomeId}:{playerId}` so the mapping is done once, not per update. *** ## Measure which feed is faster Cross-validation is only worth the second integration if you can tell which source wins. Two measurements, both available without instrumentation on our side: * **Observation delay** β€” `changedAt βˆ’ bookmakerChangedAt` per update, against the equivalent timestamp on your other feed. Per-book bounds are published on [`GET /bookmakers`](/api-reference/common/get-bookmakers) as `maxDelayLiveInSec` / `maxDelayPregameInSec` / `maxDelayPregameMainInSec`, with representative p50s in [Latency and freshness](/api-reference/reliability#latency-and-freshness). * **Delivery hop** β€” envelope `ts` against your receipt time. This one depends on where you deploy; see [Server location](/api-reference/concepts#server-location-matters). For an outcome-level verdict rather than a stopwatch, compare fills against the closing line using `GET /fixtures/odds/clv`. Same `oddsId` format as the live stream, so the join is free. *** ## What tends to be complementary Coverage overlap is rarely total, which is the point of running two. In practice OddsPapi adds sharp trading books, Asian lines and quarter-line settlement, exchange and prediction-market depth, and stake limits on close to every sharp book β€” alongside broad US and European retail coverage. See [Bookmaker coverage](/coverage/bookmakers) for the catalog shape and [`GET /bookmakers`](/api-reference/common/get-bookmakers) for what your key can see. *** ## Cutover checklist * [ ] Fixtures joined via `externalProviders` or `/fixtures/mapping`, with a fallback for nulls * [ ] Market model translated to `marketType` / `period` / `handicap` coordinates * [ ] Storage keyed by `oddsId`, with selection keys for cross-feed comparison * [ ] `staleOdds` and `suspended` wired into the same kill switch as your existing feed * [ ] `snapshot_required` handling and resume implemented ([Resume & Replay](/websocket/resume-replay)) * [ ] Delay comparison running on both sources before you shift any weight *** ## What you can rely on * **IDs do not move under you.** Registries are append-only and published identifiers are frozen, so a mapping table you build during evaluation is still correct a year later. New enum values are appended rather than repurposed β€” ignore what you do not recognize instead of failing. * **Recovery is bounded and deterministic.** Per-channel cursors (`serverEpoch` + `entryId`) replay inside `resumeWindowMs`; past that, the worst case is one REST snapshot, not a silent gap you discover in reconciliation. * **Mapping resolves both directions.** `externalProviders` gets you in from a provider ID you already hold, and `GET /fixtures/mapping` goes either way β€” so a second feed is a lookup, not a matching project. # Settlement & Grading - Per-Outcome Grades, Quarter Lines & Periods Source: https://docs.oddspapi.io/guides/settlement Grade bets on OddsPapi: per-outcome settlement grades on frozen IDs, Asian quarter-line half-stake math, period-market grading, and handling UNDECIDED and CANCELLED. Settlement closes the pipeline: the same IDs you priced and bet on come back graded, so grading is a lookup on keys you already store β€” not a rules engine you build and maintain per sport. > [!NOTE] > > OddsPapi aggregates bookmaker prices; it is not an official or licensed league-data provider. Settlement is derived from resolved cross-source facts, and **futures settlement is rolling out** β€” the endpoint exists but does not yet serve results. *** ## One request, every grade `GET /fixtures/settlement` takes a `fixtureId` (plus optional `outcomeId` / `playerId` to narrow) and returns the fixture's final state with one row per outcome: ```json theme={null} "scores": { "result": { "period": "result", "participant1Score": 23, "participant2Score": 30 } }, "settlements": [ { "marketId": 141, "marketType": "1x2", "outcomeId": 142, "playerId": 0, "status": "WIN", "team1Score": 23, "team2Score": 30, "periods": ["fulltime"], "margin": 7.0 }, { "marketId": 141, "marketType": "1x2", "outcomeId": 141, "playerId": 0, "status": "LOSE", "team1Score": 23, "team2Score": 30, "periods": ["fulltime"], "margin": -7.0 } ] ``` Every row carries its evidence: `team1Score` / `team2Score` are the scores the grade was computed from, `periods` names the period rows used, and `margin` is the winning margin where one applies β€” enough to audit any grade without re-deriving it. Call it once the fixture reaches `statusId` `2` (finished). Rows that cannot be graded yet come back as `UNDECIDED` rather than being omitted β€” see [below](#undecided-and-cancelled-are-states-not-errors). *** ## Grade on the selection, pay on the grade Bets grade on the bookmaker-independent **selection** key β€” `{fixtureId}:{outcomeId}:{playerId}` β€” because a selection resolves identically regardless of who quoted it. Drop the bookmaker segment from the `oddsId` you stored at bet time and the join is done. What each grade pays, for a 100 stake at 2.00: | Grade | Meaning | Returns | | - | - | -: | | `WIN` | Full win | 200 | | `LOSE` | Full loss | 0 | | `PUSH` | Void / tie on the line β€” stake returned | 100 | | `HALFWIN` | Half wins, half returned | 150 | | `HALFLOSS` | Half loses, half returned | 50 | | `CANCELLED` | Market voided β€” stake returned | 100 | | `UNDECIDED` | Not gradable yet β€” carries a `reason` | β€” | The vocabulary is defined in [Enumerations β†’ settlementStatus](/api-reference/enumerations#settlementstatus); new enum values are appended, never repurposed, so treat unknown grades as "hold", not as errors. *** ## Quarter lines: where the half-stake grades come from An Asian quarter line is two bets in one β€” Over 2.25 is half your stake on Over 2.0 and half on Over 2.5. The settlement endpoint grades the composite directly instead of making you split it: * **Over 2.25, match ends with 2 goals** β€” the Over 2.0 half pushes, the Over 2.5 half loses β†’ `HALFLOSS`. A 100 stake gets 50 back. * **Under 2.25, match ends with 2 goals** β€” the Under 2.0 half pushes, the Under 2.5 half wins β†’ `HALFWIN`. A 100 stake at 1.90 returns 50 + 50 Γ— 1.90 = **145**. Each quarter line is its own `marketId` like every other line value, so Over 2.25 and Over 2.5 never mix in one market. See [sharp-line trading](/guides/sharp-line-trading) for pricing these markets and [Market coverage](/coverage/markets) for where they appear. *** ## Period markets grade on period rows Period markets β€” first-half totals, first-set winner, race to a score β€” grade against the per-period score rows (`p1`, `p2`, …), not against the full-time `result`. The `periods` array on each settlement row names which rows were used. Interpret periods against the sport's structure: `p1` is a half in soccer, a quarter in NBA basketball, a set in tennis β€” `expectedPeriods` and `periodLength` on the fixture tell you which, and the full key vocabulary (including combined segments like `fulltime+overtime` and tennis sub-period keys) is in [Enumerations β†’ period](/api-reference/enumerations#period). *** ## `UNDECIDED` and `CANCELLED` are states, not errors Both carry a human-readable `reason` explaining why, and they mean different things operationally: * **`UNDECIDED`** β€” the result data is insufficient or pending. Keep the bet in your settlement queue and re-check later; do not retry in a tight loop β€” re-poll on a schedule or when the fixture updates. * **`CANCELLED`** β€” the market is void and the stake is returned. This is terminal: pay out the refund and close the bet. A fixture moving to `statusId` `3` (cancelled) is the common cause, but individual markets can cancel on their own. Treat both as explicit states in your settlement queue rather than retry-until-success, and log the `reason` β€” it is the audit trail for why a bet paid the way it did. *** ## Futures `GET /futures/settlement` exists but returns `501` β€” futures settlement is rolling out and not yet serving results. Fixture settlement is unaffected. Until it lands, outright markets need grading from your own result source. *** ## What you can rely on * **Grades land on frozen IDs.** The `marketId` / `outcomeId` you priced is the one that comes back graded β€” no name matching, no per-book translation, no remapping when a book renames a market. * **Quarter lines settle exactly.** `HALFWIN` / `HALFLOSS` are explicit grades with the split-stake math above β€” never rounded to the nearest full grade. * **Nothing disappears silently.** Ungradable rows come back `UNDECIDED` with a `reason`; voids come back `CANCELLED` with a `reason`. Every bet in your queue reaches a terminal, explained state. * **The pipeline closes on one key.** The same `oddsId` addresses the live price, its [history and closing line](/api-reference/concepts#historical-odds-and-clv), and β€” minus the bookmaker segment β€” its grade. # Sharp-Line Trading & CLV - Limits, Delay & Closing Line Value Source: https://docs.oddspapi.io/guides/sharp-line-trading Trade against sharp bookmaker lines on OddsPapi: stake limits per price, measured observation delay per book, main-line filtering, staleness handling, and CLV measurement. Sharp books are the reference the rest of the market prices against. Trading on them well needs three things a generic odds feed usually does not give you: **size at the price**, **a delay you can measure**, and **a closing line to grade yourself against**. *** ## Price is not enough β€” take the size with it Outcomes on the [`odds`](/websocket/channels/odds) channel can carry `limit`: a normalized size at that price. It is not universal β€” on a sample of 702,544 live quotes it was present on 27 of 203 venues (17.8% of quotes). Pinnacle, BookMaker.eu, Sharp.ag, Novig, ProphetX, Betfair Exchange, Polymarket and Kalshi carry it on effectively every row; bet365, DraftKings and BetOnline.ag carry it on none. Treat it as a per-book capability you check, not a field you can assume. ```json theme={null} { "bookmaker": "pinnacle", "outcomeId": 141, "price": 1.243, "limit": 61728, "mainLine": true, "bookmakerChangedAt": 1792445529003, "changedAt": 1792445529264 } ``` ### `limit` and depth answer different questions Two size signals can arrive on the same row, and conflating them is a common way to over-size: * **`limit`** means different things by venue type. On a traditional sharp book it is a cap: the most the book will accept at this price. On an exchange or prediction market it is **depth at the touch** β€” the same number as `meta.back[0].limit`, which we verified on 2,927 quotes across Polymarket, Kalshi, ProphetX and Betfair Exchange. Nothing is capping you there; that is simply how much is resting at the best price. * **The ladder** (`meta.back` / `meta.lay`) bounds the fill β€” what is resting behind the touch, and therefore what it costs you to clear a given size. On a traditional sharp book there is no ladder, and `limit` is the whole answer: one number, one order, and if you want more you wait for the book to re-offer. On an exchange the two are not independent signals β€” `limit` is the first rung of the ladder, so reading it as a cap makes a deep book look shallow and a thin one look safe. Size off the ladder, and use `limit` alone only where no ladder exists. Where you have depth, **price the fill at the volume-weighted average, not at the touch.** Walk the ladder to your target size and use the resulting average; beyond the first level the top-of-book price is a number you will not get. Sizing off the touch is what turns a modelled edge into a realised loss on exactly the trades you most wanted. Walk `limit`, not `size`. A prediction-market rung is `{ price, cents, size, limit }`: `size` counts shares at the venue and `limit` is the stake those shares represent (`limit == size Γ— cents`, exact on all 3,044 rungs sampled). Summing `size` gives a number in the wrong unit. ProphetX omits `size` entirely, so `limit` is also the only field present everywhere. Worked example in [Prediction markets](/guides/prediction-markets#building-a-cross-venue-view). Depth is also **per venue, never aggregate.** Summing ladders across books gives a total you cannot trade against, because one venue's order does not fill against another's resting liquidity. Model executable size per book, then compare at the selection level. ### Limit cuts are a signal in their own right Limit changes arrive as ordinary odds updates on the same `oddsId`, so a book tightening size shows up in the same stream as a price move β€” often **earlier**, and often more informative. A sharp book that holds its price and halves its limit has told you something the price alone has not. Log limit history alongside price history if you want to use this. The REST [historical odds](/api-reference/concepts#historical-odds-and-clv) endpoints carry the same rows, so the sequence is reconstructable after the fact as well as observable live. *** ## Know your delay per book Four timestamps travel with the data, so the delay is something you verify rather than assume: | Stamp | Field | Meaning | | - | - | - | | t0 | `bookmakerChangedAt` | The book's own change timestamp (when provided) | | t1 | `changedAt` | When OddsPapi observed the change | | t2 | `ts` (envelope) | When the gateway sent the message | | t3 | β€” | Your receipt | `changedAt βˆ’ bookmakerChangedAt` is the observation delay for that update. Per-book bounds are published on [`GET /bookmakers`](/api-reference/common/get-bookmakers) (`maxDelayLiveInSec`, `maxDelayPregameInSec`, `maxDelayPregameMainInSec`), and representative rolling p50s per book are in [Latency and freshness](/api-reference/reliability#latency-and-freshness). Two things worth wiring in early: log t0–t3 per fill so you can attribute a bad fill to the right hop, and [deploy near the gateway](/api-reference/concepts#server-location-matters) β€” the last hop is the only one you control. *** ## Stop trading when the book stops being current | Signal | Channel | Meaning | | - | - | - | | `staleOdds` | [`bookmakers`](/websocket/channels/bookmakers) | Connection to that book degraded β€” freshness no longer guaranteed | | `suspended` | `bookmakers` | The book's odds are suspended | | `marketActive: false` | `odds` | The whole market is down | | `active: false` | `odds` | That outcome is unavailable | Treat `staleOdds` as a kill switch per book, not a warning β€” a stale sharp line is worse than no line, because it still looks tradeable. Also watch `participantsRotated` on the `bookmakers` channel: a book whose home/away assignment differs from the OddsPapi baseline will otherwise read as an arbitrage that does not exist. *** ## Main lines and change filtering * `mainLine` marks the book's main line for a market, so you can follow the headline price without subscribing to every alternate line. * `GET /fixtures/odds/main` returns main lines only for snapshots. * `since` filters (epoch **milliseconds**) on the odds endpoints let you backfill only what moved. See [Timestamps](/api-reference/concepts#timestamps-seconds-vs-milliseconds). Remember that each line value is its own `marketId` β€” "Over 2.5" and "Over 3.5" are separate markets, not two outcomes of one. Group by `marketId` for overround and normalization. *** ## Asian lines Asian handicaps and quarter lines are first-class: `marketType` `spreads` with the line in `handicap` (e.g. `-0.25`), and settlement returns `HALFWIN` / `HALFLOSS` for split-stake grading alongside `WIN` / `LOSE` / `PUSH`. See [Enumerations β†’ settlementStatus](/api-reference/enumerations#settlementstatus). For books quoting in crypto or non-USD fiat, the [`currencies`](/websocket/channels/currencies) channel carries fiat and crypto rates against USD for stake and limit conversion. *** ## Grade yourself against the close Trade on the stream, measure on REST. The live channels deliver conflated state on a fixed \~6 ms window β€” the newest value always arrives, but superseded intermediate ticks do not, so the stream is not a tick ledger. For full movement and opening/closing prices: | Purpose | Fixtures | Futures | | - | - | - | | Full price timeline | `GET /fixtures/odds/historical` | `GET /futures/odds/historical` | | Opening vs closing line | `GET /fixtures/odds/clv` | `GET /futures/odds/clv` | Both share the `oddsId` key (`{fixtureId}:{bookmaker}:{outcomeId}:{playerId}`) with the live stream, so fills join to their own closing line without a mapping step. **1. Record the fill** Store `oddsId`, your executed price, and t0–t3 at the moment you traded. **2. Pull the close** After the event starts, call `/fixtures/odds/clv` for those `oddsIds`. **3. Grade** Compare fill price to closing price for CLV, and to the recorded timeline (`/fixtures/odds/historical`) for slippage attribution. **4. Settle** Use `GET /fixtures/settlement` for per-outcome results rather than your own grading logic. A desk that logs CLV per book and per latency bucket usually learns where its edge actually comes from within a week of data β€” and whether the delay it is paying for is the delay that matters. *** ## What you can rely on * **Delay is published per book, and measured.** `maxDelayLiveInSec` / `maxDelayPregameInSec` / `maxDelayPregameMainInSec` come from observed-vs-bookmaker timestamps where a book publishes usable ones, and are labelled as estimates where it does not. The four-stamp chain means you can check those numbers against your own clock instead of taking them on faith. * **Nothing is dropped.** Updates are conflated on a fixed \~6 ms window and the newest value always lands β€” the stream is latest-state, not a lossy sample. When you need every tick, the REST history endpoints have them. * **IDs stay addressable across seasons.** The market taxonomy is append-only β€” new `marketType` values appear as coverage grows and existing ones never change meaning β€” and the same coordinates always resolve to the same `marketId` / `outcomeId`. A backtest written against last season's data still addresses the same selections today. # Powering a Sportsbook - Schedule, Prices, In-Play & Settlement Source: https://docs.oddspapi.io/guides/sportsbook Build a full betting product on OddsPapi: discover sports and tournaments, load schedules, model markets and outcomes, stream prices and in-play state, and settle bets. Clients build entire betting products on OddsPapi, not just price displays. This guide walks the full pipeline β€” discovery, schedule, markets, prices, in-play, settlement β€” and names the endpoint or channel for each stage. > [!NOTE] > > OddsPapi aggregates bookmaker prices; it is not an official or licensed league-data provider. Settlement is derived from resolved cross-source facts, and **futures settlement is rolling out** β€” the endpoint exists but does not yet serve results. *** ## The pipeline **1. Discover the catalog** `GET /sports`, `/tournaments`, `/seasons`, `/participants`, `/players`, `/venues` β€” the static tree your product is built on. Cache it; it changes slowly. **2. Load the schedule** `GET /fixtures`, `/fixtures/today`, `/fixtures/live` for snapshots, then the [`fixtures`](/websocket/channels/fixtures) channel for status and schedule changes. **3. Model markets** `GET /markets?sportId=…` gives every market and its outcomes for a sport β€” the offer you can present. **4. Price it** The [`odds`](/websocket/channels/odds) channel for realtime updates, hydrated from `GET /fixtures/odds` (or `/fixtures/odds/main` for main lines only) once the stream is flowing β€” see Operating notes for the order. **5. Run it in-play** [`scores`](/websocket/channels/scores) and [`clocks`](/websocket/channels/clocks) for live state, plus [`bookmakers`](/websocket/channels/bookmakers) for suspension and staleness. **6. Settle** `GET /fixtures/settlement` for per-outcome grades, final scores, and margins. *** ## Markets: address by coordinates, not by name Every selection decomposes the same way on every bookmaker and every fixture: ``` marketType β†’ period β†’ handicap (line value) β†’ side [+ optional player] ``` That decomposition is baked into the `outcomeId`, which means the same bet always resolves to the same `marketId` / `outcomeId`. Two rules matter when you build the offer: * **Each distinct line value is its own `marketId`.** Within one `marketId` the outcomes are only the sides of that exact line. * **`marketId` equals the market's first `outcomeId`**, and `marketLength` is the number of sides β€” together a complete probability space, which is what you need for margin application and completeness checks. ```json theme={null} { "marketId": 113, "marketLength": 3, "sportId": 11, "playerProp": false, "handicap": 0.0, "period": "fulltime", "marketType": "1x2", "marketName": "Regular Time Result", "marketNameShort": "1X2", "outcomes": [ { "outcomeId": 113, "outcomeName": "1" }, { "outcomeId": 114, "outcomeName": "X" }, { "outcomeId": 115, "outcomeName": "2" } ] } ``` Use `marketName` / `marketNameShort` for display and `marketId` / `outcomeId` for logic. Full detail in [Markets and outcomes](/api-reference/concepts#markets-and-outcomes) and [Market coverage](/coverage/markets). *** ## Localization All endpoints are prefixed with a language code (`/en/…`, `/de/…`, `/fr/…`), and the WebSocket takes `lang` at login. Translated fields β€” `sportName`, `marketName`, `statusName`, participant names β€” follow the prefix; identifiers never do. Build your UI on IDs and let names follow the user's locale. For crypto or multi-currency display, the [`currencies`](/websocket/channels/currencies) channel streams fiat and crypto rates against USD. *** ## In-play * **Scores are per period**, keyed `result`, `p1`, `p2`, … β€” `result` is the authoritative current score, period rows let you settle period markets. * **`statusId`** moves forward only: `0` pregame β†’ `1` live β†’ `2` finished, or any state β†’ `3` cancelled. Branch on the ID, not the name. * **`clocks`** carries `currentPeriod`, `currentTime`, `remainingTime`, and `stopped` for live display and for holding bets during stoppages. * **Suspension** comes from the `bookmakers` channel (`suspended`, `staleOdds`) and from `marketActive` / `active` on the odds themselves. Wire all of them into one "can this be bet right now" decision. Interpret periods against the sport's structure β€” `p1` is a half in soccer, a quarter in NBA basketball, a set in tennis. `expectedPeriods` and `periodLength` on the fixture tell you which. The vocabulary is shared across all sports and is append-only; see [Enumerations β†’ period](/api-reference/enumerations#period). *** ## Settlement `GET /fixtures/settlement` takes a `fixtureId` and optional `outcomeId` / `playerId`, and returns the fixture's final state alongside per-outcome grades: | Value | Meaning | | - | - | | `WIN` / `LOSE` | Clean win or loss | | `PUSH` | Void / tie on the line β€” stake returned | | `HALFWIN` / `HALFLOSS` | Asian quarter-line split stake | | `CANCELLED` | Market voided β€” stake returned | | `UNDECIDED` | Not gradable yet; carries a `reason` | Grade on the **selection** key β€” `{fixtureId}:{outcomeId}:{playerId}`, without the bookmaker β€” since a selection resolves identically regardless of who quoted it. Handle `UNDECIDED` and `CANCELLED` as explicit states in your settlement queue rather than retry-until-success. Full treatment β€” quarter-line math, period grading, and queue handling β€” in [Settlement & grading](/guides/settlement). *** ## Operating notes * **Connect first, then snapshot, then re-snapshot on signal.** Log in and start applying updates before you fetch the REST snapshot, and merge by newest `changedAt` per key β€” that overlap is what makes hydration gapless. `snapshot_required` means your cursor left the replay window; it is a designed path, not an error. See [Resume & Replay](/websocket/resume-replay). * **Filter at login.** `sportIds`, `tournamentIds`, and `bookmakers` cut message volume far more effectively than client-side filtering. * **Use `since` for backfills** rather than full refetches, and key storage by `oddsId` for clean dedup. * **Prefer `receiveType: "zstd"`** on `odds` at scale ([Compression](/websocket/compression)). * **New enum values are appended, never repurposed** β€” ignore values you do not recognize instead of failing. For pricing history, closing lines, and post-hoc analysis of your own book, see [Historical odds and CLV](/api-reference/concepts#historical-odds-and-clv). *** ## What you can rely on * **Markets are addressed, not matched.** `marketType β†’ period β†’ handicap β†’ side` resolves to the same `marketId` / `outcomeId` for every bookmaker, so there is no per-book name-string matching layer for you to own and repair each time a book renames a market. * **Lines never merge.** Each distinct line value is its own `marketId`, so "Over 2.5" and "Over 3.5" cannot collapse into one market and quietly mis-price your book. * **The pipeline closes.** The same `oddsId` addresses the live price, its historical timeline, its closing line, and its settlement result β€” one key from pricing through to grading. # OddsPapi - B2B Sports Betting Odds API Source: https://docs.oddspapi.io/index B2B low-latency realtime sports odds API. Stream live betting odds, fixtures, scores, lineups, injuries and statistics via WebSocket. REST API for snapshots and historical data. > [!NOTE] > > **B2B API** β€” OddsPapi is a business-to-business data service for licensed operators, trading firms, and enterprise platforms. Contact [contact@55-tech.com](mailto:contact@55-tech.com) for API access. ## What is OddsPapi? OddsPapi is a **B2B sports data API** providing **low-latency realtime data** including: * Fixtures & schedules * Live scores * Betting odds & markets * Lineups, injuries, stats, and more Built for **trading systems**, **sportsbooks**, **analytics**, and **media platforms**. ### Where OddsPapi fits OddsPapi is, first and foremost, an **aggregated, low-latency realtime trading feed** β€” a WebSocket-first pipe delivering odds from 200+ bookmakers, with snapshots and resume/replay. But it's more than a feed: it covers the wider **betting pipeline**. Alongside realtime prices it provides [historical odds & CLV](/api-reference/concepts#historical-odds-and-clv) and **settlement** endpoints (fixtures today; futures settlement rolling out), so clients **build and power full betting products on top of OddsPapi** β€” entire websites and trading systems β€” not just consume a stream. The one thing it deliberately is **not**: an official or licensed league-data provider β€” it aggregates bookmaker prices rather than licensing official stats. Looking for an AI-friendly export? See **AI / Offline Export** or download `/llms-full.txt`. *** ## Get started > [card] [Quickstart](/quickstart) > > Connect in minutes and stream realtime data. > [card] [WebSockets](/websocket/overview) > > Subscribe to live odds, scores, and events. > [card] [HTTP API](/api-reference/overview) > > REST endpoints for snapshots and metadata. > [card] [Changelog](/changelog/index) > > Track updates and breaking changes. *** ## Build with OddsPapi End-to-end guides for the four things clients most often build: > [card] [Prediction markets & exchanges](/guides/prediction-markets) > > Orderbook depth, stake limits, and native venue IDs for order routing. > [card] [Sharp-line trading & CLV](/guides/sharp-line-trading) > > Limits, measured delay per book, staleness handling, and closing line value. > [card] [Running a second feed](/guides/second-feed) > > Join to an existing feed via provider IDs and the mapping endpoints. > [card] [Powering a sportsbook](/guides/sportsbook) > > Schedule, markets, prices, in-play, and settlement in one pipeline. *** ## Trusted in production Clients don't just stream the feed β€” they **power entire betting products** on OddsPapi, from realtime pricing through to settlement. Typical clients include: > [card] Trading & market making > > Market makers, hedge funds, and trading syndicates running automated strategies. > [card] Exchanges & prediction markets > > Betting exchanges and prediction-market platforms sourcing realtime prices. > [card] Sportsbooks & analytics > > Bookmakers, quant teams, analytics companies, and research institutions. **The majority of the top-10 prediction markets run on OddsPapi data.** Market makers, hedge-fund desks β€” and the prediction markets themselves β€” build on OddsPapi for realtime pricing, fixture scheduling, market creation, and settlement, proven in live automated betting and market-making. *** ## Frequently asked questions > [accordion] Is OddsPapi built for automated / algorithmic trading? > > Yes. OddsPapi is WebSocket-first and optimized for low-latency realtime trading. It provides per-channel cursors with [resume & replay](/websocket/resume-replay), REST snapshots for recovery, and [historical odds & CLV](/api-reference/concepts#historical-odds-and-clv) for measuring execution. It is used in production for live automated trading. > [accordion] Who uses OddsPapi? > > Bookmakers, market makers, hedge funds and trading syndicates, betting exchanges, prediction markets, trading platforms, quant teams, and analytics / research institutions. Clients use it to power entire betting products, not just to stream a feed. > [accordion] Does OddsPapi support prediction markets and betting exchanges? > > Yes. OddsPapi aggregates odds from 200+ bookmakers including prediction markets and exchanges, with orderbook depth (`back` / `lay` ladders and liquidity) exposed in the [odds channel](/websocket/channels/odds) `meta` field. > [accordion] Does OddsPapi provide bookmaker limits? > > Yes. The [odds channel](/websocket/channels/odds#limits) carries `limit` β€” the maximum accepted stake β€” normalized across books and available for close to every sharp book. For trading and market making, size-at-price matters as much as the price itself. > [accordion] Can I run OddsPapi alongside another odds feed? > > Yes β€” desks commonly run two sources for cross-validation. The [fixtures channel](/websocket/channels/fixtures) carries provider ID mappings (`betradarId`, `pinnacleId`, `flashscoreId`, `opticoddsId`), so joining OddsPapi to an existing feed is a lookup, not a mapping project. Coverage is complementary by design: sharp trading books, Asian lines, exchanges, and prediction markets alongside US and European retail books. > [accordion] Does OddsPapi support bet settlement? > > Yes, for fixtures. Settlement endpoints return per-outcome results (won / lost), final scores, and margins for fixtures, so you can grade bets and settle markets β€” closing the pipeline from realtime price through [CLV](/api-reference/concepts#historical-odds-and-clv) to settlement. **Futures settlement is rolling out** β€” the endpoint exists but is not yet serving results. > [accordion] What makes OddsPapi different from other odds APIs? > > OddsPapi pairs a fast aggregated realtime bookmaker-odds feed for trading with the pipeline pieces β€” historical odds, CLV, and settlement β€” needed to build full betting products on top. It is not an official or licensed league-data provider; it aggregates bookmaker prices. See [Where OddsPapi fits](#where-oddspapi-fits). > [accordion] Does OddsPapi provide historical odds and closing line value (CLV)? > > Yes. REST endpoints return full price timelines and opening/closing line value (OLV/CLV) for both fixtures and futures β€” built for CLV modelling, fill auditing, and backtesting. See [Historical Odds & CLV](/api-reference/concepts#historical-odds-and-clv). > [accordion] How reliable is OddsPapi for production trading? > > Recovery is bounded and deterministic: short disconnects resume with no data loss, and worst case is a single fast REST snapshot. Bookmaker connectivity is surfaced via the `staleOdds` flag. See [Reliability & Operations](/api-reference/reliability). # Quickstart Guide - Connect to Odds API in Minutes Source: https://docs.oddspapi.io/quickstart Get started with OddsPapi in minutes. Connect to the WebSocket gateway, authenticate with your API key, subscribe to channels, and stream realtime sports odds data. ## 1) Connect Gateway: * **ws**: `wss://v5.oddspapi.io/ws` > [tab] JavaScript (Node) > > ```js theme={null} > import WebSocket from "ws"; > > const ws = new WebSocket("wss://v5.oddspapi.io/ws"); > > ws.on("open", () => { > ws.send(JSON.stringify({ type: "login", apiKey: process.env.ODDS_API_KEY })); > }); > > ws.on("message", (data) => { > const msg = JSON.parse(data.toString()); > console.log(msg.type ?? msg.channel, msg); > }); > ``` > [tab] Python > > ```py theme={null} > import json > import os > import websocket > > def on_open(ws): > ws.send(json.dumps({ > "type": "login", > "apiKey": os.environ["ODDS_API_KEY"], > })) > > def on_message(ws, message): > msg = json.loads(message) > print(msg.get("type") or msg.get("channel"), msg) > > ws = websocket.WebSocketApp( > "wss://v5.oddspapi.io/ws", > on_open=on_open, > on_message=on_message, > ) > ws.run_forever() > ``` ## 2) Minimal login ```json theme={null} { "type": "login", "apiKey": "YOUR_API_KEY" } ``` ## 3) Understand the data model Everything hangs off one tree β€” Sport β†’ Tournament β†’ Season β†’ **Fixture** (single match) or **Future** (outright / prediction market), with participants, per-period scores, and players underneath: > [card] [How Fixtures Work](/api-reference/concepts#how-fixtures-work-sports) > > A fixture is one match between two participants β€” schedule, status, per-period scores, and the odds keyed on it. > [card] [How Futures Work](/api-reference/concepts#how-futures-work-prediction-markets) > > A future is an outright market on a whole season or event β€” league winners, elections, prediction markets (sportId 69+). ## 4) Pick your build End-to-end guides for the four things clients most often build: [prediction markets & exchanges](/guides/prediction-markets), [sharp-line trading & CLV](/guides/sharp-line-trading), [running OddsPapi as a second feed](/guides/second-feed), and [powering a sportsbook](/guides/sportsbook). Checking whether the feed carries what you need? See [bookmaker coverage](/coverage/bookmakers) and [market coverage](/coverage/markets). # WebSocket Authentication & Channel Filters Source: https://docs.oddspapi.io/websocket/auth Authenticate to OddsPapi WebSocket gateway and configure channel subscriptions. Filter by sports, tournaments, fixtures, and bookmakers for targeted data streaming. ## Login Message Connect and send a `login` message immediately: ```json theme={null} { "type": "login", "apiKey": "YOUR_API_KEY" } ``` **Rules:** * Must be the first message * Send within 10 seconds * Defines all subscriptions and filters *** ## Login with Channels and Filters ```json theme={null} { "type": "login", "apiKey": "YOUR_API_KEY", "receiveType": "binary", "channels": ["fixtures", "scores", "odds"], "sportIds": [10, 11, 12, 13], "tournamentIds": [35430, 39351], "fixtureIds": ["id1103543066138356", "id1103935163991375"], "bookmakers": ["stake"] } ``` *** ## Filter Mode | Field | Type | Description | | - | - | - | | `channels` | `string[]` | Streams you want to receive. | | `sportIds` | `number[]` | Restrict to these sports. | | `tournamentIds` | `number[]` | Restrict to these tournaments. | | `fixtureIds` | `string[]` | Exact fixtures (fixture-scoped channels only). | | `futureIds` | `string[]` | Specific futures (future-scoped channels). | | `bookmakers` | `string[]` | Only receive these bookmakers (bookmaker-gated). | | `lang` | `string` | Translations (`en`, `de`, `fr`, etc.). | | `receiveType` | `string` | `"json"` (default) \| `"binary"` (MessagePack) \| `"zstd"` (dictless compressed JSON) \| `"zstd-dict"` (compressed JSON with trained dictionaries). See [Compression](/websocket/compression). | | `clientName` | `string` | Optional debug/metrics tag. | | `serverEpoch` | `string` | For resume. | | `lastSeenId` | `object` | `{ "": "" }` for resume. | > IDs like `fixtureId` and `futureId` are structured but should be treated as opaque in your logic. See [Concepts](/api-reference/concepts). *** ## Access: Live vs Pregame After login, the server tells you what you're allowed to receive: ```json theme={null} { "access": { "live": true, "pregame": false } } ``` These are determined by your `apiKey`, not client filters. *** ## Bookmaker-Gated Channels These channels require explicit bookmaker access: * `odds`, `bookmakers` * `oddsFutures`, `bookmakersFutures` You can restrict which bookmakers you receive: ```json theme={null} { "type": "login", "apiKey": "YOUR_API_KEY", "channels": ["odds", "bookmakers"], "receiveType": "binary", "bookmakers": ["stake", "pinnacle"] } ``` *** ## 🐍 Python Example ```python theme={null} import asyncio, json, websockets, msgpack WS_URL = "wss://v5.oddspapi.io/ws" API_KEY = "your-api-key" LOGIN = { "type": "login", "apiKey": API_KEY, "channels": ["fixtures", "scores", "odds"], "receiveType": "binary", "sportIds": [10, 11], "bookmakers": ["stake"], } async def main(): async with websockets.connect(WS_URL) as ws: await ws.send(json.dumps(LOGIN)) async for raw in ws: if isinstance(raw, str): print("CONTROL:", json.loads(raw)) else: msg = msgpack.unpackb(raw, raw=False) print("DATA:", msg.get("channel"), msg.get("entryId")) asyncio.run(main()) ``` # Bookmakers Channel - Sportsbook Status & Metadata Source: https://docs.oddspapi.io/websocket/channels/bookmakers Stream bookmaker status per fixture via WebSocket. Track which sportsbooks offer odds, detect stale/suspended markets, and monitor participant rotation flags. ## What it streams Metadata about which bookmakers are offering odds for a given fixture, and whether those odds are active, stale, suspended, or rotated. This stream complements the `odds` channel by giving you per-bookmaker status for each `fixtureId`. *** ## Routing * Entity key: `payload.fixtureId` * Filters: `sportIds`, `tournamentIds`, `fixtureIds`, `bookmakers` * Access: determined by your `apiKey` * Bookmaker-gated: βœ… Yes *** ## Payload structure | Field | Type | Description | | - | - | - | | `fixtureId` | `string` | The fixture this update applies to | | `bookmakers` | `object` | Map of `` β†’ metadata object | | `bookmakers..bookmaker` | `string` | Bookmaker slug (e.g. `"stake"`, `"pinnacle"`) | | `bookmakers..bookmakerFixtureId` | `string \| null` | Optional bookmaker-side ID (may be a slug or compound string) | | `bookmakers..fixturePath` | `string \| null` | Optional bookmaker path or UI route (if supported) | | `bookmakers..hasOdds` | `boolean` | True if the bookmaker currently offers any odds | | `bookmakers..staleOdds` | `boolean` | **Critical for trading.** True if the connection to this bookmaker was lost and odds freshness can no longer be guaranteed | | `bookmakers..staleOddsResponseCode` | `number \| null` | **Deprecated.** HTTP status code returned during staleness check β€” rely on `staleOdds` instead | | `bookmakers..suspended` | `boolean` | True if this bookmaker's odds are suspended | | `bookmakers..participantsRotated` | `boolean` | True if this bookmaker's home/away assignment differs from the OddsPapi baseline (see below) | | `bookmakers..meta` | `object \| null` | Optional metadata (bookmaker-specific) | | `bookmakers..updatedAt` | `string` | Last update timestamp (ISO 8601) | *** ## Example message ```json theme={null} { "channel": "bookmakers", "type": "UPDATE", "payload": { "fixtureId": "id1000070367118324", "bookmakers": { "draftkings": { "bookmaker": "draftkings", "bookmakerFixtureId": "33999242", "fixturePath": "https://sportsbook.draftkings.com/event/33999242", "hasOdds": true, "staleOdds": false, "staleOddsResponseCode": null, "suspended": false, "participantsRotated": false, "meta": null, "updatedAt": "2026-04-21T00:51:48.283641+00:00" } } }, "ts": 1776729708000, "entryId": "1776729708000-1" } ``` *** ## Critical fields for automated trading ### `staleOdds` β€” odds freshness guarantee > [!WARNING] > > If you are running automated trading or arbitrage strategies on top of OddsPapi, `staleOdds` is one of the most important fields you must check. When `staleOdds = true`, the connection between OddsPapi and this bookmaker has been **lost or interrupted**. This means: * Odds you received earlier **may no longer reflect the bookmaker's current prices** * No further updates can be guaranteed until the connection is restored * You should **immediately pause** any automated betting or arbitrage logic for this bookmaker * Treat all existing odds from this bookmaker as **unvalidated** until `staleOdds` returns to `false` The flag is always keyed **per fixture Γ— bookmaker** and set deliberately β€” lost contact (block, maintenance, downtime), unusual inactivity across the book, or a fixture mismapping. The same `bookmakers` map is also carried on the REST responses (`/fixtures`, `/fixtures/odds`, and related endpoints), so snapshot and stream always agree on staleness. Causes, fan-out behavior, and treatment in full: [Bookmaker staleness](/api-reference/reliability#bookmaker-staleness-staleodds). Recovery is automatic: when contact with the bookmaker is restored the flag returns to `false`, and because every odds update is full latest state, the next updates re-validate your store on their own β€” there is nothing to replay or reconcile manually. `staleOdds` is also distinct from `suspended`: `suspended` is the **bookmaker's own action** on the fixture, while `staleOdds` means **our view of the bookmaker** is interrupted. Either can be true without the other, and both independently mean "do not trade this book right now". > [!NOTE] > > `staleOddsResponseCode` is **deprecated**: it exposed the HTTP status code (if any) seen during the staleness check β€” do not build new logic on it. ### `participantsRotated` β€” home/away mapping When `participantsRotated = true`, the bookmaker treats a **different team as the home team** than OddsPapi does. In other words, `participant1` (home) and `participant2` (away) are **swapped** at this bookmaker compared to the OddsPapi baseline fixture. This is critical for: * **Moneyline / 1x2 markets** β€” the "home" and "away" outcome meanings are reversed * **Spread / handicap markets** β€” the sign of the spread is flipped * **Any automated strategy** that maps outcomes by participant position rather than participant ID If you build on top of OddsPapi, always check this flag and **swap your participant mapping** for this bookmaker when it is `true`. *** ## Notes * If a bookmaker is not present in `bookmakers`, assume **no current odds available** for that fixture. * Use this channel as a **pre-filter** before processing any odds from the `odds` channel. * Combine `staleOdds`, `suspended`, and `hasOdds` to determine whether a bookmaker's odds should be trusted at any given moment. # Bookmakers Futures Channel - Outright Market Status Source: https://docs.oddspapi.io/websocket/channels/bookmakersFutures Stream bookmaker availability for futures markets via WebSocket. Monitor which sportsbooks offer outright and season-long betting odds. ## What it streams Metadata per bookmaker describing whether a bookmaker offers odds for a given future, and whether those odds are active, stale, or suspended. This is the **future equivalent** of the `bookmakers` channel for fixtures. *** ## Routing * Entity key: `payload.futureId` * Filters: `sportIds`, `tournamentIds`, `futureIds`, `bookmakers` * Access: determined by your `apiKey` * Bookmaker-gated: βœ… Yes *** ## Payload structure | Field | Type | Description | | - | - | - | | `futureId` | `string` | The future this update applies to | | `bookmakers` | `object` | Map of `` β†’ metadata object | | `bookmakers..bookmaker` | `string` | Bookmaker slug (e.g. `"stake"`, `"pinnacle"`) | | `bookmakers..bookmakerFutureId` | `string \| null` | Optional bookmaker-side identifier for this future | | `bookmakers..futurePath` | `string \| null` | Optional deeplink or path to the future at the bookmaker | | `bookmakers..hasOdds` | `boolean` | True if the bookmaker currently offers odds | | `bookmakers..staleOdds` | `boolean` | **Critical for trading.** True if the connection to this bookmaker was lost and odds freshness can no longer be guaranteed | | `bookmakers..suspended` | `boolean` | True if the bookmaker has suspended this future | | `bookmakers..meta` | `object \| null` | Optional bookmaker-specific metadata | | `bookmakers..updatedAt` | `string` | Last update timestamp (ISO 8601) | *** ## Example message ```json theme={null} { "channel": "bookmakersFutures", "type": "UPDATE", "payload": { "futureId": "id11028543137888", "bookmakers": { "stake": { "bookmaker": "stake", "bookmakerFutureId": "285431-nbl-new-zealand", "futurePath": null, "hasOdds": true, "staleOdds": false, "suspended": false, "meta": null, "updatedAt": "2025-12-28T18:37:13.719926+00:00" } } }, "ts": 1766947033889, "entryId": "1766947033889-501" } ``` *** ## Critical fields for automated trading ### `staleOdds` β€” odds freshness guarantee > [!WARNING] > > If you are running automated trading strategies on top of OddsPapi, `staleOdds` is one of the most important fields you must check. When `staleOdds = true`, the connection between OddsPapi and this bookmaker has been **lost or interrupted**. This means: * Odds you received earlier **may no longer reflect the bookmaker's current prices** * No further updates can be guaranteed until the connection is restored * You should **immediately pause** any automated betting logic for this bookmaker * Treat all existing odds from this bookmaker as **unvalidated** until `staleOdds` returns to `false` *** ## Notes * Odds data itself is streamed via **`oddsFutures`** * If a bookmaker is missing from `bookmakers`, assume **no current odds** * Use this channel as a **pre-filter** before processing any odds from the `oddsFutures` channel * Combine `staleOdds`, `suspended`, and `hasOdds` to determine whether a bookmaker's odds should be trusted * Semantics are intentionally identical to `bookmakers` (fixture-level), just scoped to `futureId` # Clocks Channel - Live Match Clock Updates Source: https://docs.oddspapi.io/websocket/channels/clocks Stream realtime match clock updates via WebSocket. Period, remaining time, and stopped state for live fixtures. ## What it streams Realtime clock updates scoped to a specific `fixtureId`. Each message contains the current clock state for a live match β€” period, elapsed/remaining time, and whether the clock is stopped. *** ## Routing * Entity key: `payload.fixtureId` * Filters: `sportIds`, `tournamentIds`, `fixtureIds` * Access: live/pregame determined by your `apiKey` *** ## Payload fields | Field | Type | Description | | - | - | - | | `fixtureId` | `string` | The fixture this clock applies to | | `clock` | `object` | Clock state | | `clock.currentPeriod` | `string \| null` | Current period (e.g. `"p1"`, `"p2"`) | | `clock.currentTime` | `string \| null` | Current match time | | `clock.remainingTime` | `string \| null` | Remaining time in the match | | `clock.remainingTimeInPeriod` | `string \| null` | Remaining time in the current period | | `clock.stopped` | `boolean \| null` | Whether the clock is currently stopped | *** ## Example message (JSON) ```json theme={null} { "channel": "clocks", "type": "UPDATE", "payload": { "fixtureId": "id1500023462078980", "clock": { "currentPeriod": "p2", "currentTime": null, "remainingTime": "26:42", "remainingTimeInPeriod": "2:42", "stopped": false } }, "ts": 1775170900000, "entryId": "1775170900000-42" } ``` *** ## Notes * Clock updates are delivered independently from `scores` and `fixtures` * The `clock` object is also included in the `fixtures` channel payload (as part of the fixture snapshot) * When no clock data is available, all fields will be `null` * Use this channel for high-frequency clock state without receiving the full fixture payload # Currencies Channel - Exchange Rates & Crypto Prices Source: https://docs.oddspapi.io/websocket/channels/currencies Stream realtime currency exchange rates via WebSocket. Fiat and cryptocurrency pricing data including BTC, ETH, and major tokens for odds conversion. ## What it streams Currency/ticker exchange values (vs a reference currency) for fiat and crypto. This is a **global channel** β€” it is not scoped to any fixture or future. *** ## Routing * Channel: `currencies` (global) * Filters: ❌ ignored * Access: allowed for all keys (unless specifically disabled) *** ## Payload structure Each message contains a flat list of currency values: | Field | Type | Description | | - | - | - | | `currency` | `string` | Symbol of the currency/token (e.g. `BTC`, `USD`, `ADA`) | | `currencyValue` | `number` | Current exchange rate (float) | | `updatedAt` | `string (ISO)` | Time this value was last refreshed | *** ## Example message ```json theme={null} { "channel": "currencies", "type": "UPDATE", "payload": { "BTC": { "currency": "BTC", "currencyValue": 0.00001141, "updatedAt": "2025-12-28T18:38:02+00:00" } }, "ts": 1766939809876, "entryId": "1766939809876-700" } ``` *** ## Notes * All values are relative to the system's reference currency: USD # Fixtures Channel - Match Metadata & Schedules Source: https://docs.oddspapi.io/websocket/channels/fixtures Stream realtime fixture updates via WebSocket. Match status, start times, participants, tournaments, scores, and provider ID mappings for Betradar, Pinnacle, Flashscore, OpticOdds. ## What it streams Metadata for a given `fixtureId` β€” including match status, start times, participants, and tournament/sport info. Also includes optional `scores` and mapped provider IDs. This is the **anchor stream** used to map odds/scores to a real-world fixture. *** ## Routing * Entity key: `payload.fixtureId` * Filters: `sportIds`, `tournamentIds`, `fixtureIds` * Access: live/pregame determined by your `apiKey` *** ## Payload fields | Field | Type | Description | | - | - | - | | `fixtureId` | `string` | Unique ID of the fixture | | `reissuedFixtureId` | `string \| null` | The fixture that replaced a cancelled one, once that replacement exists. `null` is the normal value β€” permanent cancellations keep it, and it can flip from `null` to an id later. One hop | | `previousFixtureId` | `string \| null` | The inverse: the cancelled fixture this one replaced. Sits on a normal scheduled or live fixture, so a fixture carries its own history even if you never saw the cancelled one. `null` is the normal value. One hop, cleared again if a postponement is reverted | | `status` | `object` | Match status info | | `status.live` | `boolean` | True if currently live | | `status.statusId` | `number \| null` | Optional status code | | `status.statusName` | `string \| null` | Status name (e.g. "Live", "Postponed") | | `sport` | `object` | Sport metadata | | `sport.sportId` | `number` | Unique sport ID | | `sport.sportName` | `string` | Sport name | | `tournament` | `object` | Tournament metadata | | `tournament.tournamentId` | `number` | Unique tournament ID | | `tournament.tournamentName` | `string` | Tournament name | | `tournament.categoryName` | `string` | Geographic/organizational category | | `season` | `object` | Season metadata | | `season.seasonId` | `number \| null` | Season ID (nullable) | | `season.seasonName` | `string \| null` | Season name | | `season.seasonRound` | `number \| null` | Round/matchday number within the season | | `venue` | `object` | Venue metadata | | `venue.venueId` | `number \| null` | Venue ID | | `venue.venueName` | `string \| null` | Venue name (translated) | | `venue.venueLocation` | `string \| null` | Venue location (translated) | | `startTime` | `number` | Scheduled start (epoch seconds UTC) | | `trueStartTime` | `string \| null` | Actual start time (ISO 8601) | | `trueEndTime` | `string \| null` | Actual end time (ISO 8601) | | `participants` | `object` | Competitor metadata | | `participants.participant1Id` | `number` | Team/player 1 ID | | `participants.participant1Name` | `string` | Team/player 1 name | | `participants.participant1ShortName` | `string \| null` | Short name (e.g. "Hawks") | | `participants.participant1Abbr` | `string \| null` | Optional abbreviation | | `participants.participant1RotNr` | `number \| null` | Optional rotation number | | `participants.participant2Id` | `number` | Team/player 2 ID | | `participants.participant2Name` | `string` | Team/player 2 name | | `participants.participant2ShortName` | `string \| null` | Short name (e.g. "Heat") | | `participants.participant2Abbr` | `string \| null` | Optional abbreviation | | `participants.participant2RotNr` | `number \| null` | Optional rotation number | | `scores` | `object` | Optional score object (same format as `scores` stream) | | `clock` | `object \| null` | Live match clock data | | `clock.currentPeriod` | `string \| null` | Current period (e.g. "p2") | | `clock.currentTime` | `string \| null` | Current match time | | `clock.remainingTime` | `string \| null` | Remaining time in match | | `clock.remainingTimeInPeriod` | `string \| null` | Remaining time in current period | | `clock.stopped` | `boolean \| null` | Whether the clock is stopped | | `expectedPeriods` | `number \| null` | Number of scheduled periods (e.g. halves/sets/quarters) | | `periodLength` | `number \| null` | Period duration in minutes | | `externalProviders` | `object` | Mapped provider IDs | | `externalProviders.betradarId` | `number \| null` | Betradar fixture ID | | `externalProviders.flashscoreId` | `string \| null` | Flashscore ID | | `externalProviders.pinnacleId` | `number \| null` | Pinnacle fixture ID | | `externalProviders.sofascoreId` | `number \| null` | Sofascore ID | | `externalProviders.oddinId` | `number \| null` | Oddin ID | | `externalProviders.mollybetId` | `string \| null` | Mollybet ID | | `externalProviders.opticoddsId` | `string \| null` | Opticodds ID | | `externalProviders.lsportsId` | `number \| null` | LSports ID | | `externalProviders.txoddsId` | `number \| null` | TXOdds ID | The `externalProviders` block is how you join OddsPapi to a feed you already run β€” see [running OddsPapi as a second feed](/guides/second-feed) for the mapping endpoints and cross-validation workflow. *** ## Example message (JSON) ```json theme={null} { "channel": "fixtures", "type": "UPDATE", "payload": { "fixtureId": "id1100013270505056", "reissuedFixtureId": null, "previousFixtureId": null, "status": { "live": true, "statusId": 1, "statusName": "Live" }, "sport": { "sportId": 11, "sportName": "Basketball" }, "tournament": { "tournamentId": 132, "tournamentName": "NBA", "categoryName": "USA" }, "season": { "seasonId": 131631, "seasonName": "NBA 25/26", "seasonRound": null }, "venue": { "venueId": 6054, "venueName": "Madison Square Garden", "venueLocation": "New York, NY, USA" }, "startTime": 1776729600, "trueStartTime": "2026-04-21T00:09:08+00:00", "trueEndTime": null, "participants": { "participant1Id": 3421, "participant1RotNr": 303, "participant1Name": "New York Knicks", "participant1ShortName": "New York", "participant1Abbr": "NYK", "participant2Id": 3423, "participant2RotNr": 302, "participant2Name": "Atlanta Hawks", "participant2ShortName": "Atlanta", "participant2Abbr": "ATL" }, "scores": { "p1": { "period": "p1", "participant1Score": 32, "participant2Score": 23, "updatedAt": "2026-04-21T00:59:42.287458+00:00" }, "p2": { "period": "p2", "participant1Score": 29, "participant2Score": 31, "updatedAt": "2026-04-21T01:25:05.532295+00:00" }, "result": { "period": "result", "participant1Score": 61, "participant2Score": 54, "updatedAt": "2026-04-21T01:24:37.154297+00:00" } }, "clock": { "currentPeriod": null, "currentTime": null, "remainingTime": null, "remainingTimeInPeriod": null, "stopped": null }, "expectedPeriods": 4, "periodLength": 12, "externalProviders": { "betgeniusId": 13808265, "betradarId": 70505056, "flashscoreId": "nTPkYS3K", "mollybetId": "2026-04-21,29093,29096", "oddinId": null, "opticoddsId": "20260421A1AB4678", "pinnacleId": 1628730839, "sofascoreId": 15935017, "lsportsId": null, "txoddsId": null }, "bookmakers": {} }, "ts": 1776729608000, "entryId": "1776729608000-4273" } ``` ## Example: fixture update that includes a `scores.result` Some fixture updates include a `scores` object (for example, a pre-game or result snapshot). ```json theme={null} { "channel": "fixtures", "type": "UPDATE", "payload": { "fixtureId": "id1000070367118324", "reissuedFixtureId": null, "previousFixtureId": null, "status": { "live": true, "statusId": 1, "statusName": "Live" }, "sport": { "sportId": 10, "sportName": "Soccer" }, "tournament": { "tournamentId": 703, "tournamentName": "Primera Nacional", "categoryName": "Argentina" }, "season": { "seasonId": 138218, "seasonName": "Primera Nacional 2026", "seasonRound": 10 }, "venue": { "venueId": 12720, "venueName": "Estadio Don Leon Kolbovsky", "venueLocation": "Buenos Aires, Argentina" }, "startTime": 1776729600, "trueStartTime": "2026-04-21T00:06:06.546877+00:00", "trueEndTime": null, "participants": { "participant1Id": 53799, "participant1RotNr": 210458, "participant1Name": "CA Atlanta", "participant1ShortName": "Atlanta", "participant1Abbr": "ATL", "participant2Id": 3214, "participant2RotNr": 210457, "participant2Name": "Chacarita Juniors", "participant2ShortName": "Chacarita Juniors", "participant2Abbr": "CAC" }, "scores": { "p1": { "period": "p1", "participant1Score": 0, "participant2Score": 0, "updatedAt": "2026-04-21T00:55:10.401457+00:00" }, "result": { "period": "result", "participant1Score": 1, "participant2Score": 0, "updatedAt": "2026-04-21T01:13:15.757548+00:00" } }, "clock": { "currentPeriod": null, "currentTime": null, "remainingTime": null, "remainingTimeInPeriod": null, "stopped": null }, "expectedPeriods": 2, "periodLength": 45, "externalProviders": { "betgeniusId": 13767372, "betradarId": 67118324, "flashscoreId": null, "mollybetId": "2026-04-21,10097858,10097878", "oddinId": null, "opticoddsId": "202604183517C8A7", "pinnacleId": 1628328116, "sofascoreId": 15275552, "lsportsId": null, "txoddsId": null }, "bookmakers": {} }, "ts": 1776729666000, "entryId": "1776729666000-4278" } ``` # Futures Channel - Season & Outright Markets Source: https://docs.oddspapi.io/websocket/channels/futures Stream futures and outright betting markets via WebSocket. Season-long markets, tournament winners, championship odds with timing windows and provider mappings. ## What it streams Metadata about long-term or season-based betting markets (called β€œfutures”), scoped to a `futureId`. Includes tournament/season mapping, market metadata, timing window, and external provider IDs. *** ## Routing * Entity key: `payload.futureId` * Filters: `sportIds`, `tournamentIds`, `futureIds` * Access: live vs pregame determined by your `apiKey` *** ## Payload fields | Field | Type | Description | | - | - | - | | `futureId` | `string` | Unique identifier for the future | | `reissuedFutureId` | `string \| null` | The future that replaced a cancelled one, once that replacement exists. `null` is the normal value β€” permanent cancellations keep it, and it can flip from `null` to an id later. One hop | | `previousFutureId` | `string \| null` | The inverse: the cancelled future this one replaced. Sits on a normal open future, so a future carries its own history even if you never saw the cancelled one. `null` is the normal value. One hop, cleared again if a cancellation is reverted | | `status` | `object` | Live/pregame status | | `status.live` | `boolean` | Whether the future is currently live | | `status.statusId` | `number \| null` | Optional status code | | `status.statusName` | `string \| null` | Optional status label (e.g. `"Pre-Game"`, `"Live"`) | | `sport` | `object` | Sport metadata | | `sport.sportId` | `number` | Unique sport ID | | `sport.sportName` | `string` | Human-readable sport name | | `tournament` | `object` | Tournament metadata | | `tournament.tournamentId` | `number` | Unique tournament ID | | `tournament.tournamentName` | `string` | Tournament name | | `tournament.categoryName` | `string` | Geographic/organizational grouping | | `season` | `object` | Season metadata | | `season.seasonId` | `number \| null` | Season ID (nullable) | | `season.seasonName` | `string \| null` | Season name | | `startTime` | `number` | Start of the betting window (epoch seconds UTC) | | `endTime` | `number` | End of the betting window (epoch seconds UTC) | | `market` | `object \| null` | Market metadata (nullable) | | `market.marketId` | `number \| null` | Optional market ID | | `market.marketName` | `string \| null` | Optional market name (e.g. `"Outright Winner"`) | | `market.marketType` | `string \| null` | Optional market type code | | `participants` | `array` | List of participants for this future (may be empty) | | `externalProviders` | `object` | Mapped external provider IDs | | `externalProviders.betradarId` | `number \| null` | Betradar ID | | `externalProviders.flashscoreId` | `string \| null` | Flashscore ID | | `externalProviders.opticoddsId` | `string \| null` | OpticOdds ID | | `externalProviders.polymarketId` | `string \| null` | Polymarket ID | | `externalProviders.kalshiId` | `string \| null` | Kalshi ID | | `externalProviders.sofascoreId` | `number \| null` | Sofascore ID | | `bookmakers` | `object` | Odds availability status (see `bookmakersFutures`) | *** ## Example: future metadata ```json theme={null} { "channel": "futures", "type": "UPDATE", "payload": { "futureId": "pm6980037088158379224", "reissuedFutureId": null, "previousFutureId": null, "status": { "live": true, "statusId": 1, "statusName": "Live" }, "sport": { "sportId": 69, "sportName": "Politics" }, "tournament": { "tournamentId": 800370, "tournamentName": "2025 Predictions", "categoryName": "Politics" }, "season": { "seasonId": 8815837922, "seasonName": "Macron out by...?" }, "startTime": 1735932904, "endTime": 1782820800, "market": { "marketId": 4, "marketName": null, "marketType": null }, "participants": [], "externalProviders": { "betradarId": null, "flashscoreId": null, "opticoddsId": null, "polymarketId": "16263", "kalshiId": null, "sofascoreId": null }, "bookmakers": {} }, "ts": 1776939800000, "entryId": "1776939800000-999" } ``` ## Example: sports future ```json theme={null} { "channel": "futures", "type": "UPDATE", "payload": { "futureId": "id100000281190131", "reissuedFutureId": null, "previousFutureId": null, "status": { "live": true, "statusId": 1, "statusName": "Live" }, "sport": { "sportId": 10, "sportName": "Soccer" }, "tournament": { "tournamentId": 28, "tournamentName": "AFC Asian Cup QF", "categoryName": "International" }, "season": { "seasonId": 119013, "seasonName": "AFC Asian Cup QF 2026" }, "startTime": 1725494400, "endTime": 1780617599, "market": { "marketId": 1, "marketName": null, "marketType": null }, "participants": [], "externalProviders": { "betradarId": 119013, "flashscoreId": null, "opticoddsId": null, "polymarketId": null, "kalshiId": null, "sofascoreId": null }, "bookmakers": {} }, "ts": 1776939800100, "entryId": "1776939800100-1000" } ``` *** ## Notes * Odds are streamed separately via the `oddsFutures` channel * Use `futureId` to join with: * `oddsFutures` (for prices) * `bookmakersFutures` (for status per bookmaker) * Most `market` fields may be `null` for legacy or non-structured markets # Odds Channel - Realtime Betting Odds Stream Source: https://docs.oddspapi.io/websocket/channels/odds Low-latency realtime betting odds via WebSocket. Stream live odds aggregated from 200+ bookmakers. Decimal, fractional, American formats with orderbook depth. ## What it streams Realtime odds updates for outcomes within markets, scoped to a specific `fixtureId`. Odds are grouped by bookmaker and keyed by a unique **oddsId** per outcome. Each entry represents a single **oddsId** (one price for one outcome). *** ## Routing * Entity key: `payload.fixtureId` * Filters: `sportIds`, `tournamentIds`, `fixtureIds`, `bookmakers` * Access: determined by your `apiKey` * Bookmaker-gated: βœ… Yes *** ## Delivery semantics The odds channel delivers **conflated state** on a fixed **\~6 ms batching window**: if multiple updates for the same `oddsId` occur within one window, only the newest is sent. * **No state is lost** β€” the final value of every price move is always delivered * **Bounded staleness** β€” a delivered price is never more than one batching window behind our observation of the bookmaker * The window is a fixed performance parameter, not a load-shedding mechanism What is *not* delivered: intermediate ticks superseded within the same window. Treat every message as a **state update**, not a ledger. > Need every price move or the closing line? For full tick-level movement use [Historical Odds](/api-reference/concepts#historical-odds-and-clv) and for opening/closing prices use [CLV](/api-reference/concepts#historical-odds-and-clv). *** ## Payload structure oddsId: ``` ::: ``` *** ## outcome object (full schema) Each odds entry is an **outcome**, with the following fields: | Field | Type | Description | | | - | - | - | - | | `bookmaker` | `string` | Bookmaker slug (e.g. `"stake"`, `"pinnacle"`, `"polymarket"`) | | | `outcomeId` | `integer` | Outcome identifier | | | `playerId` | `integer` | Player ID (`0` for non-player markets) | | | `price` | `number` | Decimal odds | | | `active` | `boolean` | Whether this outcome is currently available | | | `marketActive` | `boolean \| null` | Whether the entire market is active | | | `mainLine` | `boolean \| null` | Whether this is the bookmaker’s main line | | | `marketId` | `integer` | Market identifier | | | `bookmakerMarketId` | `string \| null` | Native bookmaker market ID | | | `bookmakerOutcomeId` | `string \| null` | Native bookmaker outcome ID | | | `bookmakerChangedAt` | `number \| null` | Bookmaker-provided change timestamp (epoch ms) | | | `priceFractional` | \`string | \` | Fractional odds (e.g. `"5/2"`) | | `priceAmerican` | \`integer | \` | American odds (e.g. `-110`, `+250`) | | `limit` | `number \| null` | Maximum accepted stake at this price β€” carried for close to every sharp book | | | `betslip` | `string \| null` | Optional bookmaker betslip or deeplink token | | | `meta` | `object \| null` | Bookmaker-specific metadata (orderbooks, ladders, etc.) | | | `changedAt` | `number` | When OddsPapi observed this change at the bookmaker (epoch ms, UTC) β€” always present | | *** ## Notes on timestamps Each update carries the full delivery chain: | Stamp | Field | Meaning | | - | - | - | | t0 | `bookmakerChangedAt` | The bookmaker's own change timestamp (when provided) | | t1 | `changedAt` | When OddsPapi observed the change β€” always present | | t2 | `ts` (message envelope) | When the gateway sent the message | | t3 | β€” | Client receipt β€” measure it on your side | `changedAt βˆ’ bookmakerChangedAt` is the observation delay for that update. Per-bookmaker freshness bounds are published on [`GET /bookmakers`](/api-reference/common/get-bookmakers) β€” see [Latency and freshness](/api-reference/reliability#latency-and-freshness). *** ## Limits `limit` is the maximum accepted stake at the current price β€” for a trading system, size-at-price matters as much as the price itself. OddsPapi normalizes limits across books and carries them for close to every sharp book (see `"limit": 19354` on Pinnacle below). Limit changes are delivered as regular odds updates. `limit` and the `meta` ladders bound different things: `limit` bounds a single order, the ladder bounds the fill. On a traditional book `limit` is the only size signal there is; on an exchange you have both and they constrain you independently. See [sharp-line trading & CLV](/guides/sharp-line-trading) for using limits together with per-book delay, main-line filtering, and closing line value. *** ## Advanced metadata (`meta`) Exchanges and prediction markets carry their orderbook on the quote itself, under `meta`. ```json theme={null} { "meta": { "lay": [ { "price": 12.5, "limit": 21.62, "cents": 0.08, "size": 270.2 }, { "price": 11.111, "limit": 243.39, "cents": 0.09, "size": 2704.37 }, { "price": 10.0, "limit": 208.8, "cents": 0.1, "size": 2088.0 } ], "back": [ { "price": 1.053, "limit": 246.19, "cents": 0.95, "size": 259.15 }, { "price": 1.042, "limit": 886.44, "cents": 0.96, "size": 923.37 }, { "price": 1.031, "limit": 3049.68, "cents": 0.97, "size": 3144.0 } ], "bookmakerLayOutcomeId": "13082425263396665739224071723652658671047649451832896297859072241957942307529" } } ``` ### Ladder entries `back` and `lay` are arrays of rungs, best price first, up to three deep. Each rung: | Field | Meaning | | - | - | | `price` | Decimal odds for that rung. The first `back` rung is top of book and equals the quote's own `price`. | | `cents` | The venue's native share price, `0`–`1`. The reciprocal of `price`, so `cents β‰ˆ 1 / price`. | | `size` | Shares resting at that rung. Not published by every venue β€” `prophetx` omits it. | | `limit` | Stake-equivalent currency at that rung. Always `size Γ— cents`, so it is the number to size an order against. | Either side can be `[]`. A one-sided book is normal on a thin market, not an error, and best `back` touching best `lay` is a crossed book β€” read `changedAt` before trading it. ### Additional keys On `polymarket`, `polymarket.us`, `kalshi` and `prophetx`, `meta` also carries `bookmakerLayOutcomeId` β€” the venue's own id for the *opposite* side of the market. You need it to route a lay order, because `bookmakerOutcomeId` on the quote addresses the back side only. Those four share the same `back` / `lay` semantics, so one parser covers all of them. Treat `meta` as additive and preserve keys you do not recognise. > [!NOTE] > > `betfair-ex` uses a venue-specific shape instead: `availableToBack` and `availableToLay` > (rungs of `{ price, size }` only β€” no `cents` or `limit`), plus `tradedVolume`, `betDelay` > and, on handicap markets, `bookmakerHandicap`. See [building on prediction markets & exchanges](/guides/prediction-markets) for reading the ladders, deriving top-of-book, and routing orders back to the venue with `bookmakerMarketId` / `bookmakerOutcomeId`. *** ## Example: traditional bookmaker odds ```json theme={null} { "channel": "odds", "type": "UPDATE", "payload": { "fixtureId": "id1100013270505136", "odds": { "pinnacle": { "id1100013270505136:pinnacle:111:0": { "bookmaker": "pinnacle", "outcomeId": 111, "playerId": 0, "active": true, "price": 1.155, "marketActive": true, "mainLine": true, "bookmakerMarketId": "line/4/487/1628488896/3565645414/0/moneyline", "bookmakerOutcomeId": "home", "bookmakerChangedAt": 1776717657043, "limit": 19354, "priceAmerican": -645, "priceFractional": "11/71", "marketId": 111, "changedAt": 1776717657402 }, "id1100013270505136:pinnacle:112:0": { "bookmaker": "pinnacle", "outcomeId": 112, "playerId": 0, "active": true, "price": 5.77, "marketActive": true, "mainLine": true, "bookmakerMarketId": "line/4/487/1628488896/3565645414/0/moneyline", "bookmakerOutcomeId": "away", "bookmakerChangedAt": 1776717657043, "limit": 3000, "priceAmerican": 477, "priceFractional": "477/100", "marketId": 111, "changedAt": 1776717657402 } } } }, "ts": 1776717657500, "entryId": "1776717657500-84805" } ``` *** ## Example: prediction market odds (extended fields) ```json theme={null} { "channel": "odds", "type": "UPDATE", "payload": { "fixtureId": "id1400003171515926", "odds": { "polymarket": { "id1400003171515926:polymarket:148:0": { "outcomeId": 148, "playerId": 0, "price": 1.053, "active": true, "meta": { "lay": [ { "price": 12.5, "limit": 21.62, "cents": 0.08, "size": 270.2 }, { "price": 11.111, "limit": 243.39, "cents": 0.09, "size": 2704.37 }, { "price": 10.0, "limit": 208.8, "cents": 0.1, "size": 2088.0 } ], "back": [ { "price": 1.053, "limit": 246.19, "cents": 0.95, "size": 259.15 }, { "price": 1.042, "limit": 886.44, "cents": 0.96, "size": 923.37 }, { "price": 1.031, "limit": 3049.68, "cents": 0.97, "size": 3144.0 } ], "bookmakerLayOutcomeId": "13082425263396665739224071723652658671047649451832896297859072241957942307529" }, "bookmaker": "polymarket", "changedAt": 1792509182922, "limit": 246.19, "marketId": 148, "marketActive": true, "mainLine": false, "bookmakerMarketId": "5377515", "bookmakerOutcomeId": "69214126592072910433928267408837065345885666858422547701782486967866009036368", "bookmakerChangedAt": 1792509182578, "priceFractional": "5/94", "priceAmerican": -1887 } } } }, "ts": 1792509182957, "entryId": "1792509182957-253028250" } ``` *** ## Implementation guidance * Always key storage by ``` {fixtureId}:{bookmaker}:{outcomeId}:{playerId} ``` * Group outcomes by `marketId` (see **Concepts**) for: * arbitrage detection * overround calculations * probability normalization * Treat `active=false` or `marketActive=false` as **hard stops** * Preserve unknown fields in `meta` to remain forward-compatible End-to-end patterns built on this channel: [prediction markets & exchanges](/guides/prediction-markets), [sharp-line trading & CLV](/guides/sharp-line-trading), [running a second feed](/guides/second-feed), and [powering a sportsbook](/guides/sportsbook). *** # Scores Channel - Live Score Updates Source: https://docs.oddspapi.io/websocket/channels/scores Stream realtime live scores via WebSocket. Period-by-period score updates for all sports including result, halftime, quarters, sets, and periods. ## What it streams Realtime score updates scoped to a specific `fixtureId`. Each `payload.scores` object is keyed by the period (`result`, `p1`, etc.). *** ## Routing * Entity key: `payload.fixtureId` * Filters: `sportIds`, `tournamentIds`, `fixtureIds` * Access: live/pregame access is determined by your `apiKey` *** ## Payload structure | Field | Type | Description | | - | - | - | | `fixtureId` | `string` | The fixture this score applies to | | `scores` | `object` | Scores per period | | `scores[period]` | `object` | Each period's score and metadata | | `updatedAt` | `string (ISO)` | Last known update time for this period | *** ## Example: result update ```json theme={null} { "channel": "scores", "type": "UPDATE", "payload": { "fixtureId": "id1500025662664057", "scores": { "result": { "period": "result", "participant1Score": 2, "participant2Score": 1, "updatedAt": "2025-12-28T16:24:11.426852+00:00" } } }, "ts": 1766939805321, "entryId": "1766939805321-3077" } ``` ## Example: multiple period updates ```json theme={null} { "channel": "scores", "type": "UPDATE", "payload": { "fixtureId": "id2503637767171366", "scores": { "p1": { "period": "p1", "participant1Score": 7, "participant2Score": 6, "updatedAt": "2025-12-28T16:34:02.865934+00:00" }, "result": { "period": "result", "participant1Score": 0, "participant2Score": 0, "updatedAt": "2025-12-28T16:32:18.616082+00:00" } } }, "ts": 1766939642953, "entryId": "1766939642953-1905" } ``` *** ## Notes * Periods may include `result`, `p1`, `1stHalf`, etc. * Use `updatedAt` to detect stale scores * This stream **does not** include match status (see `fixtures`) # WebSocket Compression (zstd) Source: https://docs.oddspapi.io/websocket/compression Cut WebSocket bandwidth with zstd. Two opt-in modes: receiveType: zstd (dictless, decode in one line) or receiveType: zstd-dict (trained per-channel dictionaries, best ratio). > [!NOTE] > > **Beta β€” rolling out per region.** zstd is being enabled gradually. If a gateway has it > disabled, a `receiveType: "zstd"` or `"zstd-dict"` connection is **gracefully downgraded to JSON** β€” > the server tells you the negotiated mode in `login_ok.receiveType`. **Always trust that echo** to > choose your decoder; never assume the mode you requested. ## Two modes Both compress every data frame with zstd; control frames stay JSON text. Pick based on how much client work you want to do: | `receiveType` | Ratio on `odds` | Client work | `dict` frames | | - | - | - | - | | `"zstd"` | \~5–6Γ— | **One line:** `zstd.decompress(frame)` β†’ JSON | none | | `"zstd-dict"` | \~7–9Γ— | Cache the dictionaries the server pushes, decode each frame by its embedded `dictId` | sent at connect | **Start with `"zstd"`.** It needs no dictionary handling at all β€” decompress and parse, done. Move to `"zstd-dict"` when you want the extra \~30–40% and can keep a small in-memory dictionary store. > There is intentionally **no** compressed-MessagePack mode β€” compressing JSON beats compressing > MessagePack at every level. *** ## Mode 1 β€” `zstd` (dictless) The soft-adoption path. Every data frame is a standalone, dictless zstd frame (`dictId = 0`); the server sends **no** `dict` control frames. Your client only decompresses and parses. ### Login ```json theme={null} { "type": "login", "apiKey": "YOUR_API_KEY", "channels": ["odds", "fixtures"], "receiveType": "zstd" } ``` ### Decode ``` on text frame β†’ JSON.parse β†’ control (login_ok, error, …) on binary frame β†’ JSON.parse(zstd.decompress(frame)) // no dictionary needed route by msg.channel ``` That's the whole protocol for this mode. *** ## Mode 2 β€” `zstd-dict` (trained dictionaries) The maximum-ratio path. `odds`, `fixtures`, and `bookmakers` have trained \~32 KB dictionaries that push the ratio to \~7–9Γ—. The server delivers them as control frames at connect; each data frame embeds the `dictId` it was compressed with, so decoding is **self-describing and never branches on channel**. ### Login ```json theme={null} { "type": "login", "apiKey": "YOUR_API_KEY", "channels": ["odds", "fixtures"], "receiveType": "zstd-dict" } ``` ### Dictionary delivery (server β†’ client) Right after `login_ok` (and before any data frame), for each subscribed channel that has a trained dictionary the server pushes one control frame: ```json theme={null} { "type": "dict", "channel": "odds", "dictVersion": "odds-v1", "dictId": 740826216, "encoding": "base64", "data": "" } ``` 1. Base64-decode `data` to the raw dictionary bytes. 2. Build a reusable zstd decoder from it, stored **keyed by `dictId`**. > [!NOTE] > > Decoding is driven by the **`dictId` embedded in each data frame**, not by channel. The > `channel`/`dictVersion` fields on the `dict` frame are informational. The dictionaries are small (\~32 KB) and re-sent on **every** connection β€” there is no client-side version cache to maintain and no `dicts` field to send at login. Channels without a trained dictionary (e.g. `scores`, `clocks`) send no `dict` frame; their data frames carry `dictId = 0` and decode dictless. ### Decode ``` on text frame β†’ JSON.parse β†’ control (login_ok, dict, error, …) on binary frame β†’ id = zstd.getDictID(frame) // 0 β‡’ no dict dict = store[id] // undefined β‡’ dictless msg = JSON.parse(zstd.decompress(frame, dict)) route by msg.channel ``` *** ## Frame rules (both modes) * Every data frame is a WebSocket **Binary** frame containing one standalone zstd frame (magic `28 B5 2F FD`, with an embedded `dictId`). * Control frames (`login_ok`, `dict`, `error`, `snapshot_required`, `resume_complete`) stay **JSON text frames**, even on a zstd connection. The rule is fixed: > **Text frame β†’ control (JSON). Binary frame β†’ data (zstd).** `login_ok.receiveType` is the **negotiated** mode (`"zstd"`, `"zstd-dict"`, or β€” if the gateway has zstd disabled β€” `"json"`). If it comes back `"json"`, decode plain JSON text frames; do **not** try to decompress. *** ## 🐍 Python examples Requires `pip install zstandard`. > [tab] zstd (dictless) > > ```python theme={null} > import asyncio, json, websockets > import zstandard as zstd > > WS_URL, API_KEY = "wss://v5.oddspapi.io/ws", "YOUR_API_KEY" > dctx = zstd.ZstdDecompressor() > MAX_OUT = 64 * 1024 * 1024 # frames carry no content size β€” pass an upper bound > > async def main(): > async with websockets.connect(WS_URL, max_size=4194304) as ws: > await ws.send(json.dumps({ > "type": "login", "apiKey": API_KEY, > "channels": ["odds", "fixtures"], "receiveType": "zstd", > })) > async for raw in ws: > if isinstance(raw, str): # control (JSON) > msg = json.loads(raw) > if msg.get("type") == "login_ok" and msg.get("receiveType") != "zstd": > print("zstd disabled here, negotiated:", msg.get("receiveType")) > continue > data = json.loads(dctx.decompress(raw, max_output_size=MAX_OUT)) > print("DATA:", data.get("channel"), data.get("entryId")) > > asyncio.run(main()) > ``` > [tab] zstd-dict (dictionaries) > > ```python theme={null} > import asyncio, json, base64, websockets > import zstandard as zstd > > WS_URL, API_KEY = "wss://v5.oddspapi.io/ws", "YOUR_API_KEY" > decoders: dict[int, zstd.ZstdDecompressor] = {} # dictId -> decoder > dictless = zstd.ZstdDecompressor() > MAX_OUT = 64 * 1024 * 1024 > > def decode_frame(frame: bytes) -> dict: > dict_id = zstd.get_frame_parameters(frame).dict_id # 0 if no dictionary > dctx = decoders.get(dict_id, dictless) > return json.loads(dctx.decompress(frame, max_output_size=MAX_OUT)) > > async def main(): > async with websockets.connect(WS_URL, max_size=4194304) as ws: > await ws.send(json.dumps({ > "type": "login", "apiKey": API_KEY, > "channels": ["odds", "fixtures"], "receiveType": "zstd-dict", > })) > async for raw in ws: > if isinstance(raw, str): # control (JSON) > msg = json.loads(raw) > t = msg.get("type") > if t == "login_ok" and msg.get("receiveType") != "zstd-dict": > print("downgraded, negotiated:", msg.get("receiveType")) > elif t == "dict": > d = zstd.ZstdCompressionDict(base64.b64decode(msg["data"])) > decoders[msg["dictId"]] = zstd.ZstdDecompressor(dict_data=d) > continue > data = decode_frame(raw) # data (zstd) > print("DATA:", data.get("channel"), data.get("entryId")) > > asyncio.run(main()) > ``` *** ## See also * [Auth & Filters](/websocket/auth) β€” full `login` field reference * [Resume & Replay](/websocket/resume-replay) β€” reconnecting and recovering missed data * [Troubleshooting](/websocket/troubleshooting) β€” zstd decoding issues # Interactive WebSocket Console - Test Live Data Source: https://docs.oddspapi.io/websocket/console Test OddsPapi WebSocket API in your browser. Interactive console for connecting to the gateway, subscribing to channels, and viewing realtime sports data. [https://v5-console.oddspapi.io](https://v5-console.oddspapi.io) # WebSocket API Overview - Realtime Sports Data Streaming Source: https://docs.oddspapi.io/websocket/overview Connect to OddsPapi WebSocket gateway for low-latency realtime sports betting data. Stream live odds, scores, fixtures, and events with JSON or MessagePack encoding. ## Endpoint Production gateway: ``` wss://v5.oddspapi.io/ws ``` *** ## Recommended Integration Flow (Production) Connect the WebSocket **before** fetching the snapshot β€” the overlap is what closes the gap between the two: 1. Connect to the WebSocket and send `login` with filters 2. After `login_ok`, start applying updates to your store, keyed per row (e.g. `oddsId`) 3. Fetch a snapshot via REST (e.g. `/fixtures`, `/fixtures/odds`) and merge it: per key, keep whichever side has the newer `changedAt` 4. Persist `serverEpoch` and per-channel `lastSeenId` (from `entryId`) 5. On reconnect, send `serverEpoch` + `lastSeenId` to resume 6. If you receive `snapshot_required`, re-fetch the snapshot via REST β€” same merge rule Ordered this way there is no window to bridge: anything that changes while the snapshot request is in flight is already arriving on the socket, and anything older is in the snapshot. There is no REST-side cursor to hand to the WebSocket β€” none is needed, because updates are full latest-state per row and both sides carry `changedAt`. Cursors (`serverEpoch` + `entryId`) come from the stream itself and are only for resuming it. *** ## Login Mode WebSocket supports **login-only subscriptions**. To change filters or channels, reconnect with a new `login`. *** ## Message Envelope All updates share a common envelope: ```json theme={null} { "channel": "scores", "type": "UPDATE", "payload": { "...": "..." }, "ts": 1765497902846, "entryId": "1765497902846-3221" } ``` * `channel` – stream name (e.g. `odds`, `fixtures`) * `type` – message type (currently always `UPDATE`) * `payload` – channel-specific data * `ts` – UTC timestamp (milliseconds) * `entryId` – cursor for replay/resume > `entryId` is not guaranteed to be contiguous. See [Resume & Replay](/websocket/resume-replay) for full explanation. *** ## Encoding: JSON, Binary, or zstd Control at login using `receiveType`. * `"json"` (default) β€” all messages arrive as UTF-8 JSON * `"binary"` β€” data frames use MessagePack; control frames remain JSON * `"zstd"` β€” dictless zstd-compressed JSON (\~5–6Γ— smaller on `odds`); decode in one line, no dictionary handling. Control frames remain JSON. * `"zstd-dict"` β€” zstd with trained per-channel dictionaries (\~7–9Γ— on `odds`); the server pushes the dictionaries at connect. Self-describing per-frame, no per-channel logic. See [Compression](/websocket/compression). **Tip for clients:** ```js theme={null} import msgpack from "@msgpack/msgpack"; const obj = typeof raw === "string" ? JSON.parse(raw) : msgpack.decode(new Uint8Array(raw)); ``` > Control messages like `login_ok`, `snapshot_required`, and `resume_complete` are always JSON, even in binary mode. *** ## Channel Types * **Fixture-scoped**: `fixtures`, `scores`, `odds`, `bookmakers`. β€” payloads include `fixtureId` * **Future-scoped**: `futures`, `bookmakersFutures`, `oddsFutures` β€” include `futureId` * **Global**: `currencies` β€” no ID > See `/websocket/channels/*` for per-channel schemas. *** ## Throughput Guidance * Prefer `receiveType: "zstd"` (or `"zstd-dict"` for the best ratio) on high-volume channels like `odds` β€” far smaller frames than `binary` * Use filters (`sportIds`, `bookmakers`) to reduce noise * `odds` should be treated as **latest state**, not a tick ledger > Need full price movement or closing line value? Use the REST [Historical Odds & CLV](/api-reference/concepts#historical-odds-and-clv) endpoints. *** ## WebSocket Limits | Limit Type | Description | | - | - | | Concurrent connections | Enforced per `apiKey` group (max: 8). See error `4003`. | | Backpressure | If your client can’t keep up, connection is closed (`4002`). | | Replay window | See `resumeWindowMs` in [Resume & Replay](/websocket/resume-replay) | | Message rate | Not explicitly limited, but filters are recommended for performance | *** ## πŸ’¬ Ask an AI Assistant Want to explore or ask questions about this page using your favorite AI? Click one of the links below β€” each one opens this page in the selected tool with a pre-filled prompt: * [Ask ChatGPT](https://chatgpt.com/?prompt=Read+from+https%3A%2F%2Fdocs.oddspapi.io%2Fllms-full.txt+and+help+me+with+this+API.) * [Ask Claude](https://claude.ai/?prompt=Please+read+https%3A%2F%2Fdocs.oddspapi.io%2Fllms-full.txt+and+help+me+use+this+API.) * [Ask Perplexity](https://www.perplexity.ai/search?q=Read+from+https%3A%2F%2Fdocs.oddspapi.io%2Fllms-full.txt) * [Ask Gemini](https://gemini.google.com/app?query=Read+from+https%3A%2F%2Fdocs.oddspapi.io%2Fllms-full.txt+and+help+me+use+this+API.) # WebSocket Resume & Replay - Connection Recovery Source: https://docs.oddspapi.io/websocket/resume-replay Handle WebSocket disconnections gracefully. Resume data streams without gaps using serverEpoch and entryId cursors. Automatic replay for missed updates. ## Why this is safe for trading The replay window (`resumeWindowMs`, e.g. `60000`) is **not** a fragile time limit you risk losing data past β€” it's the buffer for **zero-loss fast resume**. Recovery is a two-tier, designed failover: 1. **Within the window** β€” reconnect and replay missed updates from your cursor with **no gaps**. This covers the overwhelming majority of real-world disconnects (network blips, redeploys), which resolve in seconds. 2. **Outside the window** β€” the gateway emits `snapshot_required` and you restore full, current state with a **single fast REST snapshot**. This is an explicit, deterministic path, not an error. The window is intentionally short because for realtime trading the right recovery for a long gap is a **fresh snapshot of the current market**, not a slow replay of stale prices. Worst case is one REST call β€” bounded and predictable, never an open-ended outage. See [Reliability & Operations](/api-reference/reliability). *** ## What β€œresume” means After a successful login, the server returns a `resume` block in `login_ok`: ```json theme={null} { "resume": { "serverEpoch": "0804ab61513c4681a3afd8afc1fb2f75", "resumeWindowMs": 60000, "replayChannels": ["fixtures", "scores"], "serverEntryIds": { "fixtures": "1766414833582-2542", "scores": "1766418736962-198" } } } ``` This tells you: * `serverEpoch` β€” identifies the current gateway session (changes on restart) * `resumeWindowMs` β€” how long replayable data is buffered * `replayChannels` β€” channels eligible for replay * `serverEntryIds` β€” server’s latest cursor per channel *** ## Server-initiated reconnect on release When we deploy a new gateway version or rebalance a node, the server does **not** drop you silently. It first pushes a control frame to every connected client: ```json theme={null} { "type": "reconnect", "reason": "server_upgrade" } ``` This is a **JSON text frame** (control), sent on all `receiveType` modes. After sending it the server keeps streaming for a short grace window (a few seconds), then closes the socket. **What your client should do:** 1. **React to the message, not the socket error.** As soon as you see `type: "reconnect"`, reconnect to the same endpoint. Don't wait for the eventual close (`1006`/`4002`) β€” acting on the hint minimizes your gap during a release. 2. The replacement replica has a **new `serverEpoch`**. So resuming with your stored `serverEpoch` will return `snapshot_required` with reason `server_restarted` (see below). This is expected on a release β€” re-fetch a REST snapshot for the affected channels and continue. > Treat any `reconnect` frame as "reconnect now", regardless of `reason`. New reasons may be added > over time; the action is always the same. *** ## What clients must persist To resume safely, persist: 1. `serverEpoch` 2. The most recent `entryId` you processed **per channel** ```json theme={null} { "scores": "1766418736962-198", "fixtures": "1766414833582-2542" } ``` *** ## entryId format Each streamed message includes an `entryId`: ``` - ``` * `ts_ms` β€” server timestamp (UTC, milliseconds) * `seq` β€” monotonic per-channel sequence Important: * `entryId` is a **cursor**, not a delivery guarantee * Gaps are normal (upstream behavior, coalescing, backpressure) *** ## Resume login example On reconnect, send the same `serverEpoch` and your stored cursors: ```json theme={null} { "type": "login", "apiKey": "YOUR_API_KEY", "channels": ["fixtures", "scores", "odds"], "serverEpoch": "0804ab61513c4681a3afd8afc1fb2f75", "lastSeenId": { "scores": "1766418736962-198" } } ``` If replay succeeds, the server sends: ```json theme={null} { "type": "resume_complete", "serverEpoch": "0804ab61513c4681a3afd8afc1fb2f75" } ``` *** ## snapshot\_required (when replay is not possible) Sometimes replay cannot be done safely. In that case the server sends: ```json theme={null} { "type": "snapshot_required", "reason": "resume_window_exceeded", "channels": ["scores"], "serverEpoch": "0804ab61513c4681a3afd8afc1fb2f75", "resumeWindowMs": 60000, "serverEntryIds": { "scores": "1766418738000-220" } } ``` ### Possible reasons * `server_restarted` β€” gateway restarted, cursors invalid * `resume_window_exceeded` β€” your cursor is older than the replay buffer * `client_backpressure` β€” your client couldn’t consume replay fast enough ### Important nuance Replay eligibility depends on **cursor age**, not disconnect duration: ``` (now_ms - last_seen_entry_ts_ms) > resumeWindowMs β‡’ snapshot_required is likely ``` A very short disconnect can still exceed the window if your last processed message is already old. *** ## How clients should handle snapshot\_required When you receive `snapshot_required`: 1. Fetch a fresh snapshot via REST for the listed channels (e.g. `/fixtures`, `/fixtures/odds`, `/futures`) 2. Clear `lastSeenId` for those channels 3. Continue processing live updates > The gateway continues streaming after `snapshot_required`. > This message is your signal that **local state must be rebuilt**. *** ## Python reconnect example (FULL TEMPLATE) This example: * Persists `serverEpoch` and per-channel `lastSeenId` * Sends cursors **only for replayable channels** * Handles `snapshot_required` * Automatically reconnects on failure ```python theme={null} import asyncio import json import time import websockets WS_URL = "wss://v5.oddspapi.io/ws" API_KEY = "YOUR_API_KEY" server_epoch = None replay_channels = None last_seen = {} async def run_once(): global server_epoch, replay_channels, last_seen async with websockets.connect( WS_URL, ping_interval=20, ping_timeout=20, max_size=4194304 ) as ws: login = { "type": "login", "apiKey": API_KEY, "channels": ["fixtures", "scores", "odds"], "receiveType": "json", } # Resume mode if server_epoch: login["serverEpoch"] = server_epoch # Only send cursors for replayable channels if replay_channels: cursors = { ch: eid for ch, eid in last_seen.items() if ch in replay_channels } else: cursors = dict(last_seen) if cursors: login["lastSeenId"] = cursors await ws.send(json.dumps(login)) async for raw in ws: if isinstance(raw, (bytes, bytearray)): raw = raw.decode("utf-8", errors="replace") msg = json.loads(raw) msg_type = msg.get("type") if msg_type == "login_ok": resume = msg.get("resume") or {} server_epoch = resume.get("serverEpoch") or server_epoch rc = resume.get("replayChannels") if isinstance(rc, list): replay_channels = set(map(str, rc)) continue if msg_type == "reconnect": # Release/maintenance: reconnect now (new replica = new serverEpoch, # so the next resume will return snapshot_required: server_restarted). print("Server asked us to reconnect:", msg.get("reason")) return if msg_type == "snapshot_required": channels = msg.get("channels") or [] for ch in channels: last_seen.pop(ch, None) # Trigger REST snapshot refresh here print("Snapshot required for:", channels) continue if msg_type == "resume_complete": print("Resume complete") continue # Data message channel = msg.get("channel") entry_id = msg.get("entryId") if isinstance(channel, str) and isinstance(entry_id, str): last_seen[channel] = entry_id async def main(): while True: try: await run_once() except Exception as e: print("Disconnected:", e) await asyncio.sleep(1) asyncio.run(main()) ``` # WebSocket Troubleshooting - Common Issues & Solutions Source: https://docs.oddspapi.io/websocket/troubleshooting Debug OddsPapi WebSocket connection issues. Solutions for login errors, empty responses, binary decoding, backpressure disconnects, close codes, and resume failures. ## 1) Login Errors ### β€œfirst message must be login” Send a valid `login` as your first frame. ### `login_failed` * Missing/invalid `apiKey` * No channels allowed or requested * Bookmakers not allowed ### `too_many_connections` (4003) * Max connections reached for your key group (max: 8) * Shard or reduce concurrent connects * Contact support to raise the limit *** ## 2) Connected but Receiving Nothing * Not subscribed to expected channels? Check `login_ok.channels` * Filters too narrow? e.g. empty `sportIds` or invalid `bookmakers` * Bookmaker-gated filters: * If the upstream message has no matching bookmaker keys, it's filtered out *** ## 3) Binary Decoding Problems With `receiveType: "binary"`: * Data frames: MessagePack * Control frames: JSON You must decode both. *** ## 3b) zstd Decoding Problems With `receiveType: "zstd"` or `"zstd-dict"` (see [Compression](/websocket/compression)): * **Decompression fails / garbage output** β€” on `"zstd-dict"` you decompressed without the right dictionary. Read the `dictId` from each binary frame and use the matching dictionary; `dictId = 0` means dictless. On `"zstd"` every frame is dictless β€” decompress with no dictionary. * **Frames look like plain JSON, not zstd** β€” the gateway downgraded you. Check `login_ok.receiveType`: if it's `"json"`, zstd is disabled on this gateway (it's rolling out) and you must decode text JSON. * **Missing dictionary** (`"zstd-dict"` only) β€” `dict` control frames arrive right after `login_ok`, before data. Store them keyed by `dictId` before processing binary frames. They are re-sent on every connection, so there is no cache to prime. *** ## 4) `snapshot_required` During Resume Means server could not safely replay. Possible reasons: * `server_restarted` * `resume_window_exceeded` * `client_backpressure` > Even short disconnects can exceed buffer if your `lastSeenId` is too old. Recovery: * Re-fetch snapshot via REST * Reset your `lastSeenId` * Continue streaming *** ## 5) Disconnects Under Load (Backpressure) Symptoms: * Close code `4002` * Skipped `odds` updates Fixes: * Use `receiveType: "zstd"` (or `"zstd-dict"`) β€” smaller frames on the wire mean less backpressure * Push parsing to async queue * Filter by `sportIds`, `bookmakers` *** ## 6) Gaps in `entryId` `entryId` is a cursor β€” not a delivery ledger. Gaps expected due to: * Upstream skips * Gateway coalescing * Reconnect without replay *** ## 7) Server Asked You to Reconnect You received a control frame: ```json theme={null} { "type": "reconnect", "reason": "server_upgrade" } ``` This is normal during a release or node rebalance β€” **not** an error. * Reconnect immediately on this message; don't wait for the socket to close. * Expect `snapshot_required` with reason `server_restarted` on the next resume (new replica = new `serverEpoch`). Re-fetch a REST snapshot and continue. * See [Resume & Replay](/websocket/resume-replay#server-initiated-reconnect-on-release). *** ## 8) Close Codes Explained Codes in the `4000` range are sent deliberately by the gateway and always carry a reason string. Everything else comes from the transport or your own client library. | Code | Sent by | Meaning | | - | - | - | | `4000` | gateway | Login problem: no `login` frame within 10 s, or first frame wasn't a valid login | | `4001` | gateway | `api_key_revoked` β€” your key was disabled; reconnecting won't help, contact support | | `4002` | gateway | Backpressure β€” your client isn't keeping up (see Β§5) | | `4003` | gateway | Connection limit for your key group reached (see Β§1) | | `1006` | your library | Connection dropped without a close handshake (network path died) | | `1009` | your library | A frame exceeded your library's message-size limit | | `1011` | network edge | Connection to the gateway was torn down mid-flight | ### `1011` / `1006` β€” transient infrastructure closes The gateway never sends these. They surface when the connection is interrupted between you and the gateway β€” most commonly during a **release or node restart**, right after the `reconnect` control frame from Β§7 (expect them more often on staging, which deploys frequently). * Treat both as transient: reconnect with a short backoff and resubscribe. * Handle the Β§7 `reconnect` frame proactively and you'll usually be gone before the close arrives. * Persistent 1011/1006 loops (every reconnect fails) are a different problem β€” check your network path, then contact support. ### `1009` β€” frame too big for *your* client The gateway does not limit outbound frame size; uncompressed `odds` frames can exceed 1 MiB. Raise your library's limit (e.g. `max_size` in python-websockets) or switch to `receiveType: "zstd"` / `"zstd-dict"` β€” compressed frames are a fraction of the size. ***