Market List Market Book
/api/racing/market-listMarketBookStep 4 of 5 · Odds· Needs market IDs from step 3.See the full call order
The 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.
This page documents the endpoint for horse racing, as part of the Horse Racing Odds API.
Same endpoint for other sports: Greyhound Racing
Body Params
marketIdsstringrequiredMarket Ids (Enter comma separated values, max 10)
Try Market List Market Book with live data
Run this request in the Sportbex trial panel and see the real response.
curl -X POST 'http://xx.xx.xx.xx/api/racing/market-listMarketBook' \
-H 'Content-Type: application/json' \
-d '{"marketIds":""}'The real API responds in this shape — but the values below are a fixed example and may be stale. This is here to show what the output looks like, not to reflect current data.
{
"status": true,
"data": [
{
"marketId": "1.211000001",
"isMarketDataDelayed": false,
"status": "OPEN",
"complete": true,
"inplay": false,
"numberOfRunners": 3,
"numberOfActiveRunners": 3,
"totalMatched": 8420.5,
"runners": [
{
"selectionId": 41001,
"status": "ACTIVE",
"lastPriceTraded": 3.5,
"totalMatched": 2100.2,
"ex": {
"availableToBack": [
{
"price": 3.5,
"size": 120.4
}
],
"availableToLay": [
{
"price": 3.55,
"size": 95.1
}
]
}
}
]
},
"…one object in the same shape for each other requested marketId"
]
}