STAT-API

MLB playoffs API

playoffsmlb.playoffs
The MLB postseason bracket — Wild Card Series, Division Series, League Championship Series, and the World Series, tracked as the seeded matchups and outcomes.
GET/api/v1/mlb/playoffs
Parameters
limitqueryintegeroptionaldefault 50
Page size. Defaults to 50; max 5000.
from_idquerybigintoptional
Return rows with id strictly greater than this value; page using the previous response's `next_from_id`. Omit on the first page.
Restores the documented defaults (trial keys only accept the unchanged defaults).
Request
curl -sS --compressed \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  'https://api.stat-api.com/api/v1/mlb/playoffs?limit=3'
Responses
200playoffs rows matching the declared filter set, wrapped in { playoffs, limit, next_from_id }. next_from_id is the last row's id on a full page — pass it back via ?from_id= to walk the full result; null marks the terminal page.application/jsonshow example ▸
400No declared filter set was satisfied — response body matches MissingRequiredFiltersError; pick one combo from the accepted-sets hint and resend.application/json
Response Schema(12 fields)show schema ▸
FieldTypeReferencesDescription
idkey
bigint—Primary Key
away_team_id
bigint—
e.g. 44
home_team_id
bigint—
e.g. 27
season_id
bigint—
e.g. 2020
series_id
bigint——
e.g. 102
away_team_wins
integer——
e.g. 2
games_played
integer——
e.g. 2
home_team_wins
integer——
e.g. 3
max_games
integer——
e.g. 5
series_name
string——
Values:AL Division SeriesNL Division SeriesAL Wild Card SeriesNL Wild Card SeriesNL Championship SeriesAL Championship SeriesWorld SeriesNL Wild Card GameAL Wild Card Game
series_text
string——
e.g. LAD won 3-1
status
string——
Values:CompletedActive
GET/api/v1/mlb/playoffs/{id}
Parameters
idpathbigintrequired
Primary key (id) of the playoff row.
Restores the documented defaults (trial keys only accept the unchanged defaults).
Request
curl -sS --compressed \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  'https://api.stat-api.com/api/v1/mlb/playoffs/{pk_value}'
Responses
200Single playoff row.application/jsonshow example ▸
404Row not found.
Response Schema(12 fields)show schema ▸
FieldTypeReferencesDescription
idkey
bigint—Primary Key
away_team_id
bigint—
e.g. 44
home_team_id
bigint—
e.g. 27
season_id
bigint—
e.g. 2020
series_id
bigint——
e.g. 102
away_team_wins
integer——
e.g. 2
games_played
integer——
e.g. 2
home_team_wins
integer——
e.g. 3
max_games
integer——
e.g. 5
series_name
string——
Values:AL Division SeriesNL Division SeriesAL Wild Card SeriesNL Wild Card SeriesNL Championship SeriesAL Championship SeriesWorld SeriesNL Wild Card GameAL Wild Card Game
series_text
string——
e.g. LAD won 3-1
status
string——
Values:CompletedActive