# GET /v2/players/{id}/seasons

Group: Players

The leagues and seasons the player has statistics for, with the statistics types available in each (overall, home, away, regularSeason, playoffs).

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `id` | path | yes | our numeric id (positive integer) |

## Response

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

## Request

cURL:

```bash
curl -H "Authorization: Bearer sk_live_…" \
    "https://api.sportsapi.app/v2/players/{id}/seasons"
```

TypeScript:

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

Python:

```python
res = client.players.seasons(id)
```

Go:

```go
res, err := client.Players.Seasons(ctx, id)
```

CLI:

```bash
$ sportsapi players seasons <id>
```

## Example response

```json
{ "data": [ { "league": { "id": 195828, "name": "Premier League", "slug": "premier-league", "sport": "football",
                "category": "England", "country": { "code": "EN", "name": "England" }, "image": "…" },
    "seasons": [ { "id": 200386, "name": "Premier League 26/27", "year": "26/27", "startYear": 2026, "endYear": 2027,
                   "types": ["overall", "home", "away"] }, … ] }, … ],
  "meta": { "count": 19 } }
```

---

Base URL: https://api.sportsapi.app. Send your API key as `Authorization: Bearer <key>` on every /v2 request; keys are created in the dashboard (https://sportsapi.app/dashboard).
HTML: https://sportsapi.app/docs/players/seasons · All docs: https://sportsapi.app/markdown/en/docs.md
