Skip to main content

nba_leaguedashteamshotlocations

Endpoint URL#

https://stats.nba.com/stats/leaguedashteamshotlocations

Valid URL#

https://stats.nba.com/stats/leaguedashteamshotlocations?Conference=&DateFrom=&DateTo=&DistanceRange=By+Zone&Division=&GameScope=&GameSegment=&LastNGames=0&LeagueID=&Location=&MeasureType=Base&Month=0&OpponentTeamID=0&Outcome=&PORound=&PaceAdjust=N&PerMode=Totals&Period=0&PlayerExperience=&PlayerPosition=&PlusMinus=N&Rank=N&Season=2019-20&SeasonSegment=&SeasonType=Regular+Season&ShotClockRange=&StarterBench=&TeamID=&VsConference=&VsDivision=

Parameters#

API Parameter NameParameterPatternRequiredNullable
DistanceRangedistance_range^(5ft Range)\|(8ft Range)\|(By Zone)$Y
LastNGameslast_n_gamesY
MeasureTypemeasure_type_simple^(Base)\|(Opponent)$Y
MonthmonthY
OpponentTeamIDopponent_team_idY
PaceAdjustpace_adjust^(Y)\|(N)$Y
PerModeper_mode_detailed^(Totals)\|(PerGame)\|(MinutesPer)\|(Per48)\|(Per40)\|(Per36)\|(PerMinute)\|(PerPossession)\|(PerPlay)\|(Per100Possessions)\|(Per100Plays)$Y
PeriodperiodY
PlusMinusplus_minus^(Y)\|(N)$Y
Rankrank^(Y)\|(N)$Y
SeasonseasonY
SeasonTypeseason_type_all_star^(Regular Season)\|(Pre Season)\|(Playoffs)\|(All Star)$Y
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
ShotClockRangeshot_clock_range_nullable((24-22)\|(22-18 Very Early)\|(18-15 Early)\|(15-7 Average)\|(7-4 Late)\|(4-0 Very Late)\|(ShotClock Off))?Y
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
GameSegmentgame_segment_nullable^((First Half)\|(Overtime)\|(Second Half))?$YY
GameScopegame_scope_simple_nullable((Yesterday)\|(Last 10))?YY
Divisiondivision_simple_nullable((Atlantic)\|(Central)\|(Northwest)\|(Pacific)\|(Southeast)\|(Southwest))?Y
DateTodate_to_nullableYY
DateFromdate_from_nullableYY
Conferenceconference_nullable((East)\|(West))?Y

Data Sets#

ShotLocations shot_locations#

[{'columnNames': ['Restricted Area', 'In The Paint (Non-RA)', 'Mid-Range', 'Left Corner 3', 'Right Corner 3', 'Above the Break 3', 'Backcourt'], 'columnSpan': 3, 'columnsToSkip': 2, 'name': 'SHOT_CATEGORY'}, {'columnNames': ['TEAM_ID', 'TEAM_NAME', 'FGM', 'FGA', 'FG_PCT', 'FGM', 'FGA', 'FG_PCT', 'FGM', 'FGA', 'FG_PCT', 'FGM', 'FGA', 'FG_PCT', 'FGM', 'FGA', 'FG_PCT', 'FGM', 'FGA', 'FG_PCT', 'FGM', 'FGA', 'FG_PCT'], 'columnSpan': 1, 'name': 'columns'}]

JSON#

