Skip to main content
Version: 0.2.0

NBA dataset loaders — Stats: schedules–team

load_nba_stats_schedules​

Release: nba_stats_schedules · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/nba_stats_schedules/nba_schedule_{season + 1}.parquet

Returns​

col_nametypedescription
game_idStringUnique game identifier.
seasonInt64Season year.
season_typeStringSeason type (1=pre-season, 2=regular season, 3=postseason, 4=off-season for ESPN; or string label for WNBA Stats).
game_dateStringGame date (YYYY-MM-DD).
matchupStringMatchup.
home_team_idInt64Unique identifier for the home team.
home_team_abbreviationString
home_team_nameStringHome team name.
home_ptsInt64Final points scored by the home team.
home_wlStringHome team's result for the game (W or L).
away_team_idInt64Unique identifier for the away team.
away_team_abbreviationString
away_team_nameStringAway team name.
away_ptsInt64Final points scored by the away team.
away_wlStringAway team's result for the game (W or L).
load_nba_stats_schedules(seasons=2025)

load_nba_stats_coaches​

Release: nba_stats_coaches · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/nba_stats_coaches/coaches_{season + 1}.parquet

Returns​

col_nametypedescription
team_idInt64Unique team identifier.
seasonInt32Season year.
coach_idInt64ESPN coach id.
first_nameStringPlayer's first name.
last_nameStringPlayer's last name.
coach_nameStringCoach's full name.
is_assistantInt64Numeric flag from the NBA Stats API distinguishing assistants from head coaches.
coach_typeStringCoach role description (e.g. "Head Coach", "Assistant Coach").
sort_sequenceInt64Sort order of the coach within the team's staff listing.
sub_sort_sequenceInt64Secondary sort order within the coach type.
season_typeStringSeason type (1=pre-season, 2=regular season, 3=postseason, 4=off-season for ESPN; or string label for WNBA Stats).
load_nba_stats_coaches(seasons=2025)

load_nba_stats_draft​

Release: nba_stats_draft · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/nba_stats_draft/draft_{season + 1}.parquet

Coverage

seasons is the draft year: load_nba_stats_draft(2025) returns the June 2025 draft, read from draft_2026.parquet, whose rows carry season 2026 (the END year of the 2025-26 season the picks enter). season is Int32 in this asset, not the Int64 of the other nba_stats loaders.

Returns​

col_nametypedescription
person_idInt64stats.nba.com player identifier (PERSON_ID) of the pick; Int64, joins to player_id elsewhere.
player_nameStringDrafted player's name.
seasonInt32END year of the season the draft class enters (2026 = the June 2025 draft) -- one more than the seasons argument, which is the draft year. Int32 in this asset.
round_numberInt64Draft round (1 or 2).
round_pickInt64Pick number within the round.
overall_pickInt64Overall pick number.
draft_typeStringSelection type as stats.nba.com reports it (e.g. 'Draft').
team_idInt64stats.nba.com identifier of the team that made the pick; Int64.
team_cityStringCity of the team that made the pick.
team_nameStringNickname of the team that made the pick.
team_abbreviationStringTricode of the team that made the pick.
organizationStringSchool, club or team the player was drafted from.
organization_typeStringKind of organization drafted from (e.g. 'College/University', 'Other Team/Club').
player_profile_flagInt641 when stats.nba.com has a player profile page for the pick, else 0.
load_nba_stats_draft(seasons=2025)

load_nba_stats_game_rosters​

Release: nba_stats_game_rosters · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/nba_stats_game_rosters/game_rosters_{season + 1}.parquet

Returns​

col_nametypedescription
player_idInt64Unique player identifier.
first_nameStringPlayer's first name.
last_nameStringPlayer's last name.
jersey_numStringJersey number worn by the player.
team_idInt64Unique team identifier.
team_cityStringTeam city or region (e.g. 'Las Vegas').
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
team_abbreviationStringShort team abbreviation (e.g. 'LAS').
seasonInt32Season year.
game_idStringUnique game identifier.
season_type_idStringSeason-type digit: the 3rd character of game_id (and the leading digit of season_id). 1 = preseason, 2 = regular season, 3 = All-Star, 4 = playoffs, 5 = play-in, 6 = NBA Cup final, 9 = international.
load_nba_stats_game_rosters(seasons=2025)

load_nba_stats_lineups​

Release: nba_stats_lineups · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/nba_stats_lineups/lineups_{season + 1}.parquet

Returns​

