Skip to main content

NBA — NBA Stats API (stats.nba.com) — Player: playerawards–playergamelog

nba_stats_playerawards​

Player awards.

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

Valid URL: https://stats.nba.com/stats/playerawards?PlayerID=2544

API ParameterPythonPatternRequiredNullableDescription
PlayerIDplayer_idY

Returns​

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

col_nametypedescription
person_idInt64Unique player identifier (V3 endpoints).
first_nameStringPlayer's first name.
last_nameStringPlayer's last name.
teamStringTeam-side label or team identifier.
descriptionStringLong-form description text.
all_nba_team_numberStringNBA or WNBA Stats value for all NBA team number in the playerawards result set.
seasonStringSeason year.
monthStringNBA or WNBA Stats value for month in the playerawards result set.
weekStringWeek number.
conferenceStringConference name.
typeStringRecord type / category.
subtype1StringNBA or WNBA Stats value for subtype1 in the playerawards result set.
subtype2StringNBA or WNBA Stats value for subtype2 in the playerawards result set.
subtype3StringNBA or WNBA Stats value for subtype3 in the playerawards result set.

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

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.
ImportErrorcurl_cffi is not installed -- stats.nba.com / stats.wnba.com block plain requests, so the transport needs it (pip install curl_cffi or sportsdataverse[all]).

Example​

nba_stats_playerawards()

nba_stats_playercareerbycollegerollup​

Player career by college rollup.

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

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

API ParameterPythonPatternRequiredNullableDescription
LeagueIDleague_idY
PerModeper_mode_simpleY
Seasonseason_nullableYSeason label, e.g. 2024-25. Defaults at call time by a calendar cutoff, the month after a season's first games, so it can lag the newest rows by a few weeks. An NBA season tips off in late October and becomes the default in November (2025-26 through October 2026, 2026-27 from November 2026); a G League season (regular season from late December) in January; a Summer League (played in July, which stats.nba.com labels 2026-27 in 2026) in August; a draft combine (May) in June; a draft (drafthistory, a year; late June) in July. With season type Playoffs / PlayIn (or commonplayoffseries) the NBA and the G League roll over in May, after their playoffs start; with All Star the NBA rolls over in March, after the February game (the G League has no All-Star rows and keeps its own rule). A month table cannot follow a lockout or pandemic calendar (1998-99, 2011-12, 2020-21): pass a season then. Without one stats.nba.com answers an empty HTTP 500 or every season summed.
SeasonTypeseason_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).

Returns​

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

East

col_nametypedescription
regionStringRegion label.
seedInt64Region seed slot of the college in the stats API's career-by-college rollup grid.
collegeStringCollege.
playersInt64Nested list of per-player box scores.
gpInt64Games played.
minFloat64Minutes played.
fgmInt64Field goals made.
fgaInt64Field goal attempts.
fg_pctFloat64Field goal percentage (0-1).
fg3_mInt64Three-point field goals made.
fg3_aInt64Three-point field goal attempts.
fg3_pctFloat64Three-point field goal percentage (0-1).
ftmInt64Free throws made.
ftaInt64Free throw attempts.
ft_pctFloat64Free throw percentage (0-1).
orebInt64Offensive rebounds.
drebInt64Defensive rebounds.
rebInt64Rebounds per game.
astInt64Assists.
stlInt64Steals.
blkInt64Blocks.
tovInt64Turnovers.
pfInt64Personal fouls.
ptsInt64Points scored.

South

col_nametypedescription
regionStringRegion label.
seedInt64Region seed slot of the college in the stats API's career-by-college rollup grid.
collegeStringCollege.
playersInt64Nested list of per-player box scores.
gpInt64Games played.
minFloat64Minutes played.
fgmInt64Field goals made.
fgaInt64Field goal attempts.
fg_pctFloat64Field goal percentage (0-1).
fg3_mInt64Three-point field goals made.
fg3_aInt64Three-point field goal attempts.
fg3_pctFloat64Three-point field goal percentage (0-1).
ftmInt64Free throws made.
ftaInt64Free throw attempts.
ft_pctFloat64Free throw percentage (0-1).
orebInt64Offensive rebounds.
drebInt64Defensive rebounds.
rebInt64Rebounds per game.
astInt64Assists.
stlInt64Steals.
blkInt64Blocks.
tovInt64Turnovers.
pfInt64Personal fouls.
ptsInt64Points scored.

Midwest

