API reference
Get odds
Prices for one event: per market, per selection, per book. A finished event returns its closing card.
GET
/odds/v1/odds- Cost
- 1 token (tier=main), 5 tokens (tier=extended), +1 with depth=true; the same for a finished event
- Authentication
- X-API-Key, demo key works
Parameters
event_idstringrequiredAn event_id from /events, sent back verbatim. Live or finished.tierstringoptionalmain: the sport's popular grid (the same markets the Terminal shows; can include player markets). extended: also every other market the sport declares: alternate lines, player props and period markets. Free is cut to head to head; every paid plan, Starter included, gets every market.Default:mainmarketscomma listoptionalMarket keys, e.g. head_to_head,total_goals.Default:all in the tierbookscomma listoptionalBook keys from /books, e.g. betfair,sportsbet.Default:allformatstringoptionaldecimal, american or fractional. See Odds formats.Default:decimaldepthbooleanoptionalAny paid plan (not Free), +1 token. Adds exchange depth to exchange prices (Betfair, Kalshi, Polymarket): back_ladder and lay_ladder (best first, the full book: every level the exchange shows, each [price, size]) and matched (the amount matched). Rung prices follow format. Without it those fields are left out.Default:false
Request
Response
200 OK
Fields
marketis a stable key: the same key means the same bet on every book.nameis for display.- A selection is identified by selection_key.
labelis for display. line: handicap or total where the market has one.direction:over/underwhere it applies.player: for player markets.period: e.g. a half or quarter;nullis the full game.books[book].updated_atis when we last read that book's card for this event; every price from that book carries the same time.age_secondsis the same fact as an age.books[book].staleistruewhen that book has not refreshed this event within its own normal cadence. Books refresh at very different rates (seconds to about 20 minutes), so the threshold is per book: twice the age that 90% of that book's cards are younger than, at least 3 minutes and at most 1 hour (10 minutes for a book we have not measured). A stale book's prices are still served: the flag means “this book may have stopped updating this event”, not “this price is wrong”. Useage_secondsfor your own tolerance.event.competitorslists each side with itsid,name,sideandlogo_url, as on /events.books[book].urlis the book's own page for the event, when we can vouch for it (paid plans; not on Free). See event links.open_oddsandclose_oddssit on each price (paid plans; Free gets neither, norfair_odds). See opening and closing prices.- Paid plans, with
depth=true(+1 token): an exchange price (Betfair, Kalshi, Polymarket) also carriesback_ladderandlay_ladder(best first, the full book: every level the exchange shows, each[price, size]) andmatched(the amount matched), where the exchange reports them. Withoutdepth=truethey are left out. - A finished event returns its closing card: each price also carries
closed_at,lag_secondsandsource, each selection can carryfair_odds, and the body carriesoff_atandoff_source. See opening and closing prices. A finished event with no stored close returnsmarkets: []. - Every paid plan: a selection can carry
model_oddsandmodel_source, and each price anedge_pct. See 337 model price. - Every paid plan: the body carries a top-level
score(see /scores), and on a finished event whose score is final each selection can carryresult:won,lostorpush. Where we do not grade a selection the field isnull. See selection results. - A book missing from a selection's
pricesdoes not currently price it. - A selection can carry
decided(true) anddecided_reason(short text) when live game stats have already determined the outcome, for example a player prop that has already gone over. Both are optional and absent on every undecided selection. They are for display only, can lag by about a minute, and are never settlement: do not grade or settle a bet from them. Books may still show a price on a decided selection. - Pricing several events? POST /odds returns this body for up to 20 events in one call, one request against the rate limit.
Response bodies are large on tier=extended. Send Accept-Encoding: gzip (cURL: --compressed).