Game

Get game play By Play

This endpoint allows you to pull the play by play of a game

get/api/v1/game/{game_pk}/playByPlay

Request

  • Base URL: https://statsapi.mlb.com
  • URL: https://statsapi.mlb.com/api/v1/game/{game_pk}/playByPlay
  • 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.