Skip to main content

WNBA — WNBA Stats API (stats.wnba.com) — League

wnba_stats_leaguegamefinder​

League game finder.

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

Valid URL: https://stats.wnba.com/stats/leaguegamefinder?Conference=&DateFrom=&DateTo=&Division=&DraftNumber=&DraftRound=&DraftTeamID=0&DraftYear=&EqAST=&EqBLK=&EqDD=&EqDREB=&EqFG3A=&EqFG3M=&EqFG3_PCT=&EqFGA=&EqFGM=&EqFG_PCT=&EqFTA=&EqFTM=&EqFT_PCT=&EqMINUTES=&EqOREB=&EqPF=&EqPTS=&EqREB=&EqSTL=&EqTD=&EqTOV=&GameID=&GtAST=&GtBLK=&GtDD=&GtDREB=&GtFG3A=&GtFG3M=&GtFG3_PCT=&GtFGA=&GtFGM=&GtFG_PCT=&GtFTA=&GtFTM=&GtFT_PCT=&GtMINUTES=&GtOREB=&GtPF=&GtPTS=&GtREB=&GtSTL=&GtTD=&GtTOV=&LeagueID=10&Location=&LtAST=&LtBLK=&LtDD=&LtDREB=&LtFG3A=&LtFG3M=&LtFG3_PCT=&LtFGA=&LtFGM=&LtFG_PCT=&LtFTA=&LtFTM=&LtFT_PCT=&LtMINUTES=&LtOREB=&LtPF=&LtPTS=&LtREB=&LtSTL=&LtTD=&LtTOV=&Outcome=&PORound=&PlayerID=&PlayerOrTeam=T&RookieYear=&Season=2024&SeasonSegment=&SeasonType=Regular+Season&StarterBench=&TeamID=0&VsConference=&VsDivision=&VsTeamID=0&YearsExperience=

