Skip to main content

WNBA — WNBA Stats API (stats.wnba.com) — Box scores: boxscoresummaryv2–boxscoreusagev3

wnba_stats_boxscoresummaryv2​

Box score summary v2.

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

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

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 identifier (4-digit year or 'YYYY-YY' string).
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​

wnba_stats_boxscoresummaryv2()

wnba_stats_boxscoresummaryv3​

Box score summary v3.

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

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

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​

wnba_stats_boxscoresummaryv3()

wnba_stats_boxscoretraditionalv2​

Box score traditional v2.

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

Valid URL: https://stats.wnba.com/stats/boxscoretraditionalv2?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, TeamStarterBenchStats) (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 reserves.
commentStringPlayer status / inactive reason (e.g. 'DNP - Coach's Decision', 'Inactive').
minStringMinutes played.
fgmInt64Field goals made.
fgaInt64Field goal attempts.
fg_pctFloat64Field goal percentage (0-1).
fg3_mInt64Three-point field goals made.
fg3_aInt64Three-point field goal attempts.
fg3_pctFloat64Three-point field goal percentage (0-1).
ftmInt64Free throws made.
ftaInt64Free throw attempts.
ft_pctFloat64Free throw percentage (0-1).
orebInt64Offensive rebounds.
drebInt64Defensive rebounds.
rebInt64Total rebounds.
astInt64Assists.
stlInt64Steals.
blkInt64Blocks.
toInt64To.
pfInt64Personal fouls.
ptsInt64Points scored.
plus_minusInt64Plus/minus point differential while on court.

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.
fgmInt64Field goals made.
fgaInt64Field goal attempts.
fg_pctFloat64Field goal percentage (0-1).
fg3_mInt64Three-point field goals made.
fg3_aInt64Three-point field goal attempts.
fg3_pctFloat64Three-point field goal percentage (0-1).
ftmInt64Free throws made.
ftaInt64Free throw attempts.
ft_pctFloat64Free throw percentage (0-1).
orebInt64Offensive rebounds.
drebInt64Defensive rebounds.
rebInt64Total rebounds.
astInt64Assists.
stlInt64Steals.
blkInt64Blocks.
toInt64To.
pfInt64Personal fouls.
ptsInt64Points scored.
plus_minusInt64Plus/minus point differential while on court.

TeamStarterBenchStats

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').
starters_benchString
minStringMinutes played.
fgmInt64Field goals made.
fgaInt64Field goal attempts.
fg_pctFloat64Field goal percentage (0-1).
fg3_mInt64Three-point field goals made.
fg3_aInt64Three-point field goal attempts.
fg3_pctFloat64Three-point field goal percentage (0-1).
ftmInt64Free throws made.
ftaInt64Free throw attempts.
ft_pctFloat64Free throw percentage (0-1).
orebInt64Offensive rebounds.
drebInt64Defensive rebounds.
rebInt64Total rebounds.
astInt64Assists.
stlInt64Steals.
blkInt64Blocks.
toInt64To.
pfInt64Personal fouls.
ptsInt64Points scored.

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_boxscoretraditionalv2()

wnba_stats_boxscoretraditionalv3​

Box score traditional v3.

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

Valid URL: https://stats.wnba.com/stats/boxscoretraditionalv3?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).
field_goals_madeInt64Field goals made recorded in the game.
field_goals_attemptedInt64Field goal attempts recorded in the game.
field_goals_percentageFloat64Field goal percentage for the game, as a decimal.
three_pointers_madeInt64Three-pointers made recorded in the game.
three_pointers_attemptedInt64Three-point attempts recorded in the game.
three_pointers_percentageFloat64Three-point percentage for the game, as a decimal.
free_throws_madeInt64Free throws made recorded in the game.
free_throws_attemptedInt64Free throw attempts recorded in the game.
free_throws_percentageFloat64Free throw percentage for the game, as a decimal.
rebounds_offensiveInt64Offensive rebounds recorded in the game.
rebounds_defensiveInt64Defensive rebounds recorded in the game.
rebounds_totalInt64Total rebounds recorded in the game.
assistsInt64Total assists.
stealsInt64Total steals.
blocksInt64Total blocks.
turnoversInt64Total turnovers.
fouls_personalInt64Personal fouls recorded in the game.
pointsInt64Points scored.
plus_minus_pointsFloat64Team point differential while the player was on the floor (plus-minus).

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).
field_goals_madeInt64Field goals made recorded in the game.
field_goals_attemptedInt64Field goal attempts recorded in the game.
field_goals_percentageFloat64Field goal percentage for the game, as a decimal.
three_pointers_madeInt64Three-pointers made recorded in the game.
three_pointers_attemptedInt64Three-point attempts recorded in the game.
three_pointers_percentageFloat64Three-point percentage for the game, as a decimal.
free_throws_madeInt64Free throws made recorded in the game.
free_throws_attemptedInt64Free throw attempts recorded in the game.
free_throws_percentageFloat64Free throw percentage for the game, as a decimal.
rebounds_offensiveInt64Offensive rebounds recorded in the game.
rebounds_defensiveInt64Defensive rebounds recorded in the game.
rebounds_totalInt64Total rebounds recorded in the game.
assistsInt64Total assists.
stealsInt64Total steals.
blocksInt64Total blocks.
turnoversInt64Total turnovers.
fouls_personalInt64Personal fouls recorded in the game.
pointsInt64Points scored.
plus_minus_pointsFloat64Team point differential while the player was on the floor (plus-minus).

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_boxscoretraditionalv3()

