MLB

Get the MLB schedule and scores

Returns MLB games, teams, scores, status, probable pitchers, venue, and series information for one date or date range, optionally filtered to a team.

get/mlb/schedule

Request

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

Query parameters

datestring

Single date in YYYY-MM-DD format

start_datestring

Range start in YYYY-MM-DD format

end_datestring

Range end in YYYY-MM-DD format

team_idstring

Numeric MLB team id

game_type'S' | 'R' | 'F' | 'D' | 'L' | 'W' | 'C' | 'P' | 'A' | 'I' | 'E'

Game type

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.