Skip to main content

NBA — NBA Stats API (stats.nba.com) — Team dashboards: teamdashboardbylastngames–teamdashboardbyopponent

nba_stats_teamdashboardbylastngames​

Team dashboard by last n games.

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

Valid URL: https://stats.nba.com/stats/teamdashboardbylastngames?DateFrom=&DateTo=&GameSegment=&LastNGames=0&LeagueID=00&Location=&MeasureType=Base&Month=0&OpponentTeamID=0&Outcome=&PORound=&PaceAdjust=N&PerMode=Totals&Period=0&PlusMinus=N&Rank=N&Season=2024-25&SeasonSegment=&SeasonType=Regular+Season&ShotClockRange=&TeamID=1610612749&VsConference=&VsDivision=

API ParameterPythonPatternRequiredNullableDescription
DateFromdate_fromY
DateTodate_toY
GameSegmentgame_segmentY
LastNGameslast_n_gamesY
LeagueIDleague_idY
LocationlocationY
MeasureTypemeasure_typeY
MonthmonthY
OpponentTeamIDopponent_team_idY
OutcomeoutcomeY
PORoundpo_roundY
PaceAdjustpace_adjustY
PerModeper_modeY
PeriodperiodY
PlusMinusplus_minusY
RankrankY
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.
SeasonSegmentseason_segmentY
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).
ShotClockRangeshot_clock_rangeY
TeamIDteam_idY
VsConferencevs_conferenceY
VsDivisionvs_divisionY

Returns​

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

OverallTeamDashboard

col_nametypedescription
group_setStringName of the split group the row belongs to (e.g. Overall, By Opponent, By Month).
group_valueStringValue of the split within the group (e.g. a specific opponent, month, or result).
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.
rebFloat64Rebounds per game.
astFloat64Assists.
tovFloat64Turnovers.
stlFloat64Steals.
blkFloat64Blocks.
blkaFloat64Shot attempts blocked by opponents (blocks against).
pfFloat64Personal fouls.
pfdFloat64Personal fouls drawn.
ptsFloat64Points scored.
plus_minusFloat64Plus/minus point differential while on court.
gp_rankInt64League rank of the row's games played for the season and split.
w_rankInt64League rank of the row's wins for the season and split.
l_rankInt64League rank of the row's losses for the season and split.
w_pct_rankInt64League rank of the row's win percentage for the season and split.
min_rankInt64League rank of the row's minutes played for the season and split.
fgm_rankInt64League rank of the row's field goals made for the season and split.
fga_rankInt64League rank of the row's field goals attempted for the season and split.
fg_pct_rankInt64League rank of the row's field goal percentage for the season and split.
fg3_m_rankInt64League rank of the row's three-point field goals made for the season and split.
fg3_a_rankInt64League rank of the row's three-point field goals attempted for the season and split.
fg3_pct_rankInt64League rank of the row's three-point field goal percentage for the season and split.
ftm_rankInt64League rank of the row's free throws made for the season and split.
fta_rankInt64League rank of the row's free throws attempted for the season and split.
ft_pct_rankInt64League rank of the row's free throw percentage for the season and split.
oreb_rankInt64League rank of the row's offensive rebounds for the season and split.
dreb_rankInt64League rank of the row's defensive rebounds for the season and split.
reb_rankInt64League rank of the row's total rebounds for the season and split.
ast_rankInt64League rank of the row's assists for the season and split.
tov_rankInt64League rank of the row's turnovers for the season and split.
stl_rankInt64League rank of the row's steals for the season and split.
blk_rankInt64League rank of the row's blocked shots for the season and split.
blka_rankInt64League rank of the row's shot attempts blocked by opponents (blocks against) for the season and split.
pf_rankInt64League rank of the row's personal fouls committed for the season and split.
pfd_rankInt64League rank of the row's personal fouls drawn for the season and split.
pts_rankInt64League rank of the row's points scored for the season and split.
plus_minus_rankInt64League rank of the row's plus-minus point differential while on the floor for the season and split.

