nba-data
NBA data via ESPN public endpoints, the NBA live CDN, and NBA Stats (stats.nba.com) — scores, standings, rosters, schedules, game summaries, play-by-play, injuries, futures, depth charts, leaders, and news, plus an analytics backend: advanced ratings, per-shot court coordinates, career splits, and history to 1946. Zero config, no API keys.
Commands 28
Live/recent NBA scores
Standings by conference
All 30 NBA teams
Full roster for a team
Schedule for a specific team
Detailed box score and scoring plays
NBA statistical leaders
NBA news articles
Full play-by-play for a game
Win probability chart data
Games on a specific date (no season filter; see get_team_schedule)
Injury reports across all teams
Recent transactions
Futures/odds markets
Depth chart for a team
Team statistical profile
Player statistical profile
Search the NBA Stats player registry (all eras)
League game log via NBA Stats — history to 1946, carries NBA game ids. player_or_team="player" or player=<name or id> for player game logs
Career stats season by season via NBA Stats
League team stats via NBA Stats — advanced ratings, pace, four factors
Per-shot court coordinates via NBA Stats
Play-by-play with coordinates for past seasons via NBA Stats
Advanced box score (ratings, usage) via NBA Stats
Real-time scores. Primary cdn.nba.com, fallback ESPN
Real-time box score. Primary cdn.nba.com, fallback ESPN
Real-time play-by-play, most recent plays first
Real-time stats for one player in today's games
Example Prompts
- What are today's NBA scores?
- Show me the Western Conference standings
- Who's on the Lakers roster?
- Show me the full box score for last night's Celtics game
- Who's injured on the Lakers?
Quick Start
sports-skills nba get_scoreboard
from sports_skills import nba nba.get_scoreboard()