col_nametypedescription
regionStringRegion label.
seedInt64Region seed slot of the college in the stats API's career-by-college rollup grid.
collegeStringCollege.
playersInt64Nested list of per-player box scores.
gpInt64Games played.
minFloat64Minutes played.
fgmInt64Field goals made.
fgaInt64Field goal attempts.
fg_pctFloat64Field goal percentage (0-1).
fg3_mInt64Three-point field goals made.
fg3_aInt64Three-point field goal attempts.
fg3_pctFloat64Three-point field goal percentage (0-1).
ftmInt64Free throws made.
ftaInt64Free throw attempts.
ft_pctFloat64Free throw percentage (0-1).
orebInt64Offensive rebounds.
drebInt64Defensive rebounds.
rebInt64Rebounds per game.
astInt64Assists.
stlInt64Steals.
blkInt64Blocks.
tovInt64Turnovers.
pfInt64Personal fouls.
ptsInt64Points scored.

West

col_nametypedescription
regionStringRegion label.
seedInt64Region seed slot of the college in the stats API's career-by-college rollup grid.
collegeStringCollege.
playersInt64Nested list of per-player box scores.
gpInt64Games played.
minFloat64Minutes played.
fgmInt64Field goals made.
fgaInt64Field goal attempts.
fg_pctFloat64Field goal percentage (0-1).
fg3_mInt64Three-point field goals made.
fg3_aInt64Three-point field goal attempts.
fg3_pctFloat64Three-point field goal percentage (0-1).
ftmInt64Free throws made.
ftaInt64Free throw attempts.
ft_pctFloat64Free throw percentage (0-1).
orebInt64Offensive rebounds.
drebInt64Defensive rebounds.
rebInt64Rebounds per game.
astInt64Assists.
stlInt64Steals.
blkInt64Blocks.
tovInt64Turnovers.
pfInt64Personal fouls.
ptsInt64Points scored.

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

nba_stats_playercareerstats​

Player career stats.

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

Valid URL: https://stats.nba.com/stats/playercareerstats?LeagueID=00&PerMode=Totals&PlayerID=2544

API ParameterPythonPatternRequiredNullableDescription
LeagueIDleague_idY
PerModeper_mode36Y
PlayerIDplayer_idY

Returns​

return_parsed=True (default) — A dict of DataFrames keyed by result-set name (SeasonTotalsRegularSeason, CareerTotalsRegularSeason, SeasonTotalsPostSeason, CareerTotalsPostSeason, SeasonTotalsAllStarSeason, CareerTotalsAllStarSeason, SeasonTotalsCollegeSeason, CareerTotalsCollegeSeason, SeasonTotalsShowcaseSeason, CareerTotalsShowcaseSeason, SeasonRankingsRegularSeason, SeasonRankingsPostSeason, SeasonHighs, CareerHighs) (one table per documented key below); pass return_as_pandas=True for a dict of pandas.DataFrames (same keys).

SeasonTotalsRegularSeason

col_nametypedescription
player_idInt64Unique player identifier.
season_idStringUnique season identifier.
league_idStringLeague identifier ('10' = WNBA).
team_idInt64Unique team identifier.
team_abbreviationStringShort team abbreviation (e.g. 'LAS').
player_ageFloat64NBA or WNBA Stats value for player age in the playercareerstats result set.
gpInt64Games played.
gsInt64Games started.
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.
stlFloat64Steals.
blkFloat64Blocks.
tovFloat64Turnovers.
pfFloat64Personal fouls.
ptsFloat64Points scored.

CareerTotalsRegularSeason

col_nametypedescription
player_idInt64Unique player identifier.
league_idStringLeague identifier ('10' = WNBA).
team_idInt64Unique team identifier.
gpInt64Games played.
gsInt64Games started.
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.
stlFloat64Steals.
blkFloat64Blocks.
tovFloat64Turnovers.
pfFloat64Personal fouls.
ptsFloat64Points scored.

SeasonTotalsPostSeason

col_nametypedescription
player_idInt64Unique player identifier.
season_idStringUnique season identifier.
league_idStringLeague identifier ('10' = WNBA).
team_idInt64Unique team identifier.
team_abbreviationStringShort team abbreviation (e.g. 'LAS').
player_ageFloat64NBA or WNBA Stats value for player age in the playercareerstats result set.
gpInt64Games played.
gsInt64Games started.
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.
stlFloat64Steals.
blkFloat64Blocks.
tovFloat64Turnovers.
pfFloat64Personal fouls.
ptsFloat64Points scored.

CareerTotalsPostSeason

