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

Our Verdict

6.7/ 10

NBA Stats API scores 6.7/10 and may be suitable for specific use cases like nba analytics, but we recommend comparing it with higher-rated alternatives before committing.

Editorial: 6.5/10Benchmark: 7.0/10How we score →
Data verified: 2026-08-04
✓ Pricing checked✓ Coverage checked✓ Docs checked

Coverage

Sports Supported

Basketball
Live DataYes
Historical Data1996+ with advanced stats
Player StatsYes
Team StatsYes
Odds DataNo

Leagues & Competitions

NBAWNBAG-League

3 leagues and competitions covered

Developer Experience

API Paradigms

✓REST
✗GraphQL
✗WebSocket
✗Webhooks

SDKs

PythonR

Commercial Terms

✗Commercial use
✗Redistribution
✗White-label
Rate limit: Unofficial, rate-limited by NBA

Pricing Plans

Unofficial

Free

Variable

  • Full NBA data
  • Advanced stats
  • No SLA

Building something commercial?

NBA Stats API is fine for hobby projects and prototypes. For production apps, compare licensed sports data APIs with real SLAs: