Skip to main content
Version: 0.1.5

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

wnba_stats_commonallplayers​

GET /stats/commonallplayers

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

Valid URL: https://stats.wnba.com/stats/commonallplayers?IsOnlyCurrentSeason=0&LeagueID=10&Season=2024

API ParameterPythonPatternRequiredNullableDescription
IsOnlyCurrentSeasonis_only_current_seasonY
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.

Returns​

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

col_nametypedescription
person_idintegerUnique player identifier (V3 endpoints).
display_last_comma_firstcharacterPlayer name formatted as "Last, First".
display_first_lastcharacterPlayer name formatted as "First Last".
rosterstatusintegerRoster status flag (1 = currently on a roster, 0 = not).
from_yearcharacterFirst season.
to_yearcharacterMost recent season.
playercodecharacterURL-style player code slug used by the league's legacy stats pages.
player_slugcharacterURL-safe player identifier.
team_idintegerUnique team identifier.
team_citycharacterTeam city or region (e.g. 'Las Vegas').
team_namecharacterFull team display name (e.g. 'Las Vegas Aces').
team_abbreviationcharacterShort team abbreviation (e.g. 'LAS').
team_codecharacterLowercase slug of the player's team used in stats.nba.com URLs (e.g. 'lakers').
team_slugcharacterURL-safe team identifier (e.g. 'lasvegas-aces' / 'aces').
is_nba_assignedintegerFlag indicating whether the player is currently on an NBA roster assignment (two-way and G League assignment tracking).
nba_assigned_team_idintegerTeam identifier of the NBA team the player is assigned to, when on assignment.
games_played_flagcharacterY/N flag for whether the player has appeared in a league game.

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

Example​

wnba_stats_commonallplayers(league_id='10', season='2024')

Last validated n/a.

wnba_stats_commonplayerinfo​

GET /stats/commonplayerinfo

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

Valid URL: https://stats.wnba.com/stats/commonplayerinfo?LeagueID=10&PlayerID=1628932

API ParameterPythonPatternRequiredNullableDescription
LeagueIDleague_idY
PlayerIDplayer_idY

Returns​

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

CommonPlayerInfo

col_nametypedescription
person_idintegerUnique player identifier (V3 endpoints).
first_namecharacterPlayer's first name.
last_namecharacterPlayer's last name.
display_first_lastcharacterNBA or WNBA Stats value for display first last in the commonplayerinfo result set.
display_last_comma_firstcharacterNBA or WNBA Stats value for display last comma first in the commonplayerinfo result set.
display_fi_lastcharacterNBA or WNBA Stats value for display fi last in the commonplayerinfo result set.
player_slugcharacterURL-safe player identifier.
birthdatecharacterPlayer's date of birth as an ISO timestamp string (e.g. '1984-12-30T00:00:00').
schoolcharacterPlayer's school / college (when distinct from 'college').
countrycharacterCountry (full name or code).
last_affiliationcharacterNBA or WNBA Stats value for last affiliation in the commonplayerinfo result set.
heightcharacterPlayer height (string e.g. '6-2' or inches).
weightcharacterPlayer weight in pounds.
season_expintegerNBA or WNBA Stats value for season exp in the commonplayerinfo result set.
jerseycharacterJersey number worn by the player.
positioncharacterListed roster position (G, F, C, etc.).
rosterstatuscharacterNBA or WNBA Stats value for rosterstatus in the commonplayerinfo result set.
games_played_current_season_flagcharacterFlag indicating games played current season flag for the requested NBA or WNBA Stats context.
team_idintegerUnique team identifier.
team_namecharacterFull team display name (e.g. 'Las Vegas Aces').
team_abbreviationcharacterShort team abbreviation (e.g. 'LAS').
team_codecharacterLowercase slug of the player's current team used in stats.nba.com URLs (e.g. 'lakers').
team_citycharacterTeam city or region (e.g. 'Las Vegas').
playercodecharacterNBA or WNBA Stats value for playercode in the commonplayerinfo result set.
from_yearintegerFirst season.
to_yearintegerMost recent season.
dleague_flagcharacterFlag indicating dleague flag for the requested NBA or WNBA Stats context.
nba_flagcharacterFlag indicating NBA flag for the requested NBA or WNBA Stats context.
games_played_flagcharacterFlag indicating games played flag for the requested NBA or WNBA Stats context.
draft_yearcharacterDraft year (4-digit).
draft_roundcharacterRound of the draft selection.
draft_numbercharacterOverall pick the player was selected with, as a string; 'Undrafted' when never drafted.
greatest_75_flagcharacterFlag indicating greatest 75 flag for the requested NBA or WNBA Stats context.