col_nametypedescription
group_setStringLineup grouping label from the NBA Stats API (e.g. "Lineups").
group_idStringESPN group id.
group_nameString
team_idInt64Unique team identifier.
team_abbreviationStringShort team abbreviation (e.g. 'LAS').
gpInt64Games played.
wInt64Wins.
lInt64Losses.
w_pctFloat64Wins percentage (0-1 decimal).
minFloat64Minutes played.
e_off_ratingFloat64Estimated offensive rating (NBA Stats estimated-metrics family) over the split.
off_ratingFloat64Offensive rating (points scored per 100 possessions) over the split.
e_def_ratingFloat64Estimated defensive rating (NBA Stats estimated-metrics family) over the split.
def_ratingFloat64Defensive rating (points allowed per 100 possessions) over the split.
e_net_ratingFloat64Estimated net rating (NBA Stats estimated-metrics family) over the split.
net_ratingFloat64Net rating (off rating - def rating).
ast_pctFloat64Assist percentage.
ast_toFloat64Assist-to-turnover ratio over the split.
ast_ratioFloat64Assist ratio (assists per 100 possessions used) over the split.
oreb_pctFloat64Offensive rebound percentage over the split, as a decimal.
dreb_pctFloat64Defensive rebound percentage over the split, as a decimal.
reb_pctFloat64Total rebound percentage over the split, as a decimal.
tm_tov_pctFloat64Team turnover percentage (turnovers per 100 possessions) over the split, as a decimal.
efg_pctFloat64Effective field goal percentage over the split, as a decimal.
ts_pctFloat64True shooting percentage (0-1).
e_paceFloat64Estimated pace (NBA Stats estimated-metrics family) over the split.
paceFloat64Possessions per 48 minutes.
pace_per40Float64Pace per40.
possInt64Poss.
pieFloat64Player Impact Estimate (0-1).
gp_rankInt64League rank of the row's games played for the season and split.
w_rankInt64League rank of the row's wins for the season and split.
l_rankInt64League rank of the row's losses for the season and split.
w_pct_rankInt64League rank of the row's win percentage for the season and split.
min_rankInt64League rank of the row's minutes played for the season and split.
off_rating_rankInt64League rank of the row's offensive rating (points scored per 100 possessions) for the season and split.
def_rating_rankInt64League rank of the row's defensive rating (points allowed per 100 possessions) for the season and split.
net_rating_rankInt64League rank of the row's net rating (offensive minus defensive rating) for the season and split.
ast_pct_rankInt64League rank of the row's assist percentage (share of teammate field goals assisted while on the floor) for the season and split.
ast_to_rankInt64League rank of the row's assist-to-turnover ratio for the season and split.
ast_ratio_rankInt64League rank of the row's assist ratio (assists per 100 possessions used) for the season and split.
oreb_pct_rankInt64League rank of the row's offensive rebound percentage for the season and split.
dreb_pct_rankInt64League rank of the row's defensive rebound percentage for the season and split.
reb_pct_rankInt64League rank of the row's total rebound percentage for the season and split.
tm_tov_pct_rankInt64League rank of the row's team turnover percentage (turnovers per 100 possessions) for the season and split.
efg_pct_rankInt64League rank of the row's effective field goal percentage for the season and split.
ts_pct_rankInt64League rank of the row's true shooting percentage for the season and split.
pace_rankInt64League rank of the row's pace (possessions per 48 minutes) for the season and split.
pie_rankInt64League rank of the row's Player Impact Estimate (PIE, the NBA Stats catch-all impact metric) for the season and split.
sum_time_playedInt64Total time the five-man lineup was on the floor across the split.
seasonInt32Season year.
season_typeStringSeason type (1=pre-season, 2=regular season, 3=postseason, 4=off-season for ESPN; or string label for WNBA Stats).
measure_typeStringNBA Stats measure type the row was pulled from (e.g. Base, Advanced, Misc, Scoring, Opponent, Usage, Defense).
per_modeStringNBA Stats per-mode of the row values (e.g. Totals, PerGame, Per100Possessions).
fgmFloat64Field goals made.
fgaFloat64Field goal attempts.
fg_pctFloat64Field goal percentage (0-1).
fg3mFloat64Three-point field goals made.
fg3aFloat64Three-point field goal attempts.
fg3_pctFloat64Three-point field goal percentage (0-1).
ftmFloat64Free throws made.
ftaFloat64Free throw attempts.
ft_pctFloat64Free throw percentage (0-1).
orebFloat64Offensive rebounds.
drebFloat64Defensive rebounds.
rebFloat64Rebounds per game.
astFloat64Assists.
tovFloat64Turnovers.
stlFloat64Steals.
blkFloat64Blocks.
blkaFloat64Shot attempts blocked by opponents (blocks against).
pfFloat64Personal fouls.
pfdFloat64Personal fouls drawn.
ptsFloat64Points scored.
plus_minusFloat64Plus/minus point differential while on court.
fgm_rankInt64League rank of the row's field goals made for the season and split.
fga_rankInt64League rank of the row's field goals attempted for the season and split.
fg_pct_rankInt64League rank of the row's field goal percentage for the season and split.
fg3m_rankInt64League rank of the row's three-point field goals made for the season and split.
fg3a_rankInt64League rank of the row's three-point field goals attempted for the season and split.
fg3_pct_rankInt64League rank of the row's three-point field goal percentage for the season and split.
ftm_rankInt64League rank of the row's free throws made for the season and split.
fta_rankInt64League rank of the row's free throws attempted for the season and split.
ft_pct_rankInt64League rank of the row's free throw percentage for the season and split.
oreb_rankInt64League rank of the row's offensive rebounds for the season and split.
dreb_rankInt64League rank of the row's defensive rebounds for the season and split.
reb_rankInt64League rank of the row's total rebounds for the season and split.
ast_rankInt64League rank of the row's assists for the season and split.
tov_rankInt64League rank of the row's turnovers for the season and split.
stl_rankInt64League rank of the row's steals for the season and split.
blk_rankInt64League rank of the row's blocked shots for the season and split.
blka_rankInt64League rank of the row's shot attempts blocked by opponents (blocks against) for the season and split.
pf_rankInt64League rank of the row's personal fouls committed for the season and split.
pfd_rankInt64League rank of the row's personal fouls drawn for the season and split.
pts_rankInt64League rank of the row's points scored for the season and split.
plus_minus_rankInt64League rank of the row's plus-minus point differential while on the floor for the season and split.
pts_off_tovFloat64Points scored off opponent turnovers over the split.
pts_2nd_chanceFloat64Second-chance points over the split.
pts_fbFloat64Fast-break points over the split.
pts_paintFloat64Points in the paint over the split.
opp_pts_off_tovFloat64Opponent points scored off opponent turnovers allowed over the split.
opp_pts_2nd_chanceFloat64Opponent second-chance points allowed over the split.
opp_pts_fbFloat64Opponent fast-break points allowed over the split.
opp_pts_paintFloat64Opponent points in the paint allowed over the split.
pts_off_tov_rankInt64League rank of the row's points scored off opponent turnovers for the season and split.
pts_2nd_chance_rankInt64League rank of the row's second-chance points for the season and split.
pts_fb_rankInt64League rank of the row's fast-break points for the season and split.
pts_paint_rankInt64League rank of the row's points in the paint for the season and split.
opp_pts_off_tov_rankInt64League rank of the row's opponent points scored off opponent turnovers for the season and split.
opp_pts_2nd_chance_rankInt64League rank of the row's opponent second-chance points for the season and split.
opp_pts_fb_rankInt64League rank of the row's opponent fast-break points for the season and split.
opp_pts_paint_rankInt64League rank of the row's opponent points in the paint for the season and split.
opp_fgmFloat64Opponent field goals made allowed over the split.
opp_fgaFloat64Opponent field goals attempted allowed over the split.
opp_fg_pctFloat64Opponent field goal percentage allowed over the split.
opp_fg3mFloat64Opponent three-point field goals made allowed over the split.
opp_fg3aFloat64Opponent three-point field goals attempted allowed over the split.
opp_fg3_pctFloat64Opponent three-point field goal percentage allowed over the split.
opp_ftmFloat64Opponent free throws made allowed over the split.
opp_ftaFloat64Opponent free throws attempted allowed over the split.
opp_ft_pctFloat64Opponent free throw percentage allowed over the split.
opp_orebFloat64Opponent offensive rebounds allowed over the split.
opp_drebFloat64Opponent defensive rebounds allowed over the split.
opp_rebFloat64Opponent total rebounds allowed over the split.
opp_astFloat64Opponent assists allowed over the split.
opp_tovFloat64Opponent turnovers allowed over the split.
opp_stlFloat64Opponent steals allowed over the split.
opp_blkFloat64Opponent blocked shots allowed over the split.
opp_blkaFloat64Opponent shot attempts blocked by opponents (blocks against) allowed over the split.
opp_pfFloat64Opponent personal fouls committed allowed over the split.
opp_pfdFloat64Opponent personal fouls drawn allowed over the split.
opp_ptsFloat64Opponent points.
opp_fgm_rankInt64League rank of the row's opponent field goals made for the season and split.
opp_fga_rankInt64League rank of the row's opponent field goals attempted for the season and split.
opp_fg_pct_rankInt64League rank of the row's opponent field goal percentage for the season and split.
opp_fg3m_rankInt64League rank of the row's opponent three-point field goals made for the season and split.
opp_fg3a_rankInt64League rank of the row's opponent three-point field goals attempted for the season and split.
opp_fg3_pct_rankInt64League rank of the row's opponent three-point field goal percentage for the season and split.
opp_ftm_rankInt64League rank of the row's opponent free throws made for the season and split.
opp_fta_rankInt64League rank of the row's opponent free throws attempted for the season and split.
opp_ft_pct_rankInt64League rank of the row's opponent free throw percentage for the season and split.
opp_oreb_rankInt64League rank of the row's opponent offensive rebounds for the season and split.
opp_dreb_rankInt64League rank of the row's opponent defensive rebounds for the season and split.
opp_reb_rankInt64League rank of the row's opponent total rebounds for the season and split.
opp_ast_rankInt64League rank of the row's opponent assists for the season and split.
opp_tov_rankInt64League rank of the row's opponent turnovers for the season and split.
opp_stl_rankInt64League rank of the row's opponent steals for the season and split.
opp_blk_rankInt64League rank of the row's opponent blocked shots for the season and split.
opp_blka_rankInt64League rank of the row's opponent shot attempts blocked by opponents (blocks against) for the season and split.
opp_pf_rankInt64League rank of the row's opponent personal fouls committed for the season and split.
opp_pfd_rankInt64League rank of the row's opponent personal fouls drawn for the season and split.
opp_pts_rankInt64League rank of the row's opponent points scored for the season and split.
pct_fga_2ptFloat64Share of field goal attempts taken as two-pointers, as a decimal.
pct_fga_3ptFloat64Share of field goal attempts taken as three-pointers, as a decimal.
pct_pts_2ptFloat64Share of points scored on two-point field goals, as a decimal.
pct_pts_2pt_mrFloat64Share of points scored on mid-range two-pointers, as a decimal.
pct_pts_3ptFloat64Share of points scored on three-pointers, as a decimal.
pct_pts_fbFloat64Share of points scored on fast breaks, as a decimal.
pct_pts_ftFloat64Share of points scored at the free throw line, as a decimal.
pct_pts_off_tovFloat64Share of points scored off opponent turnovers, as a decimal.
pct_pts_paintFloat64Share of points scored in the paint, as a decimal.
pct_ast_2pmFloat64Percentage of made two-pointers that were assisted, as a decimal.
pct_uast_2pmFloat64Percentage of made two-pointers that were unassisted, as a decimal.
pct_ast_3pmFloat64Percentage of made three-pointers that were assisted, as a decimal.
pct_uast_3pmFloat64Percentage of made three-pointers that were unassisted, as a decimal.
pct_ast_fgmFloat64Percentage of made field goals that were assisted, as a decimal.
pct_uast_fgmFloat64Percentage of made field goals that were unassisted, as a decimal.
pct_fga_2pt_rankInt64League rank of the row's share of field goal attempts taken as two-pointers for the season and split.
pct_fga_3pt_rankInt64League rank of the row's share of field goal attempts taken as three-pointers for the season and split.
pct_pts_2pt_rankInt64League rank of the row's share of points scored on two-point field goals for the season and split.
pct_pts_2pt_mr_rankInt64League rank of the row's share of points scored on mid-range two-pointers for the season and split.
pct_pts_3pt_rankInt64League rank of the row's share of points scored on three-pointers for the season and split.
pct_pts_fb_rankInt64League rank of the row's share of points scored on fast breaks for the season and split.
pct_pts_ft_rankInt64League rank of the row's share of points scored at the free throw line for the season and split.
pct_pts_off_tov_rankInt64League rank of the row's share of points scored off opponent turnovers for the season and split.
pct_pts_paint_rankInt64League rank of the row's share of points scored in the paint for the season and split.
pct_ast_2pm_rankInt64League rank of the row's percentage of made two-pointers that were assisted for the season and split.
pct_uast_2pm_rankInt64League rank of the row's percentage of made two-pointers that were unassisted for the season and split.
pct_ast_3pm_rankInt64League rank of the row's percentage of made three-pointers that were assisted for the season and split.
pct_uast_3pm_rankInt64League rank of the row's percentage of made three-pointers that were unassisted for the season and split.
pct_ast_fgm_rankInt64League rank of the row's percentage of made field goals that were assisted for the season and split.
pct_uast_fgm_rankInt64League rank of the row's percentage of made field goals that were unassisted for the season and split.
load_nba_stats_lineups(seasons=2025)

