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 cricket: {sportId} is 4, and the code samples below already use it.

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

Path Params

sportIdintegerrequired

ID of the sport whose competitions you want to list

Fixed to Cricket (sportId 4) 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/4'
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": "12444379",
      "name": "The Ashes"
    },
    "competitionRegion": "International",
    "marketCount": 1
  },
  {
    "competition": {
      "id": "12704140",
      "name": "ICC Men's Cricket World Cup"
    },
    "competitionRegion": "International",
    "marketCount": 1
  },
  {
    "competition": {
      "id": "101480",
      "name": "Indian Premier League"
    },
    "competitionRegion": "IND",
    "marketCount": 1
  },
  {
    "competition": {
      "id": "11679292",
      "name": "County Championship"
    },
    "competitionRegion": "GBR",
    "marketCount": 9
  },
  {
    "competition": {
      "id": "9992899",
      "name": "International Twenty20 Matches"
    },
    "competitionRegion": "International",
    "marketCount": 12
  },
  {
    "competition": {
      "id": "9962116",
      "name": "One Day Internationals"
    },
    "competitionRegion": "International",
    "marketCount": 79
  }
]