Leagues
Player of the season race
GET/v2/leagues/{id}/player-of-the-season/racePro + Business
The race for player of the season while it runs: the leading players by average rating, best first.
The source lists the top three. An empty array for leagues without a player-of-the-season race.
Parameters
id
our numeric id (positive integer)
season
a season id from /v2/leagues/{id}/seasons
Response
- data
PlayerOfTheSeasonCandidate[]- meta
- season, count
- errors
- 403 history_not_in_plan — the season ended before your plan’s history404 not_found — season is not one of this league’s seasons
Every /v2 call can also answer the common errors.
$ curl -H "Authorization: Bearer sk_live_…" \ "https://api.sportsapi.app/v2/leagues/{id}/player-of-the-season/race?season=…"
Example
{ "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 } }