Market Odds by Id
/api/racing/market-odds/{marketId}Step 4 of 5 · Odds· Needs market IDs from step 3.See the full call order
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 read several markets in one call.
This page documents the endpoint for greyhound racing, as part of the Greyhound Racing Odds API.
Same endpoint for other sports: Horse Racing
Path Params
marketIdstringrequiredID of the market for which you want to get odds
Try Market Odds by Id with live data
Run this request in the Sportbex trial panel and see the real response.
curl -X GET 'http://xx.xx.xx.xx/api/racing/market-odds/{marketId}'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.
{
"marketId": "1.211000001",
"status": "OPEN",
"inplay": false,
"numberOfRunners": 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
}
]
}
},
{
"selectionId": 41002,
"status": "ACTIVE",
"lastPriceTraded": 5.2,
"totalMatched": 1340.9,
"ex": {
"availableToBack": [
{
"price": 5.2,
"size": 60
}
],
"availableToLay": [
{
"price": 5.3,
"size": 44.7
}
]
}
}
]
}