Skip to main content

NBA — NBA Stats API (stats.nba.com) — Box scores: boxscoreadvancedv3–boxscoresummaryv3

nba_stats_boxscoreadvancedv3​

Box score advanced v3.

Endpoint URL: GET https://stats.nba.com/stats/boxscoreadvancedv3

Valid URL: https://stats.nba.com/stats/boxscoreadvancedv3?EndPeriod=14&EndRange=0&GameID=0022200021&RangeType=0&StartPeriod=0&StartRange=0

API ParameterPythonPatternRequiredNullableDescription
EndPeriodend_periodY
EndRangeend_rangeY
GameIDgame_idY
RangeTyperange_typeY
StartPeriodstart_periodY
StartRangestart_rangeY

Returns​

return_parsed=True (default) — A dict of DataFrames keyed by result-set name (PlayerStats, TeamStats) (one table per documented key below); pass return_as_pandas=True for a dict of pandas.DataFrames (same keys).

PlayerStats

col_nametypedescription
game_idStringUnique 10-character game identifier from the league's stats API.
away_team_idInt64Unique identifier for the away team.
home_team_idInt64Unique identifier for the home team.
team_idInt64Unique team identifier.
team_cityStringTeam city or region (e.g. 'Las Vegas').
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
team_tricodeStringThree-letter team abbreviation.
team_slugStringURL-friendly slug for the team name.
person_idInt64Player identifier from the league's stats API.
first_nameStringPlayer's first name.
family_nameStringPlayer's family (last) name.
name_iStringAbbreviated player name (first initial and last name).
player_slugStringURL-friendly slug for the player's name.
positionStringListed roster position (G, F, C, etc.).
commentStringPlayer status / inactive reason (e.g. 'DNP - Coach's Decision', 'Inactive').
jersey_numStringPlayer's jersey number.
minutesStringMinutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2).
estimated_offensive_ratingFloat64Estimated offensive rating from the stats API's estimated-metrics family.
offensive_ratingFloat64Points scored per 100 possessions while on the floor (offensive rating).
estimated_defensive_ratingFloat64Estimated defensive rating from the stats API's estimated-metrics family.
defensive_ratingFloat64Points allowed per 100 possessions while on the floor (defensive rating).
estimated_net_ratingFloat64Estimated net rating (estimated offensive minus defensive rating) from the stats API's estimated-metrics family.
net_ratingFloat64Offensive rating minus defensive rating while on the floor (net rating).
assist_percentageFloat64Percentage of teammate field goals assisted while on the floor, as a decimal.
assist_to_turnoverFloat64Ratio of assists to turnovers.
assist_ratioFloat64Assists per 100 possessions used (assist ratio).
offensive_rebound_percentageFloat64Percentage of available offensive rebounds secured while on the floor, as a decimal.
defensive_rebound_percentageFloat64Percentage of available defensive rebounds secured while on the floor, as a decimal.
rebound_percentageFloat64Percentage of all available rebounds secured while on the floor, as a decimal.
turnover_ratioFloat64Turnovers per 100 possessions used (turnover ratio).
effective_field_goal_percentageFloat64Effective field goal percentage (weights made threes at 1.5), as a decimal.
true_shooting_percentageFloat64True shooting percentage (accounts for threes and free throws), as a decimal.
usage_percentageFloat64Percentage of team plays used by the player while on the floor, as a decimal.
estimated_usage_percentageFloat64Estimated percentage of team plays used by the player while on the floor, as a decimal.
estimated_paceFloat64Estimated pace (possessions per 48 minutes) from the stats API's estimated-metrics family.
paceFloat64Possessions per 48 minutes.
pace_per40Float64Pace normalized to possessions per 40 minutes.
possessionsFloat64Possessions used.
pieFloat64Player Impact Estimate (0-1).

TeamStats

col_nametypedescription
game_idStringUnique 10-character game identifier from the league's stats API.
away_team_idInt64Unique identifier for the away team.
home_team_idInt64Unique identifier for the home team.
team_idInt64Unique team identifier.
team_cityStringTeam city or region (e.g. 'Las Vegas').
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
team_tricodeStringThree-letter team abbreviation.
team_slugStringURL-friendly slug for the team name.
minutesStringMinutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2).
estimated_offensive_ratingFloat64Estimated offensive rating from the stats API's estimated-metrics family.
offensive_ratingFloat64Points scored per 100 possessions while on the floor (offensive rating).
estimated_defensive_ratingFloat64Estimated defensive rating from the stats API's estimated-metrics family.
defensive_ratingFloat64Points allowed per 100 possessions while on the floor (defensive rating).
estimated_net_ratingFloat64Estimated net rating (estimated offensive minus defensive rating) from the stats API's estimated-metrics family.
net_ratingFloat64Offensive rating minus defensive rating while on the floor (net rating).
assist_percentageFloat64Percentage of teammate field goals assisted while on the floor, as a decimal.
assist_to_turnoverFloat64Ratio of assists to turnovers.
assist_ratioFloat64Assists per 100 possessions used (assist ratio).
offensive_rebound_percentageFloat64Percentage of available offensive rebounds secured while on the floor, as a decimal.
defensive_rebound_percentageFloat64Percentage of available defensive rebounds secured while on the floor, as a decimal.
rebound_percentageFloat64Percentage of all available rebounds secured while on the floor, as a decimal.
estimated_team_turnover_percentageFloat64Estimated team turnover percentage (0-1).
turnover_ratioFloat64Turnovers per 100 possessions used (turnover ratio).
effective_field_goal_percentageFloat64Effective field goal percentage (weights made threes at 1.5), as a decimal.
true_shooting_percentageFloat64True shooting percentage (accounts for threes and free throws), as a decimal.
usage_percentageFloat64Percentage of team plays used by the player while on the floor, as a decimal.
estimated_usage_percentageFloat64Estimated percentage of team plays used by the player while on the floor, as a decimal.
estimated_paceFloat64Estimated pace (possessions per 48 minutes) from the stats API's estimated-metrics family.
paceFloat64Possessions per 48 minutes.
pace_per40Float64Pace normalized to possessions per 40 minutes.
possessionsFloat64Possessions used.
pieFloat64Player Impact Estimate (0-1).

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.
ImportErrorcurl_cffi is not installed -- stats.nba.com / stats.wnba.com block plain requests, so the transport needs it (pip install curl_cffi or sportsdataverse[all]).

