NBA draft history
The picks of an NBA Draft: round, pick, overall pick, team, player and the school or club drafted from. Filter by round and team.
Every response includes credits_used: the credits this call cost.
Part of the NBA API: 22 endpoints with prices, use cases and example responses.
Parameters
| name | type | description |
|---|---|---|
year | integer | Draft year (1947 to this year); the latest draft by default. Example: 2025 |
round | integer | Round number. |
team | string | Team abbreviation (LAL, BOS ...) or nickname. |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/nba/v1/draft?year=2025" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/nba/v1/draft",
params={"year": "2025"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/nba/v1/draft");
url.searchParams.set("year", "2025");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).
Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)
{"year": 2025,"applied_filters": {"round": null,"team": null},"count": 59,"picks": [{"person_id": 1642843,"player_name": "Cooper Flagg","season": "2025","round_number": 1,"round_pick": 1,"overall_pick": 1,"draft_type": "Draft","team_id": 1610612742,"team_city": "Dallas","team_name": "Mavericks","team_abbreviation": "DAL","organization": "Duke","organization_type": "College/University","player_profile_flag": 1},{"person_id": 1642844,"player_name": "Dylan Harper","season": "2025","round_number": 1,"round_pick": 2,"overall_pick": 2,"draft_type": "Draft","team_id": 1610612759,"team_city": "San Antonio","team_name": "Spurs","team_abbreviation": "SAS","organization": "Rutgers","organization_type": "College/University","player_profile_flag": 1},"… 57 more"],"cached": false,"credits_used": 1}