Skip to main content

NBA — NBA Stats API (stats.nba.com) — League: leaguestandings–leaguestandingsv3

nba_stats_leaguestandings​

League standings.

Endpoint URL: GET https://stats.nba.com/stats/leaguestandings

Valid URL: https://stats.nba.com/stats/leaguestandings?LeagueID=00&Season=2024-25&SeasonType=Regular+Season&SeasonYear=

API ParameterPythonPatternRequiredNullableDescription
LeagueIDleague_idY
SeasonseasonYSeason label, e.g. 2024-25. 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. An NBA season tips off in late October and becomes the default in November (2025-26 through October 2026, 2026-27 from November 2026); a G League season (regular season from late December) in January; a Summer League (played in July, which stats.nba.com labels 2026-27 in 2026) in August; a draft combine (May) in June; a draft (drafthistory, a year; late June) in July. With season type Playoffs / PlayIn (or commonplayoffseries) the NBA and the G League roll over in May, after their playoffs start; with All Star the NBA rolls over in March, after the February game (the G League has no All-Star rows and keeps its own rule). A month table cannot follow a lockout or pandemic calendar (1998-99, 2011-12, 2020-21): pass a season then. Without one stats.nba.com answers an empty HTTP 500 or every season summed.
SeasonTypeseason_typeYSeason type, a label: Regular Season, Pre Season, Playoffs, PlayIn or All Star (each endpoint takes a subset). Not ESPN's numeric code: 3 is HTTP 400. A default season follows it: Playoffs / PlayIn roll over in May (NBA, G League), All Star in March (NBA).
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').
conferenceStringConference name.
conference_recordStringNBA or WNBA Stats value for conferencerecord in the leaguestandings result set.
playoff_rankInt64NBA or WNBA Stats value for playoffrank in the leaguestandings result set.
clinch_indicatorStringNBA or WNBA Stats value for clinchindicator in the leaguestandings result set.
divisionStringTeam division.
division_recordStringNBA or WNBA Stats value for divisionrecord in the leaguestandings result set.
division_rankInt64NBA or WNBA Stats value for divisionrank in the leaguestandings 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 leaguestandings result set.
recordStringOverall win-loss record.
homeStringHome.
roadStringRoad.
l10StringLast-ten record.
last10_homeStringNBA or WNBA Stats value for last10home in the leaguestandings result set.
last10_roadStringNBA or WNBA Stats value for last10road in the leaguestandings 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 leaguestandings result set.
str_long_home_streakStringNBA or WNBA Stats value for strlonghomestreak in the leaguestandings result set.
long_road_streakInt64NBA or WNBA Stats value for longroadstreak in the leaguestandings result set.
str_long_road_streakStringNBA or WNBA Stats value for strlongroadstreak in the leaguestandings result set.
long_win_streakInt64NBA or WNBA Stats value for longwinstreak in the leaguestandings result set.
long_loss_streakInt64NBA or WNBA Stats value for longlossstreak in the leaguestandings result set.
current_home_streakInt64NBA or WNBA Stats value for currenthomestreak in the leaguestandings result set.
str_current_home_streakStringNBA or WNBA Stats value for strcurrenthomestreak in the leaguestandings result set.
current_road_streakInt64NBA or WNBA Stats value for currentroadstreak in the leaguestandings result set.
str_current_road_streakStringNBA or WNBA Stats value for strcurrentroadstreak in the leaguestandings result set.
current_streakInt64NBA or WNBA Stats value for currentstreak in the leaguestandings result set.
str_current_streakString
conference_games_backFloat64NBA or WNBA Stats value for conferencegamesback in the leaguestandings result set.
division_games_backFloat64NBA or WNBA Stats value for divisiongamesback in the leaguestandings 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.
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 leaguestandings result set.
behind_at_halfStringNBA or WNBA Stats value for behindathalf in the leaguestandings result set.
tied_at_halfStringNBA or WNBA Stats value for tiedathalf in the leaguestandings result set.
ahead_at_thirdStringNBA or WNBA Stats value for aheadatthird in the leaguestandings result set.
behind_at_thirdStringNBA or WNBA Stats value for behindatthird in the leaguestandings result set.
tied_at_thirdStringNBA or WNBA Stats value for tiedatthird in the leaguestandings 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 leaguestandings 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 leaguestandings result set.
vs_atlanticStringNBA or WNBA Stats value for vsatlantic in the leaguestandings result set.
vs_centralStringNBA or WNBA Stats value for vscentral in the leaguestandings result set.
vs_southeastStringNBA or WNBA Stats value for vssoutheast in the leaguestandings result set.
vs_westStringNBA or WNBA Stats value for vswest in the leaguestandings result set.
vs_northwestStringNBA or WNBA Stats value for vsnorthwest in the leaguestandings result set.
vs_pacificStringNBA or WNBA Stats value for vspacific in the leaguestandings result set.
vs_southwestStringNBA or WNBA Stats value for vssouthwest in the leaguestandings 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.
pre_asStringNBA or WNBA Stats value for preas in the leaguestandings result set.
post_asStringNBA or WNBA Stats value for postas in the leaguestandings 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​

nba_stats_leaguestandings(league_id='00', season='2024-25')

nba_stats_leaguestandingsv3​

League standings v3.

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

Valid URL: https://stats.nba.com/stats/leaguestandingsv3?LeagueID=00&Season=2024-25&SeasonType=Regular+Season&SeasonYear=

API ParameterPythonPatternRequiredNullableDescription
LeagueIDleague_idY
SeasonseasonYSeason label, e.g. 2024-25. 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. An NBA season tips off in late October and becomes the default in November (2025-26 through October 2026, 2026-27 from November 2026); a G League season (regular season from late December) in January; a Summer League (played in July, which stats.nba.com labels 2026-27 in 2026) in August; a draft combine (May) in June; a draft (drafthistory, a year; late June) in July. With season type Playoffs / PlayIn (or commonplayoffseries) the NBA and the G League roll over in May, after their playoffs start; with All Star the NBA rolls over in March, after the February game (the G League has no All-Star rows and keeps its own rule). A month table cannot follow a lockout or pandemic calendar (1998-99, 2011-12, 2020-21): pass a season then. Without one stats.nba.com answers an empty HTTP 500 or every season summed.
SeasonTypeseason_typeYSeason type, a label: Regular Season, Pre Season, Playoffs, PlayIn or All Star (each endpoint takes a subset). Not ESPN's numeric code: 3 is HTTP 400. A default season follows it: Playoffs / PlayIn roll over in May (NBA, G League), All Star in March (NBA).
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.
conferenceStringConference name.
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.
recordStringOverall win-loss record.
homeStringHome.
roadStringRoad.
l10StringLast-ten record.
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​

nba_stats_leaguestandingsv3(league_id='00', season='2024-25')