market_id used throughout the API. Markets are split into prematch and live/in-play categories.
Prematch Markets
Half & Period Markets
Halves and quarters have their own market IDs and, like full game, a separate in-play ID. Lines posted before kickoff use the prematch ID; once the game is under way, in-play updates (including lines posted at halftime) arrive under the in-play ID:
There is no separate “halftime line” market — the lines books post at the half are the in-play second-half and third-quarter markets: second-half lines arrive on 1028/1029/1030 and third-quarter lines on 1040/1041/1042.
Requesting a second-half prematch ID (
1008, 1009, 1010) on the REST events endpoints or a WebSocket subscription automatically includes its in-play ID (1030, 1029, 1028). First-half (4,5,6) and third-quarter (1014,1015,1016) IDs are not expanded — request 1024,1025,1026 and 1040,1041,1042 explicitly. A WebSocket subscription can include these IDs before any book has posted them: prices stream as soon as they are published, without resubscribing.
Live / In-Play Markets
Live markets are the in-play equivalents of prematch markets. They use separate IDs but map back to their prematch counterparts.Sport × Market Availability
Not every market is available for every sport. Core markets (moneyline, spread, total) are broadly available, but player props and sport-specific markets vary. Use the sport/date market listing to check market definitions for a given day. Addhide_closed_markets=1 to require at least one open price; without it, the listing can include markets whose matching prices are all closed.
The player prop market IDs listed above (29, 33, 35, 38, 39, etc.) are basketball-centric examples. Each sport has its own set of prop markets — for example, MLB has Player Strikeouts, Player Hits, and Player Home Runs. Use the market catalog reference to discover IDs and filter definitions by
class, scope or sport_id.Sport-Specific Notes
- MLB: Includes pitcher-specific markets. Starting pitcher information affects line availability — lines may show
0.0001(off the board) until pitchers are confirmed. See Sentinel Values. - Soccer (IDs 10-19, 33, and 34): The soccer 3-way moneyline (home/draw/away) is served on Moneyline (1) as three participants; the draw is a participant of the market, not a separate market. Soccer endpoints default
market_idsto1,2,3,563. - NHL (ID 6): The 60-minute regulation-time line — a genuinely different bet from the full-game moneyline, since regulation excludes overtime and shootouts — is served as 3-Way Result (563), with live variant
1105. NHL endpoints defaultmarket_idsto1,2,3,563. Alternate puck lines appear as alternate lines under Spread (2) rather than a separate market. - Tennis (IDs 38-39): Match markets use full-game periods (
0prematch,7live). Set-specific markets use tennis-only market IDs such asmoneyline_first_set(1150),spread_first_set(1151), andtotals_first_set(1152) with set periods such as3,4,15, and16. - UFC/MMA: Does not have spread markets. Moneyline and total rounds are the primary markets. Method-of-victory and round betting are available as prop markets.
- CFL: Supports core markets (moneyline, spread, total) but does not currently support player props.
For the API endpoints that return market data, see the Markets API reference. For how markets fit into the overall data hierarchy, see the Data Model.
Participant-Shaped vs. Line-Valued Markets
Market definitions includeline_value_is_participant to tell you where the meaningful selection detail lives.
When line_value_is_participant: true, the market is participant-shaped: the participant carries the selection, and the line value may be a placeholder or label. Moneylines and Yes/No-style result markets commonly work this way.
When line_value_is_participant: false, the line value is meaningful and should be displayed when present. This includes spreads, totals, player stat thresholds, and special markets where the detail is a method, round, or other outcome qualifier.
For example, UFC method-of-victory markets use the fighter as the participant and expose the method, such as decision or KO/TKO, as the line value.