load_nba_stats_lineups_v3​

Release: nba_stats_game_lineups · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/nba_stats_game_lineups/nba_lineups_{season + 1}.parquet

Returns​

col_nametypedescription
game_idStringUnique game identifier.
action_numberInt64Sequential action number within a game (V3 PBP).
periodInt64Period of the game (1-4 quarters; 5+ for OT).
home_player_1Int64NBA Stats player id of the home on-court player 1 of 5 for the row.
home_player_2Int64NBA Stats player id of the home on-court player 2 of 5 for the row.
home_player_3Int64NBA Stats player id of the home on-court player 3 of 5 for the row.
home_player_4Int64NBA Stats player id of the home on-court player 4 of 5 for the row.
home_player_5Int64NBA Stats player id of the home on-court player 5 of 5 for the row.
away_player_1Int64NBA Stats player id of the away on-court player 1 of 5 for the row.
away_player_2Int64NBA Stats player id of the away on-court player 2 of 5 for the row.
away_player_3Int64NBA Stats player id of the away on-court player 3 of 5 for the row.
away_player_4Int64NBA Stats player id of the away on-court player 4 of 5 for the row.
away_player_5Int64NBA Stats player id of the away on-court player 5 of 5 for the row.
seasonInt64Season year.
load_nba_stats_lineups_v3(seasons=2025)