col_nametypedescription
player_idInt64Unique player identifier.
league_idStringLeague identifier ('10' = WNBA).
team_idInt64Unique team identifier.
gpInt64Games played.
gsInt64Games started.
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.
stlFloat64Steals.
blkFloat64Blocks.
tovFloat64Turnovers.
pfFloat64Personal fouls.
ptsFloat64Points scored.

SeasonTotalsAllStarSeason

col_nametypedescription
player_idInt64Unique player identifier.
season_idStringUnique season identifier.
league_idStringLeague identifier ('10' = WNBA).
team_idInt64Unique team identifier.
team_abbreviationStringShort team abbreviation (e.g. 'LAS').
player_ageFloat64NBA or WNBA Stats value for player age in the playercareerstats result set.
gpInt64Games played.
gsInt64Games started.
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.
stlFloat64Steals.
blkFloat64Blocks.
tovFloat64Turnovers.
pfFloat64Personal fouls.
ptsFloat64Points scored.

CareerTotalsAllStarSeason

col_nametypedescription
player_idInt64Unique player identifier.
league_idStringLeague identifier ('10' = WNBA).
team_idInt64Unique team identifier.
gpInt64Games played.
gsInt64Games started.
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.
stlFloat64Steals.
blkFloat64Blocks.
tovFloat64Turnovers.
pfFloat64Personal fouls.
ptsFloat64Points scored.

SeasonTotalsCollegeSeason

col_nametypedescription
player_idStringUnique player identifier.
season_idStringUnique season identifier.
league_idStringLeague identifier ('10' = WNBA).
organization_idString
school_nameStringCollege or school of the season row (SeasonTotalsCollegeSeason set).
player_ageStringNBA or WNBA Stats value for player age in the playercareerstats result set.
gpStringGames played.
gsStringGames started.
minStringMinutes played.
fgmStringField goals made.
fgaStringField goal attempts.
fg_pctStringField goal percentage (0-1).
fg3_mStringThree-point field goals made.
fg3_aStringThree-point field goal attempts.
fg3_pctStringThree-point field goal percentage (0-1).
ftmStringFree throws made.
ftaStringFree throw attempts.
ft_pctStringFree throw percentage (0-1).
orebStringOffensive rebounds.
drebStringDefensive rebounds.
rebStringRebounds per game.
astStringAssists.
stlStringSteals.
blkStringBlocks.
tovStringTurnovers.
pfStringPersonal fouls.
ptsStringPoints scored.

CareerTotalsCollegeSeason

col_nametypedescription
player_idStringUnique player identifier.
league_idStringLeague identifier ('10' = WNBA).
organization_idString
gpStringGames played.
gsStringGames started.
minStringMinutes played.
fgmStringField goals made.
fgaStringField goal attempts.
fg_pctStringField goal percentage (0-1).
fg3_mStringThree-point field goals made.
fg3_aStringThree-point field goal attempts.
fg3_pctStringThree-point field goal percentage (0-1).
ftmStringFree throws made.
ftaStringFree throw attempts.
ft_pctStringFree throw percentage (0-1).
orebStringOffensive rebounds.
drebStringDefensive rebounds.
rebStringRebounds per game.
astStringAssists.
stlStringSteals.
blkStringBlocks.
tovStringTurnovers.
pfStringPersonal fouls.
ptsStringPoints scored.

SeasonTotalsShowcaseSeason

col_nametypedescription
player_idInt64Unique player identifier.
season_idStringUnique season identifier.
league_idStringLeague identifier ('10' = WNBA).
team_idInt64Unique team identifier.
team_abbreviationStringShort team abbreviation (e.g. 'LAS').
player_ageFloat64NBA or WNBA Stats value for player age in the playercareerstats result set.
gpInt64Games played.
gsInt64Games started.
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.
stlFloat64Steals.
blkFloat64Blocks.
tovFloat64Turnovers.
pfFloat64Personal fouls.
ptsFloat64Points scored.

CareerTotalsShowcaseSeason

col_nametypedescription
player_idInt64Unique player identifier.
league_idStringLeague identifier ('10' = WNBA).
team_idInt64Unique team identifier.
gpInt64Games played.
gsInt64Games started.
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.
stlFloat64Steals.
blkFloat64Blocks.
tovFloat64Turnovers.
pfFloat64Personal fouls.
ptsFloat64Points scored.

SeasonRankingsRegularSeason

