# GET /v2/series/{id}/standings/races

Group: Races & series

A season’s championship table broken down race by race — every round run so far with each competitor’s finishing place, points and gap to the winner, with retirements (DNF) and non-starters (DNS) flagged — and it closes with the totals for the season. This is the detailed view the source itself shows.

Plans: Every plan, Free included.

Note: Competitors are identified by id alone; match them against /v2/series/{id}/standings to get their names.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `id` | path | yes | series id issued by DataSportsAPI, a positive integer |
| `season` | query | no | season id from /v2/series/{id}/seasons. Left out, the call answers for the season in progress: the newest season as soon as one of its races has started, and until then the season before it (meta.season names the one served) |
| `type` | query | no | competitors (default) \| teams |

## Response

- `data`: `SeriesRaceStandings`
- `meta`: season, type, count (number of races)
- Objects: SeriesRaceStandings (https://datasportsapi.com/markdown/reference.md#seriesracestandings)

## Errors

- 400 bad_request — type is something other than competitors|teams
- 404 not_found — the id is not a series id, or the season belongs to a different series

Plus the errors every /v2 call shares (https://datasportsapi.com/markdown/docs/errors.md).

## Request

cURL:

```bash
curl -H "Authorization: Bearer sk_live_…" \
    "https://api.datasportsapi.com/v2/series/{id}/standings/races"
```

TypeScript:

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

Python:

```python
res = client.series.race_standings(id)
```

Go:

```go
res, err := client.Series.RaceStandings(ctx, id, &datasportsapi.SeriesRaceStandingsParams{})
```

CLI:

```bash
$ dsa series race-standings <id>
```

## Example response

```json
{ "data": { "races": [ { "raceId": 697365, "name": "Brazil GP", "country": { "code": "BR", … }, "startDate": "2026-11-06T13:07:46.000Z",
        "results": [ { "competitorId": 696760, "position": 1, "points": 25, "gapMs": null, "state": "finished" }, { "competitorId": 696761, "position": 2, "points": 18, "gapMs": 14602, "state": "finished" }, …,
                     { "competitorId": 696790, "position": null, "points": null, "gapMs": null, "state": "dnf" } ] }, … ],
    "totals": [ { "competitorId": 696760, "points": 246 }, … ] },
  "meta": { "season": 696758, "type": "competitors", "count": 20 } }
```

---

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/races/series-race-standings/ · Group: https://datasportsapi.com/markdown/docs/races.md · All docs: https://datasportsapi.com/markdown/docs.md · Data model: https://datasportsapi.com/markdown/reference.md
