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.
Coverage
| sport | League | First season | Seasons | Games published |
|---|---|---|---|---|
| mlb | Major League Baseball | 2022 | 2022, 2023, 2024, 2025, 2026 | 12,342 |
| nfl | National Football League | 2022 | 2022, 2023, 2024, 2025, 2026 | 1,218 |
| ncaaf | NCAA Football (FBS) | 2022 | 2022, 2023, 2024, 2025, 2026 | 4,214 |
| nba | National Basketball Association | 2023 | 2023, 2024, 2025, 2026 | 5,282 |
| nhl | National Hockey League | 2024 | 2024, 2025, 2026, 2027 | 4,281 |
Season numbering differs by sport (NBA/NHL use the year the season ended) — see conventions. Live counts: GET /v1/sports.
Endpoints
GET /v1/sports
Sports, seasons and markets currently published
GET /v1/teams
Teams for a sport
GET /v1/seasons
Season summaries for a sport
GET /v1/games
Completed games with consensus open/close and result
GET /v1/games/{game_id}
One game: per-book odds, period odds, period scores, weather
GET /v1/odds
Per-book open/close for completed games
Guides
Quickstart
Get a key and make your first call in under a minute.
Authentication
Bearer keys, trials, and what 401 vs 403 mean.
Pagination & CSV
Cursor paging, page sizes, and CSV export.
Rate limits & quotas
Per-minute limits, monthly quotas, caching and ETags.
Errors
The error envelope and every error code.
Data conventions
Seasons, dates, odds format, consensus, pushes, exclusions.
Data dictionary
Every response field, grouped by object.
MCP for agents
Connect Claude, Cursor or ChatGPT to the API.
Base URL & spec
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.txtReference pages are generated from the live OpenAPI document (v1.0.0).