# GET /v2/races/{id}/sessions

Group: Race sports

The race’s sessions in start order: practice, qualifying (with its parts, Q1, Q2…), sprint, race — a cycling race’s stages — each with type, status, start time, laps, distance, stage towns and profile (cycling), weather, track condition, temperatures, safety car and winner.

Note: A session id (or a qualifying part id from parts) is what /results and /laps take as session=. An empty list when the source lists no sessions.

## Parameters

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

## Response

- `data`: `RaceSession[]`
- `meta`: race, count
- Objects: RaceSession (https://sportsapi.app/markdown/en/reference.md#racesession)

## Errors

- 403 history_not_in_plan — the race started before your plan’s history
- 404 not_found — not a race id (a season or session id included)
- 404 no_data — a duplicate copy under a second series (as /v2/races/{id})

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/races/{id}/sessions"
```

TypeScript:

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

Python:

```python
res = client.races.sessions(id)
```

Go:

```go
res, err := client.Races.Sessions(ctx, id)
```

CLI:

```bash
$ sportsapi races sessions <id>
```

## Example response

```json
{ "data": [ …,
    { "id": 812350, "name": "Grand Prix", "type": "race", "status": "finished", "startTime": "2026-10-11T12:00:00.000Z",
      "laps": 62, "lapsCompleted": 62, "distanceMeters": 305337, "departureCity": null, "arrivalCity": null, "profile": null,
      "weather": "night", "trackCondition": "dry", "airTemperatureC": 30.2, "trackTemperatureC": 41.5, "humidityPercent": 77.4,
      "safetyCar": null, "parts": [], "winner": { "id": 700001, "name": "Max Verstappen", … } } ],
  "meta": { "race": 812345, "count": 6 } }
```

---

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