Dataset

NFL historical closing lines, by book

Short answer: the NFL Odds package ($349, one time) is NFL moneyline, spread and total by book, with closing lines from 2014 and opening, closing and snapshots from 2020, plus a consensus closing line for each game and the games file to key it on. CSV and Parquet.

What you are buying

The NFL Odds package (id nfl-odds, $349 one time) has three tables that join on game_id:

  • games: one row per game with the date, teams and final score.
  • game_odds: one row per book per snapshot, with the moneyline, spread, total and the price on each side.
  • consensus_close: one row per game with the consensus closing spread, total, prices and moneylines.

Game ids look like 2025_21_LA_SEA: season, week, away team, home team. Every odds row carries minutes_before_start, so you can take the closing number or any earlier point. Unknown values are blank, never 0, and prices outside realistic bounds are blank. A README, a manifest with a row count per file and a checksum list come in the download.

This is market history, not advice. It records what each book posted and when.

Bigger tiers contain it. NFL History + Odds ($449) adds every play and player game line, and market win probability on every play. NFL Complete ($799) adds graded player props, alternate lines and the full intraday line history. If you buy Odds first, you can upgrade for the price difference within 90 days.

Coverage and updates

The site lists closing lines by book from 2014, and opening, closing and snapshots between from 2020. The catalog does not state a row total, so we do not quote one. Your manifest.json has the exact count for every season.

All odds are pre-game. Every package includes finished seasons plus the current season as of our latest monthly update on the day you buy. With an API plan of Pro or higher we refresh the current season's files every month at no charge. Without a plan, an end-of-season update costs a quarter of the package price. You can re-download for 365 days.

Schema

These are the real column names from the free sample of the larger NFL package, with the matching field in the API's get_odds tool.

Package columnAPI fieldMeaning
game_idgame_idGame key, joins every file
bookmakerbooks[].bookmakerThe book, as a code
snapshot_typeopening, closing, latestopening, closing or snapshot
captured_atcaptured_atWhen the line was captured, UTC
minutes_before_startnot returnedMinutes before the scheduled kickoff
ml_home, ml_awayml_home, ml_awayMoneyline, American odds
spread_home, spread_awayspread_home, spread_awaySpread for each side
spread_home_odds, spread_away_oddssamePrice on each side of the spread
total, total_over_odds, total_under_oddstotal, total_over_odds, total_under_oddsTotal and the prices

consensus_close has game_id, consensus_spread_home, home_spread_odds, away_spread_odds, consensus_total, over_odds, under_odds, home_moneyline and away_moneyline.

One thing to check before you join. In the free sample, game 2025_21_LA_SEA has a consensus_spread_home of +2.5 while every book's spread_home for Seattle, the home team, is -2.5. Seattle's consensus moneyline is -142, so Seattle is the favourite. The consensus column appears to be positive when the home team is favoured, the opposite of the per-book spread sign. Read the README in your download and test one game before you mix the two.

A real sample

Five closing rows for game 2025_21_LA_SEA (2025 season, week 21, Los Angeles at Seattle), from the free sample. Book names are replaced with codes.

game_idbookmakersnapshot_typeminutes_before_startml_homeml_awayspread_homespread_home_oddstotaltotal_over_oddstotal_under_odds
2025_21_LA_SEAbook_1closing9-140118-2.5-10545.5-110-110
2025_21_LA_SEAbook_2closing9-140120-2.5-11046-105-115
2025_21_LA_SEAbook_3closing9-140120-2.5-11046.5-105-115
2025_21_LA_SEAbook_4closing9-142120-2.5-10545.5-115-105
2025_21_LA_SEAbook_5closing9-140124-2.5-10745.5-112-102

The consensus close for the same game is a total of 45.5 with moneylines of -142 and +120. Books agree on the spread here and differ by a point on the total.

Load the files

DuckDB reads a folder of season files. This counts, by season, how many games have a closing total that differs across books. File names are our guess from the manifest convention. We have not run it, because we have no paid files locally.

import duckdb

duckdb.sql("""
    SELECT g.season,
           count(*)                         AS games,
           avg(mx - mn)                     AS avg_total_range
    FROM (
        SELECT game_id, max(total) AS mx, min(total) AS mn
        FROM read_parquet('game_odds_*.parquet')
        WHERE snapshot_type = 'closing' AND total IS NOT NULL
        GROUP BY game_id
    ) o
    JOIN read_parquet('games*.parquet') g USING (game_id)
    GROUP BY g.season
    ORDER BY g.season
""").show()

