Skip to main content

nba_matchupsrollup

Endpoint URL#

https://stats.nba.com/stats/matchupsrollup

Valid URL#

https://stats.nba.com/stats/matchupsrollup?DefPlayerID=&DefTeamID=&LeagueID=00&OffPlayerID=&OffTeamID=&PerMode=Totals&Season=2019-20&SeasonType=Regular+Season

Parameters#

API Parameter NameParameterPatternRequiredNullable
LeagueIDleague_id^\d{2}$Y
PerModeper_mode_simpleY
Seasonseason^(\d{4}-\d{2})$Y
SeasonTypeseason_type_playoffs^(Regular Season)\|(Pre Season)\|(Playoffs)\|(Pre-Season)$Y
OffTeamIDoff_team_id_nullableY
OffPlayerIDoff_player_id_nullableY
DefTeamIDdef_team_id_nullableY
DefPlayerIDdef_player_id_nullableY

Data Sets#

MatchupsRollup matchups_rollup#

['SEASON_ID', 'POSITION', 'PERCENT_OF_TIME', 'DEF_PLAYER_ID', 'DEF_PLAYER_NAME', 'GP', 'MATCHUP_MIN', 'PARTIAL_POSS', 'PLAYER_PTS', 'TEAM_PTS', 'MATCHUP_AST', 'MATCHUP_TOV', 'MATCHUP_BLK', 'MATCHUP_FGM', 'MATCHUP_FGA', 'MATCHUP_FG_PCT', 'MATCHUP_FG3M', 'MATCHUP_FG3A', 'MATCHUP_FG3_PCT', 'MATCHUP_FTM', 'MATCHUP_FTA', 'SFL']

JSON#

{    "data_sets": {        "MatchupsRollup": [            "SEASON_ID",            "POSITION",            "PERCENT_OF_TIME",            "DEF_PLAYER_ID",            "DEF_PLAYER_NAME",            "GP",            "MATCHUP_MIN",            "PARTIAL_POSS",            "PLAYER_PTS",            "TEAM_PTS",            "MATCHUP_AST",            "MATCHUP_TOV",            "MATCHUP_BLK",            "MATCHUP_FGM",            "MATCHUP_FGA",            "MATCHUP_FG_PCT",            "MATCHUP_FG3M",            "MATCHUP_FG3A",            "MATCHUP_FG3_PCT",            "MATCHUP_FTM",            "MATCHUP_FTA",            "SFL"        ]    },    "endpoint": "MatchupsRollup",    "last_validated_date": "2020-08-15",    "nullable_parameters": [        "DefPlayerID",        "DefTeamID",        "OffPlayerID",        "OffTeamID"    ],    "parameter_patterns": {        "DefPlayerID": null,        "DefTeamID": null,        "LeagueID": "^\\d{2}$",        "OffPlayerID": null,        "OffTeamID": null,        "PerMode": null,        "Season": "^(\\d{4}-\\d{2})$",        "SeasonType": "^(Regular Season)|(Pre Season)|(Playoffs)|(Pre-Season)$"    },    "parameters": [        "DefPlayerID",        "DefTeamID",        "LeagueID",        "OffPlayerID",        "OffTeamID",        "PerMode",        "Season",        "SeasonType"    ],    "required_parameters": [        "LeagueID",        "PerMode",        "Season",        "SeasonType"    ],    "status": "success"}

Last validated 2020-08-16