MLB Stats API Docs

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

GET/api/v1/standings

Standings

Standings for one or more leagues and a season.

On this page

Try it

Query
https://statsapi.mlb.com/api/v1/standings?leagueId=103%2C104&season=2026
const res = await fetch('https://statsapi.mlb.com/api/v1/standings?leagueId=103%2C104&season=2026')
const data = await res.json()
curl -s 'https://statsapi.mlb.com/api/v1/standings?leagueId=103%2C104&season=2026'

Reference

Query parameters

NameTypeRequiredDescription
leagueIdcsvyes

One or more league ids, e.g. 103,104.

seasonnumberno

Four-digit year.

standingsTypesregularSeasonwildCarddivisionLeadersspringTrainingbyDivisionbyLeagueno

Which standings view to return.

datedateno

Standings as of a specific day.

hydratecsvno

e.g. team.

fieldscsvno

Comma-separated field paths to keep (trims the response), e.g. records,teamRecords,team,wins,losses.

Response

Type: StandingsResponse

/** `GET /api/v1/standings` */
export interface StandingsResponse extends WithCopyright {
	records: StandingsRecord[]
}

Notes

  • Records are grouped by division under records[], each with teamRecords[].

Build with it

Live examples powered by this endpoint with real data. Inspiration — restyle and remix freely.

Division standings

Per-division tables with a color-coded W-L record, games back, and current streak.

Loading standings…

Example URLs

  • AL + NL standings (2026): https://statsapi.mlb.com/api/v1/standings?leagueId=103%2C104&season=2026