The same in Polars. Also unverified.

import polars as pl

rng = (
    pl.scan_parquet("game_odds_*.parquet")
    .filter((pl.col("snapshot_type") == "closing") & pl.col("total").is_not_null())
    .group_by("game_id")
    .agg((pl.col("total").max() - pl.col("total").min()).alias("range"))
    .join(pl.scan_parquet("games*.parquet").select("game_id", "season"), on="game_id")
    .group_by("season").agg(pl.col("range").mean())
    .sort("season").collect()
)
print(rng)

Same data through the API

For one game, call the API. Set ENDZONEAPI_API_KEY first.

import json
import os
import urllib.request

req = urllib.request.Request(
    "https://mcp.endzoneapi.com/v1/get_odds",
    data=json.dumps({"game_id": "2025_21_LA_SEA"}).encode(),
    headers={"Content-Type": "application/json", "x-api-key": os.environ["ENDZONEAPI_API_KEY"]},
)
with urllib.request.urlopen(req, timeout=30) as resp:
    print("HTTP", resp.status)
    d = json.load(resp)["data"]
    print(d["consensus_closing"], d["bookmaker_count"], "books")

get_odds costs 10 credits per call. To list games with their consensus closing lines, get_games costs 5. The free plan gives 500 credits a month, no card.

Seasons and coverage in practice

We asked the API for the whole 2025 season of games with their consensus lines and got 100 rows back, weeks 13 to 22: 87 regular-season games, 6 wild card, 4 divisional, 2 conference and 1 Super Bowl. All 100 had a spread line, a total line and both moneylines. The package files hold finished seasons as separate files, so check the manifest for how many games each season file has.

Measure over those 100 gamesValue
Average consensus total line44.08
Average actual combined score45.68
Mean absolute gap, total line to actual10.4 points
Mean absolute gap, spread line to actual margin9.97 points

Worked example: what the consensus columns say

How closely do the consensus lines track results? Over those 100 games the average total line sat 1.6 points under the average actual total, and each single game missed its total by about 10 points on average. Spread lines missed the final margin by close to the same amount. A closing line is a market's central estimate, not a forecast anyone should expect to hit, and a gap of 10 points on a single game is ordinary.

What the columns mean in practice

  • The consensus spread follows one convention: positive means the home team is favoured. That is the opposite sign of the per-book spread_home, where a favourite is negative. It is a documented convention, not a bug, but you must flip one of the two before joining. In 99 of the 100 games the sign of the consensus spread agreed with the sign of the home moneyline; look at the one that did not.
  • The API's result is the home score minus the away score, and it matched that calculation in all 100 games.
  • In the sample, an opening row can share its capture time with a snapshot row, so use snapshot_type and minutes_before_start together when placing a line in time.

Reading the rows

A few habits help. Pick one capture rule and keep it: the closing row is the last capture before kickoff, and the opening row is the first. Treat the consensus table and the per-book table as two sources, and test one game before you mix them, as the sign note above explains. Count games, not rows, because each game has many books and snapshots. Finally, remember that a line is a price posted by a book at a moment, so two books can differ at the same minute without either being wrong.

Season labels follow the game id: 2025 is the season that began in September 2025, and its playoff weeks run into January 2026, which is why week 21 is dated January 25, 2026.

When not to use this

  • You need one game or one week. The API returns every book's lines for a game.
  • You need live lines. Odds are pre-game only, and files refresh monthly at best.
  • You need player props or alternate lines. Those are in the NFL Player Props package ($399) and in Complete.
  • You need lines before 2014 per book. The API reports consensus closing spread and total back to 1999, but the package coverage listed here starts in 2014.
  • You want to resell the lines. The licence (version 2026-12-05) does not allow it.
  • You want advice. These are historical prices.

Who uses closing lines

Most buyers use the closing spread and total as a market baseline for team ratings and models. Others compare books, measure how lines moved from open to close, or study how the market priced weather, rest and quarterback changes. Some just want a keyed file that joins to results without scraping. The work reads thousands of games at once.

Free sample first

Every tier has a free sample zip with a few real games and the same columns. Download it from the data packages page and test one game before you pay.

Buy NFL Odds for $349 or test the API free.

Get a free key Or download whole seasons as Parquet

Checked against the live API on 2026-12-06. Questions: hello@sportsdatahq.com.