# GET /v2/teams/{id}/statistics/seasons

Group: Teams

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.

Plans: Every plan, Free included.

Note: 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.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `id` | path | yes | DataSportsAPI team id, a positive integer |

## Response

- `data`: `PlayerLeagueSeasons[]`
- `meta`: count
- Objects: PlayerLeagueSeasons (https://datasportsapi.com/markdown/reference.md#playerleagueseasons)

## Errors

- 404 not_found — DataSportsAPI has never assigned this id

Plus the common errors (https://datasportsapi.com/markdown/docs.md#errors).

## Request

cURL:

```bash
curl -H "Authorization: Bearer sk_live_…" \
    "https://api.datasportsapi.com/v2/teams/{id}/statistics/seasons"
```

TypeScript:

```ts
const { data, meta } = await client.teams.statisticsSeasons(id);
```

Python:

```python
res = client.teams.statistics_seasons(id)
```

Go:

```go
res, err := client.Teams.StatisticsSeasons(ctx, id)
```

CLI:

```bash
$ dsa teams statistics-seasons <id>
```

## Example response

```json
{ "data": [ { "league": { "id": 200001, "name": "Premier League", … }, "seasons": [ { "id": 200386, "name": "Premier League 26/27", "year": "26/27", "types": ["overall"], … }, … ] }, … ],
  "meta": { "count": 5 } }
```

---

Base URL: https://api.datasportsapi.com. Authenticate each /v2 call with the header `Authorization: Bearer <key>` (secret keys begin with `sk_live_`).
HTML: https://datasportsapi.com/docs/teams/statistics-seasons/ · All docs: https://datasportsapi.com/markdown/docs.md · Data reference: https://datasportsapi.com/markdown/reference.md