Last5TeamDashboard

col_nametypedescription
group_setStringName of the split group the row belongs to (e.g. Overall, By Opponent, By Month).
group_valueStringValue of the split within the group (e.g. a specific opponent, month, or result).
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.
rebFloat64Rebounds per game.
astFloat64Assists.
tovFloat64Turnovers.
stlFloat64Steals.
blkFloat64Blocks.
blkaFloat64Shot attempts blocked by opponents (blocks against).
pfFloat64Personal fouls.
pfdFloat64Personal fouls drawn.
ptsFloat64Points scored.
plus_minusFloat64Plus/minus point differential while on court.
gp_rankInt64League rank of the row's games played for the season and split.
w_rankInt64League rank of the row's wins for the season and split.
l_rankInt64League rank of the row's losses for the season and split.
w_pct_rankInt64League rank of the row's win percentage for the season and split.
min_rankInt64League rank of the row's minutes played for the season and split.
fgm_rankInt64League rank of the row's field goals made for the season and split.
fga_rankInt64League rank of the row's field goals attempted for the season and split.
fg_pct_rankInt64League rank of the row's field goal percentage for the season and split.
fg3_m_rankInt64League rank of the row's three-point field goals made for the season and split.
fg3_a_rankInt64League rank of the row's three-point field goals attempted for the season and split.
fg3_pct_rankInt64League rank of the row's three-point field goal percentage for the season and split.
ftm_rankInt64League rank of the row's free throws made for the season and split.
fta_rankInt64League rank of the row's free throws attempted for the season and split.
ft_pct_rankInt64League rank of the row's free throw percentage for the season and split.
oreb_rankInt64League rank of the row's offensive rebounds for the season and split.
dreb_rankInt64League rank of the row's defensive rebounds for the season and split.
reb_rankInt64League rank of the row's total rebounds for the season and split.
ast_rankInt64League rank of the row's assists for the season and split.
tov_rankInt64League rank of the row's turnovers for the season and split.
stl_rankInt64League rank of the row's steals for the season and split.
blk_rankInt64League rank of the row's blocked shots for the season and split.
blka_rankInt64League rank of the row's shot attempts blocked by opponents (blocks against) for the season and split.
pf_rankInt64League rank of the row's personal fouls committed for the season and split.
pfd_rankInt64League rank of the row's personal fouls drawn for the season and split.
pts_rankInt64League rank of the row's points scored for the season and split.
plus_minus_rankInt64League rank of the row's plus-minus point differential while on the floor for the season and split.

Last10TeamDashboard

col_nametypedescription
group_setStringName of the split group the row belongs to (e.g. Overall, By Opponent, By Month).
group_valueStringValue of the split within the group (e.g. a specific opponent, month, or result).
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.
rebFloat64Rebounds per game.
astFloat64Assists.
tovFloat64Turnovers.
stlFloat64Steals.
blkFloat64Blocks.
blkaFloat64Shot attempts blocked by opponents (blocks against).
pfFloat64Personal fouls.
pfdFloat64Personal fouls drawn.
ptsFloat64Points scored.
plus_minusFloat64Plus/minus point differential while on court.
gp_rankInt64League rank of the row's games played for the season and split.
w_rankInt64League rank of the row's wins for the season and split.
l_rankInt64League rank of the row's losses for the season and split.
w_pct_rankInt64League rank of the row's win percentage for the season and split.
min_rankInt64League rank of the row's minutes played for the season and split.
fgm_rankInt64League rank of the row's field goals made for the season and split.
fga_rankInt64League rank of the row's field goals attempted for the season and split.
fg_pct_rankInt64League rank of the row's field goal percentage for the season and split.
fg3_m_rankInt64League rank of the row's three-point field goals made for the season and split.
fg3_a_rankInt64League rank of the row's three-point field goals attempted for the season and split.
fg3_pct_rankInt64League rank of the row's three-point field goal percentage for the season and split.
ftm_rankInt64League rank of the row's free throws made for the season and split.
fta_rankInt64League rank of the row's free throws attempted for the season and split.
ft_pct_rankInt64League rank of the row's free throw percentage for the season and split.
oreb_rankInt64League rank of the row's offensive rebounds for the season and split.
dreb_rankInt64League rank of the row's defensive rebounds for the season and split.
reb_rankInt64League rank of the row's total rebounds for the season and split.
ast_rankInt64League rank of the row's assists for the season and split.
tov_rankInt64League rank of the row's turnovers for the season and split.
stl_rankInt64League rank of the row's steals for the season and split.
blk_rankInt64League rank of the row's blocked shots for the season and split.
blka_rankInt64League rank of the row's shot attempts blocked by opponents (blocks against) for the season and split.
pf_rankInt64League rank of the row's personal fouls committed for the season and split.
pfd_rankInt64League rank of the row's personal fouls drawn for the season and split.
pts_rankInt64League rank of the row's points scored for the season and split.
plus_minus_rankInt64League rank of the row's plus-minus point differential while on the floor for the season and split.

Last15TeamDashboard

col_nametypedescription
group_setStringName of the split group the row belongs to (e.g. Overall, By Opponent, By Month).
group_valueStringValue of the split within the group (e.g. a specific opponent, month, or result).
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.
rebFloat64Rebounds per game.
astFloat64Assists.
tovFloat64Turnovers.
stlFloat64Steals.
blkFloat64Blocks.
blkaFloat64Shot attempts blocked by opponents (blocks against).
pfFloat64Personal fouls.
pfdFloat64Personal fouls drawn.
ptsFloat64Points scored.
plus_minusFloat64Plus/minus point differential while on court.
gp_rankInt64League rank of the row's games played for the season and split.
w_rankInt64League rank of the row's wins for the season and split.
l_rankInt64League rank of the row's losses for the season and split.
w_pct_rankInt64League rank of the row's win percentage for the season and split.
min_rankInt64League rank of the row's minutes played for the season and split.
fgm_rankInt64League rank of the row's field goals made for the season and split.
fga_rankInt64League rank of the row's field goals attempted for the season and split.
fg_pct_rankInt64League rank of the row's field goal percentage for the season and split.
fg3_m_rankInt64League rank of the row's three-point field goals made for the season and split.
fg3_a_rankInt64League rank of the row's three-point field goals attempted for the season and split.
fg3_pct_rankInt64League rank of the row's three-point field goal percentage for the season and split.
ftm_rankInt64League rank of the row's free throws made for the season and split.
fta_rankInt64League rank of the row's free throws attempted for the season and split.
ft_pct_rankInt64League rank of the row's free throw percentage for the season and split.
oreb_rankInt64League rank of the row's offensive rebounds for the season and split.
dreb_rankInt64League rank of the row's defensive rebounds for the season and split.
reb_rankInt64League rank of the row's total rebounds for the season and split.
ast_rankInt64League rank of the row's assists for the season and split.
tov_rankInt64League rank of the row's turnovers for the season and split.
stl_rankInt64League rank of the row's steals for the season and split.
blk_rankInt64League rank of the row's blocked shots for the season and split.
blka_rankInt64League rank of the row's shot attempts blocked by opponents (blocks against) for the season and split.
pf_rankInt64League rank of the row's personal fouls committed for the season and split.
pfd_rankInt64League rank of the row's personal fouls drawn for the season and split.
pts_rankInt64League rank of the row's points scored for the season and split.
plus_minus_rankInt64League rank of the row's plus-minus point differential while on the floor for the season and split.

Last20TeamDashboard