{    "data_sets": {        "ShotLocations": [            {                "columnNames": [                    "Restricted Area",                    "In The Paint (Non-RA)",                    "Mid-Range",                    "Left Corner 3",                    "Right Corner 3",                    "Above the Break 3",                    "Backcourt"                ],                "columnSpan": 3,                "columnsToSkip": 2,                "name": "SHOT_CATEGORY"            },            {                "columnNames": [                    "TEAM_ID",                    "TEAM_NAME",                    "FGM",                    "FGA",                    "FG_PCT",                    "FGM",                    "FGA",                    "FG_PCT",                    "FGM",                    "FGA",                    "FG_PCT",                    "FGM",                    "FGA",                    "FG_PCT",                    "FGM",                    "FGA",                    "FG_PCT",                    "FGM",                    "FGA",                    "FG_PCT",                    "FGM",                    "FGA",                    "FG_PCT"                ],                "columnSpan": 1,                "name": "columns"            }        ]    },    "endpoint": "LeagueDashTeamShotLocations",    "last_validated_date": "2020-08-15",    "nullable_parameters": [        "Conference",        "DateFrom",        "DateTo",        "Division",        "GameScope",        "GameSegment",        "LeagueID",        "Location",        "Outcome",        "PORound",        "PlayerExperience",        "PlayerPosition",        "SeasonSegment",        "ShotClockRange",        "StarterBench",        "TeamID",        "VsConference",        "VsDivision"    ],    "parameter_patterns": {        "Conference": "((East)|(West))?",        "DateFrom": null,        "DateTo": null,        "DistanceRange": "^(5ft Range)|(8ft Range)|(By Zone)$",        "Division": "((Atlantic)|(Central)|(Northwest)|(Pacific)|(Southeast)|(Southwest))?",        "GameScope": "((Yesterday)|(Last 10))?",        "GameSegment": "^((First Half)|(Overtime)|(Second Half))?$",        "LastNGames": null,        "LeagueID": null,        "Location": "^((Home)|(Road))?$",        "MeasureType": "^(Base)|(Opponent)$",        "Month": null,        "OpponentTeamID": null,        "Outcome": "^((W)|(L))?$",        "PORound": null,        "PaceAdjust": "^(Y)|(N)$",        "PerMode": "^(Totals)|(PerGame)|(MinutesPer)|(Per48)|(Per40)|(Per36)|(PerMinute)|(PerPossession)|(PerPlay)|(Per100Possessions)|(Per100Plays)$",        "Period": null,        "PlayerExperience": "((Rookie)|(Sophomore)|(Veteran))?",        "PlayerPosition": "((F)|(C)|(G)|(C-F)|(F-C)|(F-G)|(G-F))?",        "PlusMinus": "^(Y)|(N)$",        "Rank": "^(Y)|(N)$",        "Season": null,        "SeasonSegment": "^((Post All-Star)|(Pre All-Star))?$",        "SeasonType": "^(Regular Season)|(Pre Season)|(Playoffs)|(All Star)$",        "ShotClockRange": "((24-22)|(22-18 Very Early)|(18-15 Early)|(15-7 Average)|(7-4 Late)|(4-0 Very Late)|(ShotClock Off))?",        "StarterBench": "((Starters)|(Bench))?",        "TeamID": null,        "VsConference": "^((East)|(West))?$",        "VsDivision": "^((Atlantic)|(Central)|(Northwest)|(Pacific)|(Southeast)|(Southwest)|(East)|(West))?$"    },    "parameters": [        "Conference",        "DateFrom",        "DateTo",        "DistanceRange",        "Division",        "GameScope",        "GameSegment",        "LastNGames",        "LeagueID",        "Location",        "MeasureType",        "Month",        "OpponentTeamID",        "Outcome",        "PORound",        "PaceAdjust",        "PerMode",        "Period",        "PlayerExperience",        "PlayerPosition",        "PlusMinus",        "Rank",        "Season",        "SeasonSegment",        "SeasonType",        "ShotClockRange",        "StarterBench",        "TeamID",        "VsConference",        "VsDivision"    ],    "required_parameters": [        "DateFrom",        "DateTo",        "DistanceRange",        "GameScope",        "GameSegment",        "LastNGames",        "Location",        "MeasureType",        "Month",        "OpponentTeamID",        "Outcome",        "PaceAdjust",        "PerMode",        "Period",        "PlayerExperience",        "PlayerPosition",        "PlusMinus",        "Rank",        "Season",        "SeasonSegment",        "SeasonType",        "StarterBench",        "VsConference",        "VsDivision"    ],    "status": "success"}

Last validated 2020-08-16