Racing
Get a race
One race: every book's fixed win and place price, Betfair back and lay, and the result.
GET
/odds/v1/racing/race- Cost
- 1 token
- Authentication
- X-API-Key, demo key works
Parameters
race_idstringrequiredA race_id from /racing/meetings.bookscomma listoptionalOnly these books, e.g. sportsbet,tab,ladbrokes.Default:all booksformatstringoptionaldecimal, american or fractional. See Odds formats.Default:decimal
Request
Response
200 OK
Fields
runners[]carrynumber(saddlecloth or box),name,scratchedand, where we hold it, the Betfairselection_id.finish_positionis set once the race has a result.books[book].winandplaceare the book's fixed odds.changed_atis when that book's price last changed andscraped_atis when we last read it from the book; see changed_at. A book that does not price a runner is absent.betfairholdswinand, where Betfair runs them,place_2andplace_3, each withback,lay,back_sizeandlay_size.bsp(win and place) appears once the race is off.tote.nswandtote.vicare TAB's win and place approximates (dollars per $1) for AU and NZ races, from about 30 minutes out.tote_poolsholds each pool'spool_total($),statusandjackpot, per jurisdiction;tote_updated_atis when TAB last updated them. Tote values are dollars and are never converted byformat.book_urlsmaps a book to its own page for the race, where we hold its id.betfair_matchedis the money matched per Betfair market.sourcesays where the body came from:live(built from the books' latest prices when you ask;as_ofis the build time),terminal_snapshot(built by our board on its own cycle;as_ofis when it was built, so it can be older),spine(the field from our race record and, for a finished race, each book's last recorded price) orresults_store(only the result is left).resultisnulluntil a result source has one. TAB's result hassource: "tab"; where TAB has none, a Sportsbet result is served withsource: "sportsbet",official: false, placings only (emptydividendsandscratchings).placingsis a list of saddlecloth numbers per finishing slot; a dead heat puts several numbers in one slot and leaves the next slot empty.officialis true once TAB is paying.dividends(andmulti_dividendsfor the multi-race pools) are per $1 staked, stake included, per jurisdiction and pool, asrunnersplusdividend.scratchingslists the scratched runners, each{number, late, win_deduction, place_deduction}.- A finished race's
booksprices are each book's last recorded price, which can be a tick taken just after the scheduled start. Checkchanged_at. formatconverts every book and Betfair price; see odds formats.
Tote fields are AU and NZ TAB only and appear once TAB has published them: tote, tote_pools, tote_updated_at and result.dividends. Placings are always served with a result; scratchings come with a TAB result.