# Historical odds API: use recorded windows, not assumed archives

GetOdds historical odds: player-prop line history with opens and closes since November 2026, and the FanDuel price archive, with gaps kept. No older archive.

Canonical page: https://getoddsapi.com/historical-odds-api

## Free API key

Get a free GetOdds API key: **100 requests per UTC day and 60 per minute, no card**. One key covers REST and the hosted MCP server.

Sign up: https://getoddsapi.com/sign-up?ref=ai-claudebot

## Quickstart

1. Create an account at https://getoddsapi.com/sign-up?ref=ai-claudebot, open https://getoddsapi.com/dashboard and issue a key with the sources you need (fanduel, betrivers, prizepicks or underdog). Keep it in a server environment variable named GETODDS_API_KEY.
2. Read current NBA spreads from every book with curl:

```bash
curl --fail-with-body "https://getoddsapi.com/v4/sports/basketball_nba/odds?regions=us,us_ex,eu&markets=spreads&oddsFormat=american" \
  -H "Authorization: Bearer $GETODDS_API_KEY"
```

3. The same request in Python (standard library only):

```python
import json, os, urllib.request

req = urllib.request.Request(
    "https://getoddsapi.com/v4/sports/basketball_nba/odds?regions=us,us_ex,eu&markets=spreads&oddsFormat=american",
    headers={"Authorization": "Bearer " + os.environ["GETODDS_API_KEY"]},
)
with urllib.request.urlopen(req) as res:
    events = json.load(res)
for e in events:
    for b in e["bookmakers"]:
        for o in b["markets"][0]["outcomes"]:
            print(e["away_team"], "at", e["home_team"], b["key"], o["name"], o.get("point"), o["price"], b["last_update"])
```

4. Check each book’s `last_update` before using a price. Full reference: https://getoddsapi.com/docs

## Use with Claude (MCP)

```bash
claude mcp add --transport http getodds https://getoddsapi.com/api/mcp \
  --header "Authorization: Bearer $GETODDS_API_KEY"
```

The MCP tools follow the key's source grants and share its allowance. Setup guide: https://getoddsapi.com/use-with-claude

SDKs: `pip install getodds` (PyPI) · `npm install getoddsapi` (npm) · `npx -y getodds-mcp` (local MCP server) · R: `remotes::install_github("getoddsapi/getodds-r")`. Source: https://github.com/getoddsapi · https://getoddsapi.com/docs/sdks

## Pricing

| Plan | Allowance | Price |
| --- | --- | --- |
| Free key | 100 requests a day, 60 a minute | $0, no card |
| Starter | 100,000 credits a month, 120 a minute | $49 a month |
| Pro | 750,000 credits a month, 300 a minute | $113 a month |
| Business | 3,000,000 credits a month, 600 a minute | $219 a month |
| Scale | 15,000,000 credits a month, 1,200 a minute | $279 a month |

Each plan is priced just under the matching odds-api.io tier (Solo £49, about $65; Starter £99, about $131; Growth £179, about $236; Pro £229, about $302 a month, checked 2026-11-17), and every GetOdds plan reads every source.

Free evaluation allowance: 100 requests per UTC day and 60 per minute per account, with no payment step. Paid plans $49 to $279 a month for 100K to 15M credits, self-serve at /pricing.
Paid plans keep running past their monthly credits: extra credits are billed at $0.1 per 1,000 on Starter, $0.05 per 1,000 on Pro, $0.025 per 1,000 on Business, $0.012 per 1,000 on Scale, invoiced with the subscription, up to a default monthly cap ($10 on Starter, $38 on Pro, $78 on Business, $198 on Scale) that you can change or set to $0 to turn overage off.
Details: https://getoddsapi.com/pricing

## Guide


Canonical: https://getoddsapi.com/historical-odds-api
Reviewed: 2026-11-23 UTC

**Answer:** The GetOdds historical odds API returns player-prop line history since November 2026 (/api/v1/props/history, with each line's open, close and every move) and a retained FanDuel price archive with explicit coverage (/api/v1/history/archive); it holds no data from before November 2026.

GetOdds historical odds: player-prop line history with opens and closes since November 2026, and the FanDuel price archive, with gaps kept. No older archive.

## History belongs to the dataset that recorded it

A historical odds integration needs a market identity, an observation time and evidence of what was retained. GetOdds keeps player-prop line moves and sampled FanDuel markets, and reports its own coverage and gaps so you can see what exists before you query it.

## Match your question to a history endpoint

All paths are on getoddsapi.com and use your GetOdds key. Verify the current OpenAPI parameters before querying; never assume an as-of filter works on every endpoint.

| Resource | Meaning |
| --- | --- |
| /api/v1/props/history | One prop line’s moves, with its open and close, kept since November 2026; take the id from /api/v1/props?history=true |
| /api/v1/history/archive | Durable captured FanDuel price evidence for one event |
| /api/v1/history/coverage | Capture activation, retained dates, gaps and import progress |

## Access windows are not retention guarantees

Retained history starts when capture started and is limited to what was actually observed. Read /api/v1/history/coverage for the real start dates and gaps of each source instead of assuming that sportsbook and pick’em data share a start date or retention window.

## Avoid look-ahead bias in a backtest

Record the query, filters, source identity and capture timestamp alongside the data. Choose values observed before your decision cutoff, handle missing periods explicitly, and preserve revisions instead of silently overwriting them.

A closing price requires an explicit cutoff and evidence of the last eligible observation. No returned row does not mean the market never existed.

## Questions

### Does GetOdds have historical odds endpoints?

Yes: /api/v1/props/history for player-prop line moves and /api/v1/history/archive for the FanDuel price archive. Coverage is limited to retained observations; check /api/v1/history/coverage.

### Does paid access mean unlimited historical coverage?

No. Entitlement to retained records cannot recreate observations that were never collected or have been removed.

### Are prop closes official closing prices?

No. A close is the last retained observation of that line before it came down.

## Sources

- [GetOdds history archive guide](https://getoddsapi.com/docs/history-archive)
- [GetOdds OpenAPI](https://getoddsapi.com/openapi.json)
- [GetOdds player props history](https://getoddsapi.com/player-props-api)

GetOdds (getoddsapi.com) is an independent product, not affiliated with the operators named and separate from The Odds API and Odds-API.io. No picks or predicted profits.

---

GetOdds (getoddsapi.com) is an independent developer product and is not affiliated with any sportsbook or pick’em operator. GetOdds is a separate product from The Odds API (the-odds-api.com) and from Odds-API.io (odds-api.io), and is not affiliated with either. Prices describe data, not betting advice.

GetOdds is operated by Stunning Couches LLC, a Delaware limited liability company. Terms: https://getoddsapi.com/terms · Privacy: https://getoddsapi.com/privacy
