# GET /v2/series/{id}

Group: Race sports

Basic details of a racing series — its name, slug and sport.

Plans: Every plan, Free included.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `id` | path | yes | series id issued by DataSportsAPI, a positive integer |

## Response

- `data`: `SeriesRef`
- Objects: SeriesRef (https://datasportsapi.com/markdown/reference.md#seriesref)

## Errors

- 404 no_data — our data source returns nothing for this series (an id DataSportsAPI never issued gives 404 not_found instead)

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

TypeScript:

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

Python:

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

Go:

```go
res, err := client.Series.Get(ctx, id)
```

CLI:

```bash
$ dsa series get <id>
```

## Example response

```json
{ "data": { "id": 812300, "name": "Formula 1", "slug": "formula-1", "sport": "motorsport" } }
```

---

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