Skip to main content

nba_playernextngames

Endpoint URL#

https://stats.nba.com/stats/playernextngames

Valid URL#

https://stats.nba.com/stats/playernextngames?LeagueID=&NumberOfGames=2147483647&PlayerID=2544&Season=2019-20&SeasonType=Regular+Season

Parameters#

API Parameter NameParameterPatternRequiredNullable
NumberOfGamesnumber_of_gamesY
PlayerIDplayer_idY
Seasonseason_all^(\d{4}-\d{2})\|(ALL)$Y
SeasonTypeseason_type_all_star^(Regular Season)\|(Pre Season)\|(Playoffs)\|(All-Star)\|(All Star)$Y
LeagueIDleague_id_nullableY

Data Sets#

NextNGames next_n_games#

['GAME_ID', 'GAME_DATE', 'HOME_TEAM_ID', 'VISITOR_TEAM_ID', 'HOME_TEAM_NAME', 'VISITOR_TEAM_NAME', 'HOME_TEAM_ABBREVIATION', 'VISITOR_TEAM_ABBREVIATION', 'HOME_TEAM_NICKNAME', 'VISITOR_TEAM_NICKNAME', 'GAME_TIME', 'HOME_WL', 'VISITOR_WL']

JSON#

{    "data_sets": {        "NextNGames": [            "GAME_ID",            "GAME_DATE",            "HOME_TEAM_ID",            "VISITOR_TEAM_ID",            "HOME_TEAM_NAME",            "VISITOR_TEAM_NAME",            "HOME_TEAM_ABBREVIATION",            "VISITOR_TEAM_ABBREVIATION",            "HOME_TEAM_NICKNAME",            "VISITOR_TEAM_NICKNAME",            "GAME_TIME",            "HOME_WL",            "VISITOR_WL"        ]    },    "endpoint": "PlayerNextNGames",    "last_validated_date": "2020-08-15",    "nullable_parameters": [        "LeagueID"    ],    "parameter_patterns": {        "LeagueID": null,        "NumberOfGames": null,        "PlayerID": null,        "Season": "^(\\d{4}-\\d{2})|(ALL)$",        "SeasonType": "^(Regular Season)|(Pre Season)|(Playoffs)|(All-Star)|(All Star)$"    },    "parameters": [        "LeagueID",        "NumberOfGames",        "PlayerID",        "Season",        "SeasonType"    ],    "required_parameters": [        "NumberOfGames",        "PlayerID",        "Season",        "SeasonType"    ],    "status": "success"}

Last validated 2020-08-16