Example​

nba_stats_boxscoreadvancedv3()

nba_stats_boxscoredefensivev2​

Box score defensive v2.

Endpoint URL: GET https://stats.nba.com/stats/boxscoredefensivev2

Valid URL: https://stats.nba.com/stats/boxscoredefensivev2?GameID=0022200021

API ParameterPythonPatternRequiredNullableDescription
GameIDgame_idY

Returns​

return_parsed=True (default) — A dict of DataFrames keyed by result-set name (PlayerStats, TeamStats) (one table per documented key below); pass return_as_pandas=True for a dict of pandas.DataFrames (same keys).

PlayerStats

col_nametypedescription
game_idStringUnique stats.nba.com game identifier in endpoints that use compact schedule field names.
away_team_idInt64Unique identifier for the away team.
home_team_idInt64Unique identifier for the home team.
team_idInt64Unique team identifier.
team_cityStringTeam city or region (e.g. 'Las Vegas').
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
team_tricodeStringThree-letter team code used by NBA or WNBA Stats schedule and scoreboard feeds.
team_slugStringURL slug for teamslug used by NBA or WNBA Stats pages.
person_idInt64Stats API identifier for personid associated with this NBA or WNBA Stats row.
first_nameStringPlayer's first name.
family_nameStringDisplay name for familyname associated with this NBA or WNBA Stats row.
name_iStringNBA or WNBA Stats value for namei in the boxscoredefensivev2 result set.
player_slugStringURL slug for playerslug used by NBA or WNBA Stats pages.
positionStringListed roster position (G, F, C, etc.).
commentStringPlayer status / inactive reason (e.g. 'DNP - Coach's Decision', 'Inactive').
jersey_numStringNBA or WNBA Stats value for jerseynum in the boxscoredefensivev2 result set.
matchup_minutesStringNBA or WNBA Stats value for matchupminutes in the boxscoredefensivev2 result set.
partial_possessionsFloat64Estimated partial possessions credited to the stint or rotation interval.
switches_onInt64NBA or WNBA Stats value for switcheson in the boxscoredefensivev2 result set.
player_pointsInt64Scoring or score-margin metric for playerpoints in the requested NBA or WNBA Stats split.
defensive_reboundsInt64Rebounding metric for defensiverebounds in the requested NBA or WNBA Stats split.
matchup_assistsInt64Passing or assist metric for matchupassists in the requested NBA or WNBA Stats split.
matchup_turnoversInt64Turnover or loose-ball metric for matchupturnovers in the requested NBA or WNBA Stats split.
stealsInt64Total steals.
blocksInt64Total blocks.
matchup_field_goals_madeInt64Shooting metric for matchupfieldgoalsmade in the requested NBA or WNBA Stats split.
matchup_field_goals_attemptedInt64Shooting metric for matchupfieldgoalsattempted in the requested NBA or WNBA Stats split.
matchup_field_goal_percentageFloat64Percentage or rate for matchupfieldgoalpercentage in the requested NBA or WNBA Stats split.
matchup_three_pointers_madeInt64Shooting metric for matchupthreepointersmade in the requested NBA or WNBA Stats split.
matchup_three_pointers_attemptedInt64Shooting metric for matchupthreepointersattempted in the requested NBA or WNBA Stats split.
matchup_three_pointer_percentageFloat64Percentage or rate for matchupthreepointerpercentage in the requested NBA or WNBA Stats split.

TeamStats

col_nametypedescription
game_idStringUnique stats.nba.com game identifier in endpoints that use compact schedule field names.
away_team_idInt64Unique identifier for the away team.
home_team_idInt64Unique identifier for the home team.
team_idInt64Unique team identifier.
team_cityStringTeam city or region (e.g. 'Las Vegas').
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
team_tricodeStringThree-letter team code used by NBA or WNBA Stats schedule and scoreboard feeds.
team_slugStringURL slug for teamslug used by NBA or WNBA Stats pages.
minutesStringMinutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2).

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.
ImportErrorcurl_cffi is not installed -- stats.nba.com / stats.wnba.com block plain requests, so the transport needs it (pip install curl_cffi or sportsdataverse[all]).

Example​

nba_stats_boxscoredefensivev2()

nba_stats_boxscorefourfactorsv3​

Box score four factors v3.

Endpoint URL: GET https://stats.nba.com/stats/boxscorefourfactorsv3

Valid URL: https://stats.nba.com/stats/boxscorefourfactorsv3?EndPeriod=14&EndRange=0&GameID=0022200021&RangeType=0&StartPeriod=0&StartRange=0

API ParameterPythonPatternRequiredNullableDescription
EndPeriodend_periodY
EndRangeend_rangeY
GameIDgame_idY
RangeTyperange_typeY
StartPeriodstart_periodY
StartRangestart_rangeY

Returns​

return_parsed=True (default) — A dict of DataFrames keyed by result-set name (PlayerStats, TeamStats) (one table per documented key below); pass return_as_pandas=True for a dict of pandas.DataFrames (same keys).

PlayerStats

