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

Group: Teams

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.

Plans: Every plan, Free included.

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

## 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}/standings/seasons"
```

TypeScript:

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

Python:

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

Go:

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

CLI:

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

## Example response

```json
{ "data": [ { "league": { "id": 200001, "name": "Premier League", … }, "seasons": [ { "id": 200386, "types": [], … }, … ] } ], "meta": { "count": 4 } }
```

---

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/standings-seasons/ · All docs: https://datasportsapi.com/markdown/docs.md · Data reference: https://datasportsapi.com/markdown/reference.md
