MLB Stats API Docs

Type to search endpoints by name, path, or keyword.

GET/api/v1/draft/{year}

Draft

Draft picks for a year, by round.

On this page

Try it

Path
Query
https://statsapi.mlb.com/api/v1/draft/2026
const 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

NameTypeRequiredDescription
yearnumberyes

Four-digit draft year.

Query parameters

NameTypeRequiredDescription
roundstringno

Restrict to a round.

teamIdnumberno

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