Get list of competitions
/api/betfair/competition-list/{sportId}Step 1 of 5 · CompetitionsSee the full call order
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.
This page documents the endpoint for horse racing: {sportId} is 7, and the code samples below already use it.
Same endpoint for other sports: Cricket · Soccer · Tennis · Greyhound Racing · Other Sports
Path Params
sportIdintegerrequiredID of the sport whose competitions you want to list
Try Get list of competitions 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/competition-list/7'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.
[
{
"competition": {
"id": "12000001",
"name": "Flat Racing"
},
"competitionRegion": "GBR",
"marketCount": 6
},
{
"competition": {
"id": "12000002",
"name": "National Hunt"
},
"competitionRegion": "GBR",
"marketCount": 4
},
{
"competition": {
"id": "12000003",
"name": "International Racing"
},
"competitionRegion": "International",
"marketCount": 2
}
]