LeaguesEndpoint 84 of 116
Player of the season
https://api.datasportsapi.com/
- Plan
- Pro + Business
- Auth
Bearer dsa_live_…- Parameters
- 2 required · 0 optional
- Returns
PlayerOfTheSeason
Player of the season for a completed league season as chosen by our data source — the highest average match rating among players with enough appearances — together with his club and appearance count.
Plan access
Requires a Pro or Business plan; every other plan receives 403 endpoint_not_in_plan.
01Parameters
idpathRequiredleague id issued by DataSportsAPI, a positive integer
seasonqueryRequiredseason id, as listed by /v2/leagues/{id}/seasons
02Request
The same call from the command line and each SDK. The SDK lines assume a client created with your key; left out, it is read from DATASPORTSAPI_API_KEY. Installing a client: SDKs & CLI.
curl -H "Authorization: Bearer dsa_live_…" \
"https://api.datasportsapi.com/v2/leagues/{id}/player-of-the-season?season=…"03Response
The top-level keys of the JSON body. Each object links to its full shape in the data reference.
dataPlayerOfTheSeasonmeta- season
{ "data": { "player": { "id": 4022, "name": "Bruno Fernandes", … }, "team": { "id": 35, "name": "Manchester United", … }, "rating": 7.61, "appearances": 35 },
"meta": { "season": 180212 } }04Errors
- 403
history_not_in_planyour plan’s history window begins after this season ended
- 404
no_datano award exists yet, either because the season is not over (the contest is at /player-of-the-season/race) or because the league does not hand one out; 404 not_found — the season id belongs to a different league
unauthorized429rate_limited429quota_exceeded500internal_errorEvery error code