GET/api/v1/draft/{year}
Draft
Draft picks for a year, by round.
On this page
Try it
https://statsapi.mlb.com/api/v1/draft/2026const res = await fetch('https://statsapi.mlb.com/api/v1/draft/2026')
const data = await res.json()curl -s 'https://statsapi.mlb.com/api/v1/draft/2026'
Reference
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
year | number | yes | Four-digit draft year. |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
round | string | no | Restrict to a round. |
teamId | number | no | Restrict to a team’s picks. |
Response
Type: DraftResponse
/** `GET /api/v1/draft/{year}` */
export interface DraftResponse extends WithCopyright {
drafts: {
draftYear: number
rounds: DraftRound[]
}
}Build with it
Live examples powered by this endpoint with real data. Inspiration — restyle and remix freely.
Draft board
Picks by round for a draft year, with player, school, and team.
Loading draft…
Example URLs
- 2026 draft:
https://statsapi.mlb.com/api/v1/draft/2026