col_nametypedescription
player_idInt64Unique player identifier.
season_idStringUnique season identifier.
league_idStringLeague identifier ('10' = WNBA).
team_idInt64Unique team identifier.
team_abbreviationStringShort team abbreviation (e.g. 'LAS').
player_ageStringNBA or WNBA Stats value for player age in the playercareerstats result set.
gpStringGames played.
gsStringGames started.
rank_pg_minInt64
rank_pg_fgmInt64
rank_pg_fgaInt64
rank_fg_pctInt64
rank_pg_fg3_mInt64
rank_pg_fg3_aInt64
rank_fg3_pctInt64
rank_pg_ftmInt64
rank_pg_ftaInt64
rank_ft_pctInt64
rank_pg_orebInt64
rank_pg_drebInt64
rank_pg_rebInt64
rank_pg_astInt64
rank_pg_stlInt64
rank_pg_blkInt64
rank_pg_tovInt64
rank_pg_ptsInt64
rank_pg_effInt64

SeasonRankingsPostSeason

col_nametypedescription
player_idInt64Unique player identifier.
season_idStringUnique season identifier.
league_idStringLeague identifier ('10' = WNBA).
team_idInt64Unique team identifier.
team_abbreviationStringShort team abbreviation (e.g. 'LAS').
player_ageStringNBA or WNBA Stats value for player age in the playercareerstats result set.
gpStringGames played.
gsStringGames started.
rank_pg_minInt64
rank_pg_fgmInt64
rank_pg_fgaInt64
rank_fg_pctInt64
rank_pg_fg3_mInt64
rank_pg_fg3_aInt64
rank_fg3_pctString
rank_pg_ftmInt64
rank_pg_ftaInt64
rank_ft_pctInt64
rank_pg_orebInt64
rank_pg_drebInt64
rank_pg_rebInt64
rank_pg_astInt64
rank_pg_stlInt64
rank_pg_blkInt64
rank_pg_tovInt64
rank_pg_ptsInt64
rank_pg_effInt64

SeasonHighs

col_nametypedescription
player_idInt64Unique player identifier.
game_dateStringGame date (YYYY-MM-DD).
vs_team_idInt64
vs_team_cityString
vs_team_nameString
vs_team_abbreviationString
statStringStat.
stats_valueInt64
stat_orderInt64
date_estString

CareerHighs

col_nametypedescription
player_idInt64Unique player identifier.
game_dateStringGame date (YYYY-MM-DD).
vs_team_idInt64
vs_team_cityString
vs_team_nameString
vs_team_abbreviationString
statStringStat.
stats_valueInt64
stat_orderInt64
date_estString

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_playercareerstats(league_id='00')

nba_stats_playercompare​

Player compare.

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

Valid URL: https://stats.nba.com/stats/playercompare?Conference=&DateFrom=&DateTo=&GameSegment=&LastNGames=0&LeagueID=00&Location=&MeasureType=Base&Month=0&OpponentTeamID=0&Outcome=&PaceAdjust=N&PerMode=Totals&Period=0&PlayerIDList=202681%2C203078%2C2544%2C201567%2C203954&PlusMinus=N&Rank=N&Season=2020-21&SeasonSegment=&SeasonType=Regular+Season&ShotClockRange=&VsConference=&VsDivision=&VsPlayerIDList=201566%2C201939%2C201935%2C201142%2C203076

API ParameterPythonPatternRequiredNullableDescription
Conferenceconference_nullableY
DateFromdate_from_nullableY
DateTodate_to_nullableY
Divisiondivision_simple_nullableY
GameSegmentgame_segment_nullableY
LastNGameslast_n_gamesY
LeagueIDleague_idY
Locationlocation_nullableY
MeasureTypemeasure_type_detailed_defenseY
MonthmonthY
OpponentTeamIDopponent_team_idY
Outcomeoutcome_nullableY
PaceAdjustpace_adjustY
PerModeper_mode_detailedY
PeriodperiodY
PlayerIDListplayer_id_listY
PlusMinusplus_minusY
RankrankY
SeasonseasonYSeason year (e.g. 2024).
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
VsPlayerIDListvs_player_id_listY

Returns​

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

OverallCompare

col_nametypedescription
group_setStringName of the split group the row belongs to (e.g. Overall, By Opponent, By Month).
descriptionStringLong-form description text.
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.

Individual

col_nametypedescription
group_setStringName of the split group the row belongs to (e.g. Overall, By Opponent, By Month).
descriptionStringLong-form description text.
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.

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_playercompare(league_id='00')

nba_stats_playerestimatedmetrics​

