nba_shotchartdetail
#
Endpoint URL#
Valid URL#
ParametersAPI Parameter Name | Parameter | Pattern | Required | Nullable |
---|---|---|---|---|
ContextMeasure | context_measure_simple | ^((PTS)\|(FGM)\|(FGA)\|(FG_PCT)\|(FG3M)\|(FG3A)\|(FG3_PCT)\|(PF)\|(EFG_PCT)\|(TS_PCT)\|(PTS_FB)\|(PTS_OFF_TOV)\|(PTS_2ND_CHANCE)\|(PF))?$ | Y | |
LastNGames | last_n_games | Y | ||
LeagueID | league_id | Y | ||
Month | month | Y | ||
OpponentTeamID | opponent_team_id | Y | ||
Period | period | Y | ||
PlayerID | player_id | Y | ||
SeasonType | season_type_all_star | ^(Regular Season)\|(Pre Season)\|(Playoffs)\|(All Star)$ | Y | |
TeamID | team_id | Y | ||
VsDivision | vs_division_nullable | ^((Atlantic)\|(Central)\|(Northwest)\|(Pacific)\|(Southeast)\|(Southwest)\|(East)\|(West))?$ | Y | Y |
VsConference | vs_conference_nullable | ^((East)\|(West))?$ | Y | Y |
StartRange | start_range_nullable | Y | ||
StartPeriod | start_period_nullable | Y | ||
SeasonSegment | season_segment_nullable | ^((Post All-Star)\|(Pre All-Star))?$ | Y | Y |
Season | season_nullable | Y | ||
RookieYear | rookie_year_nullable | Y | Y | |
RangeType | range_type_nullable | Y | ||
Position | position_nullable | Y | ||
PointDiff | point_diff_nullable | Y | ||
PlayerPosition | player_position_nullable | ^((Guard)\|(Center)\|(Forward))?$ | Y | Y |
Outcome | outcome_nullable | ^((W)\|(L))?$ | Y | Y |
Location | location_nullable | ^((Home)\|(Road))?$ | Y | Y |
GameSegment | game_segment_nullable | ^((First Half)\|(Overtime)\|(Second Half))?$ | Y | Y |
GameID | game_id_nullable | ^(\d{10})?$ | Y | Y |
EndRange | end_range_nullable | Y | ||
EndPeriod | end_period_nullable | Y | ||
DateTo | date_to_nullable | Y | Y | |
DateFrom | date_from_nullable | Y | Y | |
ContextFilter | context_filter_nullable | Y | ||
ClutchTime | clutch_time_nullable | ^((Last 5 Minutes)\|(Last 4 Minutes)\|(Last 3 Minutes)\|(Last 2 Minutes)\|(Last 1 Minute)\|(Last 30 Seconds)\|(Last 10 Seconds))?$ | Y | |
AheadBehind | ahead_behind_nullable | ^((Ahead or Behind)\|(Ahead or Tied)\|(Behind or Tied))?$ | Y |
#
Data Setsleague_averages
#
LeagueAverages ['GRID_TYPE', 'SHOT_ZONE_BASIC', 'SHOT_ZONE_AREA', 'SHOT_ZONE_RANGE', 'FGA', 'FGM', 'FG_PCT']
shot_chart_detail
#
Shot_Chart_Detail ['GRID_TYPE', 'GAME_ID', 'GAME_EVENT_ID', 'PLAYER_ID', 'PLAYER_NAME', 'TEAM_ID', 'TEAM_NAME', 'PERIOD', 'MINUTES_REMAINING', 'SECONDS_REMAINING', 'EVENT_TYPE', 'ACTION_TYPE', 'SHOT_TYPE', 'SHOT_ZONE_BASIC', 'SHOT_ZONE_AREA', 'SHOT_ZONE_RANGE', 'SHOT_DISTANCE', 'LOC_X', 'LOC_Y', 'SHOT_ATTEMPTED_FLAG', 'SHOT_MADE_FLAG', 'GAME_DATE', 'HTM', 'VTM']
#
JSON{ "data_sets": { "LeagueAverages": [ "GRID_TYPE", "SHOT_ZONE_BASIC", "SHOT_ZONE_AREA", "SHOT_ZONE_RANGE", "FGA", "FGM", "FG_PCT" ], "Shot_Chart_Detail": [ "GRID_TYPE", "GAME_ID", "GAME_EVENT_ID", "PLAYER_ID", "PLAYER_NAME", "TEAM_ID", "TEAM_NAME", "PERIOD", "MINUTES_REMAINING", "SECONDS_REMAINING", "EVENT_TYPE", "ACTION_TYPE", "SHOT_TYPE", "SHOT_ZONE_BASIC", "SHOT_ZONE_AREA", "SHOT_ZONE_RANGE", "SHOT_DISTANCE", "LOC_X", "LOC_Y", "SHOT_ATTEMPTED_FLAG", "SHOT_MADE_FLAG", "GAME_DATE", "HTM", "VTM" ] }, "endpoint": "ShotChartDetail", "last_validated_date": "2020-08-15", "nullable_parameters": [ "AheadBehind", "ClutchTime", "ContextFilter", "DateFrom", "DateTo", "EndPeriod", "EndRange", "GameID", "GameSegment", "Location", "Outcome", "PlayerPosition", "PointDiff", "Position", "RangeType", "RookieYear", "Season", "SeasonSegment", "StartPeriod", "StartRange", "VsConference", "VsDivision" ], "parameter_patterns": { "AheadBehind": "^((Ahead or Behind)|(Ahead or Tied)|(Behind or Tied))?$", "ClutchTime": "^((Last 5 Minutes)|(Last 4 Minutes)|(Last 3 Minutes)|(Last 2 Minutes)|(Last 1 Minute)|(Last 30 Seconds)|(Last 10 Seconds))?$", "ContextFilter": null, "ContextMeasure": "^((PTS)|(FGM)|(FGA)|(FG_PCT)|(FG3M)|(FG3A)|(FG3_PCT)|(PF)|(EFG_PCT)|(TS_PCT)|(PTS_FB)|(PTS_OFF_TOV)|(PTS_2ND_CHANCE)|(PF))?$", "DateFrom": null, "DateTo": null, "EndPeriod": null, "EndRange": null, "GameID": "^(\\d{10})?$", "GameSegment": "^((First Half)|(Overtime)|(Second Half))?$", "LastNGames": null, "LeagueID": null, "Location": "^((Home)|(Road))?$", "Month": null, "OpponentTeamID": null, "Outcome": "^((W)|(L))?$", "Period": null, "PlayerID": null, "PlayerPosition": "^((Guard)|(Center)|(Forward))?$", "PointDiff": null, "Position": null, "RangeType": null, "RookieYear": null, "Season": null, "SeasonSegment": "^((Post All-Star)|(Pre All-Star))?$", "SeasonType": "^(Regular Season)|(Pre Season)|(Playoffs)|(All Star)$", "StartPeriod": null, "StartRange": null, "TeamID": null, "VsConference": "^((East)|(West))?$", "VsDivision": "^((Atlantic)|(Central)|(Northwest)|(Pacific)|(Southeast)|(Southwest)|(East)|(West))?$" }, "parameters": [ "AheadBehind", "ClutchTime", "ContextFilter", "ContextMeasure", "DateFrom", "DateTo", "EndPeriod", "EndRange", "GameID", "GameSegment", "LastNGames", "LeagueID", "Location", "Month", "OpponentTeamID", "Outcome", "Period", "PlayerID", "PlayerPosition", "PointDiff", "Position", "RangeType", "RookieYear", "Season", "SeasonSegment", "SeasonType", "StartPeriod", "StartRange", "TeamID", "VsConference", "VsDivision" ], "required_parameters": [ "ContextMeasure", "DateFrom", "DateTo", "GameID", "GameSegment", "LastNGames", "LeagueID", "Location", "Month", "OpponentTeamID", "Outcome", "Period", "PlayerID", "PlayerPosition", "RookieYear", "SeasonSegment", "SeasonType", "TeamID", "VsConference", "VsDivision" ], "status": "success"}
Last validated 2020-08-16