wnba_stats_boxscoreusagev2​

Box score usage v2.

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

Valid URL: https://stats.wnba.com/stats/boxscoreusagev2?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 (sqlPlayersUsage, sqlTeamsUsage) (one table per documented key below); pass return_as_pandas=True for a dict of pandas.DataFrames (same keys).

sqlPlayersUsage

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.
usg_pctFloat64Percentage of team plays used while on the floor.
pct_fgmFloat64Share of the team's field goals made accounted for while on the floor.
pct_fgaFloat64Share of the team's field goal attempts accounted for while on the floor.
pct_fg3_mFloat64Share of the team's made three-pointers accounted for while on the floor.
pct_fg3_aFloat64Share of the team's three-point attempts accounted for while on the floor.
pct_ftmFloat64Share of the team's made free throws accounted for while on the floor.
pct_ftaFloat64Share of the team's free throw attempts accounted for while on the floor.
pct_orebFloat64Share of the team's offensive rebounds accounted for while on the floor.
pct_drebFloat64Share of the team's defensive rebounds accounted for while on the floor.
pct_rebFloat64Share of the team's total rebounds accounted for while on the floor.
pct_astFloat64Share of the team's assists accounted for while on the floor.
pct_tovFloat64Share of the team's turnovers accounted for while on the floor.
pct_stlFloat64Share of the team's steals accounted for while on the floor.
pct_blkFloat64Share of the team's blocks accounted for while on the floor.
pct_blkaFloat64Share of the team's blocked own attempts accounted for while on the floor.
pct_pfFloat64Share of the team's personal fouls accounted for while on the floor.
pct_pfdFloat64Share of the team's personal fouls drawn accounted for while on the floor.
pct_ptsFloat64Share of the team's points accounted for while on the floor.

sqlTeamsUsage

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.
usg_pctFloat64Percentage of team plays used while on the floor.
pct_fgmFloat64Share of the team's field goals made accounted for while on the floor.
pct_fgaFloat64Share of the team's field goal attempts accounted for while on the floor.
pct_fg3_mFloat64Share of the team's made three-pointers accounted for while on the floor.
pct_fg3_aFloat64Share of the team's three-point attempts accounted for while on the floor.
pct_ftmFloat64Share of the team's made free throws accounted for while on the floor.
pct_ftaFloat64Share of the team's free throw attempts accounted for while on the floor.
pct_orebFloat64Share of the team's offensive rebounds accounted for while on the floor.
pct_drebFloat64Share of the team's defensive rebounds accounted for while on the floor.
pct_rebFloat64Share of the team's total rebounds accounted for while on the floor.
pct_astFloat64Share of the team's assists accounted for while on the floor.
pct_tovFloat64Share of the team's turnovers accounted for while on the floor.
pct_stlFloat64Share of the team's steals accounted for while on the floor.
pct_blkFloat64Share of the team's blocks accounted for while on the floor.
pct_blkaFloat64Share of the team's blocked own attempts accounted for while on the floor.
pct_pfFloat64Share of the team's personal fouls accounted for while on the floor.
pct_pfdFloat64Share of the team's personal fouls drawn accounted for while on the floor.
pct_ptsFloat64Share of the team's points accounted for 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_boxscoreusagev2()

