Skip to main content
Version: 0.1.5

NBA — NBA Stats API (stats.nba.com) — Player dashboards: playerdashboardbyyearoveryear–playerdashptshots

nba_stats_playerdashboardbyyearoveryear​

GET /stats/playerdashboardbyyearoveryear

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

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

API ParameterPythonPatternRequiredNullableDescription
DateFromdate_from_nullableY
DateTodate_to_nullableY
GameSegmentgame_segment_nullableY
LastNGameslast_n_gamesY
LeagueIDleague_idY
Locationlocation_nullableY
MeasureTypemeasure_type_detailedY
MonthmonthY
OpponentTeamIDopponent_team_idY
Outcomeoutcome_nullableY
PORoundpo_round_nullableY
PaceAdjustpace_adjustY
PerModeper_mode_detailedY
PeriodperiodY
PlayerIDplayer_idY
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_playoffsYSeason 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
VsConferencevs_conference_nullableY
VsDivisionvs_division_nullableY

Returns​

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

OverallPlayerDashboard

col_nametypedescription
group_setcharacterName of the grouping family used for this dashboard or split row.
group_valuecharacterSpecific grouping value for this dashboard or split row.
team_idintegerUnique team identifier.
team_abbreviationcharacterShort team abbreviation (e.g. 'LAS').
max_game_datecharacterDate or timestamp for maximum game date in the NBA or WNBA Stats result set.
gpintegerGames played.
wintegerWins.
lintegerLosses.
w_pctnumericWins percentage (0-1 decimal).
minnumericMinutes played.
fgmnumericField goals made.
fganumericField goal attempts.
fg_pctnumericField goal percentage (0-1).
fg3_mnumericThree-point field goals made.
fg3_anumericThree-point field goal attempts.
fg3_pctnumericThree-point field goal percentage (0-1).
ftmnumericFree throws made.
ftanumericFree throw attempts.
ft_pctnumericFree throw percentage (0-1).
orebnumericOffensive rebounds.
drebnumericDefensive rebounds.
rebnumericRebounds per game.
astnumericAssists.
tovnumericTurnovers.
stlnumericSteals.
blknumericBlocks.
blkanumericBlocked field-goal attempts against for the requested NBA or WNBA Stats split.
pfnumericPersonal fouls.
pfdnumericPersonal fouls drawn for the requested NBA or WNBA Stats split.
ptsnumericPoints scored.
plus_minusnumericPlus/minus point differential while on court.
nba_fantasy_ptsnumericNba fantasy points for the requested NBA or WNBA Stats split.
dd2integerDouble-doubles for the requested NBA or WNBA Stats split.
td3integerTriple-doubles for the requested NBA or WNBA Stats split.
wnba_fantasy_ptsnumericWnba fantasy points for the requested NBA or WNBA Stats split.
gp_rankintegerRank for games played within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
w_rankintegerRank for wins within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
l_rankintegerRank for losses within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
w_pct_rankintegerRank for winning percentage within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
min_rankintegerRank for minutes played within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
fgm_rankintegerRank for field goals made within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
fga_rankintegerRank for field goals attempted within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
fg_pct_rankintegerRank for field-goal percentage within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
fg3_m_rankintegerRank for three-point field goals made within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
fg3_a_rankintegerRank for three-point field goals attempted within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
fg3_pct_rankintegerRank for three-point field-goal percentage within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
ftm_rankintegerRank for free throws made within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
fta_rankintegerRank for free throws attempted within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
ft_pct_rankintegerRank for free-throw percentage within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
oreb_rankintegerRank for offensive rebounds within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
dreb_rankintegerRank for defensive rebounds within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
reb_rankintegerRank for total rebounds within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
ast_rankintegerRank for assists within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
tov_rankintegerRank for turnovers within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
stl_rankintegerRank for steals within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
blk_rankintegerRank for blocks within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
blka_rankintegerRank for blocked field-goal attempts against within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
pf_rankintegerRank for personal fouls within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
pfd_rankintegerRank for personal fouls drawn within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
pts_rankintegerRank for points within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
plus_minus_rankintegerRank for plus-minus within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
nba_fantasy_pts_rankintegerRank for NBA fantasy points within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
dd2_rankintegerRank for double-doubles within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
td3_rankintegerRank for triple-doubles within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
wnba_fantasy_pts_rankintegerRank for WNBA fantasy points within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.

