# GET /v2/leagues/{id}/player-of-the-season/race

Group: Leagues

The race for player of the season while it runs: the leading players by average rating, best first.

Plans: Pro + Business only (other plans get 403 endpoint_not_in_plan).

Note: The source lists the top three. An empty array for leagues without a player-of-the-season race.

## 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`: `PlayerOfTheSeasonCandidate[]`
- `meta`: season, count
- Objects: PlayerOfTheSeasonCandidate (https://sportsapi.app/markdown/en/reference.md#playeroftheseasoncandidate)

## Errors

- 403 history_not_in_plan — the season ended before your plan’s history
- 404 not_found — season is not one of this league’s seasons

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}/player-of-the-season/race?season=…"
```

TypeScript:

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

Python:

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

Go:

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

CLI:

```bash
$ sportsapi leagues player-of-the-season-race <id> --season <season>
```

## Example response

```json
{ "data": [
    { "player": { "id": 4510, "name": "Jan Paul van Hecke", … }, "team": { "name": "Tottenham Hotspur", … }, "rating": 7.83, "appearances": 9, "playedEnough": true },
    { "player": { "name": "Erling Haaland", … }, "team": { "name": "Manchester City", … }, "rating": 7.79, "appearances": 9, "playedEnough": true }, … ],
  "meta": { "season": 200386, "count": 3 } }
```

---

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/leagues/player-of-the-season-race · All docs: https://sportsapi.app/markdown/en/docs.md