wnba_stats_boxscoreusagev3​

Box score usage v3.

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

Valid URL: https://stats.wnba.com/stats/boxscoreusagev3?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).
usage_percentageFloat64Percentage of team plays used by the player while on the floor, as a decimal.
percentage_field_goals_madeFloat64Share of the team's field goals made accounted for by the player while on the floor, as a decimal.
percentage_field_goals_attemptedFloat64Share of the team's field goal attempts accounted for by the player while on the floor, as a decimal.
percentage_three_pointers_madeFloat64Share of the team's three-pointers made accounted for by the player while on the floor, as a decimal.
percentage_three_pointers_attemptedFloat64Share of the team's three-point attempts accounted for by the player while on the floor, as a decimal.
percentage_free_throws_madeFloat64Share of the team's free throws made accounted for by the player while on the floor, as a decimal.
percentage_free_throws_attemptedFloat64Share of the team's free throw attempts accounted for by the player while on the floor, as a decimal.
percentage_rebounds_offensiveFloat64Share of the team's offensive rebounds accounted for by the player while on the floor, as a decimal.
percentage_rebounds_defensiveFloat64Share of the team's defensive rebounds accounted for by the player while on the floor, as a decimal.
percentage_rebounds_totalFloat64Share of the team's total rebounds accounted for by the player while on the floor, as a decimal.
percentage_assistsFloat64Share of the team's assists accounted for by the player while on the floor, as a decimal.
percentage_turnoversFloat64Share of the team's turnovers accounted for by the player while on the floor, as a decimal.
percentage_stealsFloat64Share of the team's steals accounted for by the player while on the floor, as a decimal.
percentage_blocksFloat64Share of the team's blocked shots accounted for by the player while on the floor, as a decimal.
percentage_blocks_allowedFloat64Share of the team's shot attempts blocked by opponents accounted for by the player while on the floor, as a decimal.
percentage_personal_foulsFloat64Share of the team's personal fouls accounted for by the player while on the floor, as a decimal.
percentage_personal_fouls_drawnFloat64Share of the team's personal fouls drawn accounted for by the player while on the floor, as a decimal.
percentage_pointsFloat64Share of the team's points accounted for by the player 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).
usage_percentageFloat64Percentage of team plays used by the player while on the floor, as a decimal.
percentage_field_goals_madeFloat64Share of the team's field goals made accounted for by the player while on the floor, as a decimal.
percentage_field_goals_attemptedFloat64Share of the team's field goal attempts accounted for by the player while on the floor, as a decimal.
percentage_three_pointers_madeFloat64Share of the team's three-pointers made accounted for by the player while on the floor, as a decimal.
percentage_three_pointers_attemptedFloat64Share of the team's three-point attempts accounted for by the player while on the floor, as a decimal.
percentage_free_throws_madeFloat64Share of the team's free throws made accounted for by the player while on the floor, as a decimal.
percentage_free_throws_attemptedFloat64Share of the team's free throw attempts accounted for by the player while on the floor, as a decimal.
percentage_rebounds_offensiveFloat64Share of the team's offensive rebounds accounted for by the player while on the floor, as a decimal.
percentage_rebounds_defensiveFloat64Share of the team's defensive rebounds accounted for by the player while on the floor, as a decimal.
percentage_rebounds_totalFloat64Share of the team's total rebounds accounted for by the player while on the floor, as a decimal.
percentage_assistsFloat64Share of the team's assists accounted for by the player while on the floor, as a decimal.
percentage_turnoversFloat64Share of the team's turnovers accounted for by the player while on the floor, as a decimal.
percentage_stealsFloat64Share of the team's steals accounted for by the player while on the floor, as a decimal.
percentage_blocksFloat64Share of the team's blocked shots accounted for by the player while on the floor, as a decimal.
percentage_blocks_allowedFloat64Share of the team's shot attempts blocked by opponents accounted for by the player while on the floor, as a decimal.
percentage_personal_foulsFloat64Share of the team's personal fouls accounted for by the player while on the floor, as a decimal.
percentage_personal_fouls_drawnFloat64Share of the team's personal fouls drawn accounted for by the player while on the floor, as a decimal.
percentage_pointsFloat64Share of the team's points accounted for by the player 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_boxscoreusagev3()