Skip to main content

NBA — NBA Stats API (stats.nba.com) — Team dashboards: teamdashlineups–teamdashptshots

nba_stats_teamdashlineups​

Team dash lineups.

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

Valid URL: https://stats.nba.com/stats/teamdashlineups?DateFrom=&DateTo=&GameID=&GameSegment=&GroupQuantity=5&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_from_nullableY
DateTodate_to_nullableY
GameIDgame_id_nullableY
GameSegmentgame_segment_nullableY
GroupQuantitygroup_quantityY
LastNGameslast_n_gamesY
LeagueIDleague_idY
Locationlocation_nullableY
MeasureTypemeasure_type_detailed_defenseY
MonthmonthY
OpponentTeamIDopponent_team_idY
Outcomeoutcome_nullableY
PORoundpo_round_nullableY
PaceAdjustpace_adjustY
PerModeper_mode_detailedY
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_segment_nullableY
SeasonTypeseason_type_all_starYSeason 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_range_nullableY
TeamIDteam_idY
VsConferencevs_conference_nullableY
VsDivisionvs_division_nullableY

Returns​

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

Overall

col_nametypedescription
group_setStringName of the grouping family used for this dashboard or split row.
group_valueStringSpecific grouping value 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').
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.
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.

Lineups

col_nametypedescription
group_setStringName of the grouping family used for this dashboard or split row.
group_idStringESPN group id.
group_nameStringThe lineup's players as a ' - ' separated string of abbreviated names (two to five players, by group_quantity).
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.
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.
sum_time_playedInt64

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

nba_stats_teamdashptpass​

Team dash PT pass.

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

Valid URL: https://stats.nba.com/stats/teamdashptpass?DateFrom=&DateTo=&LastNGames=0&LeagueID=00&Location=&Month=0&OpponentTeamID=0&Outcome=&PerMode=Totals&Season=2024-25&SeasonSegment=&SeasonType=Regular+Season&TeamID=1610612749&VsConference=&VsDivision=

API ParameterPythonPatternRequiredNullableDescription
DateFromdate_from_nullableY
DateTodate_to_nullableY
LastNGameslast_n_gamesY
LeagueIDleague_idY
Locationlocation_nullableY
MonthmonthY
OpponentTeamIDopponent_team_idY
Outcomeoutcome_nullableY
PerModeper_mode_simpleY
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_segment_nullableY
SeasonTypeseason_type_all_starYSeason 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).
TeamIDteam_idY
VsConferencevs_conference_nullableY
VsDivisionvs_division_nullableY

Returns​

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

PassesMade

col_nametypedescription
team_idInt64Unique team identifier.
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
pass_typeStringPassing or assist metric for pass type in the requested NBA or WNBA Stats split.
gInt64Games played.
pass_fromString
pass_teammate_player_idInt64Stats API identifier for pass teammate player identifier associated with this NBA or WNBA Stats row.
frequencyFloat64NBA or WNBA Stats value for frequency in the teamdashptpass result set.
passFloat64Passes per game from the passer to the paired teammate (PassesMade set) or received by the player (PassesReceived set).
astFloat64Assists.
fgmFloat64Field goals made.
fgaFloat64Field goal attempts.
fg_pctFloat64Field goal percentage (0-1).
fg2_mFloat64Shooting metric for fg2m in the requested NBA or WNBA Stats split.
fg2_aFloat64Shooting metric for fg2a in the requested NBA or WNBA Stats split.
fg2_pctFloat64Percentage or rate for two-point field goals percentage in the requested NBA or WNBA Stats split.
fg3_mFloat64Three-point field goals made.
fg3_aFloat64Three-point field goal attempts.
fg3_pctFloat64Three-point field goal percentage (0-1).

PassesReceived