col_nametypedescription
group_setStringName of the split group the row belongs to (e.g. Overall, By Opponent, By Month).
group_valueStringValue of the split within the group (e.g. a specific opponent, month, or result).
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.
rebFloat64Rebounds per game.
astFloat64Assists.
tovFloat64Turnovers.
stlFloat64Steals.
blkFloat64Blocks.
blkaFloat64Shot attempts blocked by opponents (blocks against).
pfFloat64Personal fouls.
pfdFloat64Personal fouls drawn.
ptsFloat64Points scored.
plus_minusFloat64Plus/minus point differential while on court.
gp_rankInt64League rank of the row's games played for the season and split.
w_rankInt64League rank of the row's wins for the season and split.
l_rankInt64League rank of the row's losses for the season and split.
w_pct_rankInt64League rank of the row's win percentage for the season and split.
min_rankInt64League rank of the row's minutes played for the season and split.
fgm_rankInt64League rank of the row's field goals made for the season and split.
fga_rankInt64League rank of the row's field goals attempted for the season and split.
fg_pct_rankInt64League rank of the row's field goal percentage for the season and split.
fg3_m_rankInt64League rank of the row's three-point field goals made for the season and split.
fg3_a_rankInt64League rank of the row's three-point field goals attempted for the season and split.
fg3_pct_rankInt64League rank of the row's three-point field goal percentage for the season and split.
ftm_rankInt64League rank of the row's free throws made for the season and split.
fta_rankInt64League rank of the row's free throws attempted for the season and split.
ft_pct_rankInt64League rank of the row's free throw percentage for the season and split.
oreb_rankInt64League rank of the row's offensive rebounds for the season and split.
dreb_rankInt64League rank of the row's defensive rebounds for the season and split.
reb_rankInt64League rank of the row's total rebounds for the season and split.
ast_rankInt64League rank of the row's assists for the season and split.
tov_rankInt64League rank of the row's turnovers for the season and split.
stl_rankInt64League rank of the row's steals for the season and split.
blk_rankInt64League rank of the row's blocked shots for the season and split.
blka_rankInt64League rank of the row's shot attempts blocked by opponents (blocks against) for the season and split.
pf_rankInt64League rank of the row's personal fouls committed for the season and split.
pfd_rankInt64League rank of the row's personal fouls drawn for the season and split.
pts_rankInt64League rank of the row's points scored for the season and split.
plus_minus_rankInt64League rank of the row's plus-minus point differential while on the floor for the season and split.

GameNumberTeamDashboard

col_nametypedescription
group_setStringName of the split group the row belongs to (e.g. Overall, By Opponent, By Month).
group_valueStringValue of the split within the group (e.g. a specific opponent, month, or result).
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.
rebFloat64Rebounds per game.
astFloat64Assists.
tovFloat64Turnovers.
stlFloat64Steals.
blkFloat64Blocks.
blkaFloat64Shot attempts blocked by opponents (blocks against).
pfFloat64Personal fouls.
pfdFloat64Personal fouls drawn.
ptsFloat64Points scored.
plus_minusFloat64Plus/minus point differential while on court.
gp_rankInt64League rank of the row's games played for the season and split.
w_rankInt64League rank of the row's wins for the season and split.
l_rankInt64League rank of the row's losses for the season and split.
w_pct_rankInt64League rank of the row's win percentage for the season and split.
min_rankInt64League rank of the row's minutes played for the season and split.
fgm_rankInt64League rank of the row's field goals made for the season and split.
fga_rankInt64League rank of the row's field goals attempted for the season and split.
fg_pct_rankInt64League rank of the row's field goal percentage for the season and split.
fg3_m_rankInt64League rank of the row's three-point field goals made for the season and split.
fg3_a_rankInt64League rank of the row's three-point field goals attempted for the season and split.
fg3_pct_rankInt64League rank of the row's three-point field goal percentage for the season and split.
ftm_rankInt64League rank of the row's free throws made for the season and split.
fta_rankInt64League rank of the row's free throws attempted for the season and split.
ft_pct_rankInt64League rank of the row's free throw percentage for the season and split.
oreb_rankInt64League rank of the row's offensive rebounds for the season and split.
dreb_rankInt64League rank of the row's defensive rebounds for the season and split.
reb_rankInt64League rank of the row's total rebounds for the season and split.
ast_rankInt64League rank of the row's assists for the season and split.
tov_rankInt64League rank of the row's turnovers for the season and split.
stl_rankInt64League rank of the row's steals for the season and split.
blk_rankInt64League rank of the row's blocked shots for the season and split.
blka_rankInt64League rank of the row's shot attempts blocked by opponents (blocks against) for the season and split.
pf_rankInt64League rank of the row's personal fouls committed for the season and split.
pfd_rankInt64League rank of the row's personal fouls drawn for the season and split.
pts_rankInt64League rank of the row's points scored for the season and split.
plus_minus_rankInt64League rank of the row's plus-minus point differential while on the floor for the season and split.

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_teamdashboardbylastngames(league_id='00', season='2024-25')