API ParameterPythonPatternRequiredNullableDescription
Conferenceconference_nullableY
DateFromdate_from_nullableY
DateTodate_to_nullableY
Divisiondivision_simple_nullableY
DraftNumberdraft_number_nullableY
DraftRounddraft_round_nullableY
DraftTeamIDdraft_team_id_nullableY
DraftYeardraft_year_nullableY
EqASTeq_ast_nullableY
EqBLKeq_blk_nullableY
EqDDeq_dd_nullableY
EqDREBeq_dreb_nullableY
EqFG3Aeq_fg3a_nullableY
EqFG3Meq_fg3m_nullableY
EqFG3_PCTeq_fg3_pct_nullableY
EqFGAeq_fga_nullableY
EqFGMeq_fgm_nullableY
EqFG_PCTeq_fg_pct_nullableY
EqFTAeq_fta_nullableY
EqFTMeq_ftm_nullableY
EqFT_PCTeq_ft_pct_nullableY
EqMINUTESeq_minutes_nullableY
EqOREBeq_oreb_nullableY
EqPFeq_pf_nullableY
EqPTSeq_pts_nullableY
EqREBeq_reb_nullableY
EqSTLeq_stl_nullableY
EqTDeq_td_nullableY
EqTOVeq_tov_nullableY
GameIDgame_id_nullableY
GtASTgt_ast_nullableY
GtBLKgt_blk_nullableY
GtDDgt_dd_nullableY
GtDREBgt_dreb_nullableY
GtFG3Agt_fg3a_nullableY
GtFG3Mgt_fg3m_nullableY
GtFG3_PCTgt_fg3_pct_nullableY
GtFGAgt_fga_nullableY
GtFGMgt_fgm_nullableY
GtFG_PCTgt_fg_pct_nullableY
GtFTAgt_fta_nullableY
GtFTMgt_ftm_nullableY
GtFT_PCTgt_ft_pct_nullableY
GtMINUTESgt_minutes_nullableY
GtOREBgt_oreb_nullableY
GtPFgt_pf_nullableY
GtPTSgt_pts_nullableY
GtREBgt_reb_nullableY
GtSTLgt_stl_nullableY
GtTDgt_td_nullableY
GtTOVgt_tov_nullableY
LeagueIDleague_idY
Locationlocation_nullableY
LtASTlt_ast_nullableY
LtBLKlt_blk_nullableY
LtDDlt_dd_nullableY
LtDREBlt_dreb_nullableY
LtFG3Alt_fg3a_nullableY
LtFG3Mlt_fg3m_nullableY
LtFG3_PCTlt_fg3_pct_nullableY
LtFGAlt_fga_nullableY
LtFGMlt_fgm_nullableY
LtFG_PCTlt_fg_pct_nullableY
LtFTAlt_fta_nullableY
LtFTMlt_ftm_nullableY
LtFT_PCTlt_ft_pct_nullableY
LtMINUTESlt_minutes_nullableY
LtOREBlt_oreb_nullableY
LtPFlt_pf_nullableY
LtPTSlt_pts_nullableY
LtREBlt_reb_nullableY
LtSTLlt_stl_nullableY
LtTDlt_td_nullableY
LtTOVlt_tov_nullableY
Outcomeoutcome_nullableY
PORoundpo_round_nullableY
PlayerIDplayer_id_nullableY
PlayerOrTeamplayer_or_team_abbreviationY
RookieYearrookie_year_nullableY
Seasonseason_nullableYSeason year, e.g. 2024. Defaults at call time by a calendar cutoff, the month after a season's first games, so it can lag the newest rows by a few weeks. A WNBA season tips off in mid-May and becomes the default in June (2025 through May 2026, 2026 from June 2026); a draft (drafthistory, mid-April) in May. With season type Playoffs (or commonplayoffseries) the WNBA rolls over in October, after its mid-September playoffs start; with All Star in August, after the July game. A month table cannot follow a lockout or pandemic calendar: pass a season then. Without one stats.wnba.com answers an empty HTTP 500 or every season summed.
SeasonSegmentseason_segment_nullableY
SeasonTypeseason_type_nullableYSeason type, a label: Regular Season, Pre Season, Playoffs or All Star (each endpoint takes a subset). Not ESPN's numeric code: 3 is HTTP 400. A default season follows it: Playoffs rolls over in October, All Star in August.
StarterBenchstarter_bench_nullableY
TeamIDteam_id_nullableY
VsConferencevs_conference_nullableY
VsDivisionvs_division_nullableY
VsTeamIDvs_team_id_nullableY
YearsExperienceyears_experience_nullableY

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
season_idStringUnique season identifier.
team_idInt64Unique team identifier.
team_abbreviationStringShort team abbreviation (e.g. 'LAS').
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
game_idStringUnique game identifier.
game_dateStringGame date (YYYY-MM-DD).
matchupStringMatchup.
wlStringWl.
minInt64Minutes played.
ptsInt64Points scored.
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.
tovInt64Turnovers.
pfInt64Personal fouls.
plus_minusFloat64Plus/minus point differential while on court.

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_leaguegamefinder(league_id='10', season_nullable='2024')

wnba_stats_leaguegamelog​

League game log.

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

Valid URL: https://stats.wnba.com/stats/leaguegamelog?Counter=0&DateFrom=&DateTo=&Direction=ASC&LeagueID=10&PlayerOrTeam=T&Season=2024&SeasonType=Regular+Season&Sorter=DATE

API ParameterPythonPatternRequiredNullableDescription
CountercounterY
DateFromdate_from_nullableY
DateTodate_to_nullableY
DirectiondirectionY
LeagueIDleague_idY
PlayerOrTeamplayer_or_team_abbreviationY
SeasonseasonYSeason year, e.g. 2024. Defaults at call time by a calendar cutoff, the month after a season's first games, so it can lag the newest rows by a few weeks. A WNBA season tips off in mid-May and becomes the default in June (2025 through May 2026, 2026 from June 2026); a draft (drafthistory, mid-April) in May. With season type Playoffs (or commonplayoffseries) the WNBA rolls over in October, after its mid-September playoffs start; with All Star in August, after the July game. A month table cannot follow a lockout or pandemic calendar: pass a season then. Without one stats.wnba.com answers an empty HTTP 500 or every season summed.
SeasonTypeseason_type_all_starYSeason type, a label: Regular Season, Pre Season, Playoffs or All Star (each endpoint takes a subset). Not ESPN's numeric code: 3 is HTTP 400. A default season follows it: Playoffs rolls over in October, All Star in August.
SortersorterY

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
season_idStringUnique season identifier.
team_idInt64Unique team identifier.
team_abbreviationStringShort team abbreviation (e.g. 'LAS').
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
game_idStringUnique game identifier.
game_dateStringGame date (YYYY-MM-DD).
matchupStringMatchup.
wlStringWl.
minInt64Minutes 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.
tovInt64Turnovers.
pfInt64Personal fouls.
ptsInt64Points scored.
plus_minusInt64Plus/minus point differential while on court.
video_availableInt64Video available.

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_leaguegamelog(league_id='10', season='2024')

