# NBA Historical Odds With Closing Lines and Final Scores

Historical Odds API · NBA

Odds history for every settled NBA game since December 2025: the closing price from the bookmakers you pick, the final score and the league slug, 100 games per request. Regular season and playoffs.

- NBA games with closing odds: 1,138
- Closing odds since: 2025-12-09
- Bookmakers per game (median): 90
- League slugs: `usa-nba`, `usa-nba-playoffs`

[See Plans](https://odds-api.io/pricing) · [Read the Historical Odds Guide](https://docs.odds-api.io/guides/historical)

## What the NBA Odds History Contains

Each settled game carries its closing odds and its result, so a whole season loads straight into a dataframe.

### Closing lines per bookmaker

The last moneyline, spread and totals price before tip-off from up to 30 bookmakers per request, named exactly as /v3/bookmakers lists them. Other markets a bookmaker priced, such as player props, quarters and team totals, come back when you name them.

### Final scores on every game

Home and away points, with the period breakdown and overtime, in the same row as the odds. No second request to grade a bet or label a training example.

### Regular season and playoffs

The regular season sits under usa-nba and the postseason under usa-nba-playoffs. Pass both slugs in one request to pull a complete season.

## NBA Seasons Covered

Closing odds start on 2025-12-09. Every game that settles is added the same day, so the current season grows week by week.

- **2025-26 season**: From 2025-12-09, part-way through the regular season, through the play-in tournament, the playoffs and the 2026 Finals.
- **2026-27 season**: Every game since opening night in October 2026, with the latest settled game added on 2026-11-13.

Games before December 2025 are listed by /v3/historical/events with their final scores, without odds.

## A Month of NBA Closing Lines in One Request

Ask for the sport, the league slug, a date range and the markets and bookmakers you want. Every settled game in the window comes back with its closing odds and score.

**Request**

```bash
curl "https://api.odds-api.io/v3/historical/closing-lines?apiKey=YOUR_API_KEY\
&sport=basketball&leagues=usa-nba\
&from=2026-01-01T00:00:00Z&to=2026-01-31T23:59:59Z\
&markets=ML,Spread&bookmakers=DraftKings,FanDuel&limit=100"
```

**Response (trimmed)**

```json
[
  {
    "id": 61384112,
    "home": "Boston Celtics",
    "away": "Los Angeles Lakers",
    "date": "2026-01-15T00:30:00Z",
    "status": "settled",
    "league": { "name": "USA - NBA", "slug": "usa-nba" },
    "scores": { "home": 112, "away": 104 },
    "bookmakers": {
      "DraftKings": [
        { "name": "ML", "updatedAt": "2026-01-15T00:28:40Z", "odds": [{ "home": "1.57", "away": "2.45" }] },
        { "name": "Spread", "updatedAt": "2026-01-15T00:28:40Z", "odds": [{ "hdp": -4.5, "home": "1.91", "away": "1.91" }] }
      ],
      "FanDuel": [
        { "name": "ML", "updatedAt": "2026-01-15T00:29:02Z", "odds": [{ "home": "1.56", "away": "2.50" }] }
      ]
    }
  }
]
```

## Pull an NBA Season in Three Steps

1. **Name the season**: sport=basketball, leagues=usa-nba,usa-nba-playoffs and a from/to window of up to 366 days. One window covers opening night to the Finals.
2. **Pick markets and bookmakers**: markets=ML,Spread,Totals and up to 30 bookmaker names. Add Player Props or quarter markets when your model needs them.
3. **Page through the games**: Each response holds 100 settled games. A full NBA season is about 1,300 games, so 14 requests with skip=100, 200 and so on.

## What People Build With NBA Odds History

### Backtest an NBA model

Score a season of predictions against the closing spread and total from the bookmakers your users bet with, with the final score in the same row.

### Measure closing line value

Compare the price you took with the close. /v3/odds/movements adds the opening price and the moves in between for the main lines.

### Train on clean features

Closing moneyline, spread and total per game and bookmaker, as JSON you can load into pandas or Parquet without scraping an odds archive.

## Free NBA Sample: Closing Odds for the 2025-26 Season

The free sample dataset includes NBA closing moneyline, spread and totals from 11 bookmakers for the rest of the 2025-26 season and playoffs, with final scores, as CSV and Parquet under CC BY 4.0. Open it before you write a line of code.

[Download the sample dataset](https://odds-api.io/historical-odds-api#sample-dataset) · [Historical Odds Coverage by League](https://odds-api.io/historical-odds-api#coverage)

## NBA Historical Odds FAQ

### How far back does the NBA historical odds data go?

Closing odds start on 2025-12-09, part-way through the 2025-26 regular season, and run through the 2026 playoffs and into the current season. Older NBA games are listed by /v3/historical/events with final scores, without odds.

### Does the NBA odds history include the playoffs?

Yes. The regular season is under the league slug usa-nba and the postseason under usa-nba-playoffs. Pass both in the leagues parameter to get a complete season in one sweep.

### Which NBA markets have historical odds?

The closing moneyline (ML), spread and totals for every game, plus any other market a bookmaker priced, such as player props, quarter and half lines and team totals. Call /v3/markets?sport=basketball for the exact market names.

### Which bookmakers are in the NBA odds history?

A typical NBA game has closing odds from 90 bookmakers, including DraftKings, FanDuel, BetMGM, Caesars and Bet365. Name up to 30 per request; any bookmaker from /v3/bookmakers works.

### Is there a free NBA historical odds dataset?

Yes. The free sample dataset on the Historical Odds API page has NBA closing moneyline, spread and totals from 11 bookmakers for the 2025-26 season from December 2025 to the Finals, with final scores, as CSV and Parquet under CC BY 4.0. The full history comes through the API on a paid plan.

### Can I download the NBA odds history as a CSV?

The API returns JSON. A full season is about 14 requests of 100 games, which a short script turns into one CSV or Parquet file. The free sample is already a CSV, so you can see the column layout first.

### Do you have NBA opening lines and line movement?

/v3/odds/movements returns the opening price, the latest price and the changes in between for one market line, pre-match only, from a fixed list of bookmakers that the docs name. It is available on every plan.

## Explore More

- [NBA Odds API: live and pre-match odds](https://odds-api.io/sports/nba)
- [Historical Odds API: every league](https://odds-api.io/historical-odds-api)
- [Historical odds guide](https://docs.odds-api.io/guides/historical)
- [Bet Settlement API](https://odds-api.io/bet-settlement-api)
- [Closing lines in Google Sheets](https://odds-api.io/google-sheets)
- [Pricing](https://odds-api.io/pricing)

## Start Your NBA Backtest

NBA odds history comes with the same API key as live odds from 500+ bookmakers. See plans, or download the free sample first.

[See Plans](https://odds-api.io/pricing) · [Read the Historical Odds Guide](https://docs.odds-api.io/guides/historical)

Markdown version of https://odds-api.io/historical-odds-api/nba
