Game

Get game boxscore.

This endpoint allows you to pull a boxscore

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

Request

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