Market Odds
/api/betfair/listMarketBookStep 4 of 5 · Odds· Needs market IDs from step 3.See the full call order
The live order book for up to ten markets in one call — best available back/lay prices per runner, last price traded and total matched for each, in the original Betfair listMarketBook response shape. Pass the market ids from Market Ids.
This page documents the endpoint for tennis, as part of the Tennis Odds API.
Same endpoint for other sports: Cricket · Soccer · Other Sports
Body Params
marketIdsstringrequiredMarket Ids (Enter comma separated values, max 10)
Try Market Odds 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/betfair/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.262709766",
"isMarketDataDelayed": false,
"status": "OPEN",
"complete": true,
"inplay": false,
"numberOfRunners": 2,
"numberOfActiveRunners": 2,
"totalMatched": 1119.01,
"totalAvailable": 1352.19,
"runners": [
{
"selectionId": 37302,
"status": "ACTIVE",
"lastPriceTraded": 1.74,
"totalMatched": 546.44,
"ex": {
"availableToBack": [
{
"price": 1.07,
"size": 16.17
},
{
"price": 1.06,
"size": 377.79
},
{
"price": 1.01,
"size": 17.46
}
],
"availableToLay": [
{
"price": 6,
"size": 13.07
},
{
"price": 7,
"size": 10.03
},
{
"price": 110,
"size": 7.06
}
]
}
},
{
"selectionId": 37303,
"status": "ACTIVE",
"lastPriceTraded": 2.36,
"totalMatched": 572.57,
"ex": {
"availableToBack": [
{
"price": 1.33,
"size": 4.8
},
{
"price": 1.21,
"size": 6.33
},
{
"price": 1.2,
"size": 50
}
],
"availableToLay": [
{
"price": 18,
"size": 23.36
}
]
}
}
]
},
"…one object in the same shape for each other requested marketId"
]
}