Major League Baseball · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Stats API Documentation Person API

11 actions 11 updates phrasing extends openapi/major-league-baseball-person-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 11

$.info
$.paths['/api/v1/people/{personId}/stats'].get
$.paths['/api/v1/people/{personId}/stats/metrics'].get
$.paths['/api/v1/people/{personId}/stats/game/{gamePk}'].get
$.paths['/api/v1/people/{personId}/stats/game/current'].get
$.paths['/api/v1/people/{personId}/awards'].get
$.paths['/api/v1/people/{personId}'].get
$.paths['/api/v1/people'].get
$.paths['/api/v1/people/search'].get
$.paths['/api/v1/people/freeAgents'].get
$.paths['/api/v1/people/changes'].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 Person API
  version: 1.0.0
extends: openapi/major-league-baseball-person-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: 10
- target: $.paths['/api/v1/people/{personId}/stats'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a player's stats for a season
      effect: read
      questions:
      - How do I get a player's stats for a single season?
      - Can I group a player's stats by team or league?
      - Is it possible to get a player's stats for a date range?
      instructions:
      - text: Get {stats} stats for player {personId} in season {season}.
        slots:
          stats: query.stats
          personId: path.personId
          season: query.seasons
      - text: Show player {personId}'s {stats} stats grouped by {group} for season {season}.
        slots:
          personId: path.personId
          stats: query.stats
          group: query.group
          season: query.seasons
      - text: Get player {personId}'s {stats} stats from {startDate} to {endDate}.
        slots:
          personId: path.personId
          stats: query.stats
          startDate: query.startDate
          endDate: query.endDate
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/people/{personId}/stats/metrics'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a player's metric log stats
      effect: read
      questions:
      - How do I see a player's metric log stats for a game type?
      - Can I group a player's metric stats by venue?
      instructions:
      - text: Get metric log stats for player {personId} with {stats} for game type {gameType}.
        slots:
          personId: path.personId
          stats: query.stats
          gameType: query.gameType
      - text: Show metric stats for player {personId} grouped by {groupBy} for {stats}.
        slots:
          personId: path.personId
          groupBy: query.groupBy
          stats: query.stats
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/people/{personId}/stats/game/{gamePk}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a player's stats for a specific game
      effect: read
      questions:
      - How do I see a player's stats in a particular game?
      - Can I get a player's stats for a game by its primary key?
      instructions:
      - text: Get player {personId}'s stats in game {gamePk}.
        slots:
          personId: path.personId
          gamePk: path.gamePk
      - text: Show player {personId}'s stats for game {gamePk} grouped by {group}.
        slots:
          personId: path.personId
          gamePk: path.gamePk
          group: query.group
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/people/{personId}/stats/game/current'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a player's stats in the current game
      effect: read
      questions:
      - How do I see a player's stats in the game that is currently in progress?
      - Can I get a player's stats for the current game?
      instructions:
      - text: Get player {personId}'s stats in the current game.
        slots:
          personId: path.personId
      - text: Show player {personId}'s stats for the game that is currently in progress.
        slots:
          personId: path.personId
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/people/{personId}/awards'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a player's awards
      effect: read
      questions:
      - Which awards has a player won?
      - Can I see a player's award history?
      instructions:
      - text: Get the awards for player {personId}.
        slots:
          personId: path.personId
      - text: Show player {personId}'s award history.
        slots:
          personId: path.personId
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/people/{personId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a player's biographical information
      effect: read
      questions:
      - How do I get a player's biographical information by ID?
      - Can I get a player's name with or without accents?
      instructions:
      - text: Get the biographical information for player {personId}.
        slots:
          personId: path.personId
      - text: Show player {personId}'s biographical info with accents set to {accent}.
        slots:
          personId: path.personId
          accent: query.accent
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/people'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a player, coach or umpire's bio
      effect: read
      questions:
      - How do I look up the bio and stats for a player by ID?
      - Can I get several players' bios and stats at once by their IDs?
      - Do I have to request stat groups by name, can I limit the fields returned?
      instructions:
      - text: Get the biographical info for baseball person {personId}.
        slots:
          personId: path.personId
      - text: Look up people {personIds} with their stats for {season}.
        slots:
          personIds: query.personIds
          season: query.season
      - text: Fetch person {personId} returning only fields {fields}.
        slots:
          personId: path.personId
          fields: query.fields
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/people/search'].get
  update:
    x-apievangelist-phrasing:
      intent: Search players by name
      effect: read
      questions:
      - How do I find a player by name?
      - Can I search free agents by name?
      instructions:
      - text: Search for players named {names}.
        slots:
          names: query.names
      - text: Find free agents named {names}.
        slots:
          names: query.names
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/people/freeAgents'].get
  update:
    x-apievangelist-phrasing:
      intent: Get free agents for a season
      effect: read
      questions:
      - Who are the free agents available for the current season?
      - Can I sort free agents by order?
      instructions:
      - text: Get free agents for season {season}.
        slots:
          season: query.season
      - text: List free agents for {season} ordered {order}.
        slots:
          season: query.season
          order: query.order
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/people/changes'].get
  update:
    x-apievangelist-phrasing:
      intent: View the player change log
      effect: read
      questions:
      - How do I see which player records changed recently?
      - Can I get the player change log since a date?
      instructions:
      - text: Show the player change log updated since {updatedSince}.
        slots:
          updatedSince: query.updatedSince
      - text: Get player record changes since {updatedSince}.
        slots:
          updatedSince: query.updatedSince
      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-person-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.