Skip to main content

LeagueDashPtStats

nba_api/stats/endpoints/leaguedashptstats.py#
Endpoint URL#

https://stats.nba.com/stats/leaguedashptstats

Valid URL#

https://stats.nba.com/stats/leaguedashptstats?College=&Conference=&Country=&DateFrom=&DateTo=&Division=&DraftPick=&DraftYear=&GameScope=&Height=&LastNGames=0&LeagueID=&Location=&Month=0&OpponentTeamID=0&Outcome=&PORound=&PerMode=Totals&PlayerExperience=&PlayerOrTeam=Team&PlayerPosition=&PtMeasureType=SpeedDistance&Season=2019-20&SeasonSegment=&SeasonType=Regular+Season&StarterBench=&TeamID=&VsConference=&VsDivision=&Weight=

Parameters#

API Parameter NameParameterPatternRequiredNullable
LastNGameslast_n_gamesY
MonthmonthY
OpponentTeamIDopponent_team_idY
PerModeper_mode_simple^(Totals)\|(PerGame)$Y
PlayerOrTeamplayer_or_team^(Player)\|(Team)$Y
PtMeasureTypept_measure_type^(SpeedDistance)\|(Rebounding)\|(Possessions)\|(CatchShoot)\|(PullUpShot)\|(Defense)\|(Drives)\|(Passing)\|(ElbowTouch)\|(PostTouch)\|(PaintTouch)\|(Efficiency)$Y
SeasonseasonY
SeasonTypeseason_type_all_star^(Regular Season)\|(Pre Season)\|(Playoffs)\|(All Star)$Y
Weightweight_nullableY
VsDivisionvs_division_nullable^((Atlantic)\|(Central)\|(Northwest)\|(Pacific)\|(Southeast)\|(Southwest)\|(East)\|(West))?$YY
VsConferencevs_conference_nullable^((East)\|(West))?$YY
TeamIDteam_id_nullableY
StarterBenchstarter_bench_nullable((Starters)\|(Bench))?YY
SeasonSegmentseason_segment_nullable^((Post All-Star)\|(Pre All-Star))?$YY
PlayerPositionplayer_position_abbreviation_nullable((F)\|(C)\|(G)\|(C-F)\|(F-C)\|(F-G)\|(G-F))?YY
PlayerExperienceplayer_experience_nullable((Rookie)\|(Sophomore)\|(Veteran))?YY
PORoundpo_round_nullableY
Outcomeoutcome_nullable^((W)\|(L))?$YY
Locationlocation_nullable^((Home)\|(Road))?$YY
LeagueIDleague_id_nullableY
Heightheight_nullableY
GameScopegame_scope_simple_nullable((Yesterday)\|(Last 10))?YY
DraftYeardraft_year_nullableY
DraftPickdraft_pick_nullableY
Divisiondivision_simple_nullable((Atlantic)\|(Central)\|(Northwest)\|(Pacific)\|(Southeast)\|(Southwest))?Y
DateTodate_to_nullableYY
DateFromdate_from_nullableYY
Countrycountry_nullableY
Conferenceconference_nullable((East)\|(West))?Y
Collegecollege_nullableY

Data Sets#

LeagueDashPtStats league_dash_pt_stats#

['TEAM_ID', 'TEAM_ABBREVIATION', 'TEAM_NAME', 'GP', 'W', 'L', 'MIN', 'DIST_FEET', 'DIST_MILES', 'DIST_MILES_OFF', 'DIST_MILES_DEF', 'AVG_SPEED', 'AVG_SPEED_OFF', 'AVG_SPEED_DEF']

JSON#

{    "data_sets": {        "LeagueDashPtStats": [            "TEAM_ID",            "TEAM_ABBREVIATION",            "TEAM_NAME",            "GP",            "W",            "L",            "MIN",            "DIST_FEET",            "DIST_MILES",            "DIST_MILES_OFF",            "DIST_MILES_DEF",            "AVG_SPEED",            "AVG_SPEED_OFF",            "AVG_SPEED_DEF"        ]    },    "endpoint": "LeagueDashPtStats",    "last_validated_date": "2020-08-15",    "nullable_parameters": [        "College",        "Conference",        "Country",        "DateFrom",        "DateTo",        "Division",        "DraftPick",        "DraftYear",        "GameScope",        "Height",        "LeagueID",        "Location",        "Outcome",        "PORound",        "PlayerExperience",        "PlayerPosition",        "SeasonSegment",        "StarterBench",        "TeamID",        "VsConference",        "VsDivision",        "Weight"    ],    "parameter_patterns": {        "College": null,        "Conference": "((East)|(West))?",        "Country": null,        "DateFrom": null,        "DateTo": null,        "Division": "((Atlantic)|(Central)|(Northwest)|(Pacific)|(Southeast)|(Southwest))?",        "DraftPick": null,        "DraftYear": null,        "GameScope": "((Yesterday)|(Last 10))?",        "Height": null,        "LastNGames": null,        "LeagueID": null,        "Location": "^((Home)|(Road))?$",        "Month": null,        "OpponentTeamID": null,        "Outcome": "^((W)|(L))?$",        "PORound": null,        "PerMode": "^(Totals)|(PerGame)$",        "PlayerExperience": "((Rookie)|(Sophomore)|(Veteran))?",        "PlayerOrTeam": "^(Player)|(Team)$",        "PlayerPosition": "((F)|(C)|(G)|(C-F)|(F-C)|(F-G)|(G-F))?",        "PtMeasureType": "^(SpeedDistance)|(Rebounding)|(Possessions)|(CatchShoot)|(PullUpShot)|(Defense)|(Drives)|(Passing)|(ElbowTouch)|(PostTouch)|(PaintTouch)|(Efficiency)$",        "Season": null,        "SeasonSegment": "^((Post All-Star)|(Pre All-Star))?$",        "SeasonType": "^(Regular Season)|(Pre Season)|(Playoffs)|(All Star)$",        "StarterBench": "((Starters)|(Bench))?",        "TeamID": null,        "VsConference": "^((East)|(West))?$",        "VsDivision": "^((Atlantic)|(Central)|(Northwest)|(Pacific)|(Southeast)|(Southwest)|(East)|(West))?$",        "Weight": null    },    "parameters": [        "College",        "Conference",        "Country",        "DateFrom",        "DateTo",        "Division",        "DraftPick",        "DraftYear",        "GameScope",        "Height",        "LastNGames",        "LeagueID",        "Location",        "Month",        "OpponentTeamID",        "Outcome",        "PORound",        "PerMode",        "PlayerExperience",        "PlayerOrTeam",        "PlayerPosition",        "PtMeasureType",        "Season",        "SeasonSegment",        "SeasonType",        "StarterBench",        "TeamID",        "VsConference",        "VsDivision",        "Weight"    ],    "required_parameters": [        "DateFrom",        "DateTo",        "GameScope",        "LastNGames",        "Location",        "Month",        "OpponentTeamID",        "Outcome",        "PerMode",        "PlayerExperience",        "PlayerOrTeam",        "PlayerPosition",        "PtMeasureType",        "Season",        "SeasonSegment",        "SeasonType",        "StarterBench",        "VsConference",        "VsDivision"    ],    "status": "success"}

Last validated 2020-08-16