NB

NBA Stats API

Official NBA statistics API (unofficial endpoints)

6.7 / 10Fair
Starting PriceFree
Free TierYes
Live DataYes
WebSocketNo
Commercial UseNo

Overview

The NBA Stats API provides access to official NBA statistics through stats.nba.com endpoints. While not officially documented for external use, these endpoints offer the most comprehensive NBA data available, including play-by-play data, advanced stats, shot charts, lineup data, and tracking data. Widely used by NBA analytics communities.

Pros

  • Official NBA data source
  • Play-by-play data
  • Shot charts and tracking data
  • Extensive historical data
  • Free to use

Cons

  • Unofficial API
  • No commercial use
  • Rate limited aggressively
  • Can change without notice
  • Complex parameter format

Best For

NBA analyticsAcademic researchPersonal projectsNBA data science

Not Ideal For

Commercial applicationsProduction appsNon-NBA sportsReliable production use

Specifications

REST APIYes
GraphQLNo
WebSocketNo
WebhooksNo
OpenAPI SpecNo
Player StatsYes
Team StatsYes
Odds DataNo
Historical Data1996+ with advanced stats
Request LimitsUnofficial, rate-limited by NBA
Commercial UseNo
RedistributionNo
White LabelNo

SDKs

PythonR

Leagues

NBAWNBAG-League
Last verified: 2026-08-04

Pricing Plans

Unofficial

Free

Variable

  • Full NBA data
  • Advanced stats
  • No SLA