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

Group: Teams

Race sports: every series season a driver or constructor raced in, newest first — constructors included, who have no race career. Since 2026-11-22.

Note: Pass a season id to /v2/teams/{id}/races for the race-by-race results, or to /v2/series/{id}/standings. An empty array for a competitor of another sport.

## Parameters

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

## Response

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

## Errors

- 404 not_found — an id we never issued

Plus the common errors (https://sportsapi.app/markdown/en/docs.md#errors).

## Request

cURL:

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

TypeScript:

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

Python:

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

Go:

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

CLI:

```bash
$ sportsapi teams race-seasons <id>
```

## Example response

```json
{ "data": [ { "series": { "id": 300012, "name": "Formula 1", … }, "season": { "id": 300480, "name": "Formula 1 2026", "year": "2026", … } }, … ],
  "meta": { "count": 17 } }
```

---

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/teams/race-seasons · All docs: https://sportsapi.app/markdown/en/docs.md