wnba_stats_leagueleaders​

League leaders.

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

Valid URL: https://stats.wnba.com/stats/leagueleaders?ActiveFlag=&LeagueID=10&PerMode=Totals&Scope=S&Season=2024&SeasonType=Regular+Season&StatCategory=PTS

API ParameterPythonPatternRequiredNullableDescription
ActiveFlagactive_flag_nullableY
LeagueIDleague_idY
PerModeper_mode48Y
ScopescopeY
SeasonseasonYSeason year, e.g. 2024. Defaults at call time by a calendar cutoff, the month after a season's first games, so it can lag the newest rows by a few weeks. A WNBA season tips off in mid-May and becomes the default in June (2025 through May 2026, 2026 from June 2026); a draft (drafthistory, mid-April) in May. With season type Playoffs (or commonplayoffseries) the WNBA rolls over in October, after its mid-September playoffs start; with All Star in August, after the July game. A month table cannot follow a lockout or pandemic calendar: pass a season then. Without one stats.wnba.com answers an empty HTTP 500 or every season summed.
SeasonTypeseason_type_all_starYSeason type, a label: Regular Season, Pre Season, Playoffs or All Star (each endpoint takes a subset). Not ESPN's numeric code: 3 is HTTP 400. A default season follows it: Playoffs rolls over in October, All Star in August.
StatCategorystat_category_abbreviationY

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
player_idInt64Unique player identifier.
rankInt64Rank of the row within the returned leaderboard (1 = best) for the stat the endpoint sorts by.
playerStringPlayer name.
team_idInt64Unique team identifier.
teamStringTeam-side label or team identifier.
gpInt64Games played.
minFloat64Minutes played.
fgmFloat64Field goals made.
fgaFloat64Field goal attempts.
fg_pctFloat64Field goal percentage (0-1).
fg3_mFloat64Three-point field goals made.
fg3_aFloat64Three-point field goal attempts.
fg3_pctFloat64Three-point field goal percentage (0-1).
ftmFloat64Free throws made.
ftaFloat64Free throw attempts.
ft_pctFloat64Free throw percentage (0-1).
orebFloat64Offensive rebounds.
drebFloat64Defensive rebounds.
rebFloat64Total rebounds.
astFloat64Assists.
stlFloat64Steals.
blkFloat64Blocks.
tovFloat64Turnovers.
ptsFloat64Points scored.
effFloat64Eff.

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_leagueleaders(league_id='10', season='2024')

wnba_stats_leaguelineupviz​

League lineup viz.

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

Valid URL: https://stats.wnba.com/stats/leaguelineupviz?Conference=&DateFrom=&DateTo=&Division=&GameSegment=&GroupQuantity=5&LastNGames=0&LeagueID=10&Location=&MeasureType=Base&MinutesMin=10&Month=0&OpponentTeamID=0&Outcome=&PORound=&PaceAdjust=N&PerMode=Totals&Period=0&PlusMinus=N&Rank=N&Season=2024&SeasonSegment=&SeasonType=Regular+Season&ShotClockRange=&TeamID=0&VsConference=&VsDivision=

