League odds
GET
/
Markdown copyOpen in the playground →
Season-long betting odds for a league: the markets the bookmaker prices on how the whole season or competition ends — above all who takes the title (Premier League, Champions League and the like) — with one selection per team at opening and current prices. Available on Pro, Business and Enterprise plans. 18+ only; please gamble responsibly.
Each selection carries the backed side as team, a TeamRef you can pass to /v2/teams/{id}; name is the bookmaker’s own wording, most often a short club name. A market’s key does not change during the season ("winner"; markets we cannot classify yet append their label to "other:"). decimal is 1 + fractional, rounded to two decimal places. The source sends no settlement flags for these markets. An empty markets list with updatedAt null simply means the bookmaker prices nothing for that season, which is the case for most leagues and for seasons that are over. There is no WebSocket channel, as season prices move slowly: read the endpoint again when you need fresh prices. Odds are third-party prices provided for information only, not advice.
Parameters
idpathrequired
league id issued by DataSportsAPI, a positive integer
seasonqueryrequired
season id, as listed by /v2/leagues/{id}/seasons
Response
- data
LeagueOdds- meta
- season, count (number of markets)
- errors
- 400
bad_request— the season parameter is missing403endpoint_not_in_plan— returned to keys on the Free and Starter plans403history_not_in_plan— your plan’s history window begins after this season404not_found— DataSportsAPI never issued this league id, or the season belongs to another league
The errors every /v2 call shares (key, plan, quota, rate) are listed under error codes.
curl -H "Authorization: Bearer sk_live_…" \
"https://api.datasportsapi.com/v2/leagues/{id}/odds?season=…"Example
{ "data": { "leagueId": 200310, "seasonId": 200386, "updatedAt": "2026-11-23T05:40:00.000Z",
"markets": [ { "key": "winner", "kind": "winner", "name": "To Win Outright", "live": false,
"choices": [ { "name": "Arsenal", "team": { "id": 200421, "name": "Arsenal", "slug": "arsenal", "shortName": "Arsenal", "code": "ARS", "image": "…" },
"fractional": "6/5", "decimal": 2.2, "openingFractional": "2/1", "openingDecimal": 3 },
{ "name": "Man City", "team": { "id": 200433, "name": "Manchester City", … }, "fractional": "9/4", "decimal": 3.25, "openingFractional": "7/4", "openingDecimal": 2.75 }, … ] } ] },
"meta": { "season": 200386, "count": 1 } }