Guides
This guide covers placing a sports bet end to end: the payload shape, how preset sports and leagues are named, browsing today's events in the Sports Tree, and the optional event key you can attach for exact event targeting.
A sports bet is a POST /v3/place_bet call with "category": "sports".
The Manual Betting page fills these exact same fields when you place a
bet from the dashboard — this is the raw payload underneath that form.
Response (HTTP 200) — the standard async envelope (sandbox samples for
unpaid keys answer 202 with the same shape):
Poll /api/bet_status with the correlation_id to get the actual bet
result (fill price, success/failure) — see
Async API for the full polling contract.
| Field | Type | Required | Notes |
|---|---|---|---|
session_id | string | ✅ | Must belong to caller's API key and be active. |
category | "sports" | ✅ | Constant. |
competition | string | recommended | League string, e.g. "afl", "nba", "epl". |
event | string | ✅ (unless epk) | Match name, e.g. "Carlton v Collingwood". Optional on a single when you send an epk — see below. |
market | string | optional | Defaults to "h2h" (head to head). "head_to_head", "line", "total_points", a player-prop market, etc. — see the full catalog on the Place Bet page, and Market naming & line conventions below for the few cases where the canonical Sports Tree name isn't the id you send. |
selection | string | ✅ for single bets | "home" / "away" / "over" / "under" / team / player, depending on the market. |
sport | string | optional | Sport key, e.g. "aussie_rules", "basketball", "table_tennis" or a league code like "afl"/"nba". If sent it must be one of the values listed under Preset sports below, or the bet is refused with 400 Unknown sport. |
player | string | for player props | Player name as the bookie shows it. |
line | number | for O/U + handicaps | Threshold, e.g. 25.5. |
start_time_iso | string | optional | ISO-8601 kickoff time, when known — helps disambiguate two teams that play each other twice in a day. |
stake | number | ✅ | Dollars. |
target_odds | number | recommended | Floor — bet rejected below this. |
is_same_event_multi | bool | for SGM | Same Game Multi — supply legs[] instead of selection/player. Each leg names its bet either by market + selection/player/team, or by the bookie's own proposition_id / market_ref from /v3/markets — in which case the server fills in the market, selection and line itself and places by the id. A leg naming neither is a 400. |
epk | string | optional, recommended | Event key from the Sports Tree. The server resolves it to the bookie's own event and, on most books, to the bookie's own market/selection ids. See Event keys below. |
Important. This is the same field set the Manual Betting form on the dashboard sends — if you've placed a sports bet through the UI, you've already produced one of these payloads. For the full market catalog and an interactive payload builder per sport, see Place Bet — Sports.
sport, when you send it, must be one of these values (case-insensitive);
anything else is refused with 400 Unknown sport:
basketball, american_football, aussie_rules,
baseball, ice_hockey, soccer, tennis, cricket, golf,
mma, boxing, rugby_union, rugby_league, esports,
table_tennis, darts, snooker, cycling, motorsport,
volleyball, lawn_bowls, badmintonnba, nbl, nfl, afl, nrl,
mlb, nhl, wnba, ncaab, ncaaf, cfl, ufl, ncaah,
mls, ufcThe league itself (e.g. "KBO", "EPL", "NCAA Basketball") goes in
competition. Bets placed by id (epk, market_ref) skip the sport check.
Under the hood these league-level values fold into 17 broader sport groups for browsing (this folding is display-only — it never changes how a bet is matched):
| Sport group | Leagues folded in |
|---|---|
| Basketball | NBA, WNBA, NBL, NCAAB, Basketball (Other) |
| American Football | NFL, NCAAF, CFL, UFL, Football (Other) |
| Baseball | MLB, KBO, NPB, CPBL, Baseball (Other) |
| Ice Hockey | NHL, NCAA Hockey |
| Aussie Rules | AFL, Aussie Rules (Other) |
| Rugby League | NRL |
| Rugby Union | Rugby Union |
| Soccer | Soccer, MLS |
| MMA | MMA, UFC |
| Boxing | Boxing |
| Tennis | Tennis |
| Table Tennis | Table Tennis |
| Badminton | Badminton |
| Darts | Darts |
| Snooker | Snooker |
| Golf | Golf |
| Cricket | Cricket |
In short: competition (and sport, when sent) identify the specific
league (e.g. "nba"), while the sport group (e.g. "Basketball") is
the umbrella category leagues sit under when you're browsing rather than
placing a bet by exact fields.
The dashboard's Sports Tree view (/terminal/sports/tree —
Sport → Country → League → Event) lets you browse today's sports events
instead of typing fields blind. Every event is identified by an event
key of the form sport/country/league/event/date, for example:
basketball/au/nbl/melbourne_united_v_sydney_kings/2026-10-09
Underneath each event the Tree also carries canonical market names
(head_to_head, total_points, player_disposals, …) and structured
selections — a market's real shape (player / stat / line / direction /
period) rather than a single free-text string. Browsing the Tree is the
fastest way to confirm the exact competition/event/market strings for
a match before placing a bet, and the market catalog you see per sport in
the interactive builders on this page and on
Place Bet is drawn from that same
canonical set — see Market naming & line conventions below for the
handful of cases where the canonical name and the id you actually send
differ.
Drill sport group → country → league → event → market/selection — the payload, event key (epk), and curl below update live.
basketball/us/nba/los_angeles_lakers_v_boston_celtics/2026-12-01Every sports event has an event key: a stable identity string of the form:
{sport_group}/{country}/{league}/{home}_v_{away}/{date}
Examples:
basketball/au/nbl/melbourne_united_v_sydney_kings/2026-10-09
aussie_rules/au/afl/fremantle_dockers_v_brisbane_lions/2026-09-26
soccer/us/mls/atlanta_united_fc_v_charlotte_fc/2026-08-29
tennis/int/atp_challenger_grodzisk_mazowiecki/damir_dzumhur_v_mathys_erhard/2026-08-06
country is an ISO code (au, us, gb, …) or int for
international competitions; league is the league slug. Copy keys from the
Sports Tree or GET /v3/events rather than
building them by hand. Outrights / futures (tournament winner, etc.) use
outright_{subkey} in the event slot instead of {home}_v_{away}, e.g.
golf/int/alfred_dunhill_links_championship/outright_tournament_winner/2026-10-01.
Racing futures (Melbourne Cup, Golden Slipper, ... before the day) are not a
sport and are not in any sports list: see
Racing Futures (category: "racing_futures").
You can attach the event key to any sports bet payload as an optional
"epk" field for exact event targeting:
becomes:
The epk shortcut. On a single bet, an epk lets you drop event,
sport and competition — the server fills them from the resolved
event. selection is still required. Limits:
epk that doesn't resolve to a known event is refused with 422
(when you didn't also send event).event — without it you get 400.event and legs; the epk never
relaxes those.epk is optional and backwards compatible — it works like racing's
optional pk field. Omit it and the server matches the event from your
other fields (sport/event/competition) as it always has. When you
send event as well, your event always wins.
Live today: id-based placement. When you send an
epk, the server maps it against the Sports Tree and threads the bookie's own event identity into the bet. On bet365, Sportsbet, TAB, Ladbrokes, Neds, PointsBet, BetRight, Betr, BetMakers, Dabble, TABtouch, Palmerbet, Amused, Picklebet, PuntersTech, BetCloud and Unibet it also resolves your market/selection to that bookie's own ids and places by id. We recommend always sendingepk— grab it from the Sports Tree browser, the interactive builder above, orGET /v3/events. See Resolution & fallback below.
A sports bet resolves in a few steps, each one only kicking in if the step before it couldn't fully pin the bet down:
epk. If you sent an epk and the session's
bookie is one of the id-placement books listed above, the server resolves
the event, market and selection to the bookie's own ids and the bet is
placed by id — no name matching.market /
selection / player / line fields the same way it always has. This
is the path for every bet without an epk, and for books without id
placement.epk didn't resolve an event at all (not
sent, or the Tree has no mapping for it yet), the client falls all the way
back to matching purely on competition + event + market +
selection text — exactly how sports bets were matched before the
Sports Tree existed.Refusals you can get up front (nothing is dispatched):
| Status | When |
|---|---|
422 | epk (without event) doesn't resolve to a known event |
400 | Outright epk without event |
400 | market_ref without site_event_id or epk |
404 | market_ref slug not found for this bookie's event |
422 | market_ref matched a selection with no id to place by, or the bookie can't place it by id |
422 | The session's bookie is racing-only (no sports betting) |
"N+" == Over N - 0.5 (for the folded stat families only)Bookies commonly display certain player-stat thresholds as "10+ Disposals", "15+ Points", etc. For the plain stat families —
disposals/marks/tackles/handballs/clearances/hitouts (AFL), points/
rebounds/assists/threes/steals/blocks/pra (basketball), tackles/runs (NRL) —
the platform folds the bookie's tiered *_threshold market
(player_disposals_threshold, player_pts_threshold, …) into the plain
over/under form at the same canonical id (player_disposals,
player_points, …), one line below the threshold: "10+" is
line: 9.5, selection: "over". You can send either shape and get the same
market — there's no separate threshold-specific market id to learn for these:
is equivalent to asking for "29+ Disposals".
This does NOT extend to goal/try scorer thresholds — "Charlie Cameron to kick 2+ Goals", "to score 2+ tries", etc. These stay their own
canonical buckets (goalscorer_threshold_afl for AFL, goalscorer_threshold
for soccer, try_scorer_threshold for NRL/rugby) and are not folded into
the plain over/under shape above. For these:
selection is the player name, not "over"/"under".line is the literal threshold N — most bookies expect a plain whole
number ("1", "2", "3"…, not N - 0.5), though a few accept
half-lines for the same market, so it's not standardised cross-bookie. Read
the bookie's offered lines from a 400 rejection, or check
Price Check first.The Sports Tree's canonical market catalog is the source of truth for market
naming (head_to_head, total_points, player_disposals, …), and for
almost every market the string you send is identical to that canonical name
— that's exactly what the builders above generate. A small number of
markets have a canonical Sports Tree name that differs from (or has no
equivalent in) what the client bookie sessions resolve today; for those,
send the id in the "Send this id" column, not the raw canonical name:
| Sport | Canonical name (Sports Tree) | Send this id |
|---|---|---|
| Soccer | head_to_head (the Sports Tree's own label for soccer's match-result market) | match_result_3way — soccer's home/draw/away result normalizes to the dedicated 3-way bucket client-side; head_to_head is reserved for genuine 2-way winner markets and won't match a soccer bookie's "Match Result"/"1X2" listing. |
NFL player props are supported. Send the canonical names as they appear
in the Sports Tree and GET /v3/markets:
player_passing_yards, player_passing_touchdowns,
player_rushing_yards, player_rushing_touchdowns,
player_receiving_yards, player_receiving_touchdowns,
player_receptions, player_sacks and player_touchdowns (anytime
touchdowns). With an epk on an id-placement book these place by id.
For any market not covered by the builders, read the event's card from
GET /v3/markets and send the
market key (or market_ref) it shows for your bookie.
Everything else — every market id shown in the builders on this page and on Place Bet, across every sport — is verified to resolve as-is.
The market list and interactive bet builder on this page are a curated
subset, not an exhaustive catalog: our docs list the markets we normalize
and compare across bookies, filtering out ones we can't yet compare cleanly
— same-game combos, period-scoped markets whose exact period (1st quarter,
1st half, an innings, a set, …) can't be determined with certainty rather
than guessed, and finished events. A market not being listed here does not
mean your bookie doesn't carry it. The betting
API has no such filter — /v3/place_bet accepts any market/selection
string your bookie's own catalogue actually offers, whether or not it's one
of the markets these docs currently normalize.
Recommended flow before staking on something you don't see listed here:
market/selection/player/line fields you'd use
for /v3/place_bet to
POST /v3/price_check instead
(drop stake/target_odds, and send session_ids as a list
rather than a single session_id). This is read-only — it asks the bookie
session to resolve the selection against its live catalogue and return the
current price; nothing is staked./api/bet_status for the result, same as any /v3 call./v3/place_bet using the same fields (plus
target_odds as your floor).price_check validates the
selection against the bookie's live catalogue exactly as placement does —
a market that price-checks clean resolves the same way when you place it
for real. (TAB's id-based price check goes further: it runs the exact
same two-step pricing enquiry placement uses, just with the enquiry's
stake set to $0.00 so nothing is staked — the price returned is the
price a real bet would get.)outcome_code: market_not_carried — the bookie has markets for this
event, but not the one you named. available_markets lists every market
key it did parse; ask again with one of those.outcome_code: selection_not_carried — the market exists but your
selection/player isn't in it.gated_markets — markets the bookie carries but holds back (e.g. some
bet365 player props), so you know they exist rather than getting a bare miss.markets object means the event is
carried but nothing is priced up yet.