load_nba_stats_metric_curves​

Release: nba_stats_metric_curves · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/nba_stats_metric_curves/metric_curves_{season + 1}.parquet

Coverage

One row per (entity, metric, shot-distance bucket): the fg_pct_by_shot_distance curve, at league, team and player level, that sportsdataverse.analytics.metric_curves.metric_curves builds from the NBA Stats shots. entity_id and team_id are the NBA Stats team / person ids, cast to Int64: a player row's entity_id joins person_id in load_nba_stats_shots and player_id in load_nba_stats_rosters, and team_id joins their team_id.

Returns​

col_nametypedescription
seasonInt64Season the curve covers, the ENDING year as the nba_stats assets key it (1997 = 1996-97); WNBA rows carry the calendar year.
entity_typeStringAggregation level of the row: "league" (every shot), "team" or "player".
entity_idInt64Id of the entity the row describes, Int64 - the stats team_id on team rows and the person_id on player rows; null on league rows.
entity_nameStringDisplay name of the player or team as the stats shots carry it; null on league rows.
team_idInt64On player rows, the stats team_id of most of the player's shots that season (Int64); null on league and team rows.
id_sourceStringId system of entity_id / team_id, 'nba_stats' (NBA) or 'wnba_stats' (WNBA).
metricStringCurve name; every row is 'fg_pct_by_shot_distance'.
downInt64Not used for shots (a football axis of the shared schema); always null.
x_loFloat64Inclusive lower edge of the shot-distance bucket, in feet (edges fixed in metric_curves.BUCKET_EDGES).
x_hiFloat64Exclusive upper edge of the shot-distance bucket, in feet; a shot at exactly x_hi belongs to the next bucket up.
attemptsInt64Field-goal attempts in the bucket; always positive, since an empty bucket has no row.
successesInt64Made field goals in the bucket.
rateFloat64successes divided by attempts (field-goal percentage), computed exactly with no smoothing.
epa_per_attFloat64Not used for shots; always null.
load_nba_stats_metric_curves(seasons=2025)

load_nba_stats_officials​

Release: nba_stats_officials · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/nba_stats_officials/officials_{season + 1}.parquet

Returns​

col_nametypedescription
official_idInt64Unique official / referee identifier.
first_nameStringPlayer's first name.
last_nameStringPlayer's last name.
jersey_numStringJersey number worn by the player.
seasonInt32Season year.
game_idStringUnique game identifier.
season_type_idStringSeason-type digit: the 3rd character of game_id (and the leading digit of season_id). 1 = preseason, 2 = regular season, 3 = All-Star, 4 = playoffs, 5 = play-in, 6 = NBA Cup final, 9 = international.
load_nba_stats_officials(seasons=2025)

load_nba_stats_pbp​

Release: nba_stats_pbp · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/nba_stats_pbp/nba_play_by_play_{season + 1}.parquet

Returns​

