Get list of competitions

GET/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 greyhound racing: {sportId} is 4339, and the code samples below already use it.

Same endpoint for other sports: Cricket · Soccer · Tennis · Horse Racing · Other Sports

Path Params

sportIdintegerrequired

ID of the sport whose competitions you want to list

Fixed to Greyhound Racing (sportId 4339) on this page. Other sports have their own page.

Try Get list of competitions with live data

Run this request in the Sportbex trial panel and see the real response.

Try it(opens in a new tab)
curl -X GET 'http://xx.xx.xx.xx/api/betfair/competition-list/4339'
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.

[
  {
    "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
  }
]