NBA draft history

GET https://api.api.sh/nba/v1/draft
1 credit / call sports try it in the playground →

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

nametypedescription
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"

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}
The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.