ByYearPlayerDashboard

col_nametypedescription
group_setcharacterName of the grouping family used for this dashboard or split row.
group_valuecharacterSpecific grouping value for this dashboard or split row.
team_idintegerUnique team identifier.
team_abbreviationcharacterShort team abbreviation (e.g. 'LAS').
max_game_datecharacterDate or timestamp for maximum game date in the NBA or WNBA Stats result set.
gpintegerGames played.
wintegerWins.
lintegerLosses.
w_pctnumericWins percentage (0-1 decimal).
minnumericMinutes played.
fgmnumericField goals made.
fganumericField goal attempts.
fg_pctnumericField goal percentage (0-1).
fg3_mnumericThree-point field goals made.
fg3_anumericThree-point field goal attempts.
fg3_pctnumericThree-point field goal percentage (0-1).
ftmnumericFree throws made.
ftanumericFree throw attempts.
ft_pctnumericFree throw percentage (0-1).
orebnumericOffensive rebounds.
drebnumericDefensive rebounds.
rebnumericRebounds per game.
astnumericAssists.
tovnumericTurnovers.
stlnumericSteals.
blknumericBlocks.
blkanumericBlocked field-goal attempts against for the requested NBA or WNBA Stats split.
pfnumericPersonal fouls.
pfdnumericPersonal fouls drawn for the requested NBA or WNBA Stats split.
ptsnumericPoints scored.
plus_minusnumericPlus/minus point differential while on court.
nba_fantasy_ptsnumericNba fantasy points for the requested NBA or WNBA Stats split.
dd2integerDouble-doubles for the requested NBA or WNBA Stats split.
td3integerTriple-doubles for the requested NBA or WNBA Stats split.
wnba_fantasy_ptsnumericWnba fantasy points for the requested NBA or WNBA Stats split.
gp_rankintegerRank for games played within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
w_rankintegerRank for wins within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
l_rankintegerRank for losses within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
w_pct_rankintegerRank for winning percentage within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
min_rankintegerRank for minutes played within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
fgm_rankintegerRank for field goals made within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
fga_rankintegerRank for field goals attempted within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
fg_pct_rankintegerRank for field-goal percentage within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
fg3_m_rankintegerRank for three-point field goals made within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
fg3_a_rankintegerRank for three-point field goals attempted within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
fg3_pct_rankintegerRank for three-point field-goal percentage within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
ftm_rankintegerRank for free throws made within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
fta_rankintegerRank for free throws attempted within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
ft_pct_rankintegerRank for free-throw percentage within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
oreb_rankintegerRank for offensive rebounds within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
dreb_rankintegerRank for defensive rebounds within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
reb_rankintegerRank for total rebounds within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
ast_rankintegerRank for assists within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
tov_rankintegerRank for turnovers within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
stl_rankintegerRank for steals within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
blk_rankintegerRank for blocks within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
blka_rankintegerRank for blocked field-goal attempts against within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
pf_rankintegerRank for personal fouls within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
pfd_rankintegerRank for personal fouls drawn within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
pts_rankintegerRank for points within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
plus_minus_rankintegerRank for plus-minus within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
nba_fantasy_pts_rankintegerRank for NBA fantasy points within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
dd2_rankintegerRank for double-doubles within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
td3_rankintegerRank for triple-doubles within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
wnba_fantasy_pts_rankintegerRank for WNBA fantasy points within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.

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

Example​

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

Last validated n/a.

nba_stats_playerdashptpass​

GET /stats/playerdashptpass

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

