Baselight

NBA Betting Data | October 2007 To June 2024

Scores, point spreads, totals, and other odds from all NBA games.

@kaggle.cviaxmiwnptr_nba_betting_data_october_2007_to_june_2024

About this Dataset

NBA Betting Data | October 2007 To June 2024

Column Labels

  • season – Year the season ended. For example, the 2018-19 season is encoded as 2019.
  • date – Date of the game
  • regular – Regular season game (True or False)
  • playoffs – Playoff game (True or False)
  • away – Away team
  • home – Home team
  • score_away – Away team's score
  • score_home – Home team's score
  • q1_away – Away team's 1st quarter score
  • q2_away – Away team's 2nd quarter score
  • q3_away – Away team's 3rd quarter score
  • q4_away – Away team's 4th quarter score
  • ot_away – Away team's overtime score
  • q1_home – Home team's 1st quarter score
  • q2_home – Home team's 2nd quarter score
  • q3_home – Home team's 3rd quarter score
  • q4_home – Home team's 4th quarter score
  • ot_home – Home team's overtime score
  • whos_favored – Betting favorite (home or away)
  • spread – Point spread (always a positive number)
  • total – Over/Under
  • moneyline_away – American moneyline odds for away team
  • moneyline_home – American moneyline odds for home team
  • h2_spread – Second half point spread
  • h2_total – Second half over/under
  • id_spread – 1 if favorite covered, 0 if underdog covered. 2 if push
  • id_total – 1 if total went over, 0 if under, 2 if push

Data Sources

I scraped SportsbookReviewsOnline.com and fixed a few errors. They seem to have stopped updating the page so all future data will come from ESPN.


Notes

Seattle moved to Oklahoma City beginning in the 2008-09 season. I encode them as okc for consistency.

New Jersey moved to Brooklyn beginning in the 2012-13 season. I encode them as bkn for consistency.

2H and Moneyline odds are absent from the ESPN data (since Jan 2023). Note that ESPN uses non-integer values exclusively so there are no pushes.

Share link

Anyone who has the link will be able to view this.