col_nametypedescription
order_indexInt64Stable within-game ordering index for events after pbpstats-style reordering of the raw feed.
action_numberInt64Sequential action number within a game (V3 PBP).
clockStringGame clock value.
periodInt64Period of the game (1-4 quarters; 5+ for OT).
team_idInt64Unique team identifier.
team_tricodeStringThree-letter team code (e.g. 'LAS' / 'NYL').
person_idInt64Unique player identifier (V3 endpoints).
player_nameStringPlayer name.
player_name_iStringPlayer name i.
x_legacyInt64V2-format X coordinate (preserved for V3-to-V2 compatibility).
y_legacyInt64V2-format Y coordinate (preserved for V3-to-V2 compatibility).
shot_distanceInt64Shot distance from the basket, in feet.
shot_resultStringShot result ('Made' / 'Missed').
is_field_goalInt641 if the action was a field goal; 0 otherwise.
score_homeStringScore home.
score_awayStringScore away.
points_totalInt64Running total of points scored.
locationStringLocation.
descriptionStringLong-form description text.
action_typeStringAction type label (e.g. 'Made Shot', 'Substitution').
sub_typeStringAction sub-type label.
video_availableInt64Video available.
shot_valueInt64Point value of the shot (2 or 3).
action_idInt64Unique action identifier within a game (V3 PBP).
game_idStringUnique game identifier.
seconds_remainingFloat64Seconds remaining in the period.
event_typeStringEvent / play type code (V2 PBP).
is_made_shotBooleanWhether the event is a made field goal.
is_missed_shotBooleanWhether the event is a missed field goal.
is_free_throwBooleanWhether the event is a free throw attempt.
is_reboundBooleanWhether the event is a rebound.
is_turnoverBoolean
is_foulBooleanWhether the event is a foul.
is_substitutionBooleanWhether the event is a substitution.
is_jump_ballBooleanWhether the event is a jump ball.
is_timeoutBooleanWhether the event is a timeout.
is_periodBooleanWhether the event is a period start or end marker.
possession_numberInt64Possession number.
off_player_1Int64NBA Stats player id of offensive on-court player 1 of 5 during the event.
off_player_2Int64NBA Stats player id of offensive on-court player 2 of 5 during the event.
off_player_3Int64NBA Stats player id of offensive on-court player 3 of 5 during the event.
off_player_4Int64NBA Stats player id of offensive on-court player 4 of 5 during the event.
off_player_5Int64NBA Stats player id of offensive on-court player 5 of 5 during the event.
def_player_1Int64NBA Stats player id of defensive on-court player 1 of 5 during the event.
def_player_2Int64NBA Stats player id of defensive on-court player 2 of 5 during the event.
def_player_3Int64NBA Stats player id of defensive on-court player 3 of 5 during the event.
def_player_4Int64NBA Stats player id of defensive on-court player 4 of 5 during the event.
def_player_5Int64NBA Stats player id of defensive on-court player 5 of 5 during the event.
seasonInt64Season year.
load_nba_stats_pbp(seasons=2025)

load_nba_stats_possessions​

Release: nba_stats_possessions · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/nba_stats_possessions/nba_possessions_{season + 1}.parquet

Returns​

col_nametypedescription
game_idStringUnique game identifier.
periodInt64Period of the game (1-4 quarters; 5+ for OT).
possession_numberInt64Possession number.
offense_team_idInt64Unique identifier for offense team.
defense_team_idInt64NBA Stats team id of the defending team for the possession.
start_order_indexInt64order_index of the play-by-play event that starts the possession.
end_order_indexInt64order_index of the play-by-play event that ends the possession.
start_seconds_remainingFloat64Seconds remaining in the period when the possession started.
end_seconds_remainingFloat64Seconds remaining in the period when the possession ended.
pointsInt64Points the offense scored in the possession (its score step), plus any score it made while on defense since its previous possession (a technical free throw, say), credited here with its shots.
is_second_chanceBooleanWhether the row is a second-chance continuation following an offensive rebound.
number_in_periodInt64Sequential possession number for the offense within the period.
possession_start_typeStringHow the possession began (e.g. off a made shot, defensive rebound, turnover, or period start).
count_as_possessionBooleanWhether the row counts as a true possession for per-possession rate stats.
fg2aInt64Two-point field goal attempts during the possession.
fg2mInt64Two-point field goals made during the possession.
fg3aInt64Three-point field goal attempts.
fg3mInt64Three-point field goals made.
ftaInt64Free throw attempts.
ftmInt64Free throws made.
orebInt64Offensive rebounds.
drebInt64Defensive rebounds.
tovInt64Turnovers.
off_player_1Int64NBA Stats player id of offensive on-court player 1 of 5 for the possession.
off_player_2Int64NBA Stats player id of offensive on-court player 2 of 5 for the possession.
off_player_3Int64NBA Stats player id of offensive on-court player 3 of 5 for the possession.
off_player_4Int64NBA Stats player id of offensive on-court player 4 of 5 for the possession.
off_player_5Int64NBA Stats player id of offensive on-court player 5 of 5 for the possession.
def_player_1Int64NBA Stats player id of defensive on-court player 1 of 5 for the possession.
def_player_2Int64NBA Stats player id of defensive on-court player 2 of 5 for the possession.
def_player_3Int64NBA Stats player id of defensive on-court player 3 of 5 for the possession.
def_player_4Int64NBA Stats player id of defensive on-court player 4 of 5 for the possession.
def_player_5Int64NBA Stats player id of defensive on-court player 5 of 5 for the possession.
lineup_sourceStringProvenance of the on-court lineup identification for the row (how the five-man units were resolved).
seasonInt64Season year.
load_nba_stats_possessions(seasons=2025)

load_nba_stats_game_lineups​

Release: nba_stats_game_lineups · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/nba_stats_game_lineups/nba_lineups_{season + 1}.parquet

Returns​

