Major League Baseball · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Stats API Documentation Analytics API

10 actions 10 updates phrasing extends openapi/major-league-baseball-analytics-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Major League Baseball's API. It is a proposal applied on top of the contract, not a document Major League Baseball publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 10

$.info
$.paths['/api/v1/game/{gamePk}/{guid}/contextMetricsAverages'].get
$.paths['/api/v1/game/{gamePk}/{guid}/contextMetricsAverages'].post
$.paths['/api/v1/game/{gamePk}/{guid}/homeRunBallparks'].get
$.paths['/api/v1/game/{gamePk}/{guid}/contextMetrics'].get
$.paths['/api/v1/game/{gamePk}/{guid}/analytics'].get
$.paths['/api/v1/game/{gamePk}/guids'].get
$.paths['/api/v1/game/lastPitch'].get
$.paths['/api/v1/analytics/guids'].get
$.paths['/api/v1/analytics/game'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Stats API Documentation Analytics API
  version: 1.0.0
extends: openapi/major-league-baseball-analytics-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-20'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 9
- target: $.paths['/api/v1/game/{gamePk}/{guid}/contextMetricsAverages'].get
  update:
    x-apievangelist-phrasing:
      intent: Get Statcast context metrics averages for a play
      effect: read
      questions:
      - Can I get the average context metrics for a Statcast play?
      - What does the contextMetricsAverages endpoint return for a play?
      instructions:
      - text: Get the context metrics averages for play {guid} in game {gamePk}.
        slots:
          guid: path.guid
          gamePk: path.gamePk
      - text: Show average context metrics for play {guid} of game {gamePk} with fields {fields}.
        slots:
          guid: path.guid
          gamePk: path.gamePk
          fields: query.fields
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/game/{gamePk}/{guid}/contextMetricsAverages'].post
  update:
    x-apievangelist-phrasing:
      intent: Post to context metrics averages for a play
      effect: write
      questions:
      - Can I POST to the context metrics averages endpoint for a play?
      - Is there a POST version of the context metrics averages call?
      instructions:
      - text: POST to context metrics averages for play {guid} in game {gamePk}.
        slots:
          guid: path.guid
          gamePk: path.gamePk
      - text: Send a context metrics averages request for play {guid} of game {gamePk} with fields {fields}.
        slots:
          guid: path.guid
          gamePk: path.gamePk
          fields: query.fields
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/game/{gamePk}/{guid}/homeRunBallparks'].get
  update:
    x-apievangelist-phrasing:
      intent: Get ballparks where a home run was hit
      effect: read
      questions:
      - Which ballparks have a home run from a given play?
      - Can I get home run park data for a play?
      instructions:
      - text: Get home run ballparks for play {guid} in game {gamePk}.
        slots:
          guid: path.guid
          gamePk: path.gamePk
      - text: Show home run parks for play {guid} of game {gamePk} with fields {fields}.
        slots:
          guid: path.guid
          gamePk: path.gamePk
          fields: query.fields
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/game/{gamePk}/{guid}/contextMetrics'].get
  update:
    x-apievangelist-phrasing:
      intent: Get raw field tracking data for a play
      effect: read
      questions:
      - Where can I find the raw coordinate tracking data for a single play?
      - Can I get the full field tracking file for one play, not the averaged version?
      - Why is the tracking response for a play so large, and can I compress it?
      instructions:
      - text: Download the raw field tracking data for play {guid} in game {gamePk}.
        slots:
          guid: path.guid
          gamePk: path.gamePk
      - text: Fetch the raw coordinates and calculated tracking metrics for play {guid} of game {gamePk}, returning only {fields}.
        slots:
          guid: path.guid
          gamePk: path.gamePk
          fields: query.fields
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/game/{gamePk}/{guid}/analytics'].get
  update:
    x-apievangelist-phrasing:
      intent: Get parsed tracking data for a play
      effect: read
      questions:
      - Can I get the parsed JSON tracking data for a Statcast play?
      - What does the analytics endpoint return for a play?
      instructions:
      - text: Get parsed analytics for play {guid} in game {gamePk}.
        slots:
          guid: path.guid
          gamePk: path.gamePk
      - text: Show parsed tracking data for play {guid} of game {gamePk} with fields {fields}.
        slots:
          guid: path.guid
          gamePk: path.gamePk
          fields: query.fields
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/game/{gamePk}/guids'].get
  update:
    x-apievangelist-phrasing:
      intent: List play GUIDs for a game
      effect: read
      questions:
      - What Statcast GUIDs exist for every play in a game?
      - Can I filter a game's play GUIDs by pitch, hit or pickoff?
      instructions:
      - text: List play GUIDs for game {gamePk}.
        slots:
          gamePk: path.gamePk
      - text: List GUIDs for game {gamePk} that are pitches.
        slots:
          gamePk: path.gamePk
      - text: List GUIDs for game {gamePk} that are hits.
        slots:
          gamePk: path.gamePk
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/game/lastPitch'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the last pitch of several games
      effect: read
      questions:
      - What was the final pitch of a list of games?
      - Can I get the last pitch for multiple games at once?
      instructions:
      - text: Get the last pitch for games {gamePks}.
        slots:
          gamePks: query.gamePks
      - text: Show the final pitch of each game in {gamePks}.
        slots:
          gamePks: query.gamePks
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/analytics/guids'].get
  update:
    x-apievangelist-phrasing:
      intent: List tracking GUIDs for a date range
      effect: read
      questions:
      - Can I get Statcast GUIDs for a date range?
      - Which tracking GUIDs were created in a given season?
      instructions:
      - text: List tracking GUIDs for {sportId} games in {season}.
        slots:
          sportId: query.sportId
          season: query.season
      - text: List tracking GUIDs for {sportId} games on {gameDate}.
        slots:
          sportId: query.sportId
          gameDate: query.gameDate
      - text: List tracking GUIDs for {sportId} games of type {gameType}.
        slots:
          sportId: query.sportId
          gameType: query.gameType
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/analytics/game'].get
  update:
    x-apievangelist-phrasing:
      intent: Get tracking metadata for games
      effect: read
      questions:
      - Can I get tracking metadata for a list of games?
      - What metadata is available for games by date range?
      instructions:
      - text: Get tracking metadata for games in {sportId} on {gameDate}.
        slots:
          sportId: query.sportId
          gameDate: query.gameDate
      - text: Get tracking metadata for {sportId} games of type {gameType} in {season}.
        slots:
          sportId: query.sportId
          gameType: query.gameType
          season: query.season
      method: generated
      generated: '2026-11-20'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/major-league-baseball-analytics-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.