Valid URL: https://stats.nba.com/stats/playerdashptpass?DateFrom=&DateTo=&LastNGames=0&LeagueID=00&Location=&Month=0&OpponentTeamID=0&Outcome=&PerMode=Totals&PlayerID=2544&Season=2024-25&SeasonSegment=&SeasonType=Regular+Season&TeamID=0&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
PlayerIDplayer_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.
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
player_idintegerUnique player identifier.
player_name_last_firstcharacterPlayer display name formatted as Last, First for sorting in NBA or WNBA Stats tables.
team_namecharacterFull team display name (e.g. 'Las Vegas Aces').
team_idintegerUnique team identifier.
team_abbreviationcharacterShort team abbreviation (e.g. 'LAS').
pass_typecharacterPassing or assist metric for pass type in the requested NBA or WNBA Stats split.
gintegerGames played.
pass_tocharacter
pass_teammate_player_idintegerStats API identifier for pass teammate player identifier associated with this NBA or WNBA Stats row.
frequencynumericNBA or WNBA Stats value for frequency in the playerdashptpass result set.
passnumericPasses per game to the paired teammate (PassesMade set) or received from the paired teammate (PassesReceived set).
astnumericAssists.
fgmnumericField goals made.
fganumericField goal attempts.
fg_pctnumericField goal percentage (0-1).
fg2_mnumericShooting metric for fg2m in the requested NBA or WNBA Stats split.
fg2_anumericShooting metric for fg2a in the requested NBA or WNBA Stats split.
fg2_pctnumericPercentage or rate for two-point field goals percentage in the requested NBA or WNBA Stats split.
fg3_mnumericThree-point field goals made.
fg3_anumericThree-point field goal attempts.
fg3_pctnumericThree-point field goal percentage (0-1).

PassesReceived

col_nametypedescription
player_idintegerUnique player identifier.
player_name_last_firstcharacterPlayer display name formatted as Last, First for sorting in NBA or WNBA Stats tables.
team_namecharacterFull team display name (e.g. 'Las Vegas Aces').
team_idintegerUnique team identifier.
team_abbreviationcharacterShort team abbreviation (e.g. 'LAS').
pass_typecharacterPassing or assist metric for pass type in the requested NBA or WNBA Stats split.
gintegerGames played.
pass_fromcharacterPassing or assist metric for pass from in the requested NBA or WNBA Stats split.
pass_teammate_player_idintegerStats API identifier for pass teammate player identifier associated with this NBA or WNBA Stats row.
frequencynumericNBA or WNBA Stats value for frequency in the playerdashptpass result set.
passnumericPasses per game to the paired teammate (PassesMade set) or received from the paired teammate (PassesReceived set).
astnumericAssists.
fgmnumericField goals made.
fganumericField goal attempts.
fg_pctnumericField goal percentage (0-1).
fg2_mnumericShooting metric for fg2m in the requested NBA or WNBA Stats split.
fg2_anumericShooting metric for fg2a in the requested NBA or WNBA Stats split.
fg2_pctnumericPercentage or rate for two-point field goals percentage in the requested NBA or WNBA Stats split.
fg3_mnumericThree-point field goals made.
fg3_anumericThree-point field goal attempts.
fg3_pctnumericThree-point field goal percentage (0-1).

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

Example​

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

Last validated n/a.

nba_stats_playerdashptreb​

GET /stats/playerdashptreb

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

Valid URL: https://stats.nba.com/stats/playerdashptreb?DateFrom=&DateTo=&GameSegment=&LastNGames=0&LeagueID=00&Location=&Month=0&OpponentTeamID=0&Outcome=&PerMode=Totals&Period=0&PlayerID=2544&Season=2024-25&SeasonSegment=&SeasonType=Regular+Season&TeamID=0&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
PlayerIDplayer_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.
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
player_idintegerUnique player identifier.
player_name_last_firstcharacterPlayer display name formatted as Last, First for sorting in NBA or WNBA Stats tables.
gintegerGames played.
overallcharacterOverall pick number.
reb_frequencynumericRebounding metric for rebounds frequency in the requested NBA or WNBA Stats split.
orebnumericOffensive rebounds.
drebnumericDefensive rebounds.
rebnumericRebounds per game.
c_orebnumericRebounding metric for c offensive rebounds in the requested NBA or WNBA Stats split.
c_drebnumericRebounding metric for c defensive rebounds in the requested NBA or WNBA Stats split.
c_rebnumericRebounding metric for c rebounds in the requested NBA or WNBA Stats split.
c_reb_pctnumericPercentage or rate for c rebounds percentage in the requested NBA or WNBA Stats split.
uc_orebnumericRebounding metric for uc offensive rebounds in the requested NBA or WNBA Stats split.
uc_drebnumericRebounding metric for uc defensive rebounds in the requested NBA or WNBA Stats split.
uc_rebnumericRebounding metric for uc rebounds in the requested NBA or WNBA Stats split.
uc_reb_pctnumericPercentage or rate for uc rebounds percentage in the requested NBA or WNBA Stats split.

