Insider API · v1

Historical betting data, by the game.

Every completed MLB, NFL, NCAAF, NBA and NHL game since 2022 with final scores, consensus and per-book opening and closing lines, period markets, venue and weather, and graded results — current through last night. One key, JSON or CSV, no scraping.

What you get

  • Games — one row per final: score, period scores, consensus ML/spread/total open and close, result flags, venue, lead official, weather (outdoor sports).
  • Per-book odds — open and close per US book for moneyline, spread, total and team totals, graded against that book's number.
  • Period markets — first half, quarters, first period, first five innings as captured per book.
  • Catalog — what's published per sport and season, with counts, so you can verify coverage before you build.
Historical only, on purpose. Nothing on this API is a live or upcoming line, so you can build and backtest without worrying about redistribution of current odds. You may use and redistribute the data in your own product; you may not resell it as an API or raw feed. See the Insider API Terms.

Coverage

sportLeagueFirst seasonSeasonsGames published
mlbMajor League Baseball20222022, 2023, 2024, 2025, 202612,342
nflNational Football League20222022, 2023, 2024, 2025, 20261,218
ncaafNCAA Football (FBS)20222022, 2023, 2024, 2025, 20264,214
nbaNational Basketball Association20232023, 2024, 2025, 20265,282
nhlNational Hockey League20242024, 2025, 2026, 20274,281

Season numbering differs by sport (NBA/NHL use the year the season ended) — see conventions. Live counts: GET /v1/sports.

Endpoints

Guides

Base URL & spec

Base URL
https://api.thebettinginsider.com/v1
# OpenAPI 3.1
https://api.thebettinginsider.com/v1/openapi.json
# Docs as one markdown file (for agents)
https://www.thebettinginsider.com/api/docs/llms.txt

Reference pages are generated from the live OpenAPI document (v1.0.0).