col_nametypedescription
team_idInt64Unique team identifier.
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
pass_typeStringPassing or assist metric for pass type in the requested NBA or WNBA Stats split.
gInt64Games played.
pass_toStringPassing or assist metric for pass to in the requested NBA or WNBA Stats split.
pass_teammate_player_idInt64Stats API identifier for pass teammate player identifier associated with this NBA or WNBA Stats row.
frequencyFloat64NBA or WNBA Stats value for frequency in the teamdashptpass result set.
passFloat64Passes per game from the passer to the paired teammate (PassesMade set) or received by the player (PassesReceived set).
astFloat64Assists.
fgmFloat64Field goals made.
fgaFloat64Field goal attempts.
fg_pctFloat64Field goal percentage (0-1).
fg2_mFloat64Shooting metric for fg2m in the requested NBA or WNBA Stats split.
fg2_aFloat64Shooting metric for fg2a in the requested NBA or WNBA Stats split.
fg2_pctFloat64Percentage or rate for two-point field goals percentage in the requested NBA or WNBA Stats split.
fg3_mFloat64Three-point field goals made.
fg3_aFloat64Three-point field goal attempts.
fg3_pctFloat64Three-point field goal percentage (0-1).

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

nba_stats_teamdashptreb​

Team dash PT reb.

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

Valid URL: https://stats.nba.com/stats/teamdashptreb?DateFrom=&DateTo=&GameSegment=&LastNGames=0&LeagueID=00&Location=&Month=0&OpponentTeamID=0&Outcome=&PerMode=Totals&Period=0&Season=2024-25&SeasonSegment=&SeasonType=Regular+Season&TeamID=1610612749&VsConference=&VsDivision=

API ParameterPythonPatternRequiredNullableDescription
DateFromdate_from_nullableY
DateTodate_to_nullableY
GameSegmentgame_segment_nullableY
LastNGameslast_n_gamesY
LeagueIDleague_idY
Locationlocation_nullableY
MonthmonthY
OpponentTeamIDopponent_team_idY
Outcomeoutcome_nullableY
PerModeper_mode_simpleY
PeriodperiodY
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_segment_nullableY
SeasonTypeseason_type_all_starYSeason 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).
TeamIDteam_idY
VsConferencevs_conference_nullableY
VsDivisionvs_division_nullableY

Returns​

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

OverallRebounding

col_nametypedescription
team_idInt64Unique team identifier.
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
gInt64Games played.
overallStringOverall pick number.
reb_frequencyFloat64Rebounding metric for rebounds frequency in the requested NBA or WNBA Stats split.
orebFloat64Offensive rebounds.
drebFloat64Defensive rebounds.
rebFloat64Rebounds per game.
c_orebFloat64Rebounding metric for c offensive rebounds in the requested NBA or WNBA Stats split.
c_drebFloat64Rebounding metric for c defensive rebounds in the requested NBA or WNBA Stats split.
c_rebFloat64Rebounding metric for c rebounds in the requested NBA or WNBA Stats split.
c_reb_pctFloat64Percentage or rate for c rebounds percentage in the requested NBA or WNBA Stats split.
uc_orebFloat64Rebounding metric for uc offensive rebounds in the requested NBA or WNBA Stats split.
uc_drebFloat64Rebounding metric for uc defensive rebounds in the requested NBA or WNBA Stats split.
uc_rebFloat64Rebounding metric for uc rebounds in the requested NBA or WNBA Stats split.
uc_reb_pctFloat64Percentage or rate for uc rebounds percentage in the requested NBA or WNBA Stats split.

ShotTypeRebounding

col_nametypedescription
team_idInt64Unique team identifier.
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
sort_orderInt64Display order of the split rows within the result set (1 = first), as a string.
gInt64Games played.
shot_type_rangeStringShooting metric for shot type range in the requested NBA or WNBA Stats split.
reb_frequencyFloat64Rebounding metric for rebounds frequency in the requested NBA or WNBA Stats split.
orebFloat64Offensive rebounds.
drebFloat64Defensive rebounds.
rebFloat64Rebounds per game.
c_orebFloat64Rebounding metric for c offensive rebounds in the requested NBA or WNBA Stats split.
c_drebFloat64Rebounding metric for c defensive rebounds in the requested NBA or WNBA Stats split.
c_rebFloat64Rebounding metric for c rebounds in the requested NBA or WNBA Stats split.
c_reb_pctFloat64Percentage or rate for c rebounds percentage in the requested NBA or WNBA Stats split.
uc_orebFloat64Rebounding metric for uc offensive rebounds in the requested NBA or WNBA Stats split.
uc_drebFloat64Rebounding metric for uc defensive rebounds in the requested NBA or WNBA Stats split.
uc_rebFloat64Rebounding metric for uc rebounds in the requested NBA or WNBA Stats split.
uc_reb_pctFloat64Percentage or rate for uc rebounds percentage in the requested NBA or WNBA Stats split.