API ParameterPythonPatternRequiredNullableDescription
Conferenceconference_nullableY
DateFromdate_from_nullableY
DateTodate_to_nullableY
Divisiondivision_simple_nullableY
GameSegmentgame_segment_nullableY
GroupQuantitygroup_quantityY
LastNGameslast_n_gamesY
LeagueIDleague_idY
Locationlocation_nullableY
MeasureTypemeasure_type_detailed_defenseY
MinutesMinminutes_minY
MonthmonthY
OpponentTeamIDopponent_team_idY
Outcomeoutcome_nullableY
PORoundpo_round_nullableY
PaceAdjustpace_adjustY
PerModeper_mode_detailedY
PeriodperiodY
PlusMinusplus_minusY
RankrankY
SeasonseasonYSeason year, e.g. 2024. Defaults at call time by a calendar cutoff, the month after a season's first games, so it can lag the newest rows by a few weeks. A WNBA season tips off in mid-May and becomes the default in June (2025 through May 2026, 2026 from June 2026); a draft (drafthistory, mid-April) in May. With season type Playoffs (or commonplayoffseries) the WNBA rolls over in October, after its mid-September playoffs start; with All Star in August, after the July game. A month table cannot follow a lockout or pandemic calendar: pass a season then. Without one stats.wnba.com answers an empty HTTP 500 or every season summed.
SeasonSegmentseason_segment_nullableY
SeasonTypeseason_type_all_starYSeason type, a label: Regular Season, Pre Season, Playoffs or All Star (each endpoint takes a subset). Not ESPN's numeric code: 3 is HTTP 400. A default season follows it: Playoffs rolls over in October, All Star in August.
ShotClockRangeshot_clock_range_nullableY
TeamIDteam_id_nullableY
VsConferencevs_conference_nullableY
VsDivisionvs_division_nullableY

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
group_idStringESPN group id.
group_nameStringThe lineup's five players as a ' - ' separated string of abbreviated names.
team_idInt64Unique team identifier.
team_abbreviationStringShort team abbreviation (e.g. 'LAS').
minFloat64Minutes played.
off_ratingFloat64Points scored per 100 possessions with the lineup on the floor (offensive rating).
def_ratingFloat64Points allowed per 100 possessions with the lineup on the floor (defensive rating).
net_ratingFloat64Net rating (off rating - def rating).
paceFloat64Possessions per 48 minutes.
ts_pctFloat64True shooting percentage (0-1).
fta_rateFloat64Free throw attempts per field goal attempt for the lineup.
tm_ast_pctFloat64Percentage of the lineup's made field goals that were assisted, as a decimal.
pct_fga_2_ptFloat64Share of field goal attempts taken as two-pointers, as a decimal.
pct_fga_3_ptFloat64Share of field goal attempts taken as three-pointers, as a decimal.
pct_pts_2_pt_mrFloat64Share of points scored on mid-range two-pointers, as a decimal.
pct_pts_fbFloat64Share of points scored on fast breaks, as a decimal.
pct_pts_ftFloat64Share of points scored at the free throw line, as a decimal.
pct_pts_paintFloat64Share of points scored in the paint, as a decimal.
pct_ast_fgmFloat64Percentage of made field goals that were assisted, as a decimal.
pct_uast_fgmFloat64Percentage of made field goals that were unassisted, as a decimal.
opp_fg3_pctFloat64Opponent three-point percentage against the lineup, as a decimal.
opp_efg_pctFloat64Opponent effective field goal percentage against the lineup, as a decimal.
opp_fta_rateFloat64Opponent free throw attempt rate against the lineup.
opp_tov_pctFloat64Opponent turnover percentage forced by the lineup.
sum_tm_minFloat64Total team minutes summed across the lineup's stints 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_leaguelineupviz(league_id='10', season='2024')

wnba_stats_leagueplayerondetails​

League player on details.

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

Valid URL: https://stats.wnba.com/stats/leagueplayerondetails?DateFrom=&DateTo=&GameSegment=&LastNGames=0&LeagueID=10&Location=&MeasureType=Base&Month=0&OpponentTeamID=0&Outcome=&PaceAdjust=N&PerMode=Totals&Period=0&PlusMinus=N&Rank=N&Season=2024&SeasonSegment=&SeasonType=Regular+Season&TeamID=1611661313&VsConference=&VsDivision=

