# GET /v2/leagues/{id}/odds

Group: Betting odds

Outright odds of a league season: the markets the bookmaker prices on the season as a whole — who wins the league or competition (Premier League, Champions League, Women’s Super League, …) — one choice per team, with opening and current prices. Pro, Business and Enterprise plans.

Plans: Business and up (other plans get 403 endpoint_not_in_plan).

Note: Each choice names the team it backs in team (a TeamRef: /v2/teams/{id}); name is the bookmaker’s label for it, often the short name. A market’s key is stable within the season ("winner"; an unclassified market adds its label: "other:…"). decimal = 1 + fractional, rounded to 2 decimals. The source sends no settlement flags for outright markets. An empty markets list (and a null updatedAt) where the bookmaker prices none — most leagues, a finished season. No WebSocket channel: outright prices move slowly, read them again. 18+ · Gamble responsibly.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `id` | path | yes | our numeric id (positive integer) |
| `season` | query | yes | a season id from /v2/leagues/{id}/seasons |

## Response

- `data`: `LeagueOdds`
- `meta`: season, count (markets)
- Objects: LeagueOdds (https://sportsapi.app/markdown/en/reference.md#leagueodds)

## Errors

- 400 bad_request — season missing
- 403 endpoint_not_in_plan — Free and Starter keys
- 403 history_not_in_plan — a season before your plan’s history
- 404 not_found — a league id we never issued, or a season of another league

Plus the common errors (https://sportsapi.app/markdown/en/docs.md#errors).

## Request

cURL:

```bash
curl -H "Authorization: Bearer sk_live_…" \
    "https://api.sportsapi.app/v2/leagues/{id}/odds?season=…"
```

TypeScript:

```ts
const { data, meta } = await client.leagues.odds(id, { season });
```

Python:

```python
res = client.leagues.odds(id, season=season)
```

Go:

```go
res, err := client.Leagues.Odds(ctx, id, &sportsapi.LeaguesOddsParams{Season: season})
```

CLI:

```bash
$ sportsapi leagues odds <id> --season <season>
```

## Example response

```json
{ "data": { "leagueId": 696700, "seasonId": 697120, "updatedAt": "2026-11-23T03:00:00.000Z",
    "markets": [ { "key": "winner", "kind": "winner", "name": "To Win Outright", "live": false,
        "choices": [ { "name": "PSG", "team": { "id": 696820, "name": "Paris Saint-Germain", "slug": "paris-saint-germain", "shortName": "PSG", "code": "PSG", "image": "https://cdn.sportsapi.app/v2/teams/696820/logo" },
                       "fractional": "7/2", "decimal": 4.5, "openingFractional": "5/1", "openingDecimal": 6 },
                     { "name": "Barcelona", "team": { "id": 696845, "name": "Barcelona", … }, "fractional": "7/2", "decimal": 4.5, "openingFractional": "6/1", "openingDecimal": 7 }, … ] } ] },
  "meta": { "season": 697120, "count": 1 } }
```

---

Base URL: https://api.sportsapi.app. Send your API key as `Authorization: Bearer <key>` on every /v2 request; keys are created in the dashboard (https://sportsapi.app/dashboard).
HTML: https://sportsapi.app/docs/odds/leagues-odds · All docs: https://sportsapi.app/markdown/en/docs.md