col_nametypedescription
game_idStringUnique game identifier.
action_numberInt64Sequential action number within a game (V3 PBP).
periodInt64Period of the game (1-4 quarters; 5+ for OT).
home_player_1Int64NBA Stats player id of the home on-court player 1 of 5 for the row.
home_player_2Int64NBA Stats player id of the home on-court player 2 of 5 for the row.
home_player_3Int64NBA Stats player id of the home on-court player 3 of 5 for the row.
home_player_4Int64NBA Stats player id of the home on-court player 4 of 5 for the row.
home_player_5Int64NBA Stats player id of the home on-court player 5 of 5 for the row.
away_player_1Int64NBA Stats player id of the away on-court player 1 of 5 for the row.
away_player_2Int64NBA Stats player id of the away on-court player 2 of 5 for the row.
away_player_3Int64NBA Stats player id of the away on-court player 3 of 5 for the row.
away_player_4Int64NBA Stats player id of the away on-court player 4 of 5 for the row.
away_player_5Int64NBA Stats player id of the away on-court player 5 of 5 for the row.
seasonInt64Season year.
load_nba_stats_game_lineups(seasons=2025)

load_nba_stats_game_matchups​

Release: nba_stats_game_matchups · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/nba_stats_game_matchups/game_matchups_{season + 1}.parquet

Returns​

col_nametypedescription
off_team_idInt64Team id of the offensive player. Taken from the payload's team block.
off_team_cityStringCity/market of the offensive player's team ("Indiana").
off_team_nameStringNickname of the offensive player's team ("Pacers") -- pair with off_team_city for the full club name.
off_team_tricodeStringThree-letter abbreviation of the offensive player's team ("IND").
off_team_slugStringURL slug of the offensive player's team ("pacers").
def_team_idInt64Team id of the defender, read from the game envelope's homeTeamId/awayTeamId rather than the nested team object, which is 0 on uncovered captures.
sideStringWhich side of the game the row's team was on: "home" or "away". In game_matchups, where a row carries two teams, it is the OFFENSIVE player's team (off_team_id) -- the defender is always the other side.
off_person_idInt64stats.nba.com person id of the offensive player -- the one being guarded.
off_first_nameStringFirst name of the offensive player.
off_family_nameStringFamily name of the offensive player.
off_name_iStringOffensive player's abbreviated display name ("B. Mathurin").
off_player_slugStringURL slug of the offensive player ("bennedict-mathurin").
off_positionStringStarting position of the offensive player as the payload reports it; empty for players who did not start.
off_commentStringAvailability note on the offensive player (DNP reason); empty when they played.
off_jersey_numStringJersey number of the offensive player, as a string (it can carry a leading zero, e.g. "00").
def_person_idInt64stats.nba.com person id of the defender guarding the offensive player.
def_first_nameStringFirst name of the defender.
def_family_nameStringFamily name of the defender.
def_name_iStringDefender's abbreviated display name ("J. Allen").
def_player_slugStringURL slug of the defender ("jarrett-allen").
def_jersey_numStringJersey number of the defender, as a string (it can carry a leading zero).
matchup_minutesStringTime the pair were matched up, as the payload's MM:SS string; use matchup_minutes_sort for arithmetic.
matchup_minutes_sortFloat64The same matchup time in seconds, as a float -- the sortable/summable form.
partial_possessionsFloat64Possessions credited to the matchup. Fractional because a possession is split across every defender who guarded the ball-handler during it, which is why matchup counting stats do not sum exactly to a player's game totals.
percentage_defender_total_timeFloat64Share of the defender's floor time spent guarding this offensive player.
percentage_offensive_total_timeFloat64Share of the offensive player's floor time spent guarded by this defender.
percentage_total_time_both_onFloat64Share of the time both players were on the floor together that they were matched up.
switches_onInt64Times the defense switched this defender onto the offensive player.
player_pointsInt64Points the offensive player scored while guarded by this defender.
team_pointsInt64Points the offensive player's team scored while this matchup was on.
matchup_assistsInt64Assists by the offensive player while guarded by this defender.
matchup_potential_assistsInt64Passes by the offensive player that would have been assists had the shot fallen, while guarded by this defender.
matchup_turnoversInt64Turnovers by the offensive player while guarded by this defender.
matchup_blocksInt64Shots by the offensive player blocked by this defender.
matchup_field_goals_madeInt64Field goals made by the offensive player against this defender.
matchup_field_goals_attemptedInt64Field goals attempted by the offensive player against this defender.
matchup_field_goals_percentageFloat64Field-goal percentage of the offensive player against this defender.
matchup_three_pointers_madeInt64Three-pointers made by the offensive player against this defender.
matchup_three_pointers_attemptedInt64Three-pointers attempted by the offensive player against this defender.
matchup_three_pointers_percentageFloat64Three-point percentage of the offensive player against this defender.
help_blocksInt64Blocks by this defender on the offensive player when helping off another assignment rather than as the primary defender.
help_field_goals_madeInt64Field goals the offensive player made against this defender in help defense.
help_field_goals_attemptedInt64Field goals the offensive player attempted against this defender in help defense.
help_field_goals_percentageFloat64Field-goal percentage allowed by this defender in help defense.
matchup_free_throws_madeInt64Free throws made by the offensive player on trips drawn against this defender.
matchup_free_throws_attemptedInt64Free throws attempted by the offensive player on trips drawn against this defender.
shooting_foulsInt64Shooting fouls committed by this defender on the offensive player.
game_idStringUnique game identifier.
seasonInt32Season year.
season_type_idStringSeason-type digit: the 3rd character of game_id (and the leading digit of season_id). 1 = preseason, 2 = regular season, 3 = All-Star, 4 = playoffs, 5 = play-in, 6 = NBA Cup final, 9 = international.
load_nba_stats_game_matchups(seasons=2025)

load_nba_stats_injury_report​

Release: nba_stats_injury_report · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/nba_stats_injury_report/injury_report_{season + 1}.parquet

Returns​

