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
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
EndPeriod | end_period | Y | |||
EndRange | end_range | Y | |||
GameID | game_id | Y | |||
RangeType | range_type | Y | |||
StartPeriod | start_period | Y | |||
StartRange | start_range | Y |
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_name | type | description |
|---|---|---|
game_id | String | Unique game identifier. |
team_id | Int64 | Unique team identifier. |
team_abbreviation | String | Short team abbreviation (e.g. 'LAS'). |
team_city | String | Team city or region (e.g. 'Las Vegas'). |
player_id | Int64 | Unique player identifier. |
player_name | String | Player name. |
nickname | String | Team or athlete nickname. |
start_position | String | Position the player started the game at ('F', 'C', or 'G'); empty for bench players. |
comment | String | Player status / inactive reason (e.g. 'DNP - Coach's Decision', 'Inactive'). |
min | String | Minutes played. |
e_off_rating | Float64 | Estimated offensive rating: points produced per 100 possessions using the stats API's estimated-possession formula. |
off_rating | Float64 | Points scored per 100 possessions while on the floor. |
e_def_rating | Float64 | Estimated defensive rating: points allowed per 100 possessions using the estimated-possession formula. |
def_rating | Float64 | Points allowed per 100 possessions while on the floor. |
e_net_rating | Float64 | Estimated net rating: estimated offensive rating minus estimated defensive rating. |
net_rating | Float64 | Net rating (off rating - def rating). |
ast_pct | Float64 | Assist percentage. |
ast_tov | Float64 | Ratio of assists to turnovers. |
ast_ratio | Float64 | Assists per 100 possessions used. |
oreb_pct | Float64 | Percentage of available offensive rebounds grabbed while on the floor. |
dreb_pct | Float64 | Percentage of available defensive rebounds grabbed while on the floor. |
reb_pct | Float64 | Percentage of all available rebounds grabbed while on the floor. |
tm_tov_pct | Float64 | Turnovers committed per 100 possessions. |
efg_pct | Float64 | Effective field goal percentage: (FGM + 0.5 * FG3M) / FGA. |
ts_pct | Float64 | True shooting percentage (0-1). |
usg_pct | Float64 | Percentage of team plays used while on the floor. |
e_usg_pct | Float64 | Estimated usage percentage using the stats API's estimated-possession formula. |
e_pace | Float64 | Estimated pace: team possessions per regulation game, from the estimated-possession formula. |
pace | Float64 | Possessions per 48 minutes. |
pace_per40 | Float64 | Pace per40. |
poss | Int64 | Poss. |
pie | Float64 | Player Impact Estimate (0-1). |
TeamStats
| col_name | type | description |
|---|---|---|
game_id | String | Unique game identifier. |
team_id | Int64 | Unique team identifier. |
team_name | String | Full team display name (e.g. 'Las Vegas Aces'). |
team_abbreviation | String | Short team abbreviation (e.g. 'LAS'). |
team_city | String | Team city or region (e.g. 'Las Vegas'). |
min | String | Minutes played. |
e_off_rating | Float64 | Estimated offensive rating: points produced per 100 possessions using the stats API's estimated-possession formula. |
off_rating | Float64 | Points scored per 100 possessions while on the floor. |
e_def_rating | Float64 | Estimated defensive rating: points allowed per 100 possessions using the estimated-possession formula. |
def_rating | Float64 | Points allowed per 100 possessions while on the floor. |
e_net_rating | Float64 | Estimated net rating: estimated offensive rating minus estimated defensive rating. |
net_rating | Float64 | Net rating (off rating - def rating). |
ast_pct | Float64 | Assist percentage. |
ast_tov | Float64 | Ratio of assists to turnovers. |
ast_ratio | Float64 | Assists per 100 possessions used. |
oreb_pct | Float64 | Percentage of available offensive rebounds grabbed while on the floor. |
dreb_pct | Float64 | Percentage of available defensive rebounds grabbed while on the floor. |
reb_pct | Float64 | Percentage of all available rebounds grabbed while on the floor. |
e_tm_tov_pct | Float64 | |
tm_tov_pct | Float64 | Turnovers committed per 100 possessions. |
efg_pct | Float64 | Effective field goal percentage: (FGM + 0.5 * FG3M) / FGA. |
ts_pct | Float64 | True shooting percentage (0-1). |
usg_pct | Float64 | Percentage of team plays used while on the floor. |
e_usg_pct | Float64 | Estimated usage percentage using the stats API's estimated-possession formula. |
e_pace | Float64 | Estimated pace: team possessions per regulation game, from the estimated-possession formula. |
pace | Float64 | Possessions per 48 minutes. |
pace_per40 | Float64 | Pace per40. |
poss | Int64 | Poss. |
pie | Float64 | Player Impact Estimate (0-1). |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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. |
ImportError | curl_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
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
EndPeriod | end_period | Y | |||
EndRange | end_range | Y | |||
GameID | game_id | Y | |||
RangeType | range_type | Y | |||
StartPeriod | start_period | Y | |||
StartRange | start_range | Y |
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_name | type | description |
|---|---|---|
game_id | String | Unique 10-character game identifier from the league's stats API. |
away_team_id | Int64 | Unique identifier for the away team. |
home_team_id | Int64 | Unique identifier for the home team. |
team_id | Int64 | Unique team identifier. |
team_city | String | Team city or region (e.g. 'Las Vegas'). |
team_name | String | Full team display name (e.g. 'Las Vegas Aces'). |
team_tricode | String | Three-letter team abbreviation. |
team_slug | String | URL-friendly slug for the team name. |
person_id | Int64 | Player identifier from the league's stats API. |
first_name | String | Player's first name. |
family_name | String | Player's family (last) name. |
name_i | String | Abbreviated player name (first initial and last name). |
player_slug | String | URL-friendly slug for the player's name. |
position | String | Listed roster position (G, F, C, etc.). |
comment | String | Player status / inactive reason (e.g. 'DNP - Coach's Decision', 'Inactive'). |
jersey_num | String | Player's jersey number. |
minutes | String | Minutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2). |
estimated_offensive_rating | Float64 | Estimated offensive rating from the stats API's estimated-metrics family. |
offensive_rating | Float64 | Points scored per 100 possessions while on the floor (offensive rating). |
estimated_defensive_rating | Float64 | Estimated defensive rating from the stats API's estimated-metrics family. |
defensive_rating | Float64 | Points allowed per 100 possessions while on the floor (defensive rating). |
estimated_net_rating | Float64 | Estimated net rating (estimated offensive minus defensive rating) from the stats API's estimated-metrics family. |
net_rating | Float64 | Offensive rating minus defensive rating while on the floor (net rating). |
assist_percentage | Float64 | Percentage of teammate field goals assisted while on the floor, as a decimal. |
assist_to_turnover | Float64 | Ratio of assists to turnovers. |
assist_ratio | Float64 | Assists per 100 possessions used (assist ratio). |
offensive_rebound_percentage | Float64 | Percentage of available offensive rebounds secured while on the floor, as a decimal. |
defensive_rebound_percentage | Float64 | Percentage of available defensive rebounds secured while on the floor, as a decimal. |
rebound_percentage | Float64 | Percentage of all available rebounds secured while on the floor, as a decimal. |
turnover_ratio | Float64 | Turnovers per 100 possessions used (turnover ratio). |
effective_field_goal_percentage | Float64 | Effective field goal percentage (weights made threes at 1.5), as a decimal. |
true_shooting_percentage | Float64 | True shooting percentage (accounts for threes and free throws), as a decimal. |
usage_percentage | Float64 | Percentage of team plays used by the player while on the floor, as a decimal. |
estimated_usage_percentage | Float64 | Estimated percentage of team plays used by the player while on the floor, as a decimal. |
estimated_pace | Float64 | Estimated pace (possessions per 48 minutes) from the stats API's estimated-metrics family. |
pace | Float64 | Possessions per 48 minutes. |
pace_per40 | Float64 | Pace normalized to possessions per 40 minutes. |
possessions | Float64 | Possessions used. |
pie | Float64 | Player Impact Estimate (0-1). |
TeamStats
| col_name | type | description |
|---|---|---|
game_id | String | Unique 10-character game identifier from the league's stats API. |
away_team_id | Int64 | Unique identifier for the away team. |
home_team_id | Int64 | Unique identifier for the home team. |
team_id | Int64 | Unique team identifier. |
team_city | String | Team city or region (e.g. 'Las Vegas'). |
team_name | String | Full team display name (e.g. 'Las Vegas Aces'). |
team_tricode | String | Three-letter team abbreviation. |
team_slug | String | URL-friendly slug for the team name. |
minutes | String | Minutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2). |
estimated_offensive_rating | Float64 | Estimated offensive rating from the stats API's estimated-metrics family. |
offensive_rating | Float64 | Points scored per 100 possessions while on the floor (offensive rating). |
estimated_defensive_rating | Float64 | Estimated defensive rating from the stats API's estimated-metrics family. |
defensive_rating | Float64 | Points allowed per 100 possessions while on the floor (defensive rating). |
estimated_net_rating | Float64 | Estimated net rating (estimated offensive minus defensive rating) from the stats API's estimated-metrics family. |
net_rating | Float64 | Offensive rating minus defensive rating while on the floor (net rating). |
assist_percentage | Float64 | Percentage of teammate field goals assisted while on the floor, as a decimal. |
assist_to_turnover | Float64 | Ratio of assists to turnovers. |
assist_ratio | Float64 | Assists per 100 possessions used (assist ratio). |
offensive_rebound_percentage | Float64 | Percentage of available offensive rebounds secured while on the floor, as a decimal. |
defensive_rebound_percentage | Float64 | Percentage of available defensive rebounds secured while on the floor, as a decimal. |
rebound_percentage | Float64 | Percentage of all available rebounds secured while on the floor, as a decimal. |
estimated_team_turnover_percentage | Float64 | Estimated team turnover percentage (0-1). |
turnover_ratio | Float64 | Turnovers per 100 possessions used (turnover ratio). |
effective_field_goal_percentage | Float64 | Effective field goal percentage (weights made threes at 1.5), as a decimal. |
true_shooting_percentage | Float64 | True shooting percentage (accounts for threes and free throws), as a decimal. |
usage_percentage | Float64 | Percentage of team plays used by the player while on the floor, as a decimal. |
estimated_usage_percentage | Float64 | Estimated percentage of team plays used by the player while on the floor, as a decimal. |
estimated_pace | Float64 | Estimated pace (possessions per 48 minutes) from the stats API's estimated-metrics family. |
pace | Float64 | Possessions per 48 minutes. |
pace_per40 | Float64 | Pace normalized to possessions per 40 minutes. |
possessions | Float64 | Possessions used. |
pie | Float64 | Player Impact Estimate (0-1). |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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. |
ImportError | curl_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 Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
GameID | game_id | Y |
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_name | type | description |
|---|---|---|
game_id | String | Unique stats.nba.com game identifier in endpoints that use compact schedule field names. |
away_team_id | Int64 | Unique identifier for the away team. |
home_team_id | Int64 | Unique identifier for the home team. |
team_id | Int64 | Unique team identifier. |
team_city | String | Team city or region (e.g. 'Las Vegas'). |
team_name | String | Full team display name (e.g. 'Las Vegas Aces'). |
team_tricode | String | Three-letter team code used by NBA or WNBA Stats schedule and scoreboard feeds. |
team_slug | String | URL slug for teamslug used by NBA or WNBA Stats pages. |
person_id | Int64 | Stats API identifier for personid associated with this NBA or WNBA Stats row. |
first_name | String | Player's first name. |
family_name | String | Display name for familyname associated with this NBA or WNBA Stats row. |
name_i | String | NBA or WNBA Stats value for namei in the boxscoredefensivev2 result set. |
player_slug | String | URL slug for playerslug used by NBA or WNBA Stats pages. |
position | String | Listed roster position (G, F, C, etc.). |
comment | String | Player status / inactive reason (e.g. 'DNP - Coach's Decision', 'Inactive'). |
jersey_num | String | NBA or WNBA Stats value for jerseynum in the boxscoredefensivev2 result set. |
matchup_minutes | String | NBA or WNBA Stats value for matchupminutes in the boxscoredefensivev2 result set. |
partial_possessions | Float64 | Estimated partial possessions credited to the stint or rotation interval. |
switches_on | Int64 | NBA or WNBA Stats value for switcheson in the boxscoredefensivev2 result set. |
player_points | Int64 | Scoring or score-margin metric for playerpoints in the requested NBA or WNBA Stats split. |
defensive_rebounds | Int64 | Rebounding metric for defensiverebounds in the requested NBA or WNBA Stats split. |
matchup_assists | Int64 | Passing or assist metric for matchupassists in the requested NBA or WNBA Stats split. |
matchup_turnovers | Int64 | Turnover or loose-ball metric for matchupturnovers in the requested NBA or WNBA Stats split. |
steals | Int64 | Total steals. |
blocks | Int64 | Total blocks. |
matchup_field_goals_made | Int64 | Shooting metric for matchupfieldgoalsmade in the requested NBA or WNBA Stats split. |
matchup_field_goals_attempted | Int64 | Shooting metric for matchupfieldgoalsattempted in the requested NBA or WNBA Stats split. |
matchup_field_goal_percentage | Float64 | Percentage or rate for matchupfieldgoalpercentage in the requested NBA or WNBA Stats split. |
matchup_three_pointers_made | Int64 | Shooting metric for matchupthreepointersmade in the requested NBA or WNBA Stats split. |
matchup_three_pointers_attempted | Int64 | Shooting metric for matchupthreepointersattempted in the requested NBA or WNBA Stats split. |
matchup_three_pointer_percentage | Float64 | Percentage or rate for matchupthreepointerpercentage in the requested NBA or WNBA Stats split. |
TeamStats
| col_name | type | description |
|---|---|---|
game_id | String | Unique stats.nba.com game identifier in endpoints that use compact schedule field names. |
away_team_id | Int64 | Unique identifier for the away team. |
home_team_id | Int64 | Unique identifier for the home team. |
team_id | Int64 | Unique team identifier. |
team_city | String | Team city or region (e.g. 'Las Vegas'). |
team_name | String | Full team display name (e.g. 'Las Vegas Aces'). |
team_tricode | String | Three-letter team code used by NBA or WNBA Stats schedule and scoreboard feeds. |
team_slug | String | URL slug for teamslug used by NBA or WNBA Stats pages. |
minutes | String | Minutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2). |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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. |
ImportError | curl_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
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
EndPeriod | end_period | Y | |||
EndRange | end_range | Y | |||
GameID | game_id | Y | |||
RangeType | range_type | Y | |||
StartPeriod | start_period | Y | |||
StartRange | start_range | Y |
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_name | type | description |
|---|---|---|
game_id | String | Unique game identifier. |
team_id | Int64 | Unique team identifier. |
team_abbreviation | String | Short team abbreviation (e.g. 'LAS'). |
team_city | String | Team city or region (e.g. 'Las Vegas'). |
player_id | Int64 | Unique player identifier. |
player_name | String | Player name. |
nickname | String | Team or athlete nickname. |
start_position | String | Position the player started the game at ('F', 'C', or 'G'); empty for bench players. |
comment | String | Player status / inactive reason (e.g. 'DNP - Coach's Decision', 'Inactive'). |
min | String | Minutes played. |
efg_pct | Float64 | Effective field goal percentage: (FGM + 0.5 * FG3M) / FGA. |
fta_rate | Float64 | Free throw attempt rate: free throw attempts per field goal attempt. |
tm_tov_pct | Float64 | Turnovers committed per 100 possessions. |
oreb_pct | Float64 | Percentage of available offensive rebounds grabbed while on the floor. |
opp_efg_pct | Float64 | Opponent effective field goal percentage while on the floor. |
opp_fta_rate | Float64 | Opponent free throw attempts per field goal attempt while on the floor. |
opp_tov_pct | Float64 | Opponent turnovers per 100 possessions while on the floor. |
opp_oreb_pct | Float64 | Percentage of available offensive rebounds grabbed by the opponent while on the floor. |
sqlTeamsFourFactors
| col_name | type | description |
|---|---|---|
game_id | String | Unique game identifier. |
team_id | Int64 | Unique team identifier. |
team_name | String | Full team display name (e.g. 'Las Vegas Aces'). |
team_abbreviation | String | Short team abbreviation (e.g. 'LAS'). |
team_city | String | Team city or region (e.g. 'Las Vegas'). |
min | String | Minutes played. |
efg_pct | Float64 | Effective field goal percentage: (FGM + 0.5 * FG3M) / FGA. |
fta_rate | Float64 | Free throw attempt rate: free throw attempts per field goal attempt. |
tm_tov_pct | Float64 | Turnovers committed per 100 possessions. |
oreb_pct | Float64 | Percentage of available offensive rebounds grabbed while on the floor. |
opp_efg_pct | Float64 | Opponent effective field goal percentage while on the floor. |
opp_fta_rate | Float64 | Opponent free throw attempts per field goal attempt while on the floor. |
opp_tov_pct | Float64 | Opponent turnovers per 100 possessions while on the floor. |
opp_oreb_pct | Float64 | Percentage of available offensive rebounds grabbed by the opponent while on the floor. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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. |
ImportError | curl_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
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
EndPeriod | end_period | Y | |||
EndRange | end_range | Y | |||
GameID | game_id | Y | |||
RangeType | range_type | Y | |||
StartPeriod | start_period | Y | |||
StartRange | start_range | Y |
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_name | type | description |
|---|---|---|
game_id | String | Unique 10-character game identifier from the league's stats API. |
away_team_id | Int64 | Unique identifier for the away team. |
home_team_id | Int64 | Unique identifier for the home team. |
team_id | Int64 | Unique team identifier. |
team_city | String | Team city or region (e.g. 'Las Vegas'). |
team_name | String | Full team display name (e.g. 'Las Vegas Aces'). |
team_tricode | String | Three-letter team abbreviation. |
team_slug | String | URL-friendly slug for the team name. |
person_id | Int64 | Player identifier from the league's stats API. |
first_name | String | Player's first name. |
family_name | String | Player's family (last) name. |
name_i | String | Abbreviated player name (first initial and last name). |
player_slug | String | URL-friendly slug for the player's name. |
position | String | Listed roster position (G, F, C, etc.). |
comment | String | Player status / inactive reason (e.g. 'DNP - Coach's Decision', 'Inactive'). |
jersey_num | String | Player's jersey number. |
minutes | String | Minutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2). |
effective_field_goal_percentage | Float64 | Effective field goal percentage four-factor, as a decimal. |
free_throw_attempt_rate | Float64 | Free throw attempts per field goal attempt (free throw rate four-factor). |
team_turnover_percentage | Float64 | Turnovers committed per 100 possessions (turnover four-factor). |
offensive_rebound_percentage | Float64 | Offensive rebound percentage four-factor, as a decimal. |
opp_effective_field_goal_percentage | Float64 | Opponent's effective field goal percentage while on the floor, as a decimal. |
opp_free_throw_attempt_rate | Float64 | Opponent's free throw attempt rate while on the floor. |
opp_team_turnover_percentage | Float64 | Opponent turnovers forced per 100 possessions while on the floor. |
opp_offensive_rebound_percentage | Float64 | Opponent's offensive rebound percentage while on the floor, as a decimal. |
TeamStats
| col_name | type | description |
|---|---|---|
game_id | String | Unique 10-character game identifier from the league's stats API. |
away_team_id | Int64 | Unique identifier for the away team. |
home_team_id | Int64 | Unique identifier for the home team. |
team_id | Int64 | Unique team identifier. |
team_city | String | Team city or region (e.g. 'Las Vegas'). |
team_name | String | Full team display name (e.g. 'Las Vegas Aces'). |
team_tricode | String | Three-letter team abbreviation. |
team_slug | String | URL-friendly slug for the team name. |
minutes | String | Minutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2). |
effective_field_goal_percentage | Float64 | Effective field goal percentage four-factor, as a decimal. |
free_throw_attempt_rate | Float64 | Free throw attempts per field goal attempt (free throw rate four-factor). |
team_turnover_percentage | Float64 | Turnovers committed per 100 possessions (turnover four-factor). |
offensive_rebound_percentage | Float64 | Offensive rebound percentage four-factor, as a decimal. |
opp_effective_field_goal_percentage | Float64 | Opponent's effective field goal percentage while on the floor, as a decimal. |
opp_free_throw_attempt_rate | Float64 | Opponent's free throw attempt rate while on the floor. |
opp_team_turnover_percentage | Float64 | Opponent turnovers forced per 100 possessions while on the floor. |
opp_offensive_rebound_percentage | Float64 | Opponent's offensive rebound percentage while on the floor, as a decimal. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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. |
ImportError | curl_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 Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
GameID | game_id | Y |
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_name | type | description |
|---|---|---|
game_id | String | Unique 10-character game identifier from the league's stats API. |
away_team_id | Int64 | Unique identifier for the away team. |
home_team_id | Int64 | Unique identifier for the home team. |
team_id | Int64 | Unique team identifier. |
team_city | String | Team city or region (e.g. 'Las Vegas'). |
team_name | String | Full team display name (e.g. 'Las Vegas Aces'). |
team_tricode | String | Three-letter team abbreviation. |
team_slug | String | URL-friendly slug for the team name. |
statistics | String |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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. |
ImportError | curl_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 Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
GameID | game_id | Y |
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_name | type | description |
|---|---|---|
game_id | String | Unique stats.nba.com game identifier in endpoints that use compact schedule field names. |
away_team_id | Int64 | Unique identifier for the away team. |
home_team_id | Int64 | Unique identifier for the home team. |
team_id | Int64 | Unique team identifier. |
team_city | String | Team city or region (e.g. 'Las Vegas'). |
team_name | String | Full team display name (e.g. 'Las Vegas Aces'). |
team_tricode | String | Three-letter team code used by NBA or WNBA Stats schedule and scoreboard feeds. |
team_slug | String | URL slug for teamslug used by NBA or WNBA Stats pages. |
person_id | Int64 | NBA or WNBA Stats player identifier associated with the matchup boxscore row. |
first_name | String | Player's first name. |
family_name | String | Player's family name in the NBA or WNBA Stats matchup boxscore row. |
name_i | String | Abbreviated player display name used in the NBA or WNBA Stats matchup boxscore row. |
player_slug | String | URL slug for the player on NBA or WNBA Stats pages. |
position | String | Listed roster position (G, F, C, etc.). |
comment | String | Player status / inactive reason (e.g. 'DNP - Coach's Decision', 'Inactive'). |
jersey_num | String | Player jersey number shown in the NBA or WNBA Stats matchup boxscore row. |
matchups | String |
TeamStats
| col_name | type | description |
|---|---|---|
game_id | String | Unique stats.nba.com game identifier in endpoints that use compact schedule field names. |
away_team_id | Int64 | Unique identifier for the away team. |
home_team_id | Int64 | Unique identifier for the home team. |
team_id | Int64 | Unique team identifier. |
team_city | String | Team city or region (e.g. 'Las Vegas'). |
team_name | String | Full team display name (e.g. 'Las Vegas Aces'). |
team_tricode | String | Three-letter team code used by NBA or WNBA Stats schedule and scoreboard feeds. |
team_slug | String | URL slug for teamslug used by NBA or WNBA Stats pages. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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. |
ImportError | curl_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
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
EndPeriod | end_period | Y | |||
EndRange | end_range | Y | |||
GameID | game_id | Y | |||
RangeType | range_type | Y | |||
StartPeriod | start_period | Y | |||
StartRange | start_range | Y |
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_name | type | description |
|---|---|---|
game_id | String | Unique game identifier. |
team_id | Int64 | Unique team identifier. |
team_abbreviation | String | Short team abbreviation (e.g. 'LAS'). |
team_city | String | Team city or region (e.g. 'Las Vegas'). |
player_id | Int64 | Unique player identifier. |
player_name | String | Player name. |
nickname | String | Team or athlete nickname. |
start_position | String | Position the player started the game at ('F', 'C', or 'G'); empty for bench players. |
comment | String | Player status / inactive reason (e.g. 'DNP - Coach's Decision', 'Inactive'). |
min | String | Minutes played. |
pts_off_tov | Int64 | Points scored following opponent turnovers. |
pts_2_nd_chance | Int64 | Second-chance points scored after offensive rebounds. |
pts_fb | Int64 | Fast-break points scored. |
pts_paint | Int64 | Points scored in the paint. |
opp_pts_off_tov | Float64 | Opponent points scored off turnovers while on the floor. |
opp_pts_2_nd_chance | Float64 | Opponent second-chance points scored while on the floor. |
opp_pts_fb | Float64 | Opponent fast-break points scored while on the floor. |
opp_pts_paint | Float64 | Opponent points in the paint scored while on the floor. |
blk | Int64 | Blocks. |
blka | Int64 | Number of own field goal attempts that were blocked by opponents. |
pf | Int64 | Personal fouls. |
pfd | Int64 | Personal fouls drawn. |
sqlTeamsMisc
| col_name | type | description |
|---|---|---|
game_id | String | Unique game identifier. |
team_id | Int64 | Unique team identifier. |
team_name | String | Full team display name (e.g. 'Las Vegas Aces'). |
team_abbreviation | String | Short team abbreviation (e.g. 'LAS'). |
team_city | String | Team city or region (e.g. 'Las Vegas'). |
min | String | Minutes played. |
pts_off_tov | Float64 | Points scored following opponent turnovers. |
pts_2_nd_chance | Float64 | Second-chance points scored after offensive rebounds. |
pts_fb | Float64 | Fast-break points scored. |
pts_paint | Float64 | Points scored in the paint. |
opp_pts_off_tov | Float64 | Opponent points scored off turnovers while on the floor. |
opp_pts_2_nd_chance | Float64 | Opponent second-chance points scored while on the floor. |
opp_pts_fb | Float64 | Opponent fast-break points scored while on the floor. |
opp_pts_paint | Float64 | Opponent points in the paint scored while on the floor. |
blk | Int64 | Blocks. |
blka | Int64 | Number of own field goal attempts that were blocked by opponents. |
pf | Int64 | Personal fouls. |
pfd | Int64 | Personal fouls drawn. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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. |
ImportError | curl_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
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
EndPeriod | end_period | Y | |||
EndRange | end_range | Y | |||
GameID | game_id | Y | |||
RangeType | range_type | Y | |||
StartPeriod | start_period | Y | |||
StartRange | start_range | Y |
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_name | type | description |
|---|---|---|
game_id | String | Unique 10-character game identifier from the league's stats API. |
away_team_id | Int64 | Unique identifier for the away team. |
home_team_id | Int64 | Unique identifier for the home team. |
team_id | Int64 | Unique team identifier. |
team_city | String | Team city or region (e.g. 'Las Vegas'). |
team_name | String | Full team display name (e.g. 'Las Vegas Aces'). |
team_tricode | String | Three-letter team abbreviation. |
team_slug | String | URL-friendly slug for the team name. |
person_id | Int64 | Player identifier from the league's stats API. |
first_name | String | Player's first name. |
family_name | String | Player's family (last) name. |
name_i | String | Abbreviated player name (first initial and last name). |
player_slug | String | URL-friendly slug for the player's name. |
position | String | Listed roster position (G, F, C, etc.). |
comment | String | Player status / inactive reason (e.g. 'DNP - Coach's Decision', 'Inactive'). |
jersey_num | String | Player's jersey number. |
minutes | String | Minutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2). |
points_off_turnovers | Int64 | Points scored off opponent turnovers. |
points_second_chance | Int64 | Second-chance points scored after offensive rebounds. |
points_fast_break | Int64 | Fast-break points scored. |
points_paint | Int64 | Points scored in the paint. |
opp_points_off_turnovers | Int64 | Opponent points off turnovers scored while on the floor. |
opp_points_second_chance | Int64 | Opponent second-chance points scored while on the floor. |
opp_points_fast_break | Int64 | Opponent fast-break points scored while on the floor. |
opp_points_paint | Int64 | Opponent points in the paint scored while on the floor. |
blocks | Int64 | Total blocks. |
blocks_against | Int64 | Player's shot attempts that were blocked by opponents. |
fouls_personal | Int64 | Personal fouls committed. |
fouls_drawn | Int64 | Personal fouls drawn. |
TeamStats
| col_name | type | description |
|---|---|---|
game_id | String | Unique 10-character game identifier from the league's stats API. |
away_team_id | Int64 | Unique identifier for the away team. |
home_team_id | Int64 | Unique identifier for the home team. |
team_id | Int64 | Unique team identifier. |
team_city | String | Team city or region (e.g. 'Las Vegas'). |
team_name | String | Full team display name (e.g. 'Las Vegas Aces'). |
team_tricode | String | Three-letter team abbreviation. |
team_slug | String | URL-friendly slug for the team name. |
minutes | String | Minutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2). |
points_off_turnovers | Int64 | Points scored off opponent turnovers. |
points_second_chance | Int64 | Second-chance points scored after offensive rebounds. |
points_fast_break | Int64 | Fast-break points scored. |
points_paint | Int64 | Points scored in the paint. |
opp_points_off_turnovers | Int64 | Opponent points off turnovers scored while on the floor. |
opp_points_second_chance | Int64 | Opponent second-chance points scored while on the floor. |
opp_points_fast_break | Int64 | Opponent fast-break points scored while on the floor. |
opp_points_paint | Int64 | Opponent points in the paint scored while on the floor. |
blocks | Int64 | Total blocks. |
blocks_against | Int64 | Player's shot attempts that were blocked by opponents. |
fouls_personal | Int64 | Personal fouls committed. |
fouls_drawn | Int64 | Personal fouls drawn. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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. |
ImportError | curl_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 Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
GameID | game_id | Y |
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_name | type | description |
|---|---|---|
game_id | String | Unique stats.nba.com game identifier in endpoints that use compact schedule field names. |
away_team_id | Int64 | Unique identifier for the away team. |
home_team_id | Int64 | Unique identifier for the home team. |
team_id | Int64 | Unique team identifier. |
team_city | String | Team city or region (e.g. 'Las Vegas'). |
team_name | String | Full team display name (e.g. 'Las Vegas Aces'). |
team_tricode | String | Three-letter team code used by NBA or WNBA Stats schedule and scoreboard feeds. |
team_slug | String | URL slug for teamslug used by NBA or WNBA Stats pages. |
person_id | Int64 | Stats API identifier for personid associated with this NBA or WNBA Stats row. |
first_name | String | Player's first name. |
family_name | String | Display name for familyname associated with this NBA or WNBA Stats row. |
name_i | String | NBA or WNBA Stats value for namei in the boxscoreplayertrackv3 result set. |
player_slug | String | URL slug for playerslug used by NBA or WNBA Stats pages. |
position | String | Listed roster position (G, F, C, etc.). |
comment | String | Player status / inactive reason (e.g. 'DNP - Coach's Decision', 'Inactive'). |
jersey_num | String | NBA or WNBA Stats value for jerseynum in the boxscoreplayertrackv3 result set. |
minutes | String | Minutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2). |
speed | Float64 | Speed. |
distance | Float64 | Distance value (in feet for shot data; otherwise context-dependent). |
rebound_chances_offensive | Int64 | Rebounding metric for reboundchancesoffensive in the requested NBA or WNBA Stats split. |
rebound_chances_defensive | Int64 | Rebounding metric for reboundchancesdefensive in the requested NBA or WNBA Stats split. |
rebound_chances_total | Int64 | Rebounding metric for reboundchancestotal in the requested NBA or WNBA Stats split. |
touches | Int64 | Touches. |
secondary_assists | Int64 | Passing or assist metric for secondaryassists in the requested NBA or WNBA Stats split. |
free_throw_assists | Int64 | Shooting metric for freethrowassists in the requested NBA or WNBA Stats split. |
passes | Int64 | Passes. |
assists | Int64 | Total assists. |
contested_field_goals_made | Int64 | Shooting metric for contestedfieldgoalsmade in the requested NBA or WNBA Stats split. |
contested_field_goals_attempted | Int64 | Shooting metric for contestedfieldgoalsattempted in the requested NBA or WNBA Stats split. |
contested_field_goal_percentage | Float64 | Percentage or rate for contestedfieldgoalpercentage in the requested NBA or WNBA Stats split. |
uncontested_field_goals_made | Int64 | Shooting metric for uncontestedfieldgoalsmade in the requested NBA or WNBA Stats split. |
uncontested_field_goals_attempted | Int64 | Shooting metric for uncontestedfieldgoalsattempted in the requested NBA or WNBA Stats split. |
uncontested_field_goals_percentage | Float64 | Percentage or rate for uncontestedfieldgoalspercentage in the requested NBA or WNBA Stats split. |
field_goal_percentage | Float64 | Percentage or rate for fieldgoalpercentage in the requested NBA or WNBA Stats split. |
defended_at_rim_field_goals_made | Int64 | Shooting metric for defendedatrimfieldgoalsmade in the requested NBA or WNBA Stats split. |
defended_at_rim_field_goals_attempted | Int64 | Shooting metric for defendedatrimfieldgoalsattempted in the requested NBA or WNBA Stats split. |
defended_at_rim_field_goal_percentage | Float64 | Percentage or rate for defendedatrimfieldgoalpercentage in the requested NBA or WNBA Stats split. |
TeamStats
| col_name | type | description |
|---|---|---|
game_id | String | Unique stats.nba.com game identifier in endpoints that use compact schedule field names. |
away_team_id | Int64 | Unique identifier for the away team. |
home_team_id | Int64 | Unique identifier for the home team. |
team_id | Int64 | Unique team identifier. |
team_city | String | Team city or region (e.g. 'Las Vegas'). |
team_name | String | Full team display name (e.g. 'Las Vegas Aces'). |
team_tricode | String | Three-letter team code used by NBA or WNBA Stats schedule and scoreboard feeds. |
team_slug | String | URL slug for teamslug used by NBA or WNBA Stats pages. |
minutes | String | Minutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2). |
distance | Float64 | Distance value (in feet for shot data; otherwise context-dependent). |
rebound_chances_offensive | Int64 | Rebounding metric for reboundchancesoffensive in the requested NBA or WNBA Stats split. |
rebound_chances_defensive | Int64 | Rebounding metric for reboundchancesdefensive in the requested NBA or WNBA Stats split. |
rebound_chances_total | Int64 | Rebounding metric for reboundchancestotal in the requested NBA or WNBA Stats split. |
touches | Int64 | Touches. |
secondary_assists | Int64 | Passing or assist metric for secondaryassists in the requested NBA or WNBA Stats split. |
free_throw_assists | Int64 | Shooting metric for freethrowassists in the requested NBA or WNBA Stats split. |
passes | Int64 | Passes. |
assists | Int64 | Total assists. |
contested_field_goals_made | Int64 | Shooting metric for contestedfieldgoalsmade in the requested NBA or WNBA Stats split. |
contested_field_goals_attempted | Int64 | Shooting metric for contestedfieldgoalsattempted in the requested NBA or WNBA Stats split. |
contested_field_goal_percentage | Float64 | Percentage or rate for contestedfieldgoalpercentage in the requested NBA or WNBA Stats split. |
uncontested_field_goals_made | Int64 | Shooting metric for uncontestedfieldgoalsmade in the requested NBA or WNBA Stats split. |
uncontested_field_goals_attempted | Int64 | Shooting metric for uncontestedfieldgoalsattempted in the requested NBA or WNBA Stats split. |
uncontested_field_goals_percentage | Float64 | Percentage or rate for uncontestedfieldgoalspercentage in the requested NBA or WNBA Stats split. |
field_goal_percentage | Float64 | Percentage or rate for fieldgoalpercentage in the requested NBA or WNBA Stats split. |
defended_at_rim_field_goals_made | Int64 | Shooting metric for defendedatrimfieldgoalsmade in the requested NBA or WNBA Stats split. |
defended_at_rim_field_goals_attempted | Int64 | Shooting metric for defendedatrimfieldgoalsattempted in the requested NBA or WNBA Stats split. |
defended_at_rim_field_goal_percentage | Float64 | Percentage or rate for defendedatrimfieldgoalpercentage in the requested NBA or WNBA Stats split. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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. |
ImportError | curl_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
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
EndPeriod | end_period | Y | |||
EndRange | end_range | Y | |||
GameID | game_id | Y | |||
RangeType | range_type | Y | |||
StartPeriod | start_period | Y | |||
StartRange | start_range | Y |
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_name | type | description |
|---|---|---|
game_id | String | Unique game identifier. |
team_id | Int64 | Unique team identifier. |
team_abbreviation | String | Short team abbreviation (e.g. 'LAS'). |
team_city | String | Team city or region (e.g. 'Las Vegas'). |
player_id | Int64 | Unique player identifier. |
player_name | String | Player name. |
nickname | String | Team or athlete nickname. |
start_position | String | Position the player started the game at ('F', 'C', or 'G'); empty for bench players. |
comment | String | Player status / inactive reason (e.g. 'DNP - Coach's Decision', 'Inactive'). |
min | String | Minutes played. |
pct_fga_2_pt | Float64 | Share of field goal attempts taken as two-pointers. |
pct_fga_3_pt | Float64 | Share of field goal attempts taken as three-pointers. |
pct_pts_2_pt | Float64 | Share of points scored on two-point field goals. |
pct_pts_2_pt_mr | Float64 | Share of points scored on mid-range two-point field goals. |
pct_pts_3_pt | Float64 | Share of points scored on three-point field goals. |
pct_pts_fb | Float64 | Share of points scored on the fast break. |
pct_pts_ft | Float64 | Share of points scored on free throws. |
pct_pts_off_tov | Float64 | Share of points scored off opponent turnovers. |
pct_pts_paint | Float64 | Share of points scored in the paint. |
pct_ast_2_pm | Float64 | Share of made two-point field goals that were assisted. |
pct_uast_2_pm | Float64 | Share of made two-point field goals that were unassisted. |
pct_ast_3_pm | Float64 | Share of made three-point field goals that were assisted. |
pct_uast_3_pm | Float64 | Share of made three-point field goals that were unassisted. |
pct_ast_fgm | Float64 | Share of all made field goals that were assisted. |
pct_uast_fgm | Float64 | Share of all made field goals that were unassisted. |
sqlTeamsScoring
| col_name | type | description |
|---|---|---|
game_id | String | Unique game identifier. |
team_id | Int64 | Unique team identifier. |
team_name | String | Full team display name (e.g. 'Las Vegas Aces'). |
team_abbreviation | String | Short team abbreviation (e.g. 'LAS'). |
team_city | String | Team city or region (e.g. 'Las Vegas'). |
min | String | Minutes played. |
pct_fga_2_pt | Float64 | Share of field goal attempts taken as two-pointers. |
pct_fga_3_pt | Float64 | Share of field goal attempts taken as three-pointers. |
pct_pts_2_pt | Float64 | Share of points scored on two-point field goals. |
pct_pts_2_pt_mr | Float64 | Share of points scored on mid-range two-point field goals. |
pct_pts_3_pt | Float64 | Share of points scored on three-point field goals. |
pct_pts_fb | Float64 | Share of points scored on the fast break. |
pct_pts_ft | Float64 | Share of points scored on free throws. |
pct_pts_off_tov | Float64 | Share of points scored off opponent turnovers. |
pct_pts_paint | Float64 | Share of points scored in the paint. |
pct_ast_2_pm | Float64 | Share of made two-point field goals that were assisted. |
pct_uast_2_pm | Float64 | Share of made two-point field goals that were unassisted. |
pct_ast_3_pm | Float64 | Share of made three-point field goals that were assisted. |
pct_uast_3_pm | Float64 | Share of made three-point field goals that were unassisted. |
pct_ast_fgm | Float64 | Share of all made field goals that were assisted. |
pct_uast_fgm | Float64 | Share of all made field goals that were unassisted. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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. |
ImportError | curl_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
| API Parameter | Python | Pattern | Required | Nullable | Description |
|---|---|---|---|---|---|
EndPeriod | end_period | Y | |||
EndRange | end_range | Y | |||
GameID | game_id | Y | |||
RangeType | range_type | Y | |||
StartPeriod | start_period | Y | |||
StartRange | start_range | Y |
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_name | type | description |
|---|---|---|
game_id | String | Unique 10-character game identifier from the league's stats API. |
away_team_id | Int64 | Unique identifier for the away team. |
home_team_id | Int64 | Unique identifier for the home team. |
team_id | Int64 | Unique team identifier. |
team_city | String | Team city or region (e.g. 'Las Vegas'). |
team_name | String | Full team display name (e.g. 'Las Vegas Aces'). |
team_tricode | String | Three-letter team abbreviation. |
team_slug | String | URL-friendly slug for the team name. |
person_id | Int64 | Player identifier from the league's stats API. |
first_name | String | Player's first name. |
family_name | String | Player's family (last) name. |
name_i | String | Abbreviated player name (first initial and last name). |
player_slug | String | URL-friendly slug for the player's name. |
position | String | Listed roster position (G, F, C, etc.). |
comment | String | Player status / inactive reason (e.g. 'DNP - Coach's Decision', 'Inactive'). |
jersey_num | String | Player's jersey number. |
minutes | String | Minutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2). |
percentage_field_goals_attempted2pt | Float64 | Share of field goal attempts taken as two-pointers, as a decimal. |
percentage_field_goals_attempted3pt | Float64 | Share of field goal attempts taken as three-pointers, as a decimal. |
percentage_points2pt | Float64 | Share of points scored on two-pointers, as a decimal. |
percentage_points_midrange2pt | Float64 | Share of points scored on mid-range two-pointers, as a decimal. |
percentage_points3pt | Float64 | Share of points scored on three-pointers, as a decimal. |
percentage_points_fast_break | Float64 | Share of points scored on fast breaks, as a decimal. |
percentage_points_free_throw | Float64 | Share of points scored at the free throw line, as a decimal. |
percentage_points_off_turnovers | Float64 | Share of points scored off opponent turnovers, as a decimal. |
percentage_points_paint | Float64 | Share of points scored in the paint, as a decimal. |
percentage_assisted2pt | Float64 | Percentage of made two-pointers that were assisted, as a decimal. |
percentage_unassisted2pt | Float64 | Percentage of made two-pointers that were unassisted, as a decimal. |
percentage_assisted3pt | Float64 | Percentage of made three-pointers that were assisted, as a decimal. |
percentage_unassisted3pt | Float64 | Percentage of made three-pointers that were unassisted, as a decimal. |
percentage_assisted_fgm | Float64 | Percentage of made field goals that were assisted, as a decimal. |
percentage_unassisted_fgm | Float64 | Percentage of made field goals that were unassisted, as a decimal. |
TeamStats
| col_name | type | description |
|---|---|---|
game_id | String | Unique 10-character game identifier from the league's stats API. |
away_team_id | Int64 | Unique identifier for the away team. |
home_team_id | Int64 | Unique identifier for the home team. |
team_id | Int64 | Unique team identifier. |
team_city | String | Team city or region (e.g. 'Las Vegas'). |
team_name | String | Full team display name (e.g. 'Las Vegas Aces'). |
team_tricode | String | Three-letter team abbreviation. |
team_slug | String | URL-friendly slug for the team name. |
minutes | String | Minutes played, formatted MM:SS (V3 PT-duration parsed) or decimal minutes (V2). |
percentage_field_goals_attempted2pt | Float64 | Share of field goal attempts taken as two-pointers, as a decimal. |
percentage_field_goals_attempted3pt | Float64 | Share of field goal attempts taken as three-pointers, as a decimal. |
percentage_points2pt | Float64 | Share of points scored on two-pointers, as a decimal. |
percentage_points_midrange2pt | Float64 | Share of points scored on mid-range two-pointers, as a decimal. |
percentage_points3pt | Float64 | Share of points scored on three-pointers, as a decimal. |
percentage_points_fast_break | Float64 | Share of points scored on fast breaks, as a decimal. |
percentage_points_free_throw | Float64 | Share of points scored at the free throw line, as a decimal. |
percentage_points_off_turnovers | Float64 | Share of points scored off opponent turnovers, as a decimal. |
percentage_points_paint | Float64 | Share of points scored in the paint, as a decimal. |
percentage_assisted2pt | Float64 | Percentage of made two-pointers that were assisted, as a decimal. |
percentage_unassisted2pt | Float64 | Percentage of made two-pointers that were unassisted, as a decimal. |
percentage_assisted3pt | Float64 | Percentage of made three-pointers that were assisted, as a decimal. |
percentage_unassisted3pt | Float64 | Percentage of made three-pointers that were unassisted, as a decimal. |
percentage_assisted_fgm | Float64 | Percentage of made field goals that were assisted, as a decimal. |
percentage_unassisted_fgm | Float64 | Percentage of made field goals that were unassisted, as a decimal. |
return_parsed=False — the raw JSON Dict payload, unparsed.
Raises
| Exception | Description |
|---|---|
NoDataError | The host answered 404 -- the requested resource does not exist. |
ValueError | The host answered 400 / 422 -- the request is wrong; retrying cannot help. |
AssetFetchError | The 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. |
ImportError | curl_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()