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

Group: Races & series

Betting odds for a motorsport race weekend: every outright market the bookmaker prices — the race winner, the winning constructor, a podium or a points finish for each driver, pole (quickest in qualifying), fastest lap, whether both of a team’s cars score points or reach the podium, and the quickest driver of each practice — quoted at opening and current prices. Available on Pro, Business and Enterprise plans. 18+ only; please gamble responsibly.

Plans: Requires Pro, Business or Enterprise; a Free or Starter key receives 403 endpoint_not_in_plan.

Note: A driver selection names the driver in competitor and their constructor in team; a constructor selection leaves competitor null. Yes / no markets per driver (podium, points finish) label the selection "Yes". The source supplies no settlement flags for race markets. The list is empty for series the bookmaker does not price, for races too far ahead and for races already run. Odds are third-party prices provided for information only, not advice.

## Parameters

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

## Response

- `data`: `RaceOdds`
- `meta`: count (number of markets)
- Objects: RaceOdds (https://datasportsapi.com/markdown/reference.md#raceodds)

## Errors

- 403 endpoint_not_in_plan — returned to keys on the Free and Starter plans
- 403 history_not_in_plan — your plan’s history does not reach back to the race’s start
- 404 not_found — the id is not a race id

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

TypeScript:

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

Python:

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

Go:

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

CLI:

```bash
$ dsa races odds <id>
```

## Example response

```json
{ "data": { "raceId": 697366, "updatedAt": "2026-11-20T06:10:00.000Z",
    "markets": [ { "key": "winner", "kind": "winner", "name": "To Win Outright", "practice": null, "live": false,
        "choices": [ { "name": "Max Verstappen", "competitor": { "id": 696768, "name": "Max Verstappen", "code": "VER", … }, "team": { "id": 696872, "name": "Red Bull Racing", … },
                       "fractional": "6/4", "decimal": 2.5, "openingFractional": "13/8", "openingDecimal": 2.63 }, … ] },
      { "key": "fastestInPractice:practice2", "kind": "fastestInPractice", "name": "Fastest In Practice 2", "practice": 2, "live": false, "choices": [ … ] }, … ] },
  "meta": { "count": 13 } }
```

---

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