Documentation / Players
Draft
GET /v1/draft/{year}Free key and up
Every pick of one draft year in order: round, pick, overall, the drafting team's code and the player.
GET
https://api.icehockeyapi.com/v1/draft/{year}https://api.icehockeyapi.com/v1/draft/2024curl "https://api.icehockeyapi.com/v1/draft/2024" \ -H "X-API-Key: YOUR_KEY"
200 OKExample answer from the data, 12 Oct
{
"data": [
{
"overall": 1,
"round": 1,
"pick": 1,
"team_code": "SJS",
"player": {
"id": "pl_r76c3ha1",
"name": "Macklin Celebrini",
"position": "center",
"nationality": null
}
},
{
"overall": 2,
"round": 1,
"pick": 2,
"team_code": "CHI",
"player": {
"id": "pl_h5823bee",
"name": "Artyom Levshunov",
"position": "defense",
"nationality": null
}
},
{
"overall": 3,
"round": 1,
"pick": 3,
"team_code": "ANA",
"player": {
"id": "pl_1facdf42",
"name": "Beckett Sennecke",
"position": "right_wing",
"nationality": null
}
}
],
"meta": {
"count": 224,
"year": 2024,
"plan": "Complete"
}
}Run works once the API is live; the code above works now.
Parameters
| Name | In | Type | What it does |
|---|---|---|---|
year required | path | int | Draft year |
Returns
| Field | Type |
|---|---|
overall | int |
round | int |
pick | int |
team_code | string |
player | object |
player.id | string |
player.name | string |
player.position | string |
player.nationality | null |