MLB

Get MLB standings

Returns American League and National League standings, including source-provided expected, home/away, last-ten, ranking, and elimination fields when available, using any supported standings type returned by mlb_discovery.

get/mlb/standings

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/mlb/standings
  • Auth: API key in header x-api-key

Query parameters

seasoninteger

Four-digit season; defaults to current year

type'regularSeason' | 'wildCard' | 'divisionLeaders' | 'wildCardWithLeaders' | 'firstHalf' | 'secondHalf' | 'springTraining' | 'postseason' | 'byDivision' | 'byConference' | 'byLeague' | 'byOrganization' | 'currentHalf'

Standings type

datestring

Snapshot date in YYYY-MM-DD format; returns standings as of that date

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.