TeamsEndpoint 41 of 116
Table seasons
https://api.datasportsapi.com/
- Plan
- All plans
- Auth
Bearer dsa_live_…- Parameters
- 1 required · 0 optional
- Returns
PlayerLeagueSeasons[]
Lists every league and season where the team appears in a standings table, ready to pass to /v2/leagues/{id}/standings. Available since 2026-11-04.
Worth knowing
Uses the response shape of /v2/teams/{id}/statistics/seasons, except that types is empty: choose overall, home or away through /v2/leagues/{id}/standings?type= instead.
01Parameters
idpathRequiredDataSportsAPI team id, a positive integer
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/teams/{id}/standings/seasons"03Response
The top-level keys of the JSON body. Each object links to its full shape in the data reference.
dataPlayerLeagueSeasons[]meta- count
{ "data": [ { "league": { "id": 200001, "name": "Premier League", … }, "seasons": [ { "id": 200386, "types": [], … }, … ] } ], "meta": { "count": 4 } }04Errors
- 404
not_foundDataSportsAPI has never assigned this id
unauthorized429rate_limited429quota_exceeded500internal_errorEvery error code