# GET /v2/teams/{id}/race-career

Group: Teams

For race sports, the career of a driver or constructor: aggregate totals (races started, wins, podiums, poles, titles) plus one row per series season with championship position, points and figures; a driver’s row also names their constructor in that season. Available since 2026-11-04.

Plans: Every plan, Free included.

Note: Seasons are ordered newest first. A season still in progress shows the standings to date, with position null until the first ranked race. Race-by-race results for a season come from /v2/teams/{id}/races (send the season id). A competitor from another sport gets totals null and an empty seasons list.

## Parameters

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

## Response

- `data`: `RaceCareer`
- `meta`: count (number of seasons); historyFrom appears if your plan trimmed older seasons
- Objects: RaceCareer (https://datasportsapi.com/markdown/reference.md#racecareer)

## 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}/race-career"
```

TypeScript:

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

Python:

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

Go:

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

CLI:

```bash
$ dsa teams race-career <id>
```

## Example response

```json
{ "data": { "totals": { "racesStarted": 43, "wins": 9, "podiums": 19, "polePositions": 7, "championships": 1 },
    "seasons": [ { "series": { "id": 300012, "name": "Formula 1", … }, "season": { "id": 300480, "name": "Formula 1 2026", "year": "2026", … },
      "team": { "id": 300101, "name": "Mercedes", … }, "position": 1, "points": 380, "racesStarted": 19, "wins": 9, "podiums": 16, "polePositions": 7 }, … ] },
  "meta": { "count": 3 } }
```

---

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