API ParameterPythonPatternRequiredNullableDescription
DateFromdate_from_nullableY
DateTodate_to_nullableY
GameSegmentgame_segment_nullableY
LastNGameslast_n_gamesY
LeagueIDleague_idY
Locationlocation_nullableY
MeasureTypemeasure_type_detailed_defenseY
MonthmonthY
OpponentTeamIDopponent_team_idY
Outcomeoutcome_nullableY
PaceAdjustpace_adjustY
PerModeper_mode_detailedY
PeriodperiodY
PlusMinusplus_minusY
RankrankY
SeasonseasonYSeason year, e.g. 2024. Defaults at call time by a calendar cutoff, the month after a season's first games, so it can lag the newest rows by a few weeks. A WNBA season tips off in mid-May and becomes the default in June (2025 through May 2026, 2026 from June 2026); a draft (drafthistory, mid-April) in May. With season type Playoffs (or commonplayoffseries) the WNBA rolls over in October, after its mid-September playoffs start; with All Star in August, after the July game. A month table cannot follow a lockout or pandemic calendar: pass a season then. Without one stats.wnba.com answers an empty HTTP 500 or every season summed.
SeasonSegmentseason_segment_nullableY
SeasonTypeseason_type_all_starYSeason type, a label: Regular Season, Pre Season, Playoffs or All Star (each endpoint takes a subset). Not ESPN's numeric code: 3 is HTTP 400. A default season follows it: Playoffs rolls over in October, All Star in August.
TeamIDteam_idY
VsConferencevs_conference_nullableY
VsDivisionvs_division_nullableY

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
group_setStringName of the grouping family used for this dashboard or split row.
team_idInt64Unique team identifier.
team_abbreviationStringShort team abbreviation (e.g. 'LAS').
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
vs_player_idInt64Stats API identifier for vs player identifier associated with this NBA or WNBA Stats row.
vs_player_nameStringDisplay name for vs player name associated with this NBA or WNBA Stats row.
court_statusStringIndicates whether the compared player was on court or off court for the split row.
gpInt64Games played.
wInt64Wins.
lInt64Losses.
w_pctFloat64Wins percentage (0-1 decimal).
minFloat64Minutes played.
fgmFloat64Field goals made.
fgaFloat64Field goal attempts.
fg_pctFloat64Field goal percentage (0-1).
fg3_mFloat64Three-point field goals made.
fg3_aFloat64Three-point field goal attempts.
fg3_pctFloat64Three-point field goal percentage (0-1).
ftmFloat64Free throws made.
ftaFloat64Free throw attempts.
ft_pctFloat64Free throw percentage (0-1).
orebFloat64Offensive rebounds.
drebFloat64Defensive rebounds.
rebFloat64Total rebounds.
astFloat64Assists.
tovFloat64Turnovers.
stlFloat64Steals.
blkFloat64Blocks.
blkaFloat64Blocked field-goal attempts against for the requested NBA or WNBA Stats split.
pfFloat64Personal fouls.
pfdFloat64Personal fouls drawn for the requested NBA or WNBA Stats split.
ptsFloat64Points scored.
plus_minusFloat64Plus/minus point differential while on court.
gp_rankInt64Rank for games played within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
w_rankInt64Rank for wins within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
l_rankInt64Rank for losses within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
w_pct_rankInt64Rank for winning percentage within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
min_rankInt64Rank for minutes played within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
fgm_rankInt64Rank for field goals made within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
fga_rankInt64Rank for field goals attempted within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
fg_pct_rankInt64Rank for field-goal percentage within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
fg3_m_rankInt64Rank for three-point field goals made within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
fg3_a_rankInt64Rank for three-point field goals attempted within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
fg3_pct_rankInt64Rank for three-point field-goal percentage within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
ftm_rankInt64Rank for free throws made within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
fta_rankInt64Rank for free throws attempted within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
ft_pct_rankInt64Rank for free-throw percentage within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
oreb_rankInt64Rank for offensive rebounds within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
dreb_rankInt64Rank for defensive rebounds within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
reb_rankInt64Rank for total rebounds within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
ast_rankInt64Rank for assists within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
tov_rankInt64Rank for turnovers within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
stl_rankInt64Rank for steals within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
blk_rankInt64Rank for blocks within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
blka_rankInt64Rank for blocked field-goal attempts against within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
pf_rankInt64Rank for personal fouls within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
pfd_rankInt64Rank for personal fouls drawn within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
pts_rankInt64Rank for points within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
plus_minus_rankInt64Rank for plus-minus within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.

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_leagueplayerondetails(league_id='10', season='2024')

wnba_stats_leagueseasonmatchups​

League season matchups.

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

Valid URL: https://stats.wnba.com/stats/leagueseasonmatchups?DefPlayerID=&DefTeamID=&LeagueID=10&OffPlayerID=&OffTeamID=&PerMode=Totals&Season=2024&SeasonType=Regular+Season

