Skip to content
datasportsAPI

LeaguesPlayer of the season

Documentation

/

Type to filter the docs by title or path.

LeaguesEndpoint 84 of 116

Player of the season

GET

/v2/leagues/{id}/player-of-the-season

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

  • idpathRequired

    league id issued by DataSportsAPI, a positive integer

  • seasonqueryRequired

    season 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.

data
PlayerOfTheSeason
meta
season
Example response
{ "data": { "player": { "id": 4022, "name": "Bruno Fernandes", … }, "team": { "id": 35, "name": "Manchester United", … }, "rating": 7.61, "appearances": 35 },
  "meta": { "season": 180212 } }

04Errors

  • 403history_not_in_plan

    your plan’s history window begins after this season ended

  • 404no_data

    no 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

Any key can also meet401unauthorized429rate_limited429quota_exceeded500internal_errorEvery error code