TeamsEndpoint 39 of 116
Statistics seasons
https://api.datasportsapi.com/
- Plan
- All plans
- Auth
Bearer dsa_live_…- Parameters
- 1 required · 0 optional
- Returns
PlayerLeagueSeasons[]
An index of the leagues and seasons with team season statistics, giving the league and season values that /v2/teams/{id}/statistics accepts along with the statistics types offered in each. Available since 2026-11-04.
Worth knowing
Shares its shape with /v2/players/{id}/seasons, newest season first. Two related indexes: /v2/teams/{id}/standings/seasons lists the leagues in which the team appears in a table (types is empty there), and /v2/teams/{id}/top-players/seasons lists where /v2/teams/{id}/top-players has squad statistics.
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}/statistics/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, "name": "Premier League 26/27", "year": "26/27", "types": ["overall"], … }, … ] }, … ],
"meta": { "count": 5 } }04Errors
- 404
not_foundDataSportsAPI has never assigned this id
unauthorized429rate_limited429quota_exceeded500internal_errorEvery error code