Major League Baseball · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Stats API Documentation League API

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

$.info
$.paths['/api/v1/league'].get
$.paths['/api/v1/league'].post
$.paths['/api/v1/leagues'].get
$.paths['/api/v1/leagues'].post
$.paths['/api/v1/league/{leagueId}/allStarWriteIns'].get
$.paths['/api/v1/leagues/{leagueId}/allStarWriteIns'].get
$.paths['/api/v1/league/{leagueId}/allStarFinalVote'].get
$.paths['/api/v1/leagues/{leagueId}/allStarFinalVote'].get
$.paths['/api/v1/league/allStarBallot'].get
$.paths['/api/v1/league/{leagueId}/allStarBallot'].get
$.paths['/api/v1/leagues/allStarBallot'].get
$.paths['/api/v1/leagues/{leagueId}/allStarBallot'].get
$.paths['/api/v1/league/{leagueId}'].get
$.paths['/api/v1/leagues/{leagueId}'].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 League API
  version: 1.0.0
extends: openapi/major-league-baseball-league-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: 14
- target: $.paths['/api/v1/league'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a league's info by ID
      effect: read
      questions:
      - How do I look up one baseball league's details by its ID?
      - Can I fetch a single league's info for a specific season?
      instructions:
      - text: Get league {leagueId}.
        slots:
          leagueId: path.leagueId
      - text: Show league {leagueId} for season {season}.
        slots:
          leagueId: path.leagueId
          season: query.season
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/league'].post
  update:
    x-apievangelist-phrasing:
      intent: Update the league cache
      effect: write
      questions:
      - How do I refresh the cached league data for a sport?
      - Can I force a league cache update for a season?
      instructions:
      - text: Update the league cache for sport {sportId}.
        slots:
          sportId: query.sportId
      - text: Refresh the league cache for sport {sportId} in season {season}.
        slots:
          sportId: query.sportId
          season: query.season
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/leagues'].get
  update:
    x-apievangelist-phrasing:
      intent: Get league info by ID (plural path)
      effect: read
      questions:
      - Is there a plural-leagues path for looking up one league by ID?
      - Can I fetch a single league's info through the leagues plural path?
      instructions:
      - text: Get league {leagueId} from the leagues plural path.
        slots:
          leagueId: path.leagueId
      - text: Fetch league {leagueId} via the plural-leagues path for season {season}.
        slots:
          leagueId: path.leagueId
          season: query.season
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/leagues'].post
  update:
    x-apievangelist-phrasing:
      intent: Update the league cache (plural path)
      effect: write
      questions:
      - Can I update the league cache through the plural-leagues path?
      - Is there a plural-leagues endpoint for refreshing league data?
      instructions:
      - text: Update the league cache through the leagues plural path for sport {sportId}.
        slots:
          sportId: query.sportId
      - text: Refresh the leagues plural path cache for sport {sportId} in season {season}.
        slots:
          sportId: query.sportId
          season: query.season
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/league/{leagueId}/allStarWriteIns'].get
  update:
    x-apievangelist-phrasing:
      intent: Get All-Star write-ins for a league
      effect: read
      questions:
      - How do I see fan-written-in All-Star players for a league?
      - Can I get All-Star write-ins for a league in a given season?
      instructions:
      - text: Get All-Star write-ins for league {leagueId}.
        slots:
          leagueId: path.leagueId
      - text: Show All-Star write-ins for league {leagueId} in season {season}.
        slots:
          leagueId: path.leagueId
          season: query.season
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/leagues/{leagueId}/allStarWriteIns'].get
  update:
    x-apievangelist-phrasing:
      intent: Get All-Star write-ins for a league (plural path)
      effect: read
      questions:
      - Is there a plural-leagues path for All-Star write-ins?
      - Can I fetch write-ins for a league through the plural-leagues path?
      instructions:
      - text: Get All-Star write-ins for league {leagueId} via the leagues plural path.
        slots:
          leagueId: path.leagueId
      - text: Show write-ins for league {leagueId} through the plural-leagues path for season {season}.
        slots:
          leagueId: path.leagueId
          season: query.season
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/league/{leagueId}/allStarFinalVote'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the All-Star final vote for a league
      effect: read
      questions:
      - How do I see the final All-Star vote results for a league?
      - Can I get the All-Star final vote for a league in a given season?
      instructions:
      - text: Get the All-Star final vote for league {leagueId}.
        slots:
          leagueId: path.leagueId
      - text: Show the final All-Star vote for league {leagueId} in season {season}.
        slots:
          leagueId: path.leagueId
          season: query.season
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/leagues/{leagueId}/allStarFinalVote'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the All-Star final vote for a league (plural path)
      effect: read
      questions:
      - Is there a plural-leagues path for the All-Star final vote?
      - Can I fetch the final All-Star vote for a league through the plural-leagues path?
      instructions:
      - text: Get the All-Star final vote for league {leagueId} via the leagues plural path.
        slots:
          leagueId: path.leagueId
      - text: Show the final vote for league {leagueId} through the plural-leagues path for season {season}.
        slots:
          leagueId: path.leagueId
          season: query.season
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/league/allStarBallot'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the All-Star ballot for a league
      effect: read
      questions:
      - How do I see the All-Star ballot for a league?
      - Can I get the All-Star ballot for a league in a given season?
      instructions:
      - text: Get the All-Star ballot for league {leagueId}.
        slots:
          leagueId: path.leagueId
      - text: Show the All-Star ballot for league {leagueId} in season {season}.
        slots:
          leagueId: path.leagueId
          season: query.season
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/league/{leagueId}/allStarBallot'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the All-Star ballot for a league (plural path)
      effect: read
      questions:
      - Is there a plural-leagues path for the All-Star ballot?
      - Can I fetch the All-Star ballot for a league through the plural-leagues path?
      instructions:
      - text: Get the All-Star ballot for league {leagueId} via the leagues plural path.
        slots:
          leagueId: path.leagueId
      - text: Show the All-Star ballot for league {leagueId} through the plural-leagues path for season {season}.
        slots:
          leagueId: path.leagueId
          season: query.season
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/leagues/allStarBallot'].get
  update:
    x-apievangelist-phrasing:
      intent: Get All-Star ballot via the query-style leagues endpoint
      effect: read
      questions:
      - Which players are on the All-Star ballot for a league when the league ID is given in the leagues/allStarBallot path?
      - Can I get All-Star ballots for several leagues at once using a list of league IDs?
      instructions:
      - text: Get the All-Star ballot for leagues {leagueIds} using the leagues/allStarBallot endpoint with league {leagueId}.
        slots:
          leagueIds: query.leagueIds
          leagueId: path.leagueId
      - text: Pull the leagues/allStarBallot results for league {leagueId} in season {season}, returning only fields {fields}.
        slots:
          leagueId: path.leagueId
          season: query.season
          fields: query.fields
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/leagues/{leagueId}/allStarBallot'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the All-Star ballot for a league
      effect: read
      questions:
      - Who appears on the All-Star ballot for a particular league?
      - Can I limit the All-Star ballot response to specific fields?
      instructions:
      - text: List the ballot candidates for league {leagueId}, in the per-league ballot endpoint.
        slots:
          leagueId: path.leagueId
      - text: List ballot candidates for league {leagueId} in season {season}, returning only fields {fields}.
        slots:
          leagueId: path.leagueId
          season: query.season
          fields: query.fields
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/league/{leagueId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get info about one league
      effect: read
      questions:
      - What are the details of a specific league?
      - Can I check whether one league is active for a season?
      instructions:
      - text: Get info for league {leagueId}.
        slots:
          leagueId: path.leagueId
      - text: Show league {leagueId} details in season {season}.
        slots:
          leagueId: path.leagueId
          season: query.season
      method: generated
      generated: '2026-11-20'
- target: $.paths['/api/v1/leagues/{leagueId}'].get
  update:
    x-apievangelist-phrasing:
      intent: View league details and filter by sport or status
      effect: read
      questions:
      - What are the details of a league filtered by whether it is currently active?
      - Can I view a league's info across several seasons at once?
      instructions:
      - text: View league {leagueId} filtered to active status {activeStatus}.
        slots:
          leagueId: path.leagueId
          activeStatus: query.activeStatus
      - text: View league {leagueId} for seasons {seasons} within sport {sportId}.
        slots:
          leagueId: path.leagueId
          seasons: query.seasons
          sportId: query.sportId
      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-league-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.