nba_stats_teamdashboardbyopponent​

Team dashboard by opponent.

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

Valid URL: https://stats.nba.com/stats/teamdashboardbyopponent?DateFrom=&DateTo=&GameSegment=&LastNGames=0&LeagueID=00&Location=&MeasureType=Base&Month=0&OpponentTeamID=0&Outcome=&PORound=&PaceAdjust=N&PerMode=Totals&Period=0&PlusMinus=N&Rank=N&Season=2024-25&SeasonSegment=&SeasonType=Regular+Season&ShotClockRange=&TeamID=1610612749&VsConference=&VsDivision=

API ParameterPythonPatternRequiredNullableDescription
DateFromdate_fromY
DateTodate_toY
GameSegmentgame_segmentY
LastNGameslast_n_gamesY
LeagueIDleague_idY
LocationlocationY
MeasureTypemeasure_typeY
MonthmonthY
OpponentTeamIDopponent_team_idY
OutcomeoutcomeY
PORoundpo_roundY
PaceAdjustpace_adjustY
PerModeper_modeY
PeriodperiodY
PlusMinusplus_minusY
RankrankY
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.
SeasonSegmentseason_segmentY
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).
ShotClockRangeshot_clock_rangeY
TeamIDteam_idY
VsConferencevs_conferenceY
VsDivisionvs_divisionY

Returns​

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

OverallTeamDashboard

col_nametypedescription
group_setStringName of the split group the row belongs to (e.g. Overall, By Opponent, By Month).
group_valueStringValue of the split within the group (e.g. a specific opponent, month, or result).
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.
rebFloat64Rebounds per game.
astFloat64Assists.
tovFloat64Turnovers.
stlFloat64Steals.
blkFloat64Blocks.
blkaFloat64Shot attempts blocked by opponents (blocks against).
pfFloat64Personal fouls.
pfdFloat64Personal fouls drawn.
ptsFloat64Points scored.
plus_minusFloat64Plus/minus point differential while on court.
gp_rankInt64League rank of the row's games played for the season and split.
w_rankInt64League rank of the row's wins for the season and split.
l_rankInt64League rank of the row's losses for the season and split.
w_pct_rankInt64League rank of the row's win percentage for the season and split.
min_rankInt64League rank of the row's minutes played for the season and split.
fgm_rankInt64League rank of the row's field goals made for the season and split.
fga_rankInt64League rank of the row's field goals attempted for the season and split.
fg_pct_rankInt64League rank of the row's field goal percentage for the season and split.
fg3_m_rankInt64League rank of the row's three-point field goals made for the season and split.
fg3_a_rankInt64League rank of the row's three-point field goals attempted for the season and split.
fg3_pct_rankInt64League rank of the row's three-point field goal percentage for the season and split.
ftm_rankInt64League rank of the row's free throws made for the season and split.
fta_rankInt64League rank of the row's free throws attempted for the season and split.
ft_pct_rankInt64League rank of the row's free throw percentage for the season and split.
oreb_rankInt64League rank of the row's offensive rebounds for the season and split.
dreb_rankInt64League rank of the row's defensive rebounds for the season and split.
reb_rankInt64League rank of the row's total rebounds for the season and split.
ast_rankInt64League rank of the row's assists for the season and split.
tov_rankInt64League rank of the row's turnovers for the season and split.
stl_rankInt64League rank of the row's steals for the season and split.
blk_rankInt64League rank of the row's blocked shots for the season and split.
blka_rankInt64League rank of the row's shot attempts blocked by opponents (blocks against) for the season and split.
pf_rankInt64League rank of the row's personal fouls committed for the season and split.
pfd_rankInt64League rank of the row's personal fouls drawn for the season and split.
pts_rankInt64League rank of the row's points scored for the season and split.
plus_minus_rankInt64League rank of the row's plus-minus point differential while on the floor for the season and split.