Player estimated metrics.

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

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

API ParameterPythonPatternRequiredNullableDescription
LeagueIDleague_idY
SeasonseasonYSeason label, e.g. 2024-25. Defaults at call time by a calendar cutoff, the month after a season's first games, so it can lag the newest rows by a few weeks. An NBA season tips off in late October and becomes the default in November (2025-26 through October 2026, 2026-27 from November 2026); a G League season (regular season from late December) in January; a Summer League (played in July, which stats.nba.com labels 2026-27 in 2026) in August; a draft combine (May) in June; a draft (drafthistory, a year; late June) in July. With season type Playoffs / PlayIn (or commonplayoffseries) the NBA and the G League roll over in May, after their playoffs start; with All Star the NBA rolls over in March, after the February game (the G League has no All-Star rows and keeps its own rule). A month table cannot follow a lockout or pandemic calendar (1998-99, 2011-12, 2020-21): pass a season then. Without one stats.nba.com answers an empty HTTP 500 or every season summed.
SeasonTypeseason_typeYSeason type, a label: Regular Season, Pre Season, Playoffs, PlayIn or All Star (each endpoint takes a subset). Not ESPN's numeric code: 3 is HTTP 400. A default season follows it: Playoffs / PlayIn roll over in May (NBA, G League), All Star in March (NBA).

Returns​

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

col_nametypedescription
player_idInt64Unique player identifier.
player_nameStringPlayer name.
gpInt64Games played.
wInt64Wins.
lInt64Losses.
w_pctFloat64Wins percentage (0-1 decimal).
minFloat64Minutes played.
e_off_ratingFloat64Estimated offensive rating for the requested NBA or WNBA Stats split.
e_def_ratingFloat64Estimated defensive rating for the requested NBA or WNBA Stats split.
e_net_ratingFloat64Estimated net rating for the requested NBA or WNBA Stats split.
e_ast_ratioFloat64Estimated assist ratio for the requested NBA or WNBA Stats split.
e_oreb_pctFloat64Estimated offensive rebound percentage for the requested NBA or WNBA Stats split.
e_dreb_pctFloat64Estimated defensive rebound percentage for the requested NBA or WNBA Stats split.
e_reb_pctFloat64Estimated rebound percentage for the requested NBA or WNBA Stats split.
e_tov_pctFloat64Estimated turnovers percentage for the requested NBA or WNBA Stats split.
e_usg_pctFloat64Estimated usage percentage for the requested NBA or WNBA Stats split.
e_paceFloat64Estimated pace for the requested NBA or WNBA Stats split.
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.
e_off_rating_rankInt64Rank for e offensive rating within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
e_def_rating_rankInt64Rank for e defensive rating within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
e_net_rating_rankInt64Rank for e net rating within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
e_ast_ratio_rankInt64Rank for e assists ratio within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
e_oreb_pct_rankInt64Rank for e offensive rebounds percentage within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
e_dreb_pct_rankInt64Rank for e defensive rebounds percentage within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
e_reb_pct_rankInt64Rank for e rebounds percentage within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
e_tov_pct_rankInt64Rank for e turnovers percentage within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
e_usg_pct_rankInt64Rank for e usage percentage within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.
e_pace_rankInt64Rank for e pace within the requested NBA or WNBA Stats leaderboard or split, where 1 is the leader.

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

nba_stats_playerfantasyprofile​

Player fantasy profile.

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

Valid URL: https://stats.nba.com/stats/playerfantasyprofile?LeagueID=00&MeasureType=Base&PaceAdjust=N&PerMode=Totals&PlayerID=2544&PlusMinus=N&Rank=N&Season=2024-25&SeasonType=Regular+Season

API ParameterPythonPatternRequiredNullableDescription
LeagueIDleague_idY
MeasureTypemeasure_typeY
PaceAdjustpace_adjustY
PerModeper_modeY
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.
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).

Returns​

