---
title: "Odds history API reference: past and closing odds"
description: "See what a game's odds were at a past time, how they moved and where they closed, from 24 November 2026."
canonical: https://dino.markets/docs/history/
---

> Index of every dino.markets page and doc for AI readers: [llms.txt](https://dino.markets/llms.txt)

# Odds history

See what a game's odds were at a past time, how they moved and where they closed, from 24 November 2026.

## What history holds

- The first prices are from 24 November 2026 at 15:28 UTC. Nothing earlier is served.
- History is usually under 75 minutes behind the live prices, and can reach about 95 minutes once a day. `as_of` says how far the answer is complete.
- It holds the price changes we saw when we read each book, for the books on the [odds routes](https://dino.markets/docs/odds/).
- It needs the Starter, Basic or Pro plan. A Free key gets `403 plan_limit` and uses no credit.
- A history call that returns prices costs 10 credits. Empty answers, refused calls and errors cost nothing.
- History is on the HTTP API only. The [MCP tools](https://dino.markets/docs/mcp/) do not read it.

| You want | Call | Credits |
| --- | --- | --- |
| Odds as they stood at one time | `GET /v2/odds` or `GET /v2/events/{event_id}/odds`, with `at` | 10 |
| One game’s opening price, changes and closing price | `GET /v2/events/{event_id}/odds/history` | 10 |
| Opening and closing prices of finished games | `GET /v2/closing-lines` | 10 |
| Games that finished more than 72 hours ago | `GET /v2/events` with `status=finished` | Free |

## Limits

- Before 30 November 2026, some main spreads and totals can be about a point off, mostly at Kambi books.
- With `alternates=true`, history can list a line that a book had already taken down.
- Games that finished before 27 November 2026 have no score.
- A closing price is the last price seen before the start time. An outright has none.

## Odds at a past time

Add `at` to `GET /v2/odds` or `GET /v2/events/{event_id}/odds` to get the prices as they stood at that time. Here are two NBA games at midnight UTC on 29 November:

```
curl -s -G "https://api.dino.markets/v2/odds" \
  -d league=nba -d at=2026-11-29T00:00:00Z \
  -d books=pinnacle -d markets=moneyline -d limit=2 \
  -H "Authorization: Bearer $DINO_API_KEY"
```

200 OK

```
{
  "as_of": "2026-11-29T00:00:00Z",
  "requested_at": "2026-11-29T00:00:00Z",
  "events": [
    {
      "id": "094b68a1809adeed34d5d905d77efb77",
      "kind": "game",
      "sport": "basketball",
      "league": "nba",
      "start_time": "2026-11-29T01:00:00Z",
      "live": false,
      "status": "scheduled",
      "participants": [
        {"id": "p_bjf2u3f", "name": "Chicago Bulls", "role": "home"},
        {"id": "p_7ezynwl", "name": "Indiana Pacers", "role": "away"}
      ],
      "home": {"id": "p_bjf2u3f", "name": "Chicago Bulls"},
      "away": {"id": "p_7ezynwl", "name": "Indiana Pacers"},
      "score": null,
      "books": [
        {
          "key": "pinnacle",
          "name": "Pinnacle",
          "markets": [
            {
              "key": "moneyline",
              "period": "game",
              "line": null,
              "main": true,
              "updated_at": "2026-11-28T23:49:14Z",
              "outcomes": [
                {
                  "name": "Chicago Bulls",
                  "participant_id": "p_bjf2u3f",
                  "side": "home",
                  "price": "2.220",
                  "american": "+122"
                },
                {
                  "name": "Indiana Pacers",
                  "participant_id": "p_7ezynwl",
                  "side": "away",
                  "price": "1.741",
                  "american": "-135"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "1b6d5c225969a0ff2dbf424ac05ed430",
      "kind": "game",
      "sport": "basketball",
      "league": "nba",
      "start_time": "2026-11-29T01:00:00Z",
      "live": false,
      "status": "scheduled",
      "participants": [
        {"id": "p_mr77vgg", "name": "Milwaukee Bucks", "role": "home"},
        {"id": "p_jmzsewi", "name": "Oklahoma City Thunder", "role": "away"}
      ],
      "home": {"id": "p_mr77vgg", "name": "Milwaukee Bucks"},
      "away": {"id": "p_jmzsewi", "name": "Oklahoma City Thunder"},
      "score": null,
      "books": [
        {
          "key": "pinnacle",
          "name": "Pinnacle",
          "markets": [
            {
              "key": "moneyline",
              "period": "game",
              "line": null,
              "main": true,
              "updated_at": "2026-11-28T23:49:14Z",
              "outcomes": [
                {
                  "name": "Milwaukee Bucks",
                  "participant_id": "p_mr77vgg",
                  "side": "home",
                  "price": "5.500",
                  "american": "+450"
                },
                {
                  "name": "Oklahoma City Thunder",
                  "participant_id": "p_jmzsewi",
                  "side": "away",
                  "price": "1.176",
                  "american": "-568"
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  "next_cursor": "MjAyNi0xMS0yOVQwMTowMDowMFp8MWI2ZDVjMjI1OTY5YTBmZjJkYmY0MjRhYzA1ZWQ0MzA"
}
```

On the one-game route the answer holds one `event` in place of `events`, and there is no `next_cursor`.

| Parameter | Type | Default | Meaning |
| --- | --- | --- | --- |
| `at` | RFC 3339 time | none | The time you ask about, such as `2026-11-29T00:00:00Z`. Write a `+` offset as `%2B`. An empty value or another format is a 400. |

Every other parameter is as on [the odds routes](https://dino.markets/docs/odds/#parameters), `depth` included.

Which games the answer lists:

- Without `status`, the league route lists games then upcoming or in play that had a price.
- A game that started more than 12 hours before `at` is left out of the league route.
- An outright with no price change in the 24 hours before `at` is left out too.
- A time before our first record of a game gives that game no books.
- A game has no books from the time we saw it finish.
- A page can hold fewer than `limit` games, even none, and still carry `next_cursor`. Follow it until it is `null`.

| Field | Type | Meaning |
| --- | --- | --- |
| `requested_at` | UTC time | The `at` you sent |
| `as_of` | UTC time | The time the prices are from: `at`, or earlier while history has not reached `at` |
| `status` | string | The game’s status at that time |

All other fields are the [response fields](https://dino.markets/docs/odds/#response-fields) of the odds routes.

## One game’s price history

`GET /v2/events/{event_id}/odds/history` returns one row for each outcome of each book’s market. A row has the opening price, the closing price and every change. This call keeps half an hour of changes:

```
curl -s -G "https://api.dino.markets/v2/events/094b68a1809adeed34d5d905d77efb77/odds/history" \
  -d books=pinnacle -d markets=moneyline \
  -d from=2026-11-28T23:00:00Z -d to=2026-11-28T23:30:00Z \
  -H "Authorization: Bearer $DINO_API_KEY"
```

200 OK

```
{
  "as_of": "2026-12-01T05:47:21Z",
  "event": {
    "id": "094b68a1809adeed34d5d905d77efb77",
    "kind": "game",
    "sport": "basketball",
    "league": "nba",
    "start_time": "2026-11-29T01:00:00Z",
    "live": false,
    "status": "finished",
    "participants": [
      {"id": "p_bjf2u3f", "name": "Chicago Bulls", "role": "home"},
      {"id": "p_7ezynwl", "name": "Indiana Pacers", "role": "away"}
    ],
    "home": {"id": "p_bjf2u3f", "name": "Chicago Bulls"},
    "away": {"id": "p_7ezynwl", "name": "Indiana Pacers"},
    "score": {"home": "108", "away": "107"}
  },
  "history": [
    {
      "book": "pinnacle",
      "market": "moneyline",
      "period": "game",
      "outcome": "Chicago Bulls",
      "open": {"at": "2026-11-28T04:12:21Z", "price": "1.709", "american": "-141"},
      "close": {"at": "2026-11-28T23:49:14Z", "price": "2.220", "american": "+122"},
      "changes": [
        {"at": "2026-11-28T23:04:13Z", "price": "2.070", "american": "+107"},
        {"at": "2026-11-28T23:19:13Z", "price": "2.130", "american": "+113"}
      ]
    },
    {
      "book": "pinnacle",
      "market": "moneyline",
      "period": "game",
      "outcome": "Indiana Pacers",
      "open": {"at": "2026-11-28T04:12:21Z", "price": "2.250", "american": "+125"},
      "close": {"at": "2026-11-28T23:49:14Z", "price": "1.741", "american": "-135"},
      "changes": [
        {"at": "2026-11-28T23:04:13Z", "price": "1.833", "american": "-120"},
        {"at": "2026-11-28T23:19:13Z", "price": "1.781", "american": "-128"}
      ]
    }
  ]
}
```

| Parameter | Type | Default | Meaning |
| --- | --- | --- | --- |
| `event_id` (path) | string | required | 32 characters. Any other length is a 400. |
| `markets` | comma separated | `moneyline`, `moneyline_3way`, `spread`, `total`; `outright` for an outright | Keys from the [markets](https://dino.markets/docs/odds/#markets) table. Soccer, team total and player markets come only when named. An unknown key is a 400. |
| `period` | string | `game` | `game`, `h1`, `h2`, `q1`, `q2`, `q3`, `q4`, `p1`, `p2`, `p3` or `all`. Any other value is a 400. |
| `alternates` | `true` or `false` | `false` | `false` follows the main line, so a row’s point can move. `true` gives each line its own row. Any other value is a 400. |
| `books` | comma separated | every book | Book codes from [books](https://dino.markets/docs/leagues/#all-books). An unknown code is a 400. |
| `region` | string | none | `us`, `us2`, `uk`, `eu`, `au`, `ca`, `us_dfs`, `us_ex`, `fr`, `se`, `fi`, `asia` or `africa`. With `books`, a book must match both. |
| `from` | RFC 3339 time | none | Keeps changes at or after this time. `open` and `close` still cover the whole game. |
| `to` | RFC 3339 time | none | Keeps changes at or before this time. A `to` before `from` is a 400. |

| Field | Type | Meaning |
| --- | --- | --- |
| `as_of` | UTC time | The time history is complete to |
| `event` | object | The game, with the [response fields](https://dino.markets/docs/odds/#response-fields) of an event and no `books` |
| `history` | array | One row per outcome, ordered by book, market, period, player, team, line and side. Empty when history holds no prices for the game yet. |
| `book`, `market`, `period` | string | The book code, market key and part of the game |
| `line` | string | Only with `alternates=true` on a market with lines: the line of the row. For a spread, the home side’s handicap. |
| `player`, `team` | object | Only on a player market or a team total: who the row is about |
| `outcome` | string | The outcome’s name, such as a team or `Over` |
| `open` | object | The first price we saw |
| `close` | object or `null` | The last price seen before the start. `null` until history reaches the start, when no price was seen before it, and for an outright. |
| `changes` | array | Each change of price or line, oldest first. Empty when `from` and `to` leave none. |
| `at` | UTC time | In `open`, `close` and `changes`: when we saw the price |
| `point` | string | The signed line then. Only on markets with lines. |
| `price` | string | Decimal odds, 3 places |
| `american` | string or `null` | The same price in American odds. `null` at 1.000 or less. |
| `live` | boolean | Present and `true` on a price seen at or after the start |

## Closing lines

`GET /v2/closing-lines` returns the finished games of one league, newest first. Each has every book’s opening and closing price, and the final score where we hold one.

```
curl -s -G "https://api.dino.markets/v2/closing-lines" \
  -d league=nba -d books=pinnacle -d markets=moneyline -d limit=1 \
  -d start_after=2026-11-29T01:00:00Z -d start_before=2026-11-29T01:00:00Z \
  -H "Authorization: Bearer $DINO_API_KEY"
```

200 OK

```
{
  "as_of": "2026-12-01T05:47:21Z",
  "events": [
    {
      "id": "1b6d5c225969a0ff2dbf424ac05ed430",
      "kind": "game",
      "sport": "basketball",
      "league": "nba",
      "start_time": "2026-11-29T01:00:00Z",
      "live": false,
      "status": "finished",
      "participants": [
        {"id": "p_mr77vgg", "name": "Milwaukee Bucks", "role": "home"},
        {"id": "p_jmzsewi", "name": "Oklahoma City Thunder", "role": "away"}
      ],
      "home": {"id": "p_mr77vgg", "name": "Milwaukee Bucks"},
      "away": {"id": "p_jmzsewi", "name": "Oklahoma City Thunder"},
      "score": {"home": "119", "away": "111"},
      "lines": [
        {
          "book": "pinnacle",
          "market": "moneyline",
          "period": "game",
          "outcome": "Milwaukee Bucks",
          "open": {"at": "2026-11-28T04:12:21Z", "price": "5.480", "american": "+448"},
          "close": {"at": "2026-11-29T00:34:16Z", "price": "5.510", "american": "+451"}
        },
        {
          "book": "pinnacle",
          "market": "moneyline",
          "period": "game",
          "outcome": "Oklahoma City Thunder",
          "open": {"at": "2026-11-28T04:12:21Z", "price": "1.168", "american": "-595"},
          "close": {"at": "2026-11-28T23:49:14Z", "price": "1.176", "american": "-568"}
        }
      ]
    }
  ],
  "next_cursor": "MjAyNi0xMS0yOVQwMTowMDowMFp8MWI2ZDVjMjI1OTY5YTBmZjJkYmY0MjRhYzA1ZWQ0MzA"
}
```

| Parameter | Type | Default | Meaning |
| --- | --- | --- | --- |
| `league` | string | required | A value from [leagues](https://dino.markets/docs/leagues/). Missing or unknown is a 400 that lists the valid ones. |
| `markets` | comma separated | as for price history | As for price history |
| `period` | string | `game` | As for price history |
| `alternates` | `true` or `false` | `false` | As for price history |
| `books` | comma separated | every book | As for price history |
| `region` | string | none | As for price history |
| `start_after` | RFC 3339 time | none | Only games that start at or after this time |
| `start_before` | RFC 3339 time | none | Only games that start at or before this time |
| `limit` | integer | 25 | Games per page, 1 to 100 |
| `cursor` | string | none | The `next_cursor` of the previous answer, unchanged |

Only games with a price seen before the start are listed. A game with no final score counts as finished once it started more than 12 hours ago and no book has changed its prices for 6 hours. A page can hold fewer than `limit` games, even none, and still carry `next_cursor`.

| Field | Type | Meaning |
| --- | --- | --- |
| `as_of` | UTC time | The time history is complete to |
| `events` | array | The games, with the [response fields](https://dino.markets/docs/odds/#response-fields) of an event and `lines` in place of `books` |
| `lines` | array | One row per outcome of each book’s market: `book`, `market`, `period`, `line`, `player`, `team`, `outcome`, `open` and `close`, as in price history |
| `next_cursor` | string or `null` | The next page. `null` on the last page. |

## Older finished games

With `status=finished`, a paid plan gets games back to 24 November 2026 on `/v2/events` and `/v2/odds`. The Free plan reaches games that started in the last 72 hours. A game that old comes with its score, where we hold one, and no prices. A page that holds no price is free.

```
curl -s -G "https://api.dino.markets/v2/events" \
  -d league=nba -d status=finished -d limit=2 \
  -d start_before=2026-11-25T02:00:00Z \
  -H "Authorization: Bearer $DINO_API_KEY"
```

200 OK

```
{
  "as_of": "2026-12-01T06:04:49Z",
  "events": [
    {
      "id": "690c70077c6f7bff5be638bfd355137b",
      "kind": "game",
      "sport": "basketball",
      "league": "nba",
      "start_time": "2026-11-25T01:10:00Z",
      "live": false,
      "status": "finished",
      "participants": [
        {"id": "p_tsip2yi", "name": "Washington Wizards", "role": "home"},
        {"id": "p_64fagyf", "name": "Boston Celtics", "role": "away"}
      ],
      "home": {"id": "p_tsip2yi", "name": "Washington Wizards"},
      "away": {"id": "p_64fagyf", "name": "Boston Celtics"},
      "score": null
    },
    {
      "id": "66b5c29044efe2cee319ccab84c11afd",
      "kind": "game",
      "sport": "basketball",
      "league": "nba",
      "start_time": "2026-11-25T00:10:00Z",
      "live": false,
      "status": "finished",
      "participants": [
        {"id": "p_tnc3yxj", "name": "Orlando Magic", "role": "home"},
        {"id": "p_wtyhdvp", "name": "Detroit Pistons", "role": "away"}
      ],
      "home": {"id": "p_tnc3yxj", "name": "Orlando Magic"},
      "away": {"id": "p_wtyhdvp", "name": "Detroit Pistons"},
      "score": null
    }
  ],
  "next_cursor": null
}
```

The parameters and fields are those of [games without prices](https://dino.markets/docs/odds/#games-without-prices). A Free key that asks only for games older than 72 hours gets `403 plan_limit`.

## Errors

An error uses no credit.

| Status | `error` | `message` | When |
| --- | --- | --- | --- |
| 400 | `invalid_request` | `at is empty. ...` or `at is not valid: "...". ...` | `at` is not an RFC 3339 time |
| 400 | `invalid_request` | `from is not valid: ...`, `to is not valid: ...` or `to is before from.` | A bad time window on price history |
| 400 | `invalid_request` | `league is required. Valid leagues: ...` | Closing lines without `league` |
| 400 | `invalid_request` | `Event id must be 32 characters.` | A bad id in the path |
| 400 | `invalid_request` | See [bad parameters](https://dino.markets/docs/errors/#bad-parameters) | Any other bad parameter |
| 401 | `unauthorized` | `API key is missing. ...`, `API key is invalid or not tied to a subscription.` or `API key has been deactivated.` | No key, a wrong key or a revoked key |
| 403 | `plan_limit` | `Odds history needs a paid plan: Starter, Basic or Pro. The call returned no data and used no credit.` | A Free key asks for history. The first words name what was asked. |
| 404 | `not_found` | `Event not found. It may have concluded; get current ids from /v2/events.` | No game has this id |
| 404 | `not_found` | `No such route.` | A wrong path |
| 405 | `method_not_allowed` | `Only GET is supported.` | Another method |
| 429 | `quota_exceeded` | `This call costs 10 credits and the key has 9 left. Add credits or wait for the quota to reset.` | Fewer than 10 credits are left. Nothing is taken. |
| 429 | `quota_exceeded` | `Usage quota has been reached. Upgrade the plan or wait for the quota to reset.` | The plan’s credits are used up |
| 429 | `rate_limited` | `Rate limited. Space requests out over several seconds and try again.` | Too many calls. Wait for `Retry-After`. |
| 500 | `internal_error` | `Something went wrong on our side. Try again in a moment.` | A fault on our side |
| 503 | `unavailable` | `History is unavailable. Try again in a few seconds.` | History cannot be read right now |
| 503 | `unavailable` | `Too many large requests are being answered right now. ...` | The server is busy with large answers |
| 503 | `unavailable` | `Accounts are unavailable. Try again in a few seconds.` or `The service is starting up. Try again in a few seconds.` | A short fault. Wait for `Retry-After`. |

The first words of a `plan_limit` message are one of `The at parameter needs`, `The depth parameter needs`, `Odds history needs`, `Closing lines need` or `Finished games that started more than 72 hours ago need`.
