Real-time NBA data — 30 teams, 1,200+ games per season

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.

30 teams covered
1,200+ games per season
75+ years historical data
<500ms live event latency
# 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"
  }]
}
30
NBA teams
450+
Active players tracked
1.5M+
Historical box scores
100%
Game coverage

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.

GET
/v1/nba/scores/live
Live Scores
Real-time scores for every active NBA game with period, clock, possession indicator, and last play description.
GET
/v1/nba/games/{id}/box-score
Box Score
Complete box score including team totals, individual player stats, four-factor metrics, and pace adjustments.
GET
/v1/nba/games/{id}/play-by-play
Play-by-Play
Granular event stream: every shot, assist, foul, substitution, and timeout with shot location coordinates and time stamps.
GET
/v1/nba/players/{id}/stats
Player Stats
Career totals, season splits, game logs, and advanced metrics (PER, TS%, BPM, VORP) for any active or historical player.
GET
/v1/nba/teams/{id}/stats
Team Stats
Team season averages, offensive/defensive ratings, pace, lineup combinations, and home/away splits.
GET
/v1/nba/standings
Standings
Conference and division standings, playoff seeding, magic numbers, and play-in tournament implications.
GET
/v1/nba/schedule
Schedule
Full season schedule with venue, broadcast info, timezone-aware tip-off times, and game status.
GET
/v1/nba/injuries
Injury Report
Current injury designations with player, status (out, questionable, probable), reason, and expected return.

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.

Request NBA API AccessView Documentation