Skip to main content

nba_drafthistory

Endpoint URL#

https://stats.nba.com/stats/drafthistory

Valid URL#

https://stats.nba.com/stats/drafthistory?College=&LeagueID=00&OverallPick=&RoundNum=&RoundPick=&Season=&TeamID=&TopX=

Parameters#

API Parameter NameParameterPatternRequiredNullable
LeagueIDleague_id^\d{2}$Y
TopXtopx_nullableY
TeamIDteam_id_nullableY
Seasonseason_year_nullable^\d{4}$Y
RoundPickround_pick_nullableY
RoundNumround_num_nullableY
OverallPickoverall_pick_nullableY
Collegecollege_nullableY

Data Sets#

DraftHistory draft_history#

['PERSON_ID', 'PLAYER_NAME', 'SEASON', 'ROUND_NUMBER', 'ROUND_PICK', 'OVERALL_PICK', 'DRAFT_TYPE', 'TEAM_ID', 'TEAM_CITY', 'TEAM_NAME', 'TEAM_ABBREVIATION', 'ORGANIZATION', 'ORGANIZATION_TYPE']

JSON#

{    "data_sets": {        "DraftHistory": [            "PERSON_ID",            "PLAYER_NAME",            "SEASON",            "ROUND_NUMBER",            "ROUND_PICK",            "OVERALL_PICK",            "DRAFT_TYPE",            "TEAM_ID",            "TEAM_CITY",            "TEAM_NAME",            "TEAM_ABBREVIATION",            "ORGANIZATION",            "ORGANIZATION_TYPE"        ]    },    "endpoint": "DraftHistory",    "last_validated_date": "2020-08-15",    "nullable_parameters": [        "College",        "OverallPick",        "RoundNum",        "RoundPick",        "Season",        "TeamID",        "TopX"    ],    "parameter_patterns": {        "College": null,        "LeagueID": "^\\d{2}$",        "OverallPick": null,        "RoundNum": null,        "RoundPick": null,        "Season": "^\\d{4}$",        "TeamID": null,        "TopX": null    },    "parameters": [        "College",        "LeagueID",        "OverallPick",        "RoundNum",        "RoundPick",        "Season",        "TeamID",        "TopX"    ],    "required_parameters": [        "LeagueID"    ],    "status": "success"}

Last validated 2020-08-16