return_parsed=True (default) — A dict of DataFrames keyed by result-set name (Overall, Location, LastNGames, DaysRestModified, Opponent) (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 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.
dd2Int64Double-doubles recorded over the split.
td3Int64Triple-doubles recorded over the split.
fan_duel_ptsFloat64Fantasy points under FanDuel's scoring formula.
nba_fantasy_ptsFloat64Fantasy points under the NBA's fantasy scoring formula.

Location

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.
dd2Int64Double-doubles recorded over the split.
td3Int64Triple-doubles recorded over the split.
fan_duel_ptsFloat64Fantasy points under FanDuel's scoring formula.
nba_fantasy_ptsFloat64Fantasy points under the NBA's fantasy scoring formula.

LastNGames

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.
dd2Int64Double-doubles recorded over the split.
td3Int64Triple-doubles recorded over the split.
fan_duel_ptsFloat64Fantasy points under FanDuel's scoring formula.
nba_fantasy_ptsFloat64Fantasy points under the NBA's fantasy scoring formula.

DaysRestModified

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).
season_yearStringSeason year string ('YYYY-YY' format).
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.
dd2Int64Double-doubles recorded over the split.
td3Int64Triple-doubles recorded over the split.
fan_duel_ptsFloat64Fantasy points under FanDuel's scoring formula.
nba_fantasy_ptsFloat64Fantasy points under the NBA's fantasy scoring formula.

Opponent

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.
dd2Int64Double-doubles recorded over the split.
td3Int64Triple-doubles recorded over the split.
fan_duel_ptsFloat64Fantasy points under FanDuel's scoring formula.
nba_fantasy_ptsFloat64Fantasy points under the NBA's fantasy scoring formula.

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

nba_stats_playerfantasyprofilebargraph​

Player fantasy profile bar graph.

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

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

API ParameterPythonPatternRequiredNullableDescription
LeagueIDleague_idY
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.
SeasonTypeseason_type_all_star_nullableYSeason 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).

Returns​

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

SeasonAvg

col_nametypedescription
player_idInt64Unique player identifier.
player_nameStringPlayer name.
team_idInt64Unique team identifier.
team_abbreviationStringShort team abbreviation (e.g. 'LAS').
fan_duel_ptsFloat64Scoring or score-margin metric for fan duel points in the requested NBA or WNBA Stats split.
nba_fantasy_ptsFloat64Nba fantasy points for the requested NBA or WNBA Stats split.
ptsFloat64Points scored.
rebFloat64Rebounds per game.
astFloat64Assists.
fg3_mFloat64Three-point field goals made.
ft_pctFloat64Free throw percentage (0-1).
stlFloat64Steals.
blkFloat64Blocks.
tovFloat64Turnovers.
fg_pctFloat64Field goal percentage (0-1).

LastFiveGamesAvg

col_nametypedescription
player_idInt64Unique player identifier.
player_nameStringPlayer name.
team_idInt64Unique team identifier.
team_abbreviationStringShort team abbreviation (e.g. 'LAS').
fan_duel_ptsFloat64Scoring or score-margin metric for fan duel points in the requested NBA or WNBA Stats split.
nba_fantasy_ptsFloat64Nba fantasy points for the requested NBA or WNBA Stats split.
ptsFloat64Points scored.
rebFloat64Rebounds per game.
astFloat64Assists.
fg3_mFloat64Three-point field goals made.
ft_pctFloat64Free throw percentage (0-1).
stlFloat64Steals.
blkFloat64Blocks.
tovFloat64Turnovers.
fg_pctFloat64Field 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_playerfantasyprofilebargraph(league_id='00', season='2024-25')

nba_stats_playergamelog​

Player game log.

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

Valid URL: https://stats.nba.com/stats/playergamelog?DateFrom=&DateTo=&LeagueID=00&PlayerID=2544&Season=2024-25&SeasonType=Regular+Season

API ParameterPythonPatternRequiredNullableDescription
DateFromdate_from_nullableY
DateTodate_to_nullableY
LeagueIDleague_idY
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.
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).

Returns​

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

col_nametypedescription
season_idStringUnique season identifier.
player_idInt64Unique player identifier.
game_idStringUnique game identifier.
game_dateStringGame date (YYYY-MM-DD).
matchupStringMatchup.
wlStringWl.
minInt64Minutes played.
fgmInt64Field goals made.
fgaInt64Field goal attempts.
fg_pctFloat64Field goal percentage (0-1).
fg3_mInt64Three-point field goals made.
fg3_aInt64Three-point field goal attempts.
fg3_pctFloat64Three-point field goal percentage (0-1).
ftmInt64Free throws made.
ftaInt64Free throw attempts.
ft_pctFloat64Free throw percentage (0-1).
orebInt64Offensive rebounds.
drebInt64Defensive rebounds.
rebInt64Rebounds per game.
astInt64Assists.
stlInt64Steals.
blkInt64Blocks.
tovInt64Turnovers.
pfInt64Personal fouls.
ptsInt64Points scored.
plus_minusInt64Plus/minus point differential while on court.
video_availableInt64Video available.

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