Analytics

Get the field tracking data for a specific play.

Returns a json file containing raw coordinate data and refined calculated metrics.<br/><br/>This responses can be very large, so it is strongly recommended that you pass "Accept-Encoding: gzip" as a header to have the responses compressed.

get/api/v1/game/{gamePk}/{guid}/contextMetrics

Request

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

Path parameters

gamePkinteger required

Unique Primary Key Representing a Game

guidstring required

Unique identifier for a play within a game

Query parameters

fieldsstring[]

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

Response

OK

Changes

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