Endpoint Playground
Returns the draft attached to a league season: the upcoming or just-held `draft` and the `previous_draft`, each with its year, start and end time, status, the draft `rounds` (the valid `round` values for draft-picks) and whether the lottery is complete. The `league` enum accepts `nba` and `nfl`. Get `season` from tournament-seasons (NBA competition id 132, NFL 9464). A season without a draft, or a season id that does not belong to the league, returns 404. A season whose draft is not scheduled yet returns only `previous_draft`.
14 Oct 2026: Single record response; 21 fields had a value in every checked item.
Sample value profiles: draft.start_timestamp: 2026-06-23; season: 80,229; league: “nba”.
curl 'https://api.crawlora.net/api/v1/sofascore/draft?league=nba&season=80229' \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| league | string | Yes | nba | League whose draft to return |
| season | string | Yes | 80229 | Numeric SofaScore season id of the league |
{
"code": 200,
"msg": "OK",
"data": {
"league": "nba",
"season": 80229,
"source_url": "https://api.sofascore.com/api/v1/unique-tournament/132/season/80229/draft",
"fetched_at": "2026-07-08T00:00:00Z",
"lottery_year": 2026,
"prospects_year": 2026,
"has_lottery_draw": true,
"draft": {
"year": 2026,
"start_timestamp": 1782172800,
"end_timestamp": 1782259200,
"start_time": "2026-06-23T00:00:00Z",
"end_time": "2026-06-24T00:00:00Z",
"status": "closed",
"rounds": [
1,
2
],
"is_lottery_complete": true
},
"previous_draft": {
"year": 2025,
"start_timestamp": 1750809600,
"end_timestamp": 1750896000,
"start_time": "2025-06-25T00:00:00Z",
"end_time": "2025-06-26T00:00:00Z",
"status": "closed",
"rounds": [
1,
2
],
"is_lottery_complete": true
}
}
}The sample response, schema and code snippets below work without an account. Sending a live request needs an API key.