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 — match odds, completed match, tied match and so on — 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.

This page documents the endpoint for soccer, as part of the Soccer Odds API.

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

Path Params

eventIdintegerrequired

ID 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.

Try it(opens in a new tab)
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.262709766",
    "competition": {
      "id": "9992899",
      "name": "International Twenty20 Matches",
      "provider": "BETFAIR"
    },
    "event": {
      "id": "36099099",
      "name": "Bahamas v Bermuda (Game 1)",
      "countryCode": "GB",
      "timezone": "Europe/London",
      "openDate": "2026-09-25T15:00:00.000Z"
    },
    "eventType": {
      "id": "4",
      "name": "Cricket"
    },
    "marketName": "Completed Match",
    "runners": [
      {
        "selectionId": 37302,
        "runnerName": "Yes",
        "handicap": 0,
        "sortPriority": 1
      },
      {
        "selectionId": 37303,
        "runnerName": "No",
        "handicap": 0,
        "sortPriority": 2
      }
    ],
    "totalMatched": 1116.12,
    "marketStartTime": "2026-09-25T15:00:00.000Z"
  },
  {
    "marketId": "1.262709765",
    "competition": {
      "id": "9992899",
      "name": "International Twenty20 Matches",
      "provider": "BETFAIR"
    },
    "event": {
      "id": "36099099",
      "name": "Bahamas v Bermuda (Game 1)",
      "countryCode": "GB",
      "timezone": "Europe/London",
      "openDate": "2026-09-25T15:00:00.000Z"
    },
    "eventType": {
      "id": "4",
      "name": "Cricket"
    },
    "marketName": "Tied Match",
    "runners": [
      {
        "selectionId": 37302,
        "runnerName": "Yes",
        "handicap": 0,
        "sortPriority": 1
      },
      {
        "selectionId": 37303,
        "runnerName": "No",
        "handicap": 0,
        "sortPriority": 2
      }
    ],
    "totalMatched": 182.1,
    "marketStartTime": "2026-09-25T15:00:00.000Z"
  },
  {
    "marketId": "1.262709764",
    "competition": {
      "id": "9992899",
      "name": "International Twenty20 Matches",
      "provider": "BETFAIR"
    },
    "event": {
      "id": "36099099",
      "name": "Bahamas v Bermuda (Game 1)",
      "countryCode": "GB",
      "timezone": "Europe/London",
      "openDate": "2026-09-25T15:00:00.000Z"
    },
    "eventType": {
      "id": "4",
      "name": "Cricket"
    },
    "marketName": "Match Odds",
    "runners": [
      {
        "selectionId": 2757231,
        "runnerName": "Bahamas",
        "handicap": 0,
        "sortPriority": 1
      },
      {
        "selectionId": 1266589,
        "runnerName": "Bermuda",
        "handicap": 0,
        "sortPriority": 2
      }
    ],
    "totalMatched": 14506.5,
    "marketStartTime": "2026-09-25T15:00:00.000Z"
  }
]