What is a market?
A market on SX Bet represents a single, binary question about the outcome of a sporting event. For example:- Will the Lakers or the Celtics win? (Moneyline)
- Will the total goals scored be over or under 2.5? (Total)
- Will Manchester City win by more than 1.5 goals? (Spread)
The market hash
Every market on SX Bet is identified by a uniquemarketHash.
marketHash is the primary key used across the entire API. You’ll use it to:
- Read the book on a market
- Post and cancel orders
- Query your bet history
- Subscribe to orderbook updates via WebSocket
Outcomes
Every market has three outcome fields:
The meaning of these fields depends on the market type:
Market types
In addition to outcome names, each market has atype field. This numeric identifier tells you what kind of market it is. SX Bet supports over 30 market types — see the full list on the Market Types page. A few common examples:
For spread and total markets, the
line field contains the relevant value:
Main lines and alternate lines
For spread and total markets, multiple lines are often available for the same fixture. For example, a soccer match might have totals at 1.5, 2.5, and 3.5 goals. ThemainLine field indicates whether a market is currently the primary line for its type:
isQuarterLineMarket
isQuarterLineMarket is present on every market row, as a boolean.
Market status
Thestatus field tells you whether a market is currently open for trading.
Live markets
Many markets support in-play (live) betting. TheliveEnabled field indicates whether a market is available for live betting:
Full market object
Here’s a complete market object for reference:
A settled market additionally carries
reportedDate, outcome, teamOneScore and teamTwoScore — see Find markets. A parlay market carries legs — see Parlays.
Related
Overview
The sport → league → event → market hierarchy, and how to traverse it.
Market types
Every
type id, its bet group, and whether it carries a line.Fetching markets
Filters, pagination, and querying by sport, league, event or hash.
Quarter-line markets
What
isQuarterLineMarket changes about settlement.