col_nametypedescription
game_idStringUnique 10-character game identifier from the league's stats API.
away_team_idInt64Unique identifier for the away team.
home_team_idInt64Unique identifier for the home team.
team_idInt64Unique team identifier.
team_cityStringTeam city or region (e.g. 'Las Vegas').
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
team_tricodeStringThree-letter team abbreviation.
team_slugStringURL-friendly slug for the team name.
person_idInt64Player identifier from the league's stats API.
first_nameStringPlayer's first name.
family_nameStringPlayer's family (last) name.
name_iStringAbbreviated player name (first initial and last name).
player_slugStringURL-friendly slug for the player's name.
positionStringListed roster position (G, F, C, etc.).
commentStringPlayer status / inactive reason (e.g. 'DNP - Coach's Decision', 'Inactive').
jersey_numStringPlayer's jersey number.
minutesStringMinutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2).
effective_field_goal_percentageFloat64Effective field goal percentage four-factor, as a decimal.
free_throw_attempt_rateFloat64Free throw attempts per field goal attempt (free throw rate four-factor).
team_turnover_percentageFloat64Turnovers committed per 100 possessions (turnover four-factor).
offensive_rebound_percentageFloat64Offensive rebound percentage four-factor, as a decimal.
opp_effective_field_goal_percentageFloat64Opponent's effective field goal percentage while on the floor, as a decimal.
opp_free_throw_attempt_rateFloat64Opponent's free throw attempt rate while on the floor.
opp_team_turnover_percentageFloat64Opponent turnovers forced per 100 possessions while on the floor.
opp_offensive_rebound_percentageFloat64Opponent's offensive rebound percentage while on the floor, as a decimal.

TeamStats

col_nametypedescription
game_idStringUnique 10-character game identifier from the league's stats API.
away_team_idInt64Unique identifier for the away team.
home_team_idInt64Unique identifier for the home team.
team_idInt64Unique team identifier.
team_cityStringTeam city or region (e.g. 'Las Vegas').
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
team_tricodeStringThree-letter team abbreviation.
team_slugStringURL-friendly slug for the team name.
minutesStringMinutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2).
effective_field_goal_percentageFloat64Effective field goal percentage four-factor, as a decimal.
free_throw_attempt_rateFloat64Free throw attempts per field goal attempt (free throw rate four-factor).
team_turnover_percentageFloat64Turnovers committed per 100 possessions (turnover four-factor).
offensive_rebound_percentageFloat64Offensive rebound percentage four-factor, as a decimal.
opp_effective_field_goal_percentageFloat64Opponent's effective field goal percentage while on the floor, as a decimal.
opp_free_throw_attempt_rateFloat64Opponent's free throw attempt rate while on the floor.
opp_team_turnover_percentageFloat64Opponent turnovers forced per 100 possessions while on the floor.
opp_offensive_rebound_percentageFloat64Opponent's offensive rebound percentage while on the floor, as a decimal.

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.
ImportErrorcurl_cffi is not installed -- stats.nba.com / stats.wnba.com block plain requests, so the transport needs it (pip install curl_cffi or sportsdataverse[all]).

Example​

nba_stats_boxscorefourfactorsv3()

nba_stats_boxscorehustlev2​

Box score hustle v2.

Endpoint URL: GET https://stats.nba.com/stats/boxscorehustlev2

Valid URL: https://stats.nba.com/stats/boxscorehustlev2?GameID=0022200021

API ParameterPythonPatternRequiredNullableDescription
GameIDgame_idY

Returns​

return_parsed=True (default) — A dict of DataFrames keyed by result-set name (PlayerStats, TeamStats) (one table per documented key below); pass return_as_pandas=True for a dict of pandas.DataFrames (same keys).

PlayerStats

col_nametypedescription
game_idStringUnique 10-character game identifier from the league's stats API.
away_team_idInt64Unique identifier for the away team.
home_team_idInt64Unique identifier for the home team.
team_idInt64Unique team identifier.
team_cityStringTeam city or region (e.g. 'Las Vegas').
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
team_tricodeStringThree-letter team abbreviation.
team_slugStringURL-friendly slug for the team name.
person_idInt64Player identifier from the league's stats API.
first_nameStringPlayer's first name.
family_nameStringPlayer's family (last) name.
name_iStringAbbreviated player name (first initial and last name).
player_slugStringURL-friendly slug for the player's name.
positionStringListed roster position (G, F, C, etc.).
commentStringPlayer status / inactive reason (e.g. 'DNP - Coach's Decision', 'Inactive').
jersey_numStringPlayer's jersey number.
minutesStringMinutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2).
pointsInt64Points scored.
contested_shotsInt64Opponent shot attempts contested in the game.
contested_shots2ptInt64Opponent two-point attempts contested.
contested_shots3ptInt64Opponent three-point attempts contested.
deflectionsInt64Defensive deflections.
charges_drawnInt64Offensive charges drawn.
screen_assistsInt64Screens that led directly to a teammate's made field goal (screen assists).
screen_assist_pointsInt64Points teammates scored directly off the player's screen assists.
loose_balls_recovered_offensiveInt64Loose balls recovered while on offense.
loose_balls_recovered_defensiveInt64Loose balls recovered while on defense.
loose_balls_recovered_totalInt64Total loose balls recovered in the game.
offensive_box_outsInt64Box-outs recorded on the offensive glass.
defensive_box_outsInt64Box-outs recorded on the defensive glass.
box_out_player_team_reboundsInt64Team rebounds secured following the player's box-outs.
box_out_player_reboundsInt64Rebounds the player secured directly off their own box-outs.
box_outsInt64Total box-outs recorded in the game (hustle stats tracking).

TeamStats

