# Get a driver's races in a season (v1)

Returns every race of a season for a driver or constructor with position, points, gap, grid and time. Use a season stage id. Nothing found returns `data: null`.

- Platform: Sofascore
- Request: `GET https://api.toolzerhub.com/v1/sofascore/team/motorsport/season-races`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/sofascore/motorsport/get-motorsport-driver-season

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `id` | query | yes | integer | Driver or constructor id. |
| `season_id` | query | yes | integer | Season stage id, from Get Motorsport Driver Seasons. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/sofascore/team/motorsport/season-races?id=<id>&season_id=<season_id>" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