ShotTypeRebounding

col_nametypedescription
player_idintegerUnique player identifier.
player_name_last_firstcharacterPlayer display name formatted as Last, First for sorting in NBA or WNBA Stats tables.
sort_orderintegerDisplay order of the split rows within the result set (1 = first), as a string.
gintegerGames played.
shot_type_rangecharacterShooting metric for shot type range in the requested NBA or WNBA Stats split.
reb_frequencynumericRebounding metric for rebounds frequency in the requested NBA or WNBA Stats split.
orebnumericOffensive rebounds.
drebnumericDefensive rebounds.
rebnumericRebounds per game.
c_orebnumericRebounding metric for c offensive rebounds in the requested NBA or WNBA Stats split.
c_drebnumericRebounding metric for c defensive rebounds in the requested NBA or WNBA Stats split.
c_rebnumericRebounding metric for c rebounds in the requested NBA or WNBA Stats split.
c_reb_pctnumericPercentage or rate for c rebounds percentage in the requested NBA or WNBA Stats split.
uc_orebnumericRebounding metric for uc offensive rebounds in the requested NBA or WNBA Stats split.
uc_drebnumericRebounding metric for uc defensive rebounds in the requested NBA or WNBA Stats split.
uc_rebnumericRebounding metric for uc rebounds in the requested NBA or WNBA Stats split.
uc_reb_pctnumericPercentage or rate for uc rebounds percentage in the requested NBA or WNBA Stats split.

NumContestedRebounding

col_nametypedescription
player_idintegerUnique player identifier.
player_name_last_firstcharacterPlayer display name formatted as Last, First for sorting in NBA or WNBA Stats tables.
sort_orderintegerDisplay order of the split rows within the result set (1 = first), as a string.
gintegerGames played.
reb_num_contesting_rangecharacter
reb_frequencynumericRebounding metric for rebounds frequency in the requested NBA or WNBA Stats split.
orebnumericOffensive rebounds.
drebnumericDefensive rebounds.
rebnumericRebounds per game.
c_orebnumericRebounding metric for c offensive rebounds in the requested NBA or WNBA Stats split.
c_drebnumericRebounding metric for c defensive rebounds in the requested NBA or WNBA Stats split.
c_rebnumericRebounding metric for c rebounds in the requested NBA or WNBA Stats split.
c_reb_pctnumericPercentage or rate for c rebounds percentage in the requested NBA or WNBA Stats split.
uc_orebnumericRebounding metric for uc offensive rebounds in the requested NBA or WNBA Stats split.
uc_drebnumericRebounding metric for uc defensive rebounds in the requested NBA or WNBA Stats split.
uc_rebnumericRebounding metric for uc rebounds in the requested NBA or WNBA Stats split.
uc_reb_pctnumericPercentage or rate for uc rebounds percentage in the requested NBA or WNBA Stats split.

ShotDistanceRebounding

col_nametypedescription
player_idintegerUnique player identifier.
player_name_last_firstcharacterPlayer display name formatted as Last, First for sorting in NBA or WNBA Stats tables.
sort_orderintegerDisplay order of the split rows within the result set (1 = first), as a string.
gintegerGames played.
shot_dist_rangecharacter
reb_frequencynumericRebounding metric for rebounds frequency in the requested NBA or WNBA Stats split.
orebnumericOffensive rebounds.
drebnumericDefensive rebounds.
rebnumericRebounds per game.
c_orebnumericRebounding metric for c offensive rebounds in the requested NBA or WNBA Stats split.
c_drebnumericRebounding metric for c defensive rebounds in the requested NBA or WNBA Stats split.
c_rebnumericRebounding metric for c rebounds in the requested NBA or WNBA Stats split.
c_reb_pctnumericPercentage or rate for c rebounds percentage in the requested NBA or WNBA Stats split.
uc_orebnumericRebounding metric for uc offensive rebounds in the requested NBA or WNBA Stats split.
uc_drebnumericRebounding metric for uc defensive rebounds in the requested NBA or WNBA Stats split.
uc_rebnumericRebounding metric for uc rebounds in the requested NBA or WNBA Stats split.
uc_reb_pctnumericPercentage or rate for uc rebounds percentage in the requested NBA or WNBA Stats split.

