Analytics

Get play GUIDs by game

This endpoint returns Statcast data for all plays in a specific game.

get/api/v1/game/{gamePk}/guids

Request

  • Base URL: https://statsapi.mlb.com
  • URL: https://statsapi.mlb.com/api/v1/game/{gamePk}/guids
  • Auth: none declared

Path parameters

gamePkinteger required

Unique Primary Key Representing a Game

Query parameters

fieldsstring[]

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

gameModeIdinteger

Statcast game mode. Format: 0 = Batting Practive, 1 = Warmup 2 = Live

isPitchboolean

If there was a pitch

isHitboolean

If there was a hit ball tracked

isPickoffboolean

If there was a pickoff

hasUpdatesboolean

True if updated by an auditor

sincestring date-time

Returns all data that was created after the specified timestamp. Format: YYYY-MM-DDTHH:MM:SSZ

updatedSincestring date-time

Return data updated since a specified date. Format: YYYY-MM-DDTHH:MM:SSZ

lastPlayTimestring date-time

Returns all data that was created after the specified timestamp. Format: YYYY-MM-DDTHH:MM:SSZ

lastUpdatedTimestring date-time

Return data updated since a specified date. Format: YYYY-MM-DDTHH:MM:SSZ

lastMetricsUpdatedTimestring date-time

The last time the metrics were built for this play

lastAuditUpdatedTimestring date-time

Return data updated since a specified date. Format: YYYY-MM-DDTHH:MM:SSZ

lastVideoUpdatedTimestring date-time

The last time SportyBot video was updated

Response

OK

Changes

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