Skip to main content

WNBA — WNBA Stats API (stats.wnba.com) — Box scores: boxscoreadvancedv2–boxscorescoringv3

wnba_stats_boxscoreadvancedv2​

Box score advanced v2.

Endpoint URL: GET https://stats.wnba.com/stats/boxscoreadvancedv2

Valid URL: https://stats.wnba.com/stats/boxscoreadvancedv2?EndPeriod=14&EndRange=0&GameID=1022200034&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 game identifier.
team_idInt64Unique team identifier.
team_abbreviationStringShort team abbreviation (e.g. 'LAS').
team_cityStringTeam city or region (e.g. 'Las Vegas').
player_idInt64Unique player identifier.
player_nameStringPlayer name.
nicknameStringTeam or athlete nickname.
start_positionStringPosition the player started the game at ('F', 'C', or 'G'); empty for bench players.
commentStringPlayer status / inactive reason (e.g. 'DNP - Coach's Decision', 'Inactive').
minStringMinutes played.
e_off_ratingFloat64Estimated offensive rating: points produced per 100 possessions using the stats API's estimated-possession formula.
off_ratingFloat64Points scored per 100 possessions while on the floor.
e_def_ratingFloat64Estimated defensive rating: points allowed per 100 possessions using the estimated-possession formula.
def_ratingFloat64Points allowed per 100 possessions while on the floor.
e_net_ratingFloat64Estimated net rating: estimated offensive rating minus estimated defensive rating.
net_ratingFloat64Net rating (off rating - def rating).
ast_pctFloat64Assist percentage.
ast_tovFloat64Ratio of assists to turnovers.
ast_ratioFloat64Assists per 100 possessions used.
oreb_pctFloat64Percentage of available offensive rebounds grabbed while on the floor.
dreb_pctFloat64Percentage of available defensive rebounds grabbed while on the floor.
reb_pctFloat64Percentage of all available rebounds grabbed while on the floor.
tm_tov_pctFloat64Turnovers committed per 100 possessions.
efg_pctFloat64Effective field goal percentage: (FGM + 0.5 * FG3M) / FGA.
ts_pctFloat64True shooting percentage (0-1).
usg_pctFloat64Percentage of team plays used while on the floor.
e_usg_pctFloat64Estimated usage percentage using the stats API's estimated-possession formula.
e_paceFloat64Estimated pace: team possessions per regulation game, from the estimated-possession formula.
paceFloat64Possessions per 48 minutes.
pace_per40Float64Pace per40.
possInt64Poss.
pieFloat64Player Impact Estimate (0-1).

TeamStats

col_nametypedescription
game_idStringUnique game identifier.
team_idInt64Unique team identifier.
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
team_abbreviationStringShort team abbreviation (e.g. 'LAS').
team_cityStringTeam city or region (e.g. 'Las Vegas').
minStringMinutes played.
e_off_ratingFloat64Estimated offensive rating: points produced per 100 possessions using the stats API's estimated-possession formula.
off_ratingFloat64Points scored per 100 possessions while on the floor.
e_def_ratingFloat64Estimated defensive rating: points allowed per 100 possessions using the estimated-possession formula.
def_ratingFloat64Points allowed per 100 possessions while on the floor.
e_net_ratingFloat64Estimated net rating: estimated offensive rating minus estimated defensive rating.
net_ratingFloat64Net rating (off rating - def rating).
ast_pctFloat64Assist percentage.
ast_tovFloat64Ratio of assists to turnovers.
ast_ratioFloat64Assists per 100 possessions used.
oreb_pctFloat64Percentage of available offensive rebounds grabbed while on the floor.
dreb_pctFloat64Percentage of available defensive rebounds grabbed while on the floor.
reb_pctFloat64Percentage of all available rebounds grabbed while on the floor.
e_tm_tov_pctFloat64
tm_tov_pctFloat64Turnovers committed per 100 possessions.
efg_pctFloat64Effective field goal percentage: (FGM + 0.5 * FG3M) / FGA.
ts_pctFloat64True shooting percentage (0-1).
usg_pctFloat64Percentage of team plays used while on the floor.
e_usg_pctFloat64Estimated usage percentage using the stats API's estimated-possession formula.
e_paceFloat64Estimated pace: team possessions per regulation game, from the estimated-possession formula.
paceFloat64Possessions per 48 minutes.
pace_per40Float64Pace per40.
possInt64Poss.
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​

wnba_stats_boxscoreadvancedv2()

wnba_stats_boxscoreadvancedv3​

Box score advanced v3.

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

Valid URL: https://stats.wnba.com/stats/boxscoreadvancedv3?EndPeriod=14&EndRange=0&GameID=1022200034&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​

wnba_stats_boxscoreadvancedv3()

wnba_stats_boxscoredefensivev2​

Box score defensive v2.

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

Valid URL: https://stats.wnba.com/stats/boxscoredefensivev2?GameID=1022200034

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​

wnba_stats_boxscoredefensivev2()

wnba_stats_boxscorefourfactorsv2​

Box score four factors v2.

Endpoint URL: GET https://stats.wnba.com/stats/boxscorefourfactorsv2

Valid URL: https://stats.wnba.com/stats/boxscorefourfactorsv2?EndPeriod=14&EndRange=0&GameID=1022200034&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 (sqlPlayersFourFactors, sqlTeamsFourFactors) (one table per documented key below); pass return_as_pandas=True for a dict of pandas.DataFrames (same keys).

sqlPlayersFourFactors

col_nametypedescription
game_idStringUnique game identifier.
team_idInt64Unique team identifier.
team_abbreviationStringShort team abbreviation (e.g. 'LAS').
team_cityStringTeam city or region (e.g. 'Las Vegas').
player_idInt64Unique player identifier.
player_nameStringPlayer name.
nicknameStringTeam or athlete nickname.
start_positionStringPosition the player started the game at ('F', 'C', or 'G'); empty for bench players.
commentStringPlayer status / inactive reason (e.g. 'DNP - Coach's Decision', 'Inactive').
minStringMinutes played.
efg_pctFloat64Effective field goal percentage: (FGM + 0.5 * FG3M) / FGA.
fta_rateFloat64Free throw attempt rate: free throw attempts per field goal attempt.
tm_tov_pctFloat64Turnovers committed per 100 possessions.
oreb_pctFloat64Percentage of available offensive rebounds grabbed while on the floor.
opp_efg_pctFloat64Opponent effective field goal percentage while on the floor.
opp_fta_rateFloat64Opponent free throw attempts per field goal attempt while on the floor.
opp_tov_pctFloat64Opponent turnovers per 100 possessions while on the floor.
opp_oreb_pctFloat64Percentage of available offensive rebounds grabbed by the opponent while on the floor.

sqlTeamsFourFactors

col_nametypedescription
game_idStringUnique game identifier.
team_idInt64Unique team identifier.
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
team_abbreviationStringShort team abbreviation (e.g. 'LAS').
team_cityStringTeam city or region (e.g. 'Las Vegas').
minStringMinutes played.
efg_pctFloat64Effective field goal percentage: (FGM + 0.5 * FG3M) / FGA.
fta_rateFloat64Free throw attempt rate: free throw attempts per field goal attempt.
tm_tov_pctFloat64Turnovers committed per 100 possessions.
oreb_pctFloat64Percentage of available offensive rebounds grabbed while on the floor.
opp_efg_pctFloat64Opponent effective field goal percentage while on the floor.
opp_fta_rateFloat64Opponent free throw attempts per field goal attempt while on the floor.
opp_tov_pctFloat64Opponent turnovers per 100 possessions while on the floor.
opp_oreb_pctFloat64Percentage of available offensive rebounds grabbed by the opponent while on the floor.

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​

wnba_stats_boxscorefourfactorsv2()

wnba_stats_boxscorefourfactorsv3​

Box score four factors v3.

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

Valid URL: https://stats.wnba.com/stats/boxscorefourfactorsv3?EndPeriod=14&EndRange=0&GameID=1022200034&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​

wnba_stats_boxscorefourfactorsv3()

wnba_stats_boxscorehustlev2​

Box score hustle v2.

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

Valid URL: https://stats.wnba.com/stats/boxscorehustlev2

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

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.
statisticsString

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​

wnba_stats_boxscorehustlev2()

wnba_stats_boxscorematchupsv3​

Box score matchups v3.

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

Valid URL: https://stats.wnba.com/stats/boxscorematchupsv3?GameID=1022200034

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​

wnba_stats_boxscorematchupsv3()

wnba_stats_boxscoremiscv2​

Box score misc v2.

Endpoint URL: GET https://stats.wnba.com/stats/boxscoremiscv2

Valid URL: https://stats.wnba.com/stats/boxscoremiscv2?EndPeriod=14&EndRange=0&GameID=1022200034&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 (sqlPlayersMisc, sqlTeamsMisc) (one table per documented key below); pass return_as_pandas=True for a dict of pandas.DataFrames (same keys).

sqlPlayersMisc

col_nametypedescription
game_idStringUnique game identifier.
team_idInt64Unique team identifier.
team_abbreviationStringShort team abbreviation (e.g. 'LAS').
team_cityStringTeam city or region (e.g. 'Las Vegas').
player_idInt64Unique player identifier.
player_nameStringPlayer name.
nicknameStringTeam or athlete nickname.
start_positionStringPosition the player started the game at ('F', 'C', or 'G'); empty for bench players.
commentStringPlayer status / inactive reason (e.g. 'DNP - Coach's Decision', 'Inactive').
minStringMinutes played.
pts_off_tovInt64Points scored following opponent turnovers.
pts_2_nd_chanceInt64Second-chance points scored after offensive rebounds.
pts_fbInt64Fast-break points scored.
pts_paintInt64Points scored in the paint.
opp_pts_off_tovFloat64Opponent points scored off turnovers while on the floor.
opp_pts_2_nd_chanceFloat64Opponent second-chance points scored while on the floor.
opp_pts_fbFloat64Opponent fast-break points scored while on the floor.
opp_pts_paintFloat64Opponent points in the paint scored while on the floor.
blkInt64Blocks.
blkaInt64Number of own field goal attempts that were blocked by opponents.
pfInt64Personal fouls.
pfdInt64Personal fouls drawn.

sqlTeamsMisc

col_nametypedescription
game_idStringUnique game identifier.
team_idInt64Unique team identifier.
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
team_abbreviationStringShort team abbreviation (e.g. 'LAS').
team_cityStringTeam city or region (e.g. 'Las Vegas').
minStringMinutes played.
pts_off_tovFloat64Points scored following opponent turnovers.
pts_2_nd_chanceFloat64Second-chance points scored after offensive rebounds.
pts_fbFloat64Fast-break points scored.
pts_paintFloat64Points scored in the paint.
opp_pts_off_tovFloat64Opponent points scored off turnovers while on the floor.
opp_pts_2_nd_chanceFloat64Opponent second-chance points scored while on the floor.
opp_pts_fbFloat64Opponent fast-break points scored while on the floor.
opp_pts_paintFloat64Opponent points in the paint scored while on the floor.
blkInt64Blocks.
blkaInt64Number of own field goal attempts that were blocked by opponents.
pfInt64Personal fouls.
pfdInt64Personal 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​

wnba_stats_boxscoremiscv2()

wnba_stats_boxscoremiscv3​

Box score misc v3.

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

Valid URL: https://stats.wnba.com/stats/boxscoremiscv3?EndPeriod=14&EndRange=0&GameID=1022200034&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​

wnba_stats_boxscoremiscv3()

wnba_stats_boxscoreplayertrackv3​

Box score player track v3.

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

Valid URL: https://stats.wnba.com/stats/boxscoreplayertrackv3?GameID=1022200034

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​

wnba_stats_boxscoreplayertrackv3()

wnba_stats_boxscorescoringv2​

Box score scoring v2.

Endpoint URL: GET https://stats.wnba.com/stats/boxscorescoringv2

Valid URL: https://stats.wnba.com/stats/boxscorescoringv2?EndPeriod=14&EndRange=0&GameID=1022200034&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 (sqlPlayersScoring, sqlTeamsScoring) (one table per documented key below); pass return_as_pandas=True for a dict of pandas.DataFrames (same keys).

sqlPlayersScoring

col_nametypedescription
game_idStringUnique game identifier.
team_idInt64Unique team identifier.
team_abbreviationStringShort team abbreviation (e.g. 'LAS').
team_cityStringTeam city or region (e.g. 'Las Vegas').
player_idInt64Unique player identifier.
player_nameStringPlayer name.
nicknameStringTeam or athlete nickname.
start_positionStringPosition the player started the game at ('F', 'C', or 'G'); empty for bench players.
commentStringPlayer status / inactive reason (e.g. 'DNP - Coach's Decision', 'Inactive').
minStringMinutes played.
pct_fga_2_ptFloat64Share of field goal attempts taken as two-pointers.
pct_fga_3_ptFloat64Share of field goal attempts taken as three-pointers.
pct_pts_2_ptFloat64Share of points scored on two-point field goals.
pct_pts_2_pt_mrFloat64Share of points scored on mid-range two-point field goals.
pct_pts_3_ptFloat64Share of points scored on three-point field goals.
pct_pts_fbFloat64Share of points scored on the fast break.
pct_pts_ftFloat64Share of points scored on free throws.
pct_pts_off_tovFloat64Share of points scored off opponent turnovers.
pct_pts_paintFloat64Share of points scored in the paint.
pct_ast_2_pmFloat64Share of made two-point field goals that were assisted.
pct_uast_2_pmFloat64Share of made two-point field goals that were unassisted.
pct_ast_3_pmFloat64Share of made three-point field goals that were assisted.
pct_uast_3_pmFloat64Share of made three-point field goals that were unassisted.
pct_ast_fgmFloat64Share of all made field goals that were assisted.
pct_uast_fgmFloat64Share of all made field goals that were unassisted.

sqlTeamsScoring

col_nametypedescription
game_idStringUnique game identifier.
team_idInt64Unique team identifier.
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
team_abbreviationStringShort team abbreviation (e.g. 'LAS').
team_cityStringTeam city or region (e.g. 'Las Vegas').
minStringMinutes played.
pct_fga_2_ptFloat64Share of field goal attempts taken as two-pointers.
pct_fga_3_ptFloat64Share of field goal attempts taken as three-pointers.
pct_pts_2_ptFloat64Share of points scored on two-point field goals.
pct_pts_2_pt_mrFloat64Share of points scored on mid-range two-point field goals.
pct_pts_3_ptFloat64Share of points scored on three-point field goals.
pct_pts_fbFloat64Share of points scored on the fast break.
pct_pts_ftFloat64Share of points scored on free throws.
pct_pts_off_tovFloat64Share of points scored off opponent turnovers.
pct_pts_paintFloat64Share of points scored in the paint.
pct_ast_2_pmFloat64Share of made two-point field goals that were assisted.
pct_uast_2_pmFloat64Share of made two-point field goals that were unassisted.
pct_ast_3_pmFloat64Share of made three-point field goals that were assisted.
pct_uast_3_pmFloat64Share of made three-point field goals that were unassisted.
pct_ast_fgmFloat64Share of all made field goals that were assisted.
pct_uast_fgmFloat64Share of all made field goals that were unassisted.

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​

wnba_stats_boxscorescoringv2()

wnba_stats_boxscorescoringv3​

Box score scoring v3.

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

Valid URL: https://stats.wnba.com/stats/boxscorescoringv3?EndPeriod=14&EndRange=0&GameID=1022200034&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​

wnba_stats_boxscorescoringv3()