Skip to main content

nba_commonplayerinfo

Endpoint URL#

https://stats.nba.com/stats/commonplayerinfo

Valid URL#

https://stats.nba.com/stats/commonplayerinfo?LeagueID=&PlayerID=2544

Parameters#

API Parameter NameParameterPatternRequiredNullable
PlayerIDplayer_idY
LeagueIDleague_id_nullableY

Data Sets#

AvailableSeasons available_seasons#

['SEASON_ID']

CommonPlayerInfo common_player_info#

['PERSON_ID', 'FIRST_NAME', 'LAST_NAME', 'DISPLAY_FIRST_LAST', 'DISPLAY_LAST_COMMA_FIRST', 'DISPLAY_FI_LAST', 'PLAYER_SLUG', 'BIRTHDATE', 'SCHOOL', 'COUNTRY', 'LAST_AFFILIATION', 'HEIGHT', 'WEIGHT', 'SEASON_EXP', 'JERSEY', 'POSITION', 'ROSTERSTATUS', 'TEAM_ID', 'TEAM_NAME', 'TEAM_ABBREVIATION', 'TEAM_CODE', 'TEAM_CITY', 'PLAYERCODE', 'FROM_YEAR', 'TO_YEAR', 'DLEAGUE_FLAG', 'NBA_FLAG', 'GAMES_PLAYED_FLAG', 'DRAFT_YEAR', 'DRAFT_ROUND', 'DRAFT_NUMBER']

PlayerHeadlineStats player_headline_stats#

['PLAYER_ID', 'PLAYER_NAME', 'TimeFrame', 'PTS', 'AST', 'REB', 'PIE']

JSON#

{    "data_sets": {        "AvailableSeasons": [            "SEASON_ID"        ],        "CommonPlayerInfo": [            "PERSON_ID",            "FIRST_NAME",            "LAST_NAME",            "DISPLAY_FIRST_LAST",            "DISPLAY_LAST_COMMA_FIRST",            "DISPLAY_FI_LAST",            "PLAYER_SLUG",            "BIRTHDATE",            "SCHOOL",            "COUNTRY",            "LAST_AFFILIATION",            "HEIGHT",            "WEIGHT",            "SEASON_EXP",            "JERSEY",            "POSITION",            "ROSTERSTATUS",            "TEAM_ID",            "TEAM_NAME",            "TEAM_ABBREVIATION",            "TEAM_CODE",            "TEAM_CITY",            "PLAYERCODE",            "FROM_YEAR",            "TO_YEAR",            "DLEAGUE_FLAG",            "NBA_FLAG",            "GAMES_PLAYED_FLAG",            "DRAFT_YEAR",            "DRAFT_ROUND",            "DRAFT_NUMBER"        ],        "PlayerHeadlineStats": [            "PLAYER_ID",            "PLAYER_NAME",            "TimeFrame",            "PTS",            "AST",            "REB",            "PIE"        ]    },    "endpoint": "CommonPlayerInfo",    "last_validated_date": "2020-08-15",    "nullable_parameters": [        "LeagueID"    ],    "parameter_patterns": {        "LeagueID": null,        "PlayerID": null    },    "parameters": [        "LeagueID",        "PlayerID"    ],    "required_parameters": [        "PlayerID"    ],    "status": "success"}

Last validated 2020-08-16