Skip to main content

nba_leaguegamelog

Endpoint URL#

https://stats.nba.com/stats/leaguegamelog

Valid URL#

https://stats.nba.com/stats/leaguegamelog?Counter=0&DateFrom=&DateTo=&Direction=ASC&LeagueID=00&PlayerOrTeam=T&Season=2019-20&SeasonType=Regular+Season&Sorter=DATE

Parameters#

API Parameter NameParameterPatternRequiredNullable
CountercounterY
Directiondirection^(ASC)\|(DESC)$Y
LeagueIDleague_idY
PlayerOrTeamplayer_or_team_abbreviation^(P)\|(T)$Y
SeasonseasonY
SeasonTypeseason_type_all_star^(Regular Season)\|(Pre Season)\|(Playoffs)\|(All Star)\|(All-Star)$Y
Sortersorter^((FGM)\|(FGA)\|(FG_PCT)\|(FG3M)\|(FG3A)\|(FG3_PCT)\|(FTM)\|(FTA)\|(FT_PCT)\|(OREB)\|(DREB)\|(AST)\|(STL)\|(BLK)\|(TOV)\|(REB)\|(PTS)\|(DATE))$Y
DateTodate_to_nullableY
DateFromdate_from_nullableY

Data Sets#

LeagueGameLog league_game_log#

['SEASON_ID', 'TEAM_ID', 'TEAM_ABBREVIATION', 'TEAM_NAME', 'GAME_ID', 'GAME_DATE', 'MATCHUP', 'WL', 'MIN', 'FGM', 'FGA', 'FG_PCT', 'FG3M', 'FG3A', 'FG3_PCT', 'FTM', 'FTA', 'FT_PCT', 'OREB', 'DREB', 'REB', 'AST', 'STL', 'BLK', 'TOV', 'PF', 'PTS', 'PLUS_MINUS', 'VIDEO_AVAILABLE']

JSON#

{    "data_sets": {        "LeagueGameLog": [            "SEASON_ID",            "TEAM_ID",            "TEAM_ABBREVIATION",            "TEAM_NAME",            "GAME_ID",            "GAME_DATE",            "MATCHUP",            "WL",            "MIN",            "FGM",            "FGA",            "FG_PCT",            "FG3M",            "FG3A",            "FG3_PCT",            "FTM",            "FTA",            "FT_PCT",            "OREB",            "DREB",            "REB",            "AST",            "STL",            "BLK",            "TOV",            "PF",            "PTS",            "PLUS_MINUS",            "VIDEO_AVAILABLE"        ]    },    "endpoint": "LeagueGameLog",    "last_validated_date": "2020-08-15",    "nullable_parameters": [        "DateFrom",        "DateTo"    ],    "parameter_patterns": {        "Counter": null,        "DateFrom": null,        "DateTo": null,        "Direction": "^(ASC)|(DESC)$",        "LeagueID": null,        "PlayerOrTeam": "^(P)|(T)$",        "Season": null,        "SeasonType": "^(Regular Season)|(Pre Season)|(Playoffs)|(All Star)|(All-Star)$",        "Sorter": "^((FGM)|(FGA)|(FG_PCT)|(FG3M)|(FG3A)|(FG3_PCT)|(FTM)|(FTA)|(FT_PCT)|(OREB)|(DREB)|(AST)|(STL)|(BLK)|(TOV)|(REB)|(PTS)|(DATE))$"    },    "parameters": [        "Counter",        "DateFrom",        "DateTo",        "Direction",        "LeagueID",        "PlayerOrTeam",        "Season",        "SeasonType",        "Sorter"    ],    "required_parameters": [        "Counter",        "Direction",        "LeagueID",        "PlayerOrTeam",        "Season",        "SeasonType",        "Sorter"    ],    "status": "success"}

Last validated 2020-08-16