col_nametypedescription
seasonInt64Season as its ENDING year (2026 = the 2025-26 season), the published asset's stamp.
report_datetimeDatetime(time_unit='us', time_zone=None)Publish time of the report version the row comes from (US Eastern, naive). The league re-publishes the report through the day, so a listing repeats once per version.
game_dateDateGame date as the report prints it (US Eastern).
game_timeStringTip time as the report prints it ("07:30 (ET)", no AM/PM).
report_matchupStringGame as the report prints it, away@home tricodes ("CLE@ATL").
away_team_abbrStringAway team tricode as the report prints it.
home_team_abbrStringHome team tricode as the report prints it.
teamStringTeam the listing belongs to, full name as printed ("Cleveland Cavaliers").
report_player_nameStringPlayer as the report prints it, "Last, First" ("James, LeBron"); null on a team's NOT YET SUBMITTED row.
current_statusStringListed status in that version: Available, Probable, Questionable, Doubtful or Out; null on a NOT YET SUBMITTED row.
reasonStringReason as printed ("Injury/Illness - Left Ankle; Sprain"); "NOT YET SUBMITTED" for a team that had not filed by that version.
categoryStringCategory column of the early report format; last printed 2019-11-14, null after.
previous_statusStringPrevious Status column of the early report format; last printed 2019-12-17, null after.
game_idStringstats.nba.com game id, joined on the game date and tricodes; null for a game postponed off its printed date, a playoff game that was not needed, or a Summer League game.
team_idInt64stats.nba.com team id of the listing's team, from its printed name.
person_idInt64stats.nba.com person id matched from the printed name (see match_method); null when unmatched.
match_methodStringHow person_id was matched: exact (full name on the team's boxscores that season), family (family name and first initial, unique on the team), league (name unique league-wide that season), roster (name on the team's roster, which lists players who have not played), or null.
load_nba_stats_injury_report(seasons=2025)

load_nba_stats_pbp_v3​

Release: nba_stats_pbp · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/nba_stats_pbp/nba_play_by_play_{season + 1}.parquet

Returns​

col_nametypedescription
order_indexInt64Stable within-game ordering index for events after pbpstats-style reordering of the raw feed.
action_numberInt64Sequential action number within a game (V3 PBP).
clockStringGame clock value.
periodInt64Period of the game (1-4 quarters; 5+ for OT).
team_idInt64Unique team identifier.
team_tricodeStringThree-letter team code (e.g. 'LAS' / 'NYL').
person_idInt64Unique player identifier (V3 endpoints).
player_nameStringPlayer name.
player_name_iStringPlayer name i.
x_legacyInt64V2-format X coordinate (preserved for V3-to-V2 compatibility).
y_legacyInt64V2-format Y coordinate (preserved for V3-to-V2 compatibility).
shot_distanceInt64Shot distance from the basket, in feet.
shot_resultStringShot result ('Made' / 'Missed').
is_field_goalInt641 if the action was a field goal; 0 otherwise.
score_homeStringScore home.
score_awayStringScore away.
points_totalInt64Running total of points scored.
locationStringLocation.
descriptionStringLong-form description text.
action_typeStringAction type label (e.g. 'Made Shot', 'Substitution').
sub_typeStringAction sub-type label.
video_availableInt64Video available.
shot_valueInt64Point value of the shot (2 or 3).
action_idInt64Unique action identifier within a game (V3 PBP).
game_idStringUnique game identifier.
seconds_remainingFloat64Seconds remaining in the period.
event_typeStringEvent / play type code (V2 PBP).
is_made_shotBooleanWhether the event is a made field goal.
is_missed_shotBooleanWhether the event is a missed field goal.
is_free_throwBooleanWhether the event is a free throw attempt.
is_reboundBooleanWhether the event is a rebound.
is_turnoverBoolean
is_foulBooleanWhether the event is a foul.
is_substitutionBooleanWhether the event is a substitution.
is_jump_ballBooleanWhether the event is a jump ball.
is_timeoutBooleanWhether the event is a timeout.
is_periodBooleanWhether the event is a period start or end marker.
possession_numberInt64Possession number.
off_player_1Int64NBA Stats player id of offensive on-court player 1 of 5 during the event.
off_player_2Int64NBA Stats player id of offensive on-court player 2 of 5 during the event.
off_player_3Int64NBA Stats player id of offensive on-court player 3 of 5 during the event.
off_player_4Int64NBA Stats player id of offensive on-court player 4 of 5 during the event.
off_player_5Int64NBA Stats player id of offensive on-court player 5 of 5 during the event.
def_player_1Int64NBA Stats player id of defensive on-court player 1 of 5 during the event.
def_player_2Int64NBA Stats player id of defensive on-court player 2 of 5 during the event.
def_player_3Int64NBA Stats player id of defensive on-court player 3 of 5 during the event.
def_player_4Int64NBA Stats player id of defensive on-court player 4 of 5 during the event.
def_player_5Int64NBA Stats player id of defensive on-court player 5 of 5 during the event.
seasonInt64Season year.
load_nba_stats_pbp_v3(seasons=2025)

load_nba_stats_player_boxscores​

Release: nba_stats_player_boxscores · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/nba_stats_player_boxscores/player_boxscores_{season + 1}.parquet

Returns​