PlayerHeadlineStats

col_nametypedescription
player_idintegerUnique player identifier.
player_namecharacterPlayer name.
time_framecharacter
ptsnumericPoints scored.
astnumericAssists.
rebnumericTotal rebounds.
pieintegerPlayer Impact Estimate (0-1).

AvailableSeasons

col_nametypedescription
season_idcharacterUnique season identifier.

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

Example​

wnba_stats_commonplayerinfo(league_id='10')

Last validated n/a.

wnba_stats_commonplayoffseries​

GET /stats/commonplayoffseries

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

Valid URL: https://stats.wnba.com/stats/commonplayoffseries?LeagueID=10&Season=2024&SeriesID=

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.
SeriesIDseries_id_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
game_idcharacterUnique game identifier.
home_team_idintegerUnique identifier for the home team.
visitor_team_idintegerUnique identifier for visitor team.
series_idcharacterPlayoff series id, the game id stem without the game sequence digit (e.g. '004230010' for the 2023-24 playoffs' first series).
game_numintegerNBA or WNBA Stats value for game number in the commonplayoffseries result set.

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

Example​

wnba_stats_commonplayoffseries(league_id='10', season='2024')

Last validated n/a.

wnba_stats_commonteamroster​

GET /stats/commonteamroster

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

Valid URL: https://stats.wnba.com/stats/commonteamroster?LeagueID=10&Season=2024&TeamID=1611661317

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

Returns​

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

CommonTeamRoster

col_nametypedescription
team_idintegerUnique team identifier.
seasoncharacterSeason identifier (4-digit year or 'YYYY-YY' string).
league_idcharacterLeague identifier from the stats API ("00" = NBA, "10" = WNBA, "20" = G League).
playercharacterPlayer name.
nicknamecharacterTeam or athlete nickname.
player_slugcharacterURL-safe player identifier.
numcharacterJersey number as printed on the roster (string; may be blank or carry a suffix).
positioncharacterListed roster position (G, F, C, etc.).
heightcharacterPlayer height (string e.g. '6-2' or inches).
weightcharacterPlayer weight in pounds.
birth_datecharacterDate of birth (YYYY-MM-DD).
agenumericPlayer age (in years).
expcharacterExp.
schoolcharacterPlayer's school / college (when distinct from 'college').
player_idintegerUnique player identifier.
how_acquiredcharacterHow the team acquired the player (e.g. draft, trade, free agency).

Coaches

col_nametypedescription
coach_idintegerUnique identifier for coach.
team_idintegerUnique team identifier.
seasoncharacterSeason identifier (4-digit year or 'YYYY-YY' string).
first_namecharacterPlayer's first name.
last_namecharacterPlayer's last name.
coach_namecharacter
is_assistantinteger
coach_typecharacter
sort_sequenceinteger

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

Example​

wnba_stats_commonteamroster(league_id='10', season='2024')

Last validated n/a.

wnba_stats_commonteamyears​

GET /stats/commonteamyears

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

Valid URL: https://stats.wnba.com/stats/commonteamyears?LeagueID=10

API ParameterPythonPatternRequiredNullableDescription
LeagueIDleague_idY

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_idcharacterLeague identifier ('10' = WNBA).
team_idintegerUnique team identifier.
min_yearcharacterMinimum year queried (echoes min_year).
max_yearcharacterMaximum year queried (echoes max_year).
abbreviationcharacterShort abbreviation.

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

Example​

wnba_stats_commonteamyears(league_id='10')

Last validated n/a.