API ParameterPythonPatternRequiredNullableDescription
DefPlayerIDdef_player_id_nullableY
DefTeamIDdef_team_id_nullableY
LeagueIDleague_idY
OffPlayerIDoff_player_id_nullableY
OffTeamIDoff_team_id_nullableY
PerModeper_mode_simpleY
SeasonseasonYSeason year, e.g. 2024. Defaults at call time by a calendar cutoff, the month after a season's first games, so it can lag the newest rows by a few weeks. A WNBA season tips off in mid-May and becomes the default in June (2025 through May 2026, 2026 from June 2026); a draft (drafthistory, mid-April) in May. With season type Playoffs (or commonplayoffseries) the WNBA rolls over in October, after its mid-September playoffs start; with All Star in August, after the July game. A month table cannot follow a lockout or pandemic calendar: pass a season then. Without one stats.wnba.com answers an empty HTTP 500 or every season summed.
SeasonTypeseason_type_playoffsYSeason type, a label: Regular Season, Pre Season, Playoffs or All Star (each endpoint takes a subset). Not ESPN's numeric code: 3 is HTTP 400. A default season follows it: Playoffs rolls over in October, All Star in August.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
season_idStringUnique season identifier.
off_player_idInt64Stats API identifier for offensive player identifier associated with this NBA or WNBA Stats row.
off_player_nameStringDisplay name for offensive player name associated with this NBA or WNBA Stats row.
def_player_idInt64Stats API identifier for defensive player identifier associated with this NBA or WNBA Stats row.
def_player_nameStringDisplay name for defensive player name associated with this NBA or WNBA Stats row.
gpInt64Games played.
matchup_minFloat64NBA or WNBA Stats value for matchup minutes in the leagueseasonmatchups result set.
partial_possFloat64Estimated partial possessions credited to the stint or rotation interval.
player_ptsFloat64Scoring or score-margin metric for player points in the requested NBA or WNBA Stats split.
team_ptsFloat64Scoring or score-margin metric for team points in the requested NBA or WNBA Stats split.
matchup_astFloat64NBA or WNBA Stats value for matchup assists in the leagueseasonmatchups result set.
matchup_tovFloat64Turnover or loose-ball metric for matchup turnovers in the requested NBA or WNBA Stats split.
matchup_blkFloat64NBA or WNBA Stats value for matchup blocks in the leagueseasonmatchups result set.
matchup_fgmFloat64Shooting metric for matchup fgm in the requested NBA or WNBA Stats split.
matchup_fgaFloat64Shooting metric for matchup fga in the requested NBA or WNBA Stats split.
matchup_fg_pctFloat64Percentage or rate for matchup field goals percentage in the requested NBA or WNBA Stats split.
matchup_fg3_mFloat64Shooting metric for matchup fg3m in the requested NBA or WNBA Stats split.
matchup_fg3_aFloat64Shooting metric for matchup fg3a in the requested NBA or WNBA Stats split.
matchup_fg3_pctFloat64Percentage or rate for matchup three-point field goals percentage in the requested NBA or WNBA Stats split.
help_blkInt64NBA or WNBA Stats value for help blocks in the leagueseasonmatchups result set.
help_fgmInt64Shooting metric for help fgm in the requested NBA or WNBA Stats split.
help_fgaInt64Shooting metric for help fga in the requested NBA or WNBA Stats split.
help_fg_percInt64Shooting metric for help field goals perc in the requested NBA or WNBA Stats split.
matchup_ftmFloat64NBA or WNBA Stats value for matchup ftm in the leagueseasonmatchups result set.
matchup_ftaFloat64NBA or WNBA Stats value for matchup fta in the leagueseasonmatchups result set.
sflFloat64NBA or WNBA Stats value for sfl in the leagueseasonmatchups result set.

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_leagueseasonmatchups(league_id='10', season='2024')

wnba_stats_leaguestandingsv3​

League standings v3.

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

Valid URL: https://stats.wnba.com/stats/leaguestandingsv3?LeagueID=10&Season=2024&SeasonType=Regular+Season&SeasonYear=

