Skip to main content

nba_defensehub

Endpoint URL#

https://stats.nba.com/stats/defensehub

Valid URL#

https://stats.nba.com/stats/defensehub?GameScope=Season&LeagueID=00&PlayerOrTeam=Team&PlayerScope=All+Players&Season=2019-20&SeasonType=Regular+Season

Parameters#

API Parameter NameParameterPatternRequiredNullable
GameScopegame_scope_detailed^(Season)\|(Last 10)\|(Yesterday)\|(Finals)$Y
LeagueIDleague_id^\d{2}$Y
PlayerOrTeamplayer_or_team^(Player)\|(Team)$Y
PlayerScopeplayer_scope^(All Players)\|(Rookies)$Y
SeasonseasonY
SeasonTypeseason_type_playoffs^(Regular Season)\|(Pre Season)\|(Playoffs)$Y

Data Sets#

DefenseHubStat1 defense_hub_stat1#

['RANK', 'TEAM_ID', 'TEAM_ABBREVIATION', 'TEAM_NAME', 'DREB']

DefenseHubStat10 defense_hub_stat10#

[]

DefenseHubStat2 defense_hub_stat2#

['RANK', 'TEAM_ID', 'TEAM_ABBREVIATION', 'TEAM_NAME', 'STL']

DefenseHubStat3 defense_hub_stat3#

['RANK', 'TEAM_ID', 'TEAM_ABBREVIATION', 'TEAM_NAME', 'BLK']

DefenseHubStat4 defense_hub_stat4#

['RANK', 'TEAM_ID', 'TEAM_ABBREVIATION', 'TEAM_NAME', 'TM_DEF_RATING']

DefenseHubStat5 defense_hub_stat5#

['RANK', 'TEAM_ID', 'TEAM_ABBREVIATION', 'TEAM_NAME', 'OVERALL_PM']

DefenseHubStat6 defense_hub_stat6#

['RANK', 'TEAM_ID', 'TEAM_ABBREVIATION', 'TEAM_NAME', 'THREEP_DFGPCT']

DefenseHubStat7 defense_hub_stat7#

['RANK', 'TEAM_ID', 'TEAM_ABBREVIATION', 'TEAM_NAME', 'TWOP_DFGPCT']

DefenseHubStat8 defense_hub_stat8#

['RANK', 'TEAM_ID', 'TEAM_ABBREVIATION', 'TEAM_NAME', 'FIFETEENF_DFGPCT']

DefenseHubStat9 defense_hub_stat9#

['RANK', 'TEAM_ID', 'TEAM_ABBREVIATION', 'TEAM_NAME', 'DEF_RIM_PCT']

JSON#

{    "data_sets": {        "DefenseHubStat1": [            "RANK",            "TEAM_ID",            "TEAM_ABBREVIATION",            "TEAM_NAME",            "DREB"        ],        "DefenseHubStat10": [],        "DefenseHubStat2": [            "RANK",            "TEAM_ID",            "TEAM_ABBREVIATION",            "TEAM_NAME",            "STL"        ],        "DefenseHubStat3": [            "RANK",            "TEAM_ID",            "TEAM_ABBREVIATION",            "TEAM_NAME",            "BLK"        ],        "DefenseHubStat4": [            "RANK",            "TEAM_ID",            "TEAM_ABBREVIATION",            "TEAM_NAME",            "TM_DEF_RATING"        ],        "DefenseHubStat5": [            "RANK",            "TEAM_ID",            "TEAM_ABBREVIATION",            "TEAM_NAME",            "OVERALL_PM"        ],        "DefenseHubStat6": [            "RANK",            "TEAM_ID",            "TEAM_ABBREVIATION",            "TEAM_NAME",            "THREEP_DFGPCT"        ],        "DefenseHubStat7": [            "RANK",            "TEAM_ID",            "TEAM_ABBREVIATION",            "TEAM_NAME",            "TWOP_DFGPCT"        ],        "DefenseHubStat8": [            "RANK",            "TEAM_ID",            "TEAM_ABBREVIATION",            "TEAM_NAME",            "FIFETEENF_DFGPCT"        ],        "DefenseHubStat9": [            "RANK",            "TEAM_ID",            "TEAM_ABBREVIATION",            "TEAM_NAME",            "DEF_RIM_PCT"        ]    },    "endpoint": "DefenseHub",    "last_validated_date": "2020-08-15",    "nullable_parameters": [],    "parameter_patterns": {        "GameScope": "^(Season)|(Last 10)|(Yesterday)|(Finals)$",        "LeagueID": "^\\d{2}$",        "PlayerOrTeam": "^(Player)|(Team)$",        "PlayerScope": "^(All Players)|(Rookies)$",        "Season": null,        "SeasonType": "^(Regular Season)|(Pre Season)|(Playoffs)$"    },    "parameters": [        "GameScope",        "LeagueID",        "PlayerOrTeam",        "PlayerScope",        "Season",        "SeasonType"    ],    "required_parameters": [        "GameScope",        "LeagueID",        "PlayerOrTeam",        "PlayerScope",        "Season",        "SeasonType"    ],    "status": "success"}

Last validated 2020-08-16