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

Group: Race sports

Betting odds of a race weekend (motorsport): every outright market one bookmaker prices — race winner, winning constructor, podium, points finish, pole (fastest qualifier), fastest lap, both cars in the points or on the podium, fastest in each practice — with opening and current prices. Pro, Business and Enterprise plans. 18+ · Gamble responsibly.

Plans: Business and up (other plans get 403 endpoint_not_in_plan).

Note: A driver choice names the driver in competitor and his constructor in team; a constructor choice has competitor null. Per-driver yes / no markets (podium, points finish) name the choice "Yes". Settled markets carry each choice’s winning flag as the source sets it (true / false; null where it gives none; since 2026-11-25). A market listed twice is its pre-match copy and its in-play copy, keyed …:live (live true). updatedAt is when we last fetched the odds, not a bookmaker timestamp (the source sends none). MotoGP weekends: the bookmaker prices the MotoGP, Moto2 and Moto3 riders in the same markets (Portugal 2026: 77 riders in To Win Outright), as the source lists them — choices are not split by class. An empty list for series the bookmaker does not price and a race too far ahead; a finished race keeps its last prices (the source still lists them). Odds are third-party prices for information, not advice.

## Parameters

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

## Response

- `data`: `RaceOdds`
- `meta`: count (markets)
- Objects: RaceOdds (https://sportsapi.app/markdown/en/reference.md#raceodds)

## Errors

- 403 endpoint_not_in_plan — Free and Starter
- 403 history_not_in_plan — the race started before your plan’s history
- 404 not_found — not a race 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}/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
$ sportsapi 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.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/odds · All docs: https://sportsapi.app/markdown/en/docs.md
