Skip to main content

nba_homepagev2

Endpoint URL#

https://stats.nba.com/stats/homepagev2

Valid URL#

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

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
StatTypestat_type^(Traditional)\|(Advanced)\|(Tracking)$Y

Data Sets#

HomePageStat1 home_page_stat1#

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

HomePageStat2 home_page_stat2#

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

HomePageStat3 home_page_stat3#

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

HomePageStat4 home_page_stat4#

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

HomePageStat5 home_page_stat5#

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

HomePageStat6 home_page_stat6#

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

HomePageStat7 home_page_stat7#

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

HomePageStat8 home_page_stat8#

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

JSON#

{    "data_sets": {        "HomePageStat1": [            "RANK",            "TEAM_ID",            "TEAM_ABBREVIATION",            "TEAM_NAME",            "PTS"        ],        "HomePageStat2": [            "RANK",            "TEAM_ID",            "TEAM_ABBREVIATION",            "TEAM_NAME",            "REB"        ],        "HomePageStat3": [            "RANK",            "TEAM_ID",            "TEAM_ABBREVIATION",            "TEAM_NAME",            "AST"        ],        "HomePageStat4": [            "RANK",            "TEAM_ID",            "TEAM_ABBREVIATION",            "TEAM_NAME",            "STL"        ],        "HomePageStat5": [            "RANK",            "TEAM_ID",            "TEAM_ABBREVIATION",            "TEAM_NAME",            "FG_PCT"        ],        "HomePageStat6": [            "RANK",            "TEAM_ID",            "TEAM_ABBREVIATION",            "TEAM_NAME",            "FT_PCT"        ],        "HomePageStat7": [            "RANK",            "TEAM_ID",            "TEAM_ABBREVIATION",            "TEAM_NAME",            "FG3_PCT"        ],        "HomePageStat8": [            "RANK",            "TEAM_ID",            "TEAM_ABBREVIATION",            "TEAM_NAME",            "BLK"        ]    },    "endpoint": "HomePageV2",    "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)$",        "StatType": "^(Traditional)|(Advanced)|(Tracking)$"    },    "parameters": [        "GameScope",        "LeagueID",        "PlayerOrTeam",        "PlayerScope",        "Season",        "SeasonType",        "StatType"    ],    "required_parameters": [        "GameScope",        "LeagueID",        "PlayerOrTeam",        "PlayerScope",        "Season",        "SeasonType",        "StatType"    ],    "status": "success"}

Last validated 2020-08-16