Game

Get live game status.

This API can return very large payloads. It is STRONGLY recommended that clients ask for diffs and use "Accept-Encoding: gzip" header.

get/api/v1.1/game/{game_pk}/feed/live

Request

  • Base URL: https://statsapi.mlb.com
  • URL: https://statsapi.mlb.com/api/v1.1/game/{game_pk}/feed/live
  • Auth: none declared

Path parameters

game_pkinteger required

Unique Primary Key Representing a Game

Query parameters

timecodestring

Use this parameter to return a snapshot of the data at the specified time. Format: YYYYMMDD_HHMMSS

fieldsstring[]

Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute

inclusiveTimecodeboolean

True to include plays that happen before or at the specified timecode

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.