NumContestedRebounding

col_nametypedescription
team_idInt64Unique team identifier.
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
sort_orderInt64Display order of the split rows within the result set (1 = first), as a string.
gInt64Games played.
reb_num_contesting_rangeString
reb_frequencyFloat64Rebounding metric for rebounds frequency in the requested NBA or WNBA Stats split.
orebFloat64Offensive rebounds.
drebFloat64Defensive rebounds.
rebFloat64Rebounds per game.
c_orebFloat64Rebounding metric for c offensive rebounds in the requested NBA or WNBA Stats split.
c_drebFloat64Rebounding metric for c defensive rebounds in the requested NBA or WNBA Stats split.
c_rebFloat64Rebounding metric for c rebounds in the requested NBA or WNBA Stats split.
c_reb_pctFloat64Percentage or rate for c rebounds percentage in the requested NBA or WNBA Stats split.
uc_orebFloat64Rebounding metric for uc offensive rebounds in the requested NBA or WNBA Stats split.
uc_drebFloat64Rebounding metric for uc defensive rebounds in the requested NBA or WNBA Stats split.
uc_rebFloat64Rebounding metric for uc rebounds in the requested NBA or WNBA Stats split.
uc_reb_pctFloat64Percentage or rate for uc rebounds percentage in the requested NBA or WNBA Stats split.

ShotDistanceRebounding

col_nametypedescription
team_idInt64Unique team identifier.
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
sort_orderInt64Display order of the split rows within the result set (1 = first), as a string.
gInt64Games played.
shot_dist_rangeString
reb_frequencyFloat64Rebounding metric for rebounds frequency in the requested NBA or WNBA Stats split.
orebFloat64Offensive rebounds.
drebFloat64Defensive rebounds.
rebFloat64Rebounds per game.
c_orebFloat64Rebounding metric for c offensive rebounds in the requested NBA or WNBA Stats split.
c_drebFloat64Rebounding metric for c defensive rebounds in the requested NBA or WNBA Stats split.
c_rebFloat64Rebounding metric for c rebounds in the requested NBA or WNBA Stats split.
c_reb_pctFloat64Percentage or rate for c rebounds percentage in the requested NBA or WNBA Stats split.
uc_orebFloat64Rebounding metric for uc offensive rebounds in the requested NBA or WNBA Stats split.
uc_drebFloat64Rebounding metric for uc defensive rebounds in the requested NBA or WNBA Stats split.
uc_rebFloat64Rebounding metric for uc rebounds in the requested NBA or WNBA Stats split.
uc_reb_pctFloat64Percentage or rate for uc rebounds percentage in the requested NBA or WNBA Stats split.

RebDistanceRebounding

col_nametypedescription
team_idInt64Unique team identifier.
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
sort_orderInt64Display order of the split rows within the result set (1 = first), as a string.
gInt64Games played.
reb_dist_rangeString
reb_frequencyFloat64Rebounding metric for rebounds frequency in the requested NBA or WNBA Stats split.
orebFloat64Offensive rebounds.
drebFloat64Defensive rebounds.
rebFloat64Rebounds per game.
c_orebFloat64Rebounding metric for c offensive rebounds in the requested NBA or WNBA Stats split.
c_drebFloat64Rebounding metric for c defensive rebounds in the requested NBA or WNBA Stats split.
c_rebFloat64Rebounding metric for c rebounds in the requested NBA or WNBA Stats split.
c_reb_pctFloat64Percentage or rate for c rebounds percentage in the requested NBA or WNBA Stats split.
uc_orebFloat64Rebounding metric for uc offensive rebounds in the requested NBA or WNBA Stats split.
uc_drebFloat64Rebounding metric for uc defensive rebounds in the requested NBA or WNBA Stats split.
uc_rebFloat64Rebounding metric for uc rebounds in the requested NBA or WNBA Stats split.
uc_reb_pctFloat64Percentage or rate for uc rebounds percentage in the requested NBA or WNBA Stats 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_teamdashptreb(league_id='00', season='2024-25')

nba_stats_teamdashptshots​

Team dash PT shots.

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