col_nametypedescription
team_idInt64Unique team identifier.
team_cityStringCity/market of the team ("Indiana"); pair with team_name for the full club name.
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
team_tricodeStringThree-letter team code (e.g. 'LAS' / 'NYL').
team_slugStringURL slug of the team ("pacers").
sideStringSide label (e.g. 'home', 'away', or 'overUnder').
person_idInt64Unique player identifier (V3 endpoints).
first_nameStringPlayer's first name.
family_nameStringPlayer's family / last name.
name_iStringInitialed name (e.g. 'A. Wilson').
player_slugStringURL-safe player identifier.
positionStringListed roster position (G, F, C, etc.).
commentStringPlayer status / inactive reason (e.g. 'DNP - Coach's Decision', 'Inactive').
jersey_numStringJersey number worn by the player.
minutesStringMinutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2).
field_goals_madeInt64Field goals made (2-pt + 3-pt).
field_goals_attemptedInt64Field goal attempts (2-pt + 3-pt).
field_goals_percentageFloat64Field goal percentage (0-1 decimal).
three_pointers_madeInt64Three-point field goals made.
three_pointers_attemptedInt64Three-point field goal attempts.
three_pointers_percentageFloat64Three-point field goal percentage (0-1 decimal).
free_throws_madeInt64Free throws made.
free_throws_attemptedInt64Free throw attempts.
free_throws_percentageFloat64Free throw percentage (0-1 decimal).
rebounds_offensiveInt64Offensive rebounds.
rebounds_defensiveInt64Defensive rebounds.
rebounds_totalInt64Total rebounds.
assistsInt64Total assists.
stealsInt64Total steals.
blocksInt64Total blocks.
turnoversInt64Total turnovers.
fouls_personalInt64Personal fouls.
pointsInt64Points scored.
plus_minus_pointsFloat64Plus/minus point differential while on court.
game_idStringUnique game identifier.
seasonInt32Season year.
season_type_idStringSeason-type digit: the 3rd character of game_id (and the leading digit of season_id). 1 = preseason, 2 = regular season, 3 = All-Star, 4 = playoffs, 5 = play-in, 6 = NBA Cup final, 9 = international.
load_nba_stats_player_boxscores(seasons=2025)

load_nba_stats_player_game_logs​

Release: nba_stats_player_game_logs · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/nba_stats_player_game_logs/player_game_logs_{season + 1}.parquet

Returns​

col_nametypedescription
season_idStringstats.nba.com composite season id: season-type digit + start year ('22023' = 2023-24 regular season).
player_idInt64stats.nba.com person id of the player.
player_nameStringPlayer display name, e.g. 'LeBron James'.
team_idInt64stats.nba.com id of the player's team.
team_abbreviationStringThree-letter team abbreviation.
team_nameStringTeam name as stats.nba.com ships it (nickname or full name, by season).
game_idStringstats.nba.com game id (10-digit string, leading zeros kept).
game_dateStringGame date, 'YYYY-MM-DD'.
matchupStringMatchup from the team's side: 'BOS vs. NYK' at home, 'BOS @ NYK' away.
wlStringGame result for the player's team: 'W' or 'L'.
minInt64Minutes played.
fgmInt64Field goals made.
fgaInt64Field goals attempted.
fg_pctFloat64Field-goal percentage (0-1).
fg3mInt64Three-point field goals made.
fg3aInt64Three-point field goals attempted.
fg3_pctFloat64Three-point percentage (0-1).
ftmInt64Free throws made.
ftaInt64Free throws attempted.
ft_pctFloat64Free-throw percentage (0-1).
orebInt64Offensive rebounds collected.
drebInt64Defensive rebounds collected.
rebInt64Total rebounds collected.
astInt64Assists credited.
stlInt64Steals recorded.
blkInt64Total shots blocked.
tovInt64Turnovers committed.
pfInt64Personal fouls committed.
ptsInt64Total points scored.
plus_minusInt64Team point differential while the player was on court.
fantasy_ptsFloat64Fantasy points (stats.nba.com scoring).
video_availableInt641 when stats.nba.com has video for the game, else 0.
seasonInt32Season as its 4-digit END year (2025 = 2024-25), the published asset's stamp.
season_typeStringPortion of the season: 'regular-season' or 'playoffs'.
load_nba_stats_player_game_logs(seasons=2025)

load_nba_stats_team_game_logs​

Release: nba_stats_team_game_logs · asset https://github.com/sportsdataverse/sportsdataverse-data/releases/download/nba_stats_team_game_logs/team_game_logs_{season + 1}.parquet

Returns​

col_nametypedescription
season_idStringstats.nba.com composite season id: season-type digit + start year ('22023' = 2023-24 regular season).
team_idInt64stats.nba.com team id.
team_abbreviationStringThree-letter team abbreviation.
team_nameStringTeam name as stats.nba.com ships it (nickname or full name, by season).
game_idStringstats.nba.com game id (10-digit string, leading zeros kept).
game_dateStringGame date, 'YYYY-MM-DD'.
matchupStringMatchup from the team's side: 'BOS vs. NYK' at home, 'BOS @ NYK' away.
wlStringGame result for the team: 'W' or 'L'.
minInt64Minutes played.
fgmInt64Field goals made.
fgaInt64Field goals attempted.
fg_pctFloat64Field-goal percentage (0-1).
fg3mInt64Three-point field goals made.
fg3aInt64Three-point field goals attempted.
fg3_pctFloat64Three-point percentage (0-1).
ftmInt64Free throws made.
ftaInt64Free throws attempted.
ft_pctFloat64Free-throw percentage (0-1).
orebInt64Offensive rebounds collected.
drebInt64Defensive rebounds collected.
rebInt64Total rebounds collected.
astInt64Assists credited.
stlInt64Steals recorded.
blkInt64Total shots blocked.
tovInt64Turnovers committed.
pfInt64Personal fouls committed.
ptsInt64Total points scored.
plus_minusInt64Plus-minus point differential.
video_availableInt641 when stats.nba.com has video for the game, else 0.
seasonInt32Season as its 4-digit END year (2025 = 2024-25), the published asset's stamp.
season_typeStringPortion of the season: 'regular-season' or 'playoffs'.
load_nba_stats_team_game_logs(seasons=2025)