col_nametypedescription
game_idStringUnique 10-character game identifier from the league's stats API.
away_team_idInt64Unique identifier for the away team.
home_team_idInt64Unique identifier for the home team.
team_idInt64Unique team identifier.
team_cityStringTeam city or region (e.g. 'Las Vegas').
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
team_tricodeStringThree-letter team abbreviation.
team_slugStringURL-friendly slug for the team name.
minutesStringMinutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2).
pointsInt64Points scored.
contested_shotsInt64Opponent shot attempts contested in the game.
contested_shots2ptInt64Opponent two-point attempts contested.
contested_shots3ptInt64Opponent three-point attempts contested.
deflectionsInt64Defensive deflections.
charges_drawnInt64Offensive charges drawn.
screen_assistsInt64Screens that led directly to a teammate's made field goal (screen assists).
screen_assist_pointsInt64Points teammates scored directly off the player's screen assists.
loose_balls_recovered_offensiveInt64Loose balls recovered while on offense.
loose_balls_recovered_defensiveInt64Loose balls recovered while on defense.
loose_balls_recovered_totalInt64Total loose balls recovered in the game.
offensive_box_outsInt64Box-outs recorded on the offensive glass.
defensive_box_outsInt64Box-outs recorded on the defensive glass.
box_out_player_team_reboundsInt64Team rebounds secured following the player's box-outs.
box_out_player_reboundsInt64Rebounds the player secured directly off their own box-outs.
box_outsInt64Total box-outs recorded in the game (hustle stats tracking).

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.
ImportErrorcurl_cffi is not installed -- stats.nba.com / stats.wnba.com block plain requests, so the transport needs it (pip install curl_cffi or sportsdataverse[all]).

Example​

nba_stats_boxscorehustlev2()

nba_stats_boxscorematchupsv3​

Box score matchups v3.

Endpoint URL: GET https://stats.nba.com/stats/boxscorematchupsv3

Valid URL: https://stats.nba.com/stats/boxscorematchupsv3?GameID=0022200021

API ParameterPythonPatternRequiredNullableDescription
GameIDgame_idY

Returns​

return_parsed=True (default) — A dict of DataFrames keyed by result-set name (PlayerStats, TeamStats) (one table per documented key below); pass return_as_pandas=True for a dict of pandas.DataFrames (same keys).

PlayerStats

col_nametypedescription
game_idStringUnique stats.nba.com game identifier in endpoints that use compact schedule field names.
away_team_idInt64Unique identifier for the away team.
home_team_idInt64Unique identifier for the home team.
team_idInt64Unique team identifier.
team_cityStringTeam city or region (e.g. 'Las Vegas').
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
team_tricodeStringThree-letter team code used by NBA or WNBA Stats schedule and scoreboard feeds.
team_slugStringURL slug for teamslug used by NBA or WNBA Stats pages.
person_idInt64NBA or WNBA Stats player identifier associated with the matchup boxscore row.
first_nameStringPlayer's first name.
family_nameStringPlayer's family name in the NBA or WNBA Stats matchup boxscore row.
name_iStringAbbreviated player display name used in the NBA or WNBA Stats matchup boxscore row.
player_slugStringURL slug for the player on NBA or WNBA Stats pages.
positionStringListed roster position (G, F, C, etc.).
commentStringPlayer status / inactive reason (e.g. 'DNP - Coach's Decision', 'Inactive').
jersey_numStringPlayer jersey number shown in the NBA or WNBA Stats matchup boxscore row.
matchupsString

TeamStats

col_nametypedescription
game_idStringUnique stats.nba.com game identifier in endpoints that use compact schedule field names.
away_team_idInt64Unique identifier for the away team.
home_team_idInt64Unique identifier for the home team.
team_idInt64Unique team identifier.
team_cityStringTeam city or region (e.g. 'Las Vegas').
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
team_tricodeStringThree-letter team code used by NBA or WNBA Stats schedule and scoreboard feeds.
team_slugStringURL slug for teamslug used by NBA or WNBA Stats pages.

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.
ImportErrorcurl_cffi is not installed -- stats.nba.com / stats.wnba.com block plain requests, so the transport needs it (pip install curl_cffi or sportsdataverse[all]).

Example​

nba_stats_boxscorematchupsv3()

nba_stats_boxscoremiscv3​

Box score misc v3.

Endpoint URL: GET https://stats.nba.com/stats/boxscoremiscv3

Valid URL: https://stats.nba.com/stats/boxscoremiscv3?EndPeriod=14&EndRange=0&GameID=0022200021&RangeType=0&StartPeriod=0&StartRange=0

API ParameterPythonPatternRequiredNullableDescription
EndPeriodend_periodY
EndRangeend_rangeY
GameIDgame_idY
RangeTyperange_typeY
StartPeriodstart_periodY
StartRangestart_rangeY

Returns​

return_parsed=True (default) — A dict of DataFrames keyed by result-set name (PlayerStats, TeamStats) (one table per documented key below); pass return_as_pandas=True for a dict of pandas.DataFrames (same keys).

PlayerStats

col_nametypedescription
game_idStringUnique 10-character game identifier from the league's stats API.
away_team_idInt64Unique identifier for the away team.
home_team_idInt64Unique identifier for the home team.
team_idInt64Unique team identifier.
team_cityStringTeam city or region (e.g. 'Las Vegas').
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
team_tricodeStringThree-letter team abbreviation.
team_slugStringURL-friendly slug for the team name.
person_idInt64Player identifier from the league's stats API.
first_nameStringPlayer's first name.
family_nameStringPlayer's family (last) name.
name_iStringAbbreviated player name (first initial and last name).
player_slugStringURL-friendly slug for the player's name.
positionStringListed roster position (G, F, C, etc.).
commentStringPlayer status / inactive reason (e.g. 'DNP - Coach's Decision', 'Inactive').
jersey_numStringPlayer's jersey number.
minutesStringMinutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2).
points_off_turnoversInt64Points scored off opponent turnovers.
points_second_chanceInt64Second-chance points scored after offensive rebounds.
points_fast_breakInt64Fast-break points scored.
points_paintInt64Points scored in the paint.
opp_points_off_turnoversInt64Opponent points off turnovers scored while on the floor.
opp_points_second_chanceInt64Opponent second-chance points scored while on the floor.
opp_points_fast_breakInt64Opponent fast-break points scored while on the floor.
opp_points_paintInt64Opponent points in the paint scored while on the floor.
blocksInt64Total blocks.
blocks_againstInt64Player's shot attempts that were blocked by opponents.
fouls_personalInt64Personal fouls committed.
fouls_drawnInt64Personal fouls drawn.

TeamStats

col_nametypedescription
game_idStringUnique 10-character game identifier from the league's stats API.
away_team_idInt64Unique identifier for the away team.
home_team_idInt64Unique identifier for the home team.
team_idInt64Unique team identifier.
team_cityStringTeam city or region (e.g. 'Las Vegas').
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
team_tricodeStringThree-letter team abbreviation.
team_slugStringURL-friendly slug for the team name.
minutesStringMinutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2).
points_off_turnoversInt64Points scored off opponent turnovers.
points_second_chanceInt64Second-chance points scored after offensive rebounds.
points_fast_breakInt64Fast-break points scored.
points_paintInt64Points scored in the paint.
opp_points_off_turnoversInt64Opponent points off turnovers scored while on the floor.
opp_points_second_chanceInt64Opponent second-chance points scored while on the floor.
opp_points_fast_breakInt64Opponent fast-break points scored while on the floor.
opp_points_paintInt64Opponent points in the paint scored while on the floor.
blocksInt64Total blocks.
blocks_againstInt64Player's shot attempts that were blocked by opponents.
fouls_personalInt64Personal fouls committed.
fouls_drawnInt64Personal fouls drawn.

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.
ImportErrorcurl_cffi is not installed -- stats.nba.com / stats.wnba.com block plain requests, so the transport needs it (pip install curl_cffi or sportsdataverse[all]).

