Horse Racing Odds API
Live horse racing odds API: every horse racing competition, event and market, with real-time back and lay prices and settled results (sportId 7).
Try it live(opens in a new tab)Call order
- Competitions
- Events
- Markets
- Odds
- Results
Each call returns the ID the next one needs. The number on each endpoint below is its place in this order.
- Step 1: CompetitionsGET
Get list of competitions
/api/betfair/competition-list/{sportId}Every competition currently carrying markets for the sport, with each competition's id, region and current open-market count. Feed a competition's id into Get list of events to see its fixtures.
- Step 2: EventsGET
Get list of events
/api/betfair/racing-event-list/{sportId}/{competitionId}Every upcoming or in-play racing fixture in a competition, each with its own event id. Feed an event's id into Market Ids to see what's tradable on it.
Needs a competition ID from step 1.
- Step 3: MarketsGET
Market Ids
/api/betfair/market-all-list/{eventId}Every market open on an event, each with its own market id and runners (the priceable outcomes — for racing, one per horse or trap). Feed one or more market ids, up to ten, into Market Odds to read live prices.
Needs an event ID from step 2.
- Step 4: OddsGET
Market Odds by Id
/api/racing/market-odds/{marketId}The live order book for a single racing market: best available back and lay prices per runner, last price traded and total matched. Same price shape as Market Odds, scoped to one market — use that endpoint instead to…
Needs market IDs from step 3.
- Step 4: OddsPOST
Market Odds
/api/racing/market-bulk-oddsThe live order book for up to ten racing markets in one call — best available back/lay prices per runner, last price traded and total matched for each. Pass the market ids from Market Ids; for the original Betfair…
Needs market IDs from step 3.
- Step 4: OddsPOST
Market List Market Book
/api/racing/market-listMarketBookThe live order book for up to ten racing markets in one call, in the original Betfair listMarketBook response shape. Pass the market ids from Market Ids; use Market Odds instead for the simplified price shape.
Needs market IDs from step 3.
- Step 5: ResultsPOST
Get Market Results
/api/result/get-market-resultsThe settled outcome for one or more markets once they've closed — the winning selection(s) so you can settle bets placed against them. Pass up to ten market ids, the same ids returned by Market Ids.
Needs market IDs from step 3.
- Step 5: ResultsPOST
Get Market Results V1
/api/result/get-market-results-v1A separate settlement-results endpoint retained for backward compatibility, with the same markets and market id limit as Get Market Results.
Needs market IDs from step 3.
More in the Odds API
Test the API with live data
Run real requests in the Sportbex trial panel and see live responses.