API ParameterPythonPatternRequiredNullableDescription
LeagueIDleague_idY
SeasonseasonYSeason year, e.g. 2024. Defaults at call time by a calendar cutoff, the month after a season's first games, so it can lag the newest rows by a few weeks. A WNBA season tips off in mid-May and becomes the default in June (2025 through May 2026, 2026 from June 2026); a draft (drafthistory, mid-April) in May. With season type Playoffs (or commonplayoffseries) the WNBA rolls over in October, after its mid-September playoffs start; with All Star in August, after the July game. A month table cannot follow a lockout or pandemic calendar: pass a season then. Without one stats.wnba.com answers an empty HTTP 500 or every season summed.
SeasonTypeseason_typeYSeason type, a label: Regular Season, Pre Season, Playoffs or All Star (each endpoint takes a subset). Not ESPN's numeric code: 3 is HTTP 400. A default season follows it: Playoffs rolls over in October, All Star in August.
SeasonYearseason_nullableY

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
league_idStringLeague identifier used in compact NBA Stats schedule and scoreboard result sets.
season_idStringStats API identifier for seasonid associated with this NBA or WNBA Stats row.
team_idInt64Unique team identifier.
team_cityStringTeam city or region (e.g. 'Las Vegas').
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
team_slugStringURL slug for teamslug used by NBA or WNBA Stats pages.
conferenceStringFilter players or teams by conference.
conference_recordStringNBA or WNBA Stats value for conferencerecord in the leaguestandingsv3 result set.
playoff_rankInt64NBA or WNBA Stats value for playoffrank in the leaguestandingsv3 result set.
clinch_indicatorStringNBA or WNBA Stats value for clinchindicator in the leaguestandingsv3 result set.
divisionStringTeam division.
division_recordStringNBA or WNBA Stats value for divisionrecord in the leaguestandingsv3 result set.
division_rankInt64NBA or WNBA Stats value for divisionrank in the leaguestandingsv3 result set.
winsInt64Total wins.
lossesInt64Total losses.
win_pctFloat64Winning percentage for the team or split represented by this row.
league_rankInt64NBA or WNBA Stats value for leaguerank in the leaguestandingsv3 result set.
recordStringRecord string (e.g. '12-4').
homeStringHome.
roadStringRoad.
l10StringL10.
last10_homeStringNBA or WNBA Stats value for last10home in the leaguestandingsv3 result set.
last10_roadStringNBA or WNBA Stats value for last10road in the leaguestandingsv3 result set.
otStringOt.
three_pts_or_lessStringScoring or score-margin metric for threeptsorless in the requested NBA or WNBA Stats split.
ten_pts_or_moreStringScoring or score-margin metric for tenptsormore in the requested NBA or WNBA Stats split.
long_home_streakInt64NBA or WNBA Stats value for longhomestreak in the leaguestandingsv3 result set.
str_long_home_streakStringNBA or WNBA Stats value for strlonghomestreak in the leaguestandingsv3 result set.
long_road_streakInt64NBA or WNBA Stats value for longroadstreak in the leaguestandingsv3 result set.
str_long_road_streakStringNBA or WNBA Stats value for strlongroadstreak in the leaguestandingsv3 result set.
long_win_streakInt64NBA or WNBA Stats value for longwinstreak in the leaguestandingsv3 result set.
long_loss_streakInt64NBA or WNBA Stats value for longlossstreak in the leaguestandingsv3 result set.
current_home_streakInt64NBA or WNBA Stats value for currenthomestreak in the leaguestandingsv3 result set.
str_current_home_streakStringNBA or WNBA Stats value for strcurrenthomestreak in the leaguestandingsv3 result set.
current_road_streakInt64NBA or WNBA Stats value for currentroadstreak in the leaguestandingsv3 result set.
str_current_road_streakStringNBA or WNBA Stats value for strcurrentroadstreak in the leaguestandingsv3 result set.
current_streakInt64NBA or WNBA Stats value for currentstreak in the leaguestandingsv3 result set.
str_current_streakString
conference_games_backFloat64NBA or WNBA Stats value for conferencegamesback in the leaguestandingsv3 result set.
division_games_backFloat64NBA or WNBA Stats value for divisiongamesback in the leaguestandingsv3 result set.
clinched_conference_titleInt64Flag indicating clinchedconferencetitle for the requested NBA or WNBA Stats context.
clinched_division_titleInt64Flag indicating clincheddivisiontitle for the requested NBA or WNBA Stats context.
clinched_playoff_birthInt64Flag indicating clinchedplayoffbirth for the requested NBA or WNBA Stats context.
clinched_play_inInt64Flag indicating clinchedplayin for the requested NBA or WNBA Stats context.
eliminated_conferenceInt64Flag indicating eliminatedconference for the requested NBA or WNBA Stats context.
eliminated_divisionInt64Flag indicating eliminateddivision for the requested NBA or WNBA Stats context.
ahead_at_halfStringNBA or WNBA Stats value for aheadathalf in the leaguestandingsv3 result set.
behind_at_halfStringNBA or WNBA Stats value for behindathalf in the leaguestandingsv3 result set.
tied_at_halfStringNBA or WNBA Stats value for tiedathalf in the leaguestandingsv3 result set.
ahead_at_thirdStringNBA or WNBA Stats value for aheadatthird in the leaguestandingsv3 result set.
behind_at_thirdStringNBA or WNBA Stats value for behindatthird in the leaguestandingsv3 result set.
tied_at_thirdStringNBA or WNBA Stats value for tiedatthird in the leaguestandingsv3 result set.
score100_ptsStringScoring or score-margin metric for score100pts in the requested NBA or WNBA Stats split.
opp_score100_ptsStringScoring or score-margin metric for oppscore100pts in the requested NBA or WNBA Stats split.
opp_over500StringNBA or WNBA Stats value for oppover500 in the leaguestandingsv3 result set.
lead_in_fgpctStringShooting metric for leadinfgpct in the requested NBA or WNBA Stats split.
lead_in_rebStringRebounding metric for leadinreb in the requested NBA or WNBA Stats split.
fewer_turnoversStringTurnover or loose-ball metric for fewerturnovers in the requested NBA or WNBA Stats split.
points_pgFloat64Scoring or score-margin metric for pointspg in the requested NBA or WNBA Stats split.
opp_points_pgFloat64Scoring or score-margin metric for opppointspg in the requested NBA or WNBA Stats split.
diff_points_pgFloat64Scoring or score-margin metric for diffpointspg in the requested NBA or WNBA Stats split.
vs_eastStringNBA or WNBA Stats value for vseast in the leaguestandingsv3 result set.
vs_atlanticStringNBA or WNBA Stats value for vsatlantic in the leaguestandingsv3 result set.
vs_centralStringNBA or WNBA Stats value for vscentral in the leaguestandingsv3 result set.
vs_southeastStringNBA or WNBA Stats value for vssoutheast in the leaguestandingsv3 result set.
vs_westStringNBA or WNBA Stats value for vswest in the leaguestandingsv3 result set.
vs_northwestStringNBA or WNBA Stats value for vsnorthwest in the leaguestandingsv3 result set.
vs_pacificStringNBA or WNBA Stats value for vspacific in the leaguestandingsv3 result set.
vs_southwestStringNBA or WNBA Stats value for vssouthwest in the leaguestandingsv3 result set.
janStringValue for January in the endpoint's monthly NBA or WNBA Stats split.
febStringValue for February in the endpoint's monthly NBA or WNBA Stats split.
marStringValue for March in the endpoint's monthly NBA or WNBA Stats split.
aprStringValue for April in the endpoint's monthly NBA or WNBA Stats split.
mayStringValue for May in the endpoint's monthly NBA or WNBA Stats split.
junStringValue for June in the endpoint's monthly NBA or WNBA Stats split.
julStringValue for July in the endpoint's monthly NBA or WNBA Stats split.
augStringValue for August in the endpoint's monthly NBA or WNBA Stats split.
sepStringValue for September in the endpoint's monthly NBA or WNBA Stats split.
octStringValue for October in the endpoint's monthly NBA or WNBA Stats split.
novStringValue for November in the endpoint's monthly NBA or WNBA Stats split.
decStringValue for December in the endpoint's monthly NBA or WNBA Stats split.
score_80_plusStringScoring or score-margin metric for score 80 plus in the requested NBA or WNBA Stats split.
opp_score_80_plusStringOpponent score 80 plus for the requested NBA or WNBA team, player, lineup, or game split.
score_below_80StringScoring or score-margin metric for score below 80 in the requested NBA or WNBA Stats split.
opp_score_below_80StringOpponent score below 80 for the requested NBA or WNBA team, player, lineup, or game split.
total_pointsInt64Scoring or score-margin metric for totalpoints in the requested NBA or WNBA Stats split.
opp_total_pointsInt64Scoring or score-margin metric for opptotalpoints in the requested NBA or WNBA Stats split.
diff_total_pointsInt64Scoring or score-margin metric for difftotalpoints in the requested NBA or WNBA Stats split.
league_games_backFloat64NBA or WNBA Stats value for leaguegamesback in the leaguestandingsv3 result set.
playoff_seedingInt64NBA or WNBA Stats value for playoffseeding in the leaguestandingsv3 result set.
clinched_post_seasonInt64Flag indicating clinchedpostseason for the requested NBA or WNBA Stats context.
neutralStringNeutral.

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_leaguestandingsv3(league_id='10', season='2024')