NB

NBA Official API

Official NBA stats and data endpoints

7.2 / 10GoodVerified
Starting PriceFree
Free TierYes
Live DataYes
WebSocketNo
Commercial UseNo

Overview

The NBA Official API (stats.nba.com) is the league's own data endpoint providing comprehensive NBA statistics including player career stats, team stats, game logs, play-by-play data, shot charts, lineup data, and advanced analytics. While not officially documented as a public API, the endpoints are widely used by developers and data scientists for basketball analytics. It provides the most authoritative and up-to-date NBA data available.

Pros

  • Official authoritative NBA data
  • Most comprehensive NBA stats available
  • Shot chart and tracking data
  • Play-by-play data
  • Free to access

Cons

  • No official documentation
  • Endpoints can change without notice
  • No commercial use without license
  • Rate limiting is undocumented
  • No official SDK or support

Best For

Basketball analytics researchPersonal projectsData science and MLNBA stat visualizations

Not Ideal For

Commercial applicationsProduction apps requiring SLAApps needing official supportReal-time betting platforms

Specifications

REST APIYes
GraphQLNo
WebSocketNo
WebhooksNo
OpenAPI SpecNo
Player StatsYes
Team StatsYes
Odds DataNo
Historical Data1996-97 season onward with advanced stats; basic stats from 1946-47
Request LimitsUnofficial rate limits; no published SLA
Commercial UseNo
RedistributionNo
White LabelNo

SDKs

PythonNode.js

Leagues

NBAWNBAG LeagueNBA Summer League
Last verified: 2026-08-15

Our Verdict

7.2/ 10

NBA Official API is a solid choice for basketball analytics research and personal projects, with an overall score of 7.2/10. While it performs well in most areas, consider no official documentation when making your decision.

Editorial: 7.5/10Benchmark: 7.0/10How we score →
Data verified: 2026-08-15
Pricing checked Coverage checked Docs checked

Coverage

Sports Supported

Basketball
Live DataYes
Historical Data1996-97 season onward with advanced stats; basic stats from 1946-47
Player StatsYes
Team StatsYes
Odds DataNo

Leagues & Competitions

NBAWNBAG LeagueNBA Summer League

4 leagues and competitions covered

Developer Experience

API Paradigms

REST
GraphQL
WebSocket
Webhooks

SDKs

PythonNode.js

Commercial Terms

Commercial use
Redistribution
White-label
Rate limit: Unofficial rate limits; no published SLA

Pricing Plans

Public Access

Free

Rate-limited

  • Stats endpoints
  • Game data
  • Player data
  • No official SLA

Enterprise

Free

Custom

  • Official data license
  • Higher rate limits
  • Commercial rights
  • Dedicated support