Valid URL: https://stats.nba.com/stats/teamdashptshots?DateFrom=&DateTo=&GameSegment=&LastNGames=0&LeagueID=00&Location=&Month=0&OpponentTeamID=0&Outcome=&PerMode=Totals&Period=0&Season=2024-25&SeasonSegment=&SeasonType=Regular+Season&TeamID=1610612749&VsConference=&VsDivision=

API ParameterPythonPatternRequiredNullableDescription
DateFromdate_from_nullableY
DateTodate_to_nullableY
GameSegmentgame_segment_nullableY
LastNGameslast_n_gamesY
LeagueIDleague_idY
Locationlocation_nullableY
MonthmonthY
OpponentTeamIDopponent_team_idY
Outcomeoutcome_nullableY
PerModeper_mode_simpleY
PeriodperiodY
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_segment_nullableY
SeasonTypeseason_type_all_starYSeason 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).
TeamIDteam_idY
VsConferencevs_conference_nullableY
VsDivisionvs_division_nullableY

Returns​

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

GeneralShooting

col_nametypedescription
team_idInt64Unique team identifier.
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
sort_orderInt64Display order of the split rows within the result set (1 = first), as a string.
gInt64Games played.
shot_typeStringShot type label (e.g. 'Jump Shot', 'Layup').
fga_frequencyFloat64Shooting metric for fga frequency in the requested NBA or WNBA Stats split.
fgmFloat64Field goals made.
fgaFloat64Field goal attempts.
fg_pctFloat64Field goal percentage (0-1).
efg_pctFloat64Percentage or rate for efg percentage in the requested NBA or WNBA Stats split.
fg2_a_frequencyFloat64Shooting metric for fg2a frequency in the requested NBA or WNBA Stats split.
fg2_mFloat64Shooting metric for fg2m in the requested NBA or WNBA Stats split.
fg2_aFloat64Shooting metric for fg2a in the requested NBA or WNBA Stats split.
fg2_pctFloat64Percentage or rate for two-point field goals percentage in the requested NBA or WNBA Stats split.
fg3_a_frequencyFloat64Shooting metric for fg3a frequency in the requested NBA or WNBA Stats split.
fg3_mFloat64Three-point field goals made.
fg3_aFloat64Three-point field goal attempts.
fg3_pctFloat64Three-point field goal percentage (0-1).

ShotClockShooting

col_nametypedescription
team_idInt64Unique team identifier.
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
sort_orderInt64Display order of the split rows within the result set (1 = first), as a string.
gInt64Games played.
shot_clock_rangeString
fga_frequencyFloat64Shooting metric for fga frequency in the requested NBA or WNBA Stats split.
fgmFloat64Field goals made.
fgaFloat64Field goal attempts.
fg_pctFloat64Field goal percentage (0-1).
efg_pctFloat64Percentage or rate for efg percentage in the requested NBA or WNBA Stats split.
fg2_a_frequencyFloat64Shooting metric for fg2a frequency in the requested NBA or WNBA Stats split.
fg2_mFloat64Shooting metric for fg2m in the requested NBA or WNBA Stats split.
fg2_aFloat64Shooting metric for fg2a in the requested NBA or WNBA Stats split.
fg2_pctFloat64Percentage or rate for two-point field goals percentage in the requested NBA or WNBA Stats split.
fg3_a_frequencyFloat64Shooting metric for fg3a frequency in the requested NBA or WNBA Stats split.
fg3_mFloat64Three-point field goals made.
fg3_aFloat64Three-point field goal attempts.
fg3_pctFloat64Three-point field goal percentage (0-1).

DribbleShooting

col_nametypedescription
team_idInt64Unique team identifier.
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
sort_orderInt64Display order of the split rows within the result set (1 = first), as a string.
gInt64Games played.
dribble_rangeString
fga_frequencyFloat64Shooting metric for fga frequency in the requested NBA or WNBA Stats split.
fgmFloat64Field goals made.
fgaFloat64Field goal attempts.
fg_pctFloat64Field goal percentage (0-1).
efg_pctFloat64Percentage or rate for efg percentage in the requested NBA or WNBA Stats split.
fg2_a_frequencyFloat64Shooting metric for fg2a frequency in the requested NBA or WNBA Stats split.
fg2_mFloat64Shooting metric for fg2m in the requested NBA or WNBA Stats split.
fg2_aFloat64Shooting metric for fg2a in the requested NBA or WNBA Stats split.
fg2_pctFloat64Percentage or rate for two-point field goals percentage in the requested NBA or WNBA Stats split.
fg3_a_frequencyFloat64Shooting metric for fg3a frequency in the requested NBA or WNBA Stats split.
fg3_mFloat64Three-point field goals made.
fg3_aFloat64Three-point field goal attempts.
fg3_pctFloat64Three-point field goal percentage (0-1).

