Skip to main content

nba_winprobabilitypbp

Endpoint URL#

https://stats.nba.com/stats/winprobabilitypbp

Valid URL#

https://stats.nba.com/stats/winprobabilitypbp?GameID=0021700807&RunType=each+second

Parameters#

API Parameter NameParameterPatternRequiredNullable
GameIDgame_idY
RunTyperun_typeY

Data Sets#

GameInfo game_info#

['GAME_ID', 'GAME_DATE', 'HOME_TEAM_ID', 'HOME_TEAM_ABR', 'HOME_TEAM_PTS', 'VISITOR_TEAM_ID', 'VISITOR_TEAM_ABR', 'VISITOR_TEAM_PTS']

WinProbPBP win_prob_p_bp#

['GAME_ID', 'EVENT_NUM', 'HOME_PCT', 'VISITOR_PCT', 'HOME_PTS', 'VISITOR_PTS', 'HOME_SCORE_MARGIN', 'PERIOD', 'SECONDS_REMAINING', 'HOME_POSS_IND', 'HOME_G', 'DESCRIPTION', 'LOCATION', 'PCTIMESTRING', 'ISVISIBLE']

JSON#

{    "data_sets": {        "GameInfo": [            "GAME_ID",            "GAME_DATE",            "HOME_TEAM_ID",            "HOME_TEAM_ABR",            "HOME_TEAM_PTS",            "VISITOR_TEAM_ID",            "VISITOR_TEAM_ABR",            "VISITOR_TEAM_PTS"        ],        "WinProbPBP": [            "GAME_ID",            "EVENT_NUM",            "HOME_PCT",            "VISITOR_PCT",            "HOME_PTS",            "VISITOR_PTS",            "HOME_SCORE_MARGIN",            "PERIOD",            "SECONDS_REMAINING",            "HOME_POSS_IND",            "HOME_G",            "DESCRIPTION",            "LOCATION",            "PCTIMESTRING",            "ISVISIBLE"        ]    },    "endpoint": "WinProbabilityPBP",    "last_validated_date": "2020-08-15",    "nullable_parameters": [],    "parameter_patterns": {        "GameID": null,        "RunType": null    },    "parameters": [        "GameID",        "RunType"    ],    "required_parameters": [        "GameID",        "RunType"    ],    "status": "success"}

Last validated 2020-08-16