NBA data API for live scores, stats & play-by-play
Complete NBA coverage: live scores with sub-second latency, full play-by-play with shot coordinates, box scores, player career stats, team standings, schedule. Historical archive back to 1946. Built for fantasy apps, analytics tools, and fan experiences.
# Get tonight's NBA games with live scores curl "https://api.sportapi.io/v1/nba/scores/live" \ -H "Authorization: Bearer $API_KEY" # Response { "games": [{ "game_id": "0022500412", "status": "in_progress", "period": 3, "clock": "07:42", "home": { "team": "BOS", "score": 78, "timeouts_remaining": 3 }, "away": { "team": "LAL", "score": 71, "timeouts_remaining": 2 }, "last_play": "J. Tatum makes 3-pt jumper from 25 ft" }] }
Every NBA data point, one API
Live scores, full play-by-play with shot coordinates, complete box scores, advanced player metrics, team and player season totals, standings, and schedule. Consistent JSON schema.
NBA API questions
What does the NBA data API cover?
All 30 teams, every regular-season, playoff, and play-in game. Live scores, full play-by-play with shot coordinates, complete box scores with advanced metrics, player career and season stats, team standings, schedule with broadcast info, injury reports, and depth charts. G League and Summer League available on request.
How real-time is NBA live scoring?
Real-time tier delivers events within 500ms of the action on court. Standard tier 1–5 seconds. For most fan-facing applications, the difference is imperceptible. For arbitrage or betting-grade requirements, only the real-time tier is suitable.
Is there a free tier for the NBA data API?
We offer a 14-day free trial with full API access for evaluation. We don't have an indefinite free tier because upstream data licensing costs make that unsustainable, but the trial is enough time to validate fit.
How far back does NBA historical data go?
Box scores and team data go back to the 1946-47 BAA inaugural season. Play-by-play from 1996-97. Player tracking and advanced shot-location data from 2013-14 onward, when the NBA league-wide tracking infrastructure was deployed.
Can I get NBA player tracking data?
Player tracking (position, speed, touches) is on our enterprise tier. Sourced from Second Spectrum / official league tracking, with usage restrictions for betting and broadcast applications.
Does the API cover NBA odds and lines?
Yes, on the appropriately licensed tier. Pre-game and live odds: moneyline, spread, totals, props, futures. Betting-tier access requires compliance documentation review during sales.
Build with NBA data today
14-day free trial. No credit card required for evaluation. We'll provision your API key within one business day.