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 — for racing, one per horse or trap). Feed one or more market ids, up to ten, into Market Odds to read live prices.

This page documents the endpoint for greyhound racing, as part of the Greyhound Racing Odds API.

Same endpoint for other sports: Cricket · Soccer · Tennis · Horse 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.211000001",
    "competition": {
      "id": "12000001",
      "name": "Flat Racing",
      "provider": "BETFAIR"
    },
    "event": {
      "id": "31000001",
      "name": "Ascot 14:30",
      "countryCode": "GB",
      "timezone": "Europe/London",
      "openDate": "2026-09-25T14:30:00.000Z"
    },
    "eventType": {
      "id": "7",
      "name": "Horse Racing"
    },
    "marketName": "Win Market",
    "runners": [
      {
        "selectionId": 41001,
        "runnerName": "1. Horse One",
        "handicap": 0,
        "sortPriority": 1
      },
      {
        "selectionId": 41002,
        "runnerName": "2. Horse Two",
        "handicap": 0,
        "sortPriority": 2
      },
      {
        "selectionId": 41003,
        "runnerName": "3. Horse Three",
        "handicap": 0,
        "sortPriority": 3
      }
    ],
    "totalMatched": 8420.5,
    "marketStartTime": "2026-09-25T14:30:00.000Z"
  }
]