GET/api/v1/standings
Standings
Standings for one or more leagues and a season.
On this page
Try it
https://statsapi.mlb.com/api/v1/standings?leagueId=103%2C104&season=2026const 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
| Name | Type | Required | Description |
|---|---|---|---|
leagueId | csv | yes | One or more league ids, e.g. |
season | number | no | Four-digit year. |
standingsTypes | regularSeasonwildCarddivisionLeadersspringTrainingbyDivisionbyLeague | no | Which standings view to return. |
date | date | no | Standings as of a specific day. |
hydrate | csv | no | e.g. |
fields | csv | no | Comma-separated field paths to keep (trims the response), e.g. |
Response
Type: StandingsResponse
/** `GET /api/v1/standings` */
export interface StandingsResponse extends WithCopyright {
records: StandingsRecord[]
}Notes
Records are grouped by division under
records[], each withteamRecords[].
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