nba-api
JSON →nba-api is a free and active Python client package designed to access statistics from the Official NBA stats page (nba.com). It provides a robust interface for developers to retrieve data on NBA teams, seasons, players, and games in various formats, including pandas DataFrames. The library is actively maintained with frequent updates to adapt to changes in the underlying NBA.com API.
Traffic · last 30 days ↑167% vs prev 7d
total hits 25
actors 8 distinct systems
last hit 1d ago AhrefsBot
top countries 🇨🇦 Canada · 🇺🇸 United States · 🇩🇪 Germany · 🇸🇬 Singapore · 🇫🇷 France
Resources
packagepypi.org/project/nba-api/ ↗
API endpoints
full doc /v1/registry/nba-api
install /v1/registry/nba-api/install
compatibility /v1/registry/nba-api/compatibility