ConferenceTeamDashboard

col_nametypedescription
group_setStringName of the split group the row belongs to (e.g. Overall, By Opponent, By Month).
group_valueStringValue of the split within the group (e.g. a specific opponent, month, or result).
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.
rebFloat64Rebounds per game.
astFloat64Assists.
tovFloat64Turnovers.
stlFloat64Steals.
blkFloat64Blocks.
blkaFloat64Shot attempts blocked by opponents (blocks against).
pfFloat64Personal fouls.
pfdFloat64Personal fouls drawn.
ptsFloat64Points scored.
plus_minusFloat64Plus/minus point differential while on court.
gp_rankInt64League rank of the row's games played for the season and split.
w_rankInt64League rank of the row's wins for the season and split.
l_rankInt64League rank of the row's losses for the season and split.
w_pct_rankInt64League rank of the row's win percentage for the season and split.
min_rankInt64League rank of the row's minutes played for the season and split.
fgm_rankInt64League rank of the row's field goals made for the season and split.
fga_rankInt64League rank of the row's field goals attempted for the season and split.
fg_pct_rankInt64League rank of the row's field goal percentage for the season and split.
fg3_m_rankInt64League rank of the row's three-point field goals made for the season and split.
fg3_a_rankInt64League rank of the row's three-point field goals attempted for the season and split.
fg3_pct_rankInt64League rank of the row's three-point field goal percentage for the season and split.
ftm_rankInt64League rank of the row's free throws made for the season and split.
fta_rankInt64League rank of the row's free throws attempted for the season and split.
ft_pct_rankInt64League rank of the row's free throw percentage for the season and split.
oreb_rankInt64League rank of the row's offensive rebounds for the season and split.
dreb_rankInt64League rank of the row's defensive rebounds for the season and split.
reb_rankInt64League rank of the row's total rebounds for the season and split.
ast_rankInt64League rank of the row's assists for the season and split.
tov_rankInt64League rank of the row's turnovers for the season and split.
stl_rankInt64League rank of the row's steals for the season and split.
blk_rankInt64League rank of the row's blocked shots for the season and split.
blka_rankInt64League rank of the row's shot attempts blocked by opponents (blocks against) for the season and split.
pf_rankInt64League rank of the row's personal fouls committed for the season and split.
pfd_rankInt64League rank of the row's personal fouls drawn for the season and split.
pts_rankInt64League rank of the row's points scored for the season and split.
plus_minus_rankInt64League rank of the row's plus-minus point differential while on the floor for the season and split.

DivisionTeamDashboard

