Get list of events
/api/betfair/racing-event-list/{sportId}/{competitionId}Step 2 of 5 · Events· Needs a competition ID from step 1.See the full call order
Every upcoming or in-play racing fixture in a competition, each with its own event id. Feed an event's id into Market Ids to see what's tradable on it.
This page documents the endpoint for greyhound racing: {sportId} is 4339, and the code samples below already use it.
Same endpoint for other sports: Horse Racing
Path Params
sportIdintegerrequiredID of the sport the competition belongs to
competitionIdintegerrequiredID of the competition whose events you want to list
Try Get list of events 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/racing-event-list/4339/{competitionId}'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.
[
{
"event": {
"id": "31000001",
"name": "Ascot 14:30",
"countryCode": "GB",
"timezone": "Europe/London",
"openDate": "2026-09-25T14:30:00.000Z"
},
"isPremiumActive": "1",
"marketCount": 4
},
{
"event": {
"id": "31000002",
"name": "Ascot 15:05",
"countryCode": "GB",
"timezone": "Europe/London",
"openDate": "2026-09-25T15:05:00.000Z"
},
"isPremiumActive": "1",
"marketCount": 4
}
]