RebDistanceRebounding

col_nametypedescription
player_idintegerUnique player identifier.
player_name_last_firstcharacterPlayer display name formatted as Last, First for sorting in NBA or WNBA Stats tables.
sort_orderintegerDisplay order of the split rows within the result set (1 = first), as a string.
gintegerGames played.
reb_dist_rangecharacter
reb_frequencynumericRebounding metric for rebounds frequency in the requested NBA or WNBA Stats split.
orebnumericOffensive rebounds.
drebnumericDefensive rebounds.
rebnumericRebounds per game.
c_orebnumericRebounding metric for c offensive rebounds in the requested NBA or WNBA Stats split.
c_drebnumericRebounding metric for c defensive rebounds in the requested NBA or WNBA Stats split.
c_rebnumericRebounding metric for c rebounds in the requested NBA or WNBA Stats split.
c_reb_pctnumericPercentage or rate for c rebounds percentage in the requested NBA or WNBA Stats split.
uc_orebnumericRebounding metric for uc offensive rebounds in the requested NBA or WNBA Stats split.
uc_drebnumericRebounding metric for uc defensive rebounds in the requested NBA or WNBA Stats split.
uc_rebnumericRebounding metric for uc rebounds in the requested NBA or WNBA Stats split.
uc_reb_pctnumericPercentage or rate for uc rebounds percentage in the requested NBA or WNBA Stats split.

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

Example​

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

Last validated n/a.

nba_stats_playerdashptshotdefend​

GET /stats/playerdashptshotdefend

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

Valid URL: https://stats.nba.com/stats/playerdashptshotdefend?DateFrom=&DateTo=&GameSegment=&LastNGames=0&LeagueID=00&Location=&Month=0&OpponentTeamID=0&Outcome=&PerMode=Totals&Period=0&PlayerID=2544&Season=2024-25&SeasonSegment=&SeasonType=Regular+Season&TeamID=0&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
PlayerIDplayer_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.
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 tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
matchupidintegerStats API identifier for matchupid associated with this NBA or WNBA Stats row.
gpintegerGames played.
gintegerGames played.
defense_categorycharacterNBA or WNBA Stats value for defense category in the playerdashptshotdefend result set.
freqnumericNBA or WNBA Stats value for freq in the playerdashptshotdefend result set.
d_fgmnumericShooting metric for d fgm in the requested NBA or WNBA Stats split.
d_fganumericShooting metric for d fga in the requested NBA or WNBA Stats split.
d_fg_pctnumericPercentage or rate for d field goals percentage in the requested NBA or WNBA Stats split.
normal_fg_pctnumericPercentage or rate for normal field goals percentage in the requested NBA or WNBA Stats split.
pct_plusminusnumericPercentage share of plusminus for the requested NBA or WNBA Stats split.

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

Example​

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

Last validated n/a.

nba_stats_playerdashptshots​

GET /stats/playerdashptshots

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

Valid URL: https://stats.nba.com/stats/playerdashptshots?DateFrom=&DateTo=&GameSegment=&LastNGames=0&LeagueID=00&Location=&Month=0&OpponentTeamID=0&Outcome=&PerMode=Totals&Period=0&PlayerID=2544&Season=2024-25&SeasonSegment=&SeasonType=Regular+Season&TeamID=1610612747&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
PlayerIDplayer_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.
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 (Overall, 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).

Overall

col_nametypedescription
player_idintegerUnique player identifier.
player_name_last_firstcharacterPlayer display name formatted as Last, First for sorting in NBA or WNBA Stats tables.
sort_orderintegerDisplay order of the split rows within the result set (1 = first), as a string.
gpintegerGames played.
gintegerGames played.
shot_typecharacterShot type label (e.g. 'Jump Shot', 'Layup').
fga_frequencynumericShooting metric for fga frequency in the requested NBA or WNBA Stats split.
fgmnumericField goals made.
fganumericField goal attempts.
fg_pctnumericField goal percentage (0-1).
efg_pctnumericPercentage or rate for efg percentage in the requested NBA or WNBA Stats split.
fg2_a_frequencynumericShooting metric for fg2a frequency in the requested NBA or WNBA Stats split.
fg2_mnumericShooting metric for fg2m in the requested NBA or WNBA Stats split.
fg2_anumericShooting metric for fg2a in the requested NBA or WNBA Stats split.
fg2_pctnumericPercentage or rate for two-point field goals percentage in the requested NBA or WNBA Stats split.
fg3_a_frequencynumericShooting metric for fg3a frequency in the requested NBA or WNBA Stats split.
fg3_mnumericThree-point field goals made.
fg3_anumericThree-point field goal attempts.
fg3_pctnumericThree-point field goal percentage (0-1).

