Historical odds
Historical odds API, by sportsbook, for eight sports.
Opening and closing lines, line movement, alternate lines, period and half markets and player props history for the NFL, NBA, MLB, NHL, soccer, tennis, golf and UFC. Odds are information: prices as each sportsbook posted them, over REST or MCP, on the same ids as each API's results and stats, so a backtest is one join.
Coverage by sport
- NFL
EndzoneAPI - The consensus closing spread and total for every game since 1999, moneylines since 2006 (every game from 2010). Per-sportsbook closing lines from 2014, and opening and closing lines from the 2020 season from seven books, eight from 2024. Alternate spreads and totals, 1st half, 1st quarter and quarter-total lines, and player prop lines from 2023, with alternate player prop ladders from week 5 of 2023. Hourly line movement from 2026.
Credits per call: get_games 5, get_odds 10, get_line_movement 25, get_player_props 10 (20 for games already played), get_prop_history 10 per 25 played games, get_prop_movement 10, get_alt_lines 10, get_alt_player_props 10, get_market_odds 10. Docs - NBA
DunkAPI - Moneyline, spread and total by sportsbook from 2013-14 (4 to 12 books per regular-season game), with opening and closing lines per book from July 2020. Player prop lines from May 2023. 1st half, 1st quarter and quarter-total lines for the NBA from May 2023. Alternate spreads and totals for the NBA, WNBA and men's college basketball from 2023-24.
Credits per call: get_odds 5 a game or 10 a day, get_line_movement 10, get_player_props 10 (20 for games already played), get_prop_history 10 per 25 played games, get_prop_movement 10, get_market_odds 10, get_alt_lines 10. Docs - MLB
FastballAPI - Moneyline, run line and total by sportsbook from 2015 (4 to 13 books per game to 2023), with opening and closing lines per book from July 2020: about 2,500 games a season, a median of 7 books in 2021 to 2023 and 8 since 2024. Player prop lines from May 2023. First-5-innings and 1st-inning lines from May 2023. Alternate run lines and totals from the 2023 season.
Credits per call: get_odds 5 a game or 10 a day, get_line_movement 10, get_player_props 10 (20 for games already played), get_prop_history 10 per 25 played games, get_prop_movement 10, get_market_odds 10, get_alt_lines 10. Docs - NHL
PuckAPI - Moneyline, puck line and total for every regular-season and playoff game since 2019-20, by sportsbook: about 16 to 18 books a game from 2020-21 to 2023-24 and 8 in 2024-25, with opening and closing lines for seven of them from 2020-21. Player prop lines from May 2023. Regulation result, 1st period result and puck line, and period totals from May 2023. Alternate puck lines and totals from 2023-24.
Credits per call: get_odds 10, get_line_movement 25, get_player_props 10 (20 for games already played), get_prop_history 10 per 25 played games, get_prop_movement 10, get_market_odds 10, get_alt_lines 10. Docs - Soccer
StrikerAPI - Three-way moneylines, goal handicaps and totals by sportsbook from 2017-18, with opening and closing lines per book from June 2020 for 16 competitions. Both teams to score, draw no bet, double chance and first-half lines for the Premier League, La Liga, Serie A, the Bundesliga, Ligue 1, MLS and the Champions League from 2023. Goalscorer, shots and card prop lines from April 2024 in the leagues that hold them.
Credits per call: get_odds 5 a match or 10 a day, get_line_movement 10, get_player_props 10 (20 for games already played), get_prop_history 10 per 25 played games, get_prop_movement 10, get_market_odds 10. Docs - Tennis
AcesAPI - Pre-match moneylines by sportsbook for Grand Slam singles matches from mid-2020 and ATP Masters and WTA 1000 matches from August 2024, opening and closing, with the games handicap and total where posted. Other tournaments have no lines.
Credits per call: get_odds 5 for a match or a whole tournament. Docs - Golf
BirdieAPI - Winner prices for the four men's majors by sportsbook, every major from 2021: weekly snapshots for past majors, opening and latest before the first round. No round, matchup or other-tournament prices.
Credits per call: get_winner_odds 5. Docs - UFC
FighterAPI - Opening and closing moneylines by sportsbook for UFC fights from June 2020: a median of 5 books per fight in 2020 and 6 to 7 since. None before June 2020. Line snapshots for fights with a posted line, daily and hourly in the four days before a card, from October 2026.
Credits per call: get_odds 5 a fight or 10 a card, get_line_movement 10. Docs
Pricing
Every account gets 500 free credits a month with no card. Each call costs the credits shown above, and a plan raises the monthly allowance. See pricing.
Questions
How far back does the historical odds data go?
It depends on the sport and the market. NFL closing spreads and totals start in 1999, NHL lines in 2019-20, MLB in 2015, NBA by sportsbook in 2013-14, soccer in 2017-18, UFC moneylines in June 2020. Player props start in 2023 or 2024. Each sport's start date is listed above, and each brand's docs page shows the coverage by season.
Are these opening or closing lines?
Both, where they are held. Per sportsbook, the opening line is the first line captured and the closing line is the last one before the start. Where a book's opening line is not held, we store its final pregame line as the close, and the docs page for the sport says which seasons are which.
Is there line movement history?
Yes. get_line_movement and get_prop_movement return the lines captured before a game, in order, and the depth varies by sport and season. Alternate line ladders and period, half and inning markets are separate tools, listed above with their credit cost.
Are the prices live or in-play?
No. Everything is pre-game: captured_at says when each price was taken, and no row is an in-play price.
Can I see how a player did against his prop line?
Yes. get_prop_history sets each player's closing line beside what he recorded, game by game, with the over rate. get_prop_backtest answers questions like how often points overs hit for road underdogs, with the sample size. Player props has the details.
Can I store the data and build on it?
You may store it, train models, backtest and build products that show your users what you derive. You may not redistribute the data, or odds as a raw feed, as a dataset or API of its own.
How do I get it?
Over REST with an API key, from the Python clients on PyPI, or as a hosted MCP server in Claude, ChatGPT or Cursor. Every account gets 500 free credits a month with no card. Pricing lists the plans.