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.
| ID | Sport |
|---|---|
| 4 | Cricket |
| 1 | Soccer |
| 2 | Tennis |
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
| ID | Sport |
|---|---|
| 7 | Horse Racing |
| 4339 | Greyhound 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.
| ID | Sport |
|---|---|
| 7522 | Basketball |
| 7511 | American Football |
| 7524 | Ice Hockey |
| 6423 | Baseball |
| 998917 | Volleyball |
| 3503 | Darts |
| 6422 | Snooker |
| 3 | Golf |
| 5 | Rugby Union |
| 6 | Boxing |
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.
| ID | Sport | Path prefix |
|---|---|---|
| 4 | Cricket | /live-score |
| 2 | Tennis | /tennis |
| 6 | Horse Racing | /horse-racing |
| 4339 | Greyhound Racing | /greyhound-racing |