col_nametypedescription
group_setStringName of the split group the row belongs to (e.g. Overall, By Opponent, By Month).
group_valueStringValue of the split within the group (e.g. a specific opponent, month, or result).
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.
rebFloat64Rebounds per game.
astFloat64Assists.
tovFloat64Turnovers.
stlFloat64Steals.
blkFloat64Blocks.
blkaFloat64Shot attempts blocked by opponents (blocks against).
pfFloat64Personal fouls.
pfdFloat64Personal fouls drawn.
ptsFloat64Points scored.
plus_minusFloat64Plus/minus point differential while on court.
gp_rankInt64League rank of the row's games played for the season and split.
w_rankInt64League rank of the row's wins for the season and split.
l_rankInt64League rank of the row's losses for the season and split.
w_pct_rankInt64League rank of the row's win percentage for the season and split.
min_rankInt64League rank of the row's minutes played for the season and split.
fgm_rankInt64League rank of the row's field goals made for the season and split.
fga_rankInt64League rank of the row's field goals attempted for the season and split.
fg_pct_rankInt64League rank of the row's field goal percentage for the season and split.
fg3_m_rankInt64League rank of the row's three-point field goals made for the season and split.
fg3_a_rankInt64League rank of the row's three-point field goals attempted for the season and split.
fg3_pct_rankInt64League rank of the row's three-point field goal percentage for the season and split.
ftm_rankInt64League rank of the row's free throws made for the season and split.
fta_rankInt64League rank of the row's free throws attempted for the season and split.
ft_pct_rankInt64League rank of the row's free throw percentage for the season and split.
oreb_rankInt64League rank of the row's offensive rebounds for the season and split.
dreb_rankInt64League rank of the row's defensive rebounds for the season and split.
reb_rankInt64League rank of the row's total rebounds for the season and split.
ast_rankInt64League rank of the row's assists for the season and split.
tov_rankInt64League rank of the row's turnovers for the season and split.
stl_rankInt64League rank of the row's steals for the season and split.
blk_rankInt64League rank of the row's blocked shots for the season and split.
blka_rankInt64League rank of the row's shot attempts blocked by opponents (blocks against) for the season and split.
pf_rankInt64League rank of the row's personal fouls committed for the season and split.
pfd_rankInt64League rank of the row's personal fouls drawn for the season and split.
pts_rankInt64League rank of the row's points scored for the season and split.
plus_minus_rankInt64League rank of the row's plus-minus point differential while on the floor for the season and split.

OpponentTeamDashboard

col_nametypedescription
group_setStringName of the split group the row belongs to (e.g. Overall, By Opponent, By Month).
group_valueStringValue of the split within the group (e.g. a specific opponent, month, or result).
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.
rebFloat64Rebounds per game.
astFloat64Assists.
tovFloat64Turnovers.
stlFloat64Steals.
blkFloat64Blocks.
blkaFloat64Shot attempts blocked by opponents (blocks against).
pfFloat64Personal fouls.
pfdFloat64Personal fouls drawn.
ptsFloat64Points scored.
plus_minusFloat64Plus/minus point differential while on court.
gp_rankInt64League rank of the row's games played for the season and split.
w_rankInt64League rank of the row's wins for the season and split.
l_rankInt64League rank of the row's losses for the season and split.
w_pct_rankInt64League rank of the row's win percentage for the season and split.
min_rankInt64League rank of the row's minutes played for the season and split.
fgm_rankInt64League rank of the row's field goals made for the season and split.
fga_rankInt64League rank of the row's field goals attempted for the season and split.
fg_pct_rankInt64League rank of the row's field goal percentage for the season and split.
fg3_m_rankInt64League rank of the row's three-point field goals made for the season and split.
fg3_a_rankInt64League rank of the row's three-point field goals attempted for the season and split.
fg3_pct_rankInt64League rank of the row's three-point field goal percentage for the season and split.
ftm_rankInt64League rank of the row's free throws made for the season and split.
fta_rankInt64League rank of the row's free throws attempted for the season and split.
ft_pct_rankInt64League rank of the row's free throw percentage for the season and split.
oreb_rankInt64League rank of the row's offensive rebounds for the season and split.
dreb_rankInt64League rank of the row's defensive rebounds for the season and split.
reb_rankInt64League rank of the row's total rebounds for the season and split.
ast_rankInt64League rank of the row's assists for the season and split.
tov_rankInt64League rank of the row's turnovers for the season and split.
stl_rankInt64League rank of the row's steals for the season and split.
blk_rankInt64League rank of the row's blocked shots for the season and split.
blka_rankInt64League rank of the row's shot attempts blocked by opponents (blocks against) for the season and split.
pf_rankInt64League rank of the row's personal fouls committed for the season and split.
pfd_rankInt64League rank of the row's personal fouls drawn for the season and split.
pts_rankInt64League rank of the row's points scored for the season and split.
plus_minus_rankInt64League rank of the row's plus-minus point differential while on the floor for the season and split.

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_teamdashboardbyopponent(league_id='00', season='2024-25')