GeneralShooting

col_nametypedescription
player_idintegerUnique player identifier.
player_name_last_firstcharacterPlayer display name formatted as Last, First for sorting in NBA or WNBA Stats tables.
sort_orderintegerDisplay order of the split rows within the result set (1 = first), as a string.
gpintegerGames played.
gintegerGames played.
shot_typecharacterShot type label (e.g. 'Jump Shot', 'Layup').
fga_frequencynumericShooting metric for fga frequency in the requested NBA or WNBA Stats split.
fgmnumericField goals made.
fganumericField goal attempts.
fg_pctnumericField goal percentage (0-1).
efg_pctnumericPercentage or rate for efg percentage in the requested NBA or WNBA Stats split.
fg2_a_frequencynumericShooting metric for fg2a frequency in the requested NBA or WNBA Stats split.
fg2_mnumericShooting metric for fg2m in the requested NBA or WNBA Stats split.
fg2_anumericShooting metric for fg2a in the requested NBA or WNBA Stats split.
fg2_pctnumericPercentage or rate for two-point field goals percentage in the requested NBA or WNBA Stats split.
fg3_a_frequencynumericShooting metric for fg3a frequency in the requested NBA or WNBA Stats split.
fg3_mnumericThree-point field goals made.
fg3_anumericThree-point field goal attempts.
fg3_pctnumericThree-point field goal percentage (0-1).

ShotClockShooting

col_nametypedescription
player_idintegerUnique player identifier.
player_name_last_firstcharacterPlayer display name formatted as Last, First for sorting in NBA or WNBA Stats tables.
sort_orderintegerDisplay order of the split rows within the result set (1 = first), as a string.
gpintegerGames played.
gintegerGames played.
shot_clock_rangecharacter
fga_frequencynumericShooting metric for fga frequency in the requested NBA or WNBA Stats split.
fgmnumericField goals made.
fganumericField goal attempts.
fg_pctnumericField goal percentage (0-1).
efg_pctnumericPercentage or rate for efg percentage in the requested NBA or WNBA Stats split.
fg2_a_frequencynumericShooting metric for fg2a frequency in the requested NBA or WNBA Stats split.
fg2_mnumericShooting metric for fg2m in the requested NBA or WNBA Stats split.
fg2_anumericShooting metric for fg2a in the requested NBA or WNBA Stats split.
fg2_pctnumericPercentage or rate for two-point field goals percentage in the requested NBA or WNBA Stats split.
fg3_a_frequencynumericShooting metric for fg3a frequency in the requested NBA or WNBA Stats split.
fg3_mnumericThree-point field goals made.
fg3_anumericThree-point field goal attempts.
fg3_pctnumericThree-point field goal percentage (0-1).

DribbleShooting

col_nametypedescription
player_idintegerUnique player identifier.
player_name_last_firstcharacterPlayer display name formatted as Last, First for sorting in NBA or WNBA Stats tables.
sort_orderintegerDisplay order of the split rows within the result set (1 = first), as a string.
gpintegerGames played.
gintegerGames played.
dribble_rangecharacter
fga_frequencynumericShooting metric for fga frequency in the requested NBA or WNBA Stats split.
fgmnumericField goals made.
fganumericField goal attempts.
fg_pctnumericField goal percentage (0-1).
efg_pctnumericPercentage or rate for efg percentage in the requested NBA or WNBA Stats split.
fg2_a_frequencynumericShooting metric for fg2a frequency in the requested NBA or WNBA Stats split.
fg2_mnumericShooting metric for fg2m in the requested NBA or WNBA Stats split.
fg2_anumericShooting metric for fg2a in the requested NBA or WNBA Stats split.
fg2_pctnumericPercentage or rate for two-point field goals percentage in the requested NBA or WNBA Stats split.
fg3_a_frequencynumericShooting metric for fg3a frequency in the requested NBA or WNBA Stats split.
fg3_mnumericThree-point field goals made.
fg3_anumericThree-point field goal attempts.
fg3_pctnumericThree-point field goal percentage (0-1).

