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

Group: Players

The player’s career table, newest season first: statistics for each competition and season played at club and international level, either overall or split into regular season / playoffs where the league does so.

Plans: Every plan, Free included.

Note: There is a row for each competition, season and type, so an NBA season yields two rows (regularSeason and playoffs). statistics shares its keys with /v2/players/{id}/statistics, and passing a row’s league and season ids to that endpoint returns the same figures. Seasons that finished before your plan’s history window are omitted.

## Parameters

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

## Response

- `data`: `PlayerCareerSeason[]`
- `meta`: count; historyFrom is added if your plan excluded older seasons
- Objects: PlayerCareerSeason (https://datasportsapi.com/markdown/reference.md#playercareerseason)

## Errors

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/players/{id}/career"
```

TypeScript:

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

Python:

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

Go:

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

CLI:

```bash
$ dsa players career <id>
```

## Example response

```json
{ "data": [
    { "league": { "id": 195900, "name": "UEFA Champions League", … }, "season": { "id": 200410, "name": "UEFA Champions League 26/27", "year": "26/27", "startYear": 2026, "endYear": 2027 },
      "team": { "id": 18, "name": "Arsenal", … }, "type": "overall",
      "statistics": { "appearances": 3, "goals": 1, "assists": 1, "minutesPlayed": 108, "averageRating": 7.07, "expectedGoals": 1.35, … } },
    { "league": { "id": 195850, "name": "UEFA Nations League", … }, "season": { … }, "team": { "id": 412, "name": "England", … }, "type": "overall", "statistics": { … } }, … ],
  "meta": { "count": 49 } }
```

---

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