Market Ids
GET
/api/betfair/market-all-list/{eventId}Step 3 of 5 · Markets· Needs an event ID from step 2.See the full call order
Every market open on an event, each with its own market id and runners (the priceable outcomes). Feed one or more market ids, up to ten, into Market Odds to read live prices.
Same endpoint for other sports: Cricket · Soccer · Tennis · Horse Racing · Greyhound Racing
Path Params
eventIdintegerrequiredID of the event whose markets you want to list
Try Market Ids 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/betfair/market-all-list/{eventId}'Example response
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.311000001",
"competition": {
"id": "13000001",
"name": "NBA",
"provider": "BETFAIR"
},
"event": {
"id": "41000001",
"name": "Team A v Team B",
"countryCode": "US",
"timezone": "America/New_York",
"openDate": "2026-09-25T23:00:00.000Z"
},
"eventType": {
"id": "7522",
"name": "Basketball"
},
"marketName": "Match Odds",
"runners": [
{
"selectionId": 51001,
"runnerName": "Team A",
"handicap": 0,
"sortPriority": 1
},
{
"selectionId": 51002,
"runnerName": "Team B",
"handicap": 0,
"sortPriority": 2
}
],
"totalMatched": 4230,
"marketStartTime": "2026-09-25T23:00:00.000Z"
}
]