ClosestDefenderShooting

col_nametypedescription
team_idInt64Unique team identifier.
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
sort_orderInt64Display order of the split rows within the result set (1 = first), as a string.
gInt64Games played.
close_def_dist_rangeString
fga_frequencyFloat64Shooting metric for fga frequency in the requested NBA or WNBA Stats split.
fgmFloat64Field goals made.
fgaFloat64Field goal attempts.
fg_pctFloat64Field goal percentage (0-1).
efg_pctFloat64Percentage or rate for efg percentage in the requested NBA or WNBA Stats split.
fg2_a_frequencyFloat64Shooting metric for fg2a frequency in the requested NBA or WNBA Stats split.
fg2_mFloat64Shooting metric for fg2m in the requested NBA or WNBA Stats split.
fg2_aFloat64Shooting metric for fg2a in the requested NBA or WNBA Stats split.
fg2_pctFloat64Percentage or rate for two-point field goals percentage in the requested NBA or WNBA Stats split.
fg3_a_frequencyFloat64Shooting metric for fg3a frequency in the requested NBA or WNBA Stats split.
fg3_mFloat64Three-point field goals made.
fg3_aFloat64Three-point field goal attempts.
fg3_pctFloat64Three-point field goal percentage (0-1).

ClosestDefender10ftPlusShooting

col_nametypedescription
team_idInt64Unique team identifier.
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
sort_orderInt64Display order of the split rows within the result set (1 = first), as a string.
gInt64Games played.
close_def_dist_rangeString
fga_frequencyFloat64Shooting metric for fga frequency in the requested NBA or WNBA Stats split.
fgmFloat64Field goals made.
fgaFloat64Field goal attempts.
fg_pctFloat64Field goal percentage (0-1).
efg_pctFloat64Percentage or rate for efg percentage in the requested NBA or WNBA Stats split.
fg2_a_frequencyFloat64Shooting metric for fg2a frequency in the requested NBA or WNBA Stats split.
fg2_mFloat64Shooting metric for fg2m in the requested NBA or WNBA Stats split.
fg2_aFloat64Shooting metric for fg2a in the requested NBA or WNBA Stats split.
fg2_pctFloat64Percentage or rate for two-point field goals percentage in the requested NBA or WNBA Stats split.
fg3_a_frequencyFloat64Shooting metric for fg3a frequency in the requested NBA or WNBA Stats split.
fg3_mFloat64Three-point field goals made.
fg3_aFloat64Three-point field goal attempts.
fg3_pctFloat64Three-point field goal percentage (0-1).

TouchTimeShooting

col_nametypedescription
team_idInt64Unique team identifier.
team_nameStringFull team display name (e.g. 'Las Vegas Aces').
sort_orderInt64Display order of the split rows within the result set (1 = first), as a string.
gInt64Games played.
touch_time_rangeStringTime value for touch time range in the NBA or WNBA Stats result set.
fga_frequencyFloat64Shooting metric for fga frequency in the requested NBA or WNBA Stats split.
fgmFloat64Field goals made.
fgaFloat64Field goal attempts.
fg_pctFloat64Field goal percentage (0-1).
efg_pctFloat64Percentage or rate for efg percentage in the requested NBA or WNBA Stats split.
fg2_a_frequencyFloat64Shooting metric for fg2a frequency in the requested NBA or WNBA Stats split.
fg2_mFloat64Shooting metric for fg2m in the requested NBA or WNBA Stats split.
fg2_aFloat64Shooting metric for fg2a in the requested NBA or WNBA Stats split.
fg2_pctFloat64Percentage or rate for two-point field goals percentage in the requested NBA or WNBA Stats split.
fg3_a_frequencyFloat64Shooting metric for fg3a frequency in the requested NBA or WNBA Stats split.
fg3_mFloat64Three-point field goals made.
fg3_aFloat64Three-point field goal attempts.
fg3_pctFloat64Three-point field goal percentage (0-1).

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