Sport IDs

The {sportId} path parameter on the Odds API, and how the Statistics API identifies sports instead.

Odds API — Basic Sports

These IDs are valid for every endpoint under Odds API → Basic Sports.

IDSport
4Cricket
1Soccer
2Tennis

Fancy and bookmaker markets are cricket only

Three Odds API endpoints cover fancy and bookmaker markets: /betfair/fancy-bookmaker-odds/{eventId}, /betfair/fancy-all-bookmaker-odds-v2/{eventId} and /betfair/fancy-all-bookmaker-odds-v3/{eventId}. These markets only exist for cricket, so all three return data for Cricket (sportId 4) alone. Passing an event ID from any other sport returns an empty result rather than an error, which is worth knowing before you debug the response.

Odds API — Racing

IDSport
7Horse Racing
4339Greyhound Racing

Note that the Statistics API identifies Horse Racing as 6, not 7. The two product lines use different ID spaces; use the value from the section you are calling.

Odds API — Other Sports

“Other” covers every sport that is not listed above, so it is not a closed list. The IDs below are common ones to get you started — the field accepts any valid sport ID, not only these.

IDSport
7522Basketball
7511American Football
7524Ice Hockey
6423Baseball
998917Volleyball
3503Darts
6422Snooker
3Golf
5Rugby Union
6Boxing

Statistics API

Statistics endpoints do not take a {sportId} parameter — the sport is part of the path itself. These IDs are listed for cross-reference only.

IDSportPath prefix
4Cricket/live-score
2Tennis/tennis
6Horse Racing/horse-racing
4339Greyhound Racing/greyhound-racing