Skip to content

Livematches in play

Demo: Matchboard, opens in a new tab
Docs v2

Players

Career

GET

/v2/players/{id}/career

All plans

View as MarkdownTry in Playground →

The player’s career table, newest season first: statistics for each competition and season played at club and international level, either overall or split into regular season / playoffs where the league does so.

There is a row for each competition, season and type, so an NBA season yields two rows (regularSeason and playoffs). statistics shares its keys with /v2/players/{id}/statistics, and passing a row’s league and season ids to that endpoint returns the same figures. Seasons that finished before your plan’s history window are omitted.

Parameters

id

pathrequired

DataSportsAPI player id, a positive integer

Response

meta
count; historyFrom is added if your plan excluded older seasons

Any /v2 call can also come back with one of the common errors.

curl -H "Authorization: Bearer sk_live_…" \
    "https://api.datasportsapi.com/v2/players/{id}/career"
Example
{ "data": [
    { "league": { "id": 195900, "name": "UEFA Champions League", … }, "season": { "id": 200410, "name": "UEFA Champions League 26/27", "year": "26/27", "startYear": 2026, "endYear": 2027 },
      "team": { "id": 18, "name": "Arsenal", … }, "type": "overall",
      "statistics": { "appearances": 3, "goals": 1, "assists": 1, "minutesPlayed": 108, "averageRating": 7.07, "expectedGoals": 1.35, … } },
    { "league": { "id": 195850, "name": "UEFA Nations League", … }, "season": { … }, "team": { "id": 412, "name": "England", … }, "type": "overall", "statistics": { … } }, … ],
  "meta": { "count": 49 } }