About nba_api
nba_api is an MIT-licensed Python package that wraps NBA.com's stats endpoints for player, team, game and league data, plus its live feeds such as scoreboards and box scores. It is community-maintained on GitHub, where it has about 3.8k stars. The latest PyPI release is 1.11.4 (February 2026), and the repository was still getting commits in August 2026.
Features
- NBA.com stats endpoints wrapper
- Live scoreboard and box score data
- Player career and game logs
- Static player and team lookups
- pip install from PyPI
Sports and sites covered
Sports
Works with
Not tied to a specific DFS site.
Pricing
Free
Open source (MIT)
Prices as listed on github.com when we checked. Confirm current pricing on their site.
Compare nba_api
Alternatives to nba_api
Compare all alternativesDeveloper API for stats, odds and player props across 20+ leagues
Data APINBAWNBANFLMLBNHL+8Free, or $9.99/mo
Budget sports stats API with live, historical and DFS slate feeds
Data APINFLCFBNBACBBMLB+1DraftKings, FanDuel, YahooFree + paid plans
Low-latency odds and same-game-parlay API that includes PrizePicks and Splash lines
Data APINFLCFBNBACBBWNBA+7PrizePicks, Splash SportsFrom $299/mo
Enterprise real-time odds feed from 200+ sportsbooks, DFS apps and prediction markets
Data APINFLCFBNBACBBWNBA+12PrizePicks, Underdog, Sleeper, BetrPaid
Enterprise sports data, odds and AV feeds for sportsbooks, media and leagues
Data APINFLCFBNBACBBWNBA+10Paid
Sports data API with stats, odds, projections and DFS salaries and slates
Data APINFLCFBNBACBBWNBA+8Free, or $99/mo
Sources and corrections
Last checked Oct 3, 2026. We build every listing from the sources below and recheck them regularly. If something about nba_api has changed, let us know.