nba-data US Sports
Run on Machina
Coming soon
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
| Command | Description |
|---|---|
get_scoreboard |
Live/recent NBA scores |
get_standings |
Standings by conference |
get_teams |
All 30 NBA teams |
get_team_roster |
Full roster for a team |
get_team_schedule |
Schedule for a specific team |
get_game_summary |
Detailed box score and scoring plays |
get_leaders |
NBA statistical leaders |
get_news |
NBA news articles |
get_play_by_play |
Full play-by-play for a game |
get_win_probability |
Win probability chart data |
get_schedule |
Schedule for a specific date or season |
get_injuries |
Injury reports across all teams |
get_transactions |
Recent transactions |
get_futures |
Futures/odds markets |
get_depth_chart |
Depth chart for a team |
get_team_stats |
Team statistical profile |
get_player_stats |
Player statistical profile |
find_nba_player |
Search the NBA Stats player registry (all eras) |
get_nbastats_game_log |
League game log via NBA Stats — history to 1946, carries NBA game ids |
get_nbastats_player_career |
Career stats season by season via NBA Stats |
get_nbastats_team_stats |
League team stats via NBA Stats — advanced ratings, pace, four factors |
get_nbastats_shot_chart |
Per-shot court coordinates via NBA Stats |
get_nbastats_play_by_play |
Play-by-play with coordinates for past seasons via NBA Stats |
get_nbastats_advanced_boxscore |
Advanced box score (ratings, usage) via NBA Stats |
get_live_scoreboard |
|
get_live_boxscore |
|
get_live_playbyplay |
|
get_player_live_stats |
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
# CLI
sports-skills nba-data get_scoreboard
# Python
from sports_skills import nba_data
nba_data.get_scoreboard()