ClosestDefenderShooting

col_nametypedescription
player_idintegerUnique player identifier.
player_name_last_firstcharacterPlayer display name formatted as Last, First for sorting in NBA or WNBA Stats tables.
sort_orderintegerDisplay order of the split rows within the result set (1 = first), as a string.
gpintegerGames played.
gintegerGames played.
close_def_dist_rangecharacter
fga_frequencynumericShooting metric for fga frequency in the requested NBA or WNBA Stats split.
fgmnumericField goals made.
fganumericField goal attempts.
fg_pctnumericField goal percentage (0-1).
efg_pctnumericPercentage or rate for efg percentage in the requested NBA or WNBA Stats split.
fg2_a_frequencynumericShooting metric for fg2a frequency in the requested NBA or WNBA Stats split.
fg2_mnumericShooting metric for fg2m in the requested NBA or WNBA Stats split.
fg2_anumericShooting metric for fg2a in the requested NBA or WNBA Stats split.
fg2_pctnumericPercentage or rate for two-point field goals percentage in the requested NBA or WNBA Stats split.
fg3_a_frequencynumericShooting metric for fg3a frequency in the requested NBA or WNBA Stats split.
fg3_mnumericThree-point field goals made.
fg3_anumericThree-point field goal attempts.
fg3_pctnumericThree-point field goal percentage (0-1).

ClosestDefender10ftPlusShooting

col_nametypedescription
player_idintegerUnique player identifier.
player_name_last_firstcharacterPlayer display name formatted as Last, First for sorting in NBA or WNBA Stats tables.
sort_orderintegerDisplay order of the split rows within the result set (1 = first), as a string.
gpintegerGames played.
gintegerGames played.
close_def_dist_rangecharacter
fga_frequencynumericShooting metric for fga frequency in the requested NBA or WNBA Stats split.
fgmnumericField goals made.
fganumericField goal attempts.
fg_pctnumericField goal percentage (0-1).
efg_pctnumericPercentage or rate for efg percentage in the requested NBA or WNBA Stats split.
fg2_a_frequencynumericShooting metric for fg2a frequency in the requested NBA or WNBA Stats split.
fg2_mnumericShooting metric for fg2m in the requested NBA or WNBA Stats split.
fg2_anumericShooting metric for fg2a in the requested NBA or WNBA Stats split.
fg2_pctnumericPercentage or rate for two-point field goals percentage in the requested NBA or WNBA Stats split.
fg3_a_frequencynumericShooting metric for fg3a frequency in the requested NBA or WNBA Stats split.
fg3_mnumericThree-point field goals made.
fg3_anumericThree-point field goal attempts.
fg3_pctnumericThree-point field goal percentage (0-1).

TouchTimeShooting

col_nametypedescription
player_idintegerUnique player identifier.
player_name_last_firstcharacterPlayer display name formatted as Last, First for sorting in NBA or WNBA Stats tables.
sort_orderintegerDisplay order of the split rows within the result set (1 = first), as a string.
gpintegerGames played.
gintegerGames played.
touch_time_rangecharacterTime value for touch time range in the NBA or WNBA Stats result set.
fga_frequencynumericShooting metric for fga frequency in the requested NBA or WNBA Stats split.
fgmnumericField goals made.
fganumericField goal attempts.
fg_pctnumericField goal percentage (0-1).
efg_pctnumericPercentage or rate for efg percentage in the requested NBA or WNBA Stats split.
fg2_a_frequencynumericShooting metric for fg2a frequency in the requested NBA or WNBA Stats split.
fg2_mnumericShooting metric for fg2m in the requested NBA or WNBA Stats split.
fg2_anumericShooting metric for fg2a in the requested NBA or WNBA Stats split.
fg2_pctnumericPercentage or rate for two-point field goals percentage in the requested NBA or WNBA Stats split.
fg3_a_frequencynumericShooting metric for fg3a frequency in the requested NBA or WNBA Stats split.
fg3_mnumericThree-point field goals made.
fg3_anumericThree-point field goal attempts.
fg3_pctnumericThree-point field goal percentage (0-1).

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

Example​

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

Last validated n/a.