Example​

nba_stats_boxscoremiscv3()

nba_stats_boxscoreplayertrackv3​

Box score player track v3.

Endpoint URL: GET https://stats.nba.com/stats/boxscoreplayertrackv3

Valid URL: https://stats.nba.com/stats/boxscoreplayertrackv3?GameID=0022200021

API ParameterPythonPatternRequiredNullableDescription
GameIDgame_idY

Returns​

return_parsed=True (default) — A dict of DataFrames keyed by result-set name (PlayerStats, TeamStats) (one table per documented key below); pass return_as_pandas=True for a dict of pandas.DataFrames (same keys).

PlayerStats

col_nametypedescription
game_idStringUnique stats.nba.com game identifier in endpoints that use compact schedule field names.
away_team_idInt64Unique identifier for the away team.
home_team_idInt64Unique identifier for the home team.
team_idInt64Unique team identifier.
team_cityStringTeam city or region (e.g. 'Las Vegas').
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
team_tricodeStringThree-letter team code used by NBA or WNBA Stats schedule and scoreboard feeds.
team_slugStringURL slug for teamslug used by NBA or WNBA Stats pages.
person_idInt64Stats API identifier for personid associated with this NBA or WNBA Stats row.
first_nameStringPlayer's first name.
family_nameStringDisplay name for familyname associated with this NBA or WNBA Stats row.
name_iStringNBA or WNBA Stats value for namei in the boxscoreplayertrackv3 result set.
player_slugStringURL slug for playerslug used by NBA or WNBA Stats pages.
positionStringListed roster position (G, F, C, etc.).
commentStringPlayer status / inactive reason (e.g. 'DNP - Coach's Decision', 'Inactive').
jersey_numStringNBA or WNBA Stats value for jerseynum in the boxscoreplayertrackv3 result set.
minutesStringMinutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2).
speedFloat64Speed.
distanceFloat64Distance value (in feet for shot data; otherwise context-dependent).
rebound_chances_offensiveInt64Rebounding metric for reboundchancesoffensive in the requested NBA or WNBA Stats split.
rebound_chances_defensiveInt64Rebounding metric for reboundchancesdefensive in the requested NBA or WNBA Stats split.
rebound_chances_totalInt64Rebounding metric for reboundchancestotal in the requested NBA or WNBA Stats split.
touchesInt64Touches.
secondary_assistsInt64Passing or assist metric for secondaryassists in the requested NBA or WNBA Stats split.
free_throw_assistsInt64Shooting metric for freethrowassists in the requested NBA or WNBA Stats split.
passesInt64Passes.
assistsInt64Total assists.
contested_field_goals_madeInt64Shooting metric for contestedfieldgoalsmade in the requested NBA or WNBA Stats split.
contested_field_goals_attemptedInt64Shooting metric for contestedfieldgoalsattempted in the requested NBA or WNBA Stats split.
contested_field_goal_percentageFloat64Percentage or rate for contestedfieldgoalpercentage in the requested NBA or WNBA Stats split.
uncontested_field_goals_madeInt64Shooting metric for uncontestedfieldgoalsmade in the requested NBA or WNBA Stats split.
uncontested_field_goals_attemptedInt64Shooting metric for uncontestedfieldgoalsattempted in the requested NBA or WNBA Stats split.
uncontested_field_goals_percentageFloat64Percentage or rate for uncontestedfieldgoalspercentage in the requested NBA or WNBA Stats split.
field_goal_percentageFloat64Percentage or rate for fieldgoalpercentage in the requested NBA or WNBA Stats split.
defended_at_rim_field_goals_madeInt64Shooting metric for defendedatrimfieldgoalsmade in the requested NBA or WNBA Stats split.
defended_at_rim_field_goals_attemptedInt64Shooting metric for defendedatrimfieldgoalsattempted in the requested NBA or WNBA Stats split.
defended_at_rim_field_goal_percentageFloat64Percentage or rate for defendedatrimfieldgoalpercentage in the requested NBA or WNBA Stats split.

TeamStats

col_nametypedescription
game_idStringUnique stats.nba.com game identifier in endpoints that use compact schedule field names.
away_team_idInt64Unique identifier for the away team.
home_team_idInt64Unique identifier for the home team.
team_idInt64Unique team identifier.
team_cityStringTeam city or region (e.g. 'Las Vegas').
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
team_tricodeStringThree-letter team code used by NBA or WNBA Stats schedule and scoreboard feeds.
team_slugStringURL slug for teamslug used by NBA or WNBA Stats pages.
minutesStringMinutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2).
distanceFloat64Distance value (in feet for shot data; otherwise context-dependent).
rebound_chances_offensiveInt64Rebounding metric for reboundchancesoffensive in the requested NBA or WNBA Stats split.
rebound_chances_defensiveInt64Rebounding metric for reboundchancesdefensive in the requested NBA or WNBA Stats split.
rebound_chances_totalInt64Rebounding metric for reboundchancestotal in the requested NBA or WNBA Stats split.
touchesInt64Touches.
secondary_assistsInt64Passing or assist metric for secondaryassists in the requested NBA or WNBA Stats split.
free_throw_assistsInt64Shooting metric for freethrowassists in the requested NBA or WNBA Stats split.
passesInt64Passes.
assistsInt64Total assists.
contested_field_goals_madeInt64Shooting metric for contestedfieldgoalsmade in the requested NBA or WNBA Stats split.
contested_field_goals_attemptedInt64Shooting metric for contestedfieldgoalsattempted in the requested NBA or WNBA Stats split.
contested_field_goal_percentageFloat64Percentage or rate for contestedfieldgoalpercentage in the requested NBA or WNBA Stats split.
uncontested_field_goals_madeInt64Shooting metric for uncontestedfieldgoalsmade in the requested NBA or WNBA Stats split.
uncontested_field_goals_attemptedInt64Shooting metric for uncontestedfieldgoalsattempted in the requested NBA or WNBA Stats split.
uncontested_field_goals_percentageFloat64Percentage or rate for uncontestedfieldgoalspercentage in the requested NBA or WNBA Stats split.
field_goal_percentageFloat64Percentage or rate for fieldgoalpercentage in the requested NBA or WNBA Stats split.
defended_at_rim_field_goals_madeInt64Shooting metric for defendedatrimfieldgoalsmade in the requested NBA or WNBA Stats split.
defended_at_rim_field_goals_attemptedInt64Shooting metric for defendedatrimfieldgoalsattempted in the requested NBA or WNBA Stats split.
defended_at_rim_field_goal_percentageFloat64Percentage or rate for defendedatrimfieldgoalpercentage in the requested NBA or WNBA Stats split.

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.
ImportErrorcurl_cffi is not installed -- stats.nba.com / stats.wnba.com block plain requests, so the transport needs it (pip install curl_cffi or sportsdataverse[all]).

Example​

nba_stats_boxscoreplayertrackv3()

nba_stats_boxscorescoringv3​

Box score scoring v3.

Endpoint URL: GET https://stats.nba.com/stats/boxscorescoringv3

Valid URL: https://stats.nba.com/stats/boxscorescoringv3?EndPeriod=14&EndRange=0&GameID=0022200021&RangeType=0&StartPeriod=0&StartRange=0

API ParameterPythonPatternRequiredNullableDescription
EndPeriodend_periodY
EndRangeend_rangeY
GameIDgame_idY
RangeTyperange_typeY
StartPeriodstart_periodY
StartRangestart_rangeY

Returns​

return_parsed=True (default) — A dict of DataFrames keyed by result-set name (PlayerStats, TeamStats) (one table per documented key below); pass return_as_pandas=True for a dict of pandas.DataFrames (same keys).

PlayerStats

col_nametypedescription
game_idStringUnique 10-character game identifier from the league's stats API.
away_team_idInt64Unique identifier for the away team.
home_team_idInt64Unique identifier for the home team.
team_idInt64Unique team identifier.
team_cityStringTeam city or region (e.g. 'Las Vegas').
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
team_tricodeStringThree-letter team abbreviation.
team_slugStringURL-friendly slug for the team name.
person_idInt64Player identifier from the league's stats API.
first_nameStringPlayer's first name.
family_nameStringPlayer's family (last) name.
name_iStringAbbreviated player name (first initial and last name).
player_slugStringURL-friendly slug for the player's name.
positionStringListed roster position (G, F, C, etc.).
commentStringPlayer status / inactive reason (e.g. 'DNP - Coach's Decision', 'Inactive').
jersey_numStringPlayer's jersey number.
minutesStringMinutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2).
percentage_field_goals_attempted2ptFloat64Share of field goal attempts taken as two-pointers, as a decimal.
percentage_field_goals_attempted3ptFloat64Share of field goal attempts taken as three-pointers, as a decimal.
percentage_points2ptFloat64Share of points scored on two-pointers, as a decimal.
percentage_points_midrange2ptFloat64Share of points scored on mid-range two-pointers, as a decimal.
percentage_points3ptFloat64Share of points scored on three-pointers, as a decimal.
percentage_points_fast_breakFloat64Share of points scored on fast breaks, as a decimal.
percentage_points_free_throwFloat64Share of points scored at the free throw line, as a decimal.
percentage_points_off_turnoversFloat64Share of points scored off opponent turnovers, as a decimal.
percentage_points_paintFloat64Share of points scored in the paint, as a decimal.
percentage_assisted2ptFloat64Percentage of made two-pointers that were assisted, as a decimal.
percentage_unassisted2ptFloat64Percentage of made two-pointers that were unassisted, as a decimal.
percentage_assisted3ptFloat64Percentage of made three-pointers that were assisted, as a decimal.
percentage_unassisted3ptFloat64Percentage of made three-pointers that were unassisted, as a decimal.
percentage_assisted_fgmFloat64Percentage of made field goals that were assisted, as a decimal.
percentage_unassisted_fgmFloat64Percentage of made field goals that were unassisted, as a decimal.

TeamStats

col_nametypedescription
game_idStringUnique 10-character game identifier from the league's stats API.
away_team_idInt64Unique identifier for the away team.
home_team_idInt64Unique identifier for the home team.
team_idInt64Unique team identifier.
team_cityStringTeam city or region (e.g. 'Las Vegas').
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
team_tricodeStringThree-letter team abbreviation.
team_slugStringURL-friendly slug for the team name.
minutesStringMinutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2).
percentage_field_goals_attempted2ptFloat64Share of field goal attempts taken as two-pointers, as a decimal.
percentage_field_goals_attempted3ptFloat64Share of field goal attempts taken as three-pointers, as a decimal.
percentage_points2ptFloat64Share of points scored on two-pointers, as a decimal.
percentage_points_midrange2ptFloat64Share of points scored on mid-range two-pointers, as a decimal.
percentage_points3ptFloat64Share of points scored on three-pointers, as a decimal.
percentage_points_fast_breakFloat64Share of points scored on fast breaks, as a decimal.
percentage_points_free_throwFloat64Share of points scored at the free throw line, as a decimal.
percentage_points_off_turnoversFloat64Share of points scored off opponent turnovers, as a decimal.
percentage_points_paintFloat64Share of points scored in the paint, as a decimal.
percentage_assisted2ptFloat64Percentage of made two-pointers that were assisted, as a decimal.
percentage_unassisted2ptFloat64Percentage of made two-pointers that were unassisted, as a decimal.
percentage_assisted3ptFloat64Percentage of made three-pointers that were assisted, as a decimal.
percentage_unassisted3ptFloat64Percentage of made three-pointers that were unassisted, as a decimal.
percentage_assisted_fgmFloat64Percentage of made field goals that were assisted, as a decimal.
percentage_unassisted_fgmFloat64Percentage of made field goals that were unassisted, as a decimal.

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.
ImportErrorcurl_cffi is not installed -- stats.nba.com / stats.wnba.com block plain requests, so the transport needs it (pip install curl_cffi or sportsdataverse[all]).

Example​

nba_stats_boxscorescoringv3()

nba_stats_boxscoresummaryv2​

Box score summary v2.

Endpoint URL: GET https://stats.nba.com/stats/boxscoresummaryv2

Valid URL: https://stats.nba.com/stats/boxscoresummaryv2?GameID=0022200021

API ParameterPythonPatternRequiredNullableDescription
GameIDgame_idY

Returns​

return_parsed=True (default) — A dict of DataFrames keyed by result-set name (GameSummary, OtherStats, Officials, InactivePlayers, GameInfo, LineScore, LastMeeting, SeasonSeries, AvailableVideo) (one table per documented key below); pass return_as_pandas=True for a dict of pandas.DataFrames (same keys).

GameSummary

col_nametypedescription
game_date_estStringGame date est.
game_sequenceInt64Game sequence.
game_idStringUnique game identifier.
game_status_idInt64Numeric game status identifier.
game_status_textStringGame status display text (e.g. 'Final', '4:32 - 4th').
gamecodeStringGamecode.
home_team_idInt64Unique identifier for the home team.
visitor_team_idInt64Unique identifier for visitor team.
seasonStringSeason year.
live_periodInt64Live period.
live_pc_timeStringTime / clock value.
natl_tv_broadcaster_abbreviationStringNatl tv broadcaster abbreviation.
live_period_time_bcastStringLive period time bcast.
wh_statusInt64Wh status.

OtherStats

col_nametypedescription
league_idStringLeague identifier ('10' = WNBA).
team_idInt64Unique team identifier.
team_abbreviationStringShort team abbreviation (e.g. 'LAS').
team_cityStringTeam city or region (e.g. 'Las Vegas').
pts_paintInt64Points scored in the paint.
pts_2_nd_chanceInt64
pts_fbInt64
largest_leadInt64Largest lead during the game.
lead_changesInt64Lead changes.
times_tiedInt64Times tied.
team_turnoversInt64Team turnovers (turnovers credited to the team rather than a player).
total_turnoversInt64Total turnovers (player + team).
team_reboundsInt64Team rebounds (rebounds credited to the team rather than a player).
pts_off_toInt64

Officials

col_nametypedescription
official_idInt64Unique official / referee identifier.
first_nameStringPlayer's first name.
last_nameStringPlayer's last name.
jersey_numStringJersey number worn by the player.

InactivePlayers

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').

GameInfo

col_nametypedescription
game_dateStringGame date (YYYY-MM-DD).
attendanceInt64Reported attendance.
game_timeStringGame start time.

LineScore

col_nametypedescription
game_date_estStringGame date est.
game_sequenceInt64Game sequence.
game_idStringUnique game identifier.
team_idInt64Unique team identifier.
team_abbreviationStringShort team abbreviation (e.g. 'LAS').
team_city_nameStringTeam city name.
team_nicknameStringTeam nickname.
team_wins_lossesStringTeam wins losses.
pts_qtr1Int64Pts qtr1.
pts_qtr2Int64Pts qtr2.
pts_qtr3Int64Pts qtr3.
pts_qtr4Int64Pts qtr4.
pts_ot1Int64Pts ot1.
pts_ot2Int64Scoring or score-margin metric for points ot2 in the requested NBA or WNBA Stats split.
pts_ot3Int64Scoring or score-margin metric for points ot3 in the requested NBA or WNBA Stats split.
pts_ot4Int64Scoring or score-margin metric for points ot4 in the requested NBA or WNBA Stats split.
pts_ot5Int64Scoring or score-margin metric for points ot5 in the requested NBA or WNBA Stats split.
pts_ot6Int64Scoring or score-margin metric for points ot6 in the requested NBA or WNBA Stats split.
pts_ot7Int64Scoring or score-margin metric for points ot7 in the requested NBA or WNBA Stats split.
pts_ot8Int64Scoring or score-margin metric for points ot8 in the requested NBA or WNBA Stats split.
pts_ot9Int64Scoring or score-margin metric for points ot9 in the requested NBA or WNBA Stats split.
pts_ot10Int64Scoring or score-margin metric for points ot10 in the requested NBA or WNBA Stats split.
ptsInt64Points scored.

LastMeeting

col_nametypedescription
game_idStringUnique game identifier.
last_game_idString
last_game_date_estString
last_game_home_team_idInt64
last_game_home_team_cityString
last_game_home_team_nameString
last_game_home_team_abbreviationString
last_game_home_team_pointsInt64
last_game_visitor_team_idInt64
last_game_visitor_team_cityString
last_game_visitor_team_nameString
last_game_visitor_team_city1String
last_game_visitor_team_pointsInt64

SeasonSeries

col_nametypedescription
game_idStringUnique game identifier.
home_team_idInt64Unique identifier for the home team.
visitor_team_idInt64Unique identifier for visitor team.
game_date_estStringGame date est.
home_team_winsInt64Home team's team wins.
home_team_lossesInt64Home team's team losses.
series_leaderString

AvailableVideo

col_nametypedescription
game_idStringUnique game identifier.
video_available_flagInt64Video available flag.
pt_availableInt64Pt available.
pt_xyz_availableInt64Pt xyz available.
wh_statusInt64Wh status.
hustle_statusInt64Hustle status.
historical_statusInt64Historical status.

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.
ImportErrorcurl_cffi is not installed -- stats.nba.com / stats.wnba.com block plain requests, so the transport needs it (pip install curl_cffi or sportsdataverse[all]).

Example​

nba_stats_boxscoresummaryv2()

nba_stats_boxscoresummaryv3​

Box score summary v3.

Endpoint URL: GET https://stats.nba.com/stats/boxscoresummaryv3

Valid URL: https://stats.nba.com/stats/boxscoresummaryv3?GameID=0022200021

API ParameterPythonPatternRequiredNullableDescription
GameIDgame_idY

Returns​

return_parsed=True (default) — A dict of DataFrames keyed by result-set name (PlayerStats, TeamStats, Officials) (one table per documented key below); pass return_as_pandas=True for a dict of pandas.DataFrames (same keys).

PlayerStats

col_nametypedescription
game_idStringUnique 10-character game identifier from the league's stats API.
game_codeStringESPN game code (numeric identifier).
game_statusInt64Game status label.
game_status_textStringGame status display text (e.g. 'Final', '4:32 - 4th').
periodInt64Period of the game (1-4 quarters; 5+ for OT).
game_clockStringGame clock.
game_time_utcStringGame start time in UTC (ISO 8601 timestamp).
game_etStringGame et.
away_team_idInt64Unique identifier for the away team.
home_team_idInt64Unique identifier for the home team.
durationStringDuration.
attendanceInt64Reported attendance.
selloutInt64Sellout.
series_game_numberStringSeries game number.
game_labelString
game_sub_labelString
series_textStringSeries text.
if_necessaryBooleanIf necessary.
is_neutralBoolean
video_available_flagInt64Video available flag.
pt_availableInt64Pt available.
pt_xyz_availableInt64Pt xyz available.
wh_statusInt64Wh status.
hustle_statusInt64Hustle status.
historical_statusInt64Historical status.
game_subtypeStringGame subtype.
team_idInt64Unique team identifier.
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
team_cityStringTeam city or region (e.g. 'Las Vegas').
team_tricodeStringThree-letter team abbreviation.
team_slugStringURL-friendly slug for the team name.
team_winsInt64Team's win total entering the game.
team_lossesInt64Team's loss total entering the game.
scoreInt64Final score.
in_bonusStringWhether the team is currently in the bonus (penalty) foul situation, as reported by the stats API.
timeouts_remainingInt64Timeouts the team has remaining.
seedInt64Team's playoff seed, populated for postseason games.
person_idInt64Unique player identifier (V3 endpoints).
nameStringDisplay name.
name_iStringInitialed name (e.g. 'A. Wilson').
first_nameStringPlayer's first name.
family_nameStringPlayer's family / last name.
jersey_numStringJersey number worn by the player.

TeamStats

col_nametypedescription
game_idStringUnique 10-character game identifier from the league's stats API.
game_codeStringESPN game code (numeric identifier).
game_statusInt64Game status label.
game_status_textStringGame status display text (e.g. 'Final', '4:32 - 4th').
periodInt64Period of the game (1-4 quarters; 5+ for OT).
game_clockStringGame clock.
game_time_utcStringGame start time in UTC (ISO 8601 timestamp).
game_etStringGame et.
away_team_idInt64Unique identifier for the away team.
home_team_idInt64Unique identifier for the home team.
durationStringDuration.
attendanceInt64Reported attendance.
selloutInt64Sellout.
series_game_numberStringSeries game number.
game_labelString
game_sub_labelString
series_textStringSeries text.
if_necessaryBooleanIf necessary.
is_neutralBoolean
video_available_flagInt64Video available flag.
pt_availableInt64Pt available.
pt_xyz_availableInt64Pt xyz available.
wh_statusInt64Wh status.
hustle_statusInt64Hustle status.
historical_statusInt64Historical status.
game_subtypeStringGame subtype.
team_idInt64Unique team identifier.
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
team_cityStringTeam city or region (e.g. 'Las Vegas').
team_tricodeStringThree-letter team abbreviation.
team_slugStringURL-friendly slug for the team name.
team_winsInt64Team's win total entering the game.
team_lossesInt64Team's loss total entering the game.
scoreInt64Final score.
in_bonusStringWhether the team is currently in the bonus (penalty) foul situation, as reported by the stats API.
timeouts_remainingInt64Timeouts the team has remaining.
seedInt64Team's playoff seed, populated for postseason games.
dummy_keyStringPlaceholder key emitted by the stats API's box score summary payload; carries no data.

Officials

col_nametypedescription
person_idInt64Unique player identifier (V3 endpoints).
nameStringDisplay name.
name_iStringInitialed name (e.g. 'A. Wilson').
first_nameStringPlayer's first name.
family_nameStringPlayer's family / last name.
jersey_numStringJersey number worn by the player.
assignmentStringAssignment.

return_parsed=False — the raw JSON Dict payload, unparsed.

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.
ImportErrorcurl_cffi is not installed -- stats.nba.com / stats.wnba.com block plain requests, so the transport needs it (pip install curl_cffi or sportsdataverse[all]).

Example​

nba_stats_boxscoresummaryv3()