Major League Baseball Config API

Config elements

Operations 49

GET /api/v1/jobTypes List all job types #
POST /api/v1/jobTypes Update job types #
GET /api/v1/gameStatus List all status types #
POST /api/v1/gameStatus Clear all status types #
GET /api/v1/windDirection List all wind direction options #
GET /api/v1/weatherTrajectoryConfidences List all weather trajectories #
GET /api/v1/violationTypes View available violationType options #
GET /api/v1/transactionTypes List all hit trajectories #
GET /api/v1/trackingVersions List all tracking versions #
GET /api/v1/trackingVendors List all tracking vendors #
GET /api/v1/stats/search/stats List stat search stats #
GET /api/v1/stats/search/params List stat search parameters #
GET /api/v1/stats/search/groupByTypes List groupBy types #
GET /api/v1/stats/search/config Stats Search Config Endpoint #
GET /api/v1/statcastPositionTypes List all statcast position types #
GET /api/v1/statTypes List all stat types #
GET /api/v1/statGroups List all stat groups #
GET /api/v1/statFields List all stat fields #
GET /api/v1/standingsTypes List all standings types #
GET /api/v1/sortModifiers List all stat fields #
GET /api/v1/sky List all sky options #
GET /api/v1/situationCodes List all situation codes #
GET /api/v1/scheduleTypes List all possible schedule types #
GET /api/v1/scheduleEventTypes List all event types #
GET /api/v1/runnerDetailTypes List runner detail types #
GET /api/v1/ruleSettings List all ruleSettings #
GET /api/v1/rosterTypes List all possible roster types #
GET /api/v1/roofTypes List all roof types #
GET /api/v1/reviewReasons List all replay review reasons #
GET /api/v1/positions List all possible positions #
GET /api/v1/playerStatusCodes List all player status codes #
GET /api/v1/platforms List all possible platforms #
GET /api/v1/pitchTypes List all pitch classification types #
GET /api/v1/pitchCodes List all pitch codes #
GET /api/v1/performerTypes List all possible performer types #
GET /api/v1/metrics List all possible metrics #
GET /api/v1/lookup/values/all View all lookup values #
GET /api/v1/logicalEvents List all logical event types #
GET /api/v1/leagueLeaderTypes List all possible player league leader types #
GET /api/v1/languages List all support languages #
GET /api/v1/hitTrajectories List all hit trajectories #
GET /api/v1/groupByTypes List groupBy types #
GET /api/v1/gamedayTypes List all gameday types #
GET /api/v1/gameTypes List all game types #
GET /api/v1/fielderDetailTypes List fielder detail types #
GET /api/v1/eventTypes List all event types #
GET /api/v1/eventStatus List all possible event status types #
GET /api/v1/coachingVideoTypes List all tracking vendors #
GET /api/v1/baseballStats List all baseball stats #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/major-league-baseball-config-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

major-league-baseball-config-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Stats API Documentation Config API
  description: Official API for Major League Baseball.
  version: 2.0.0
servers:
- url: https://statsapi.mlb.com
  description: Production
- url: https://beta-statsapi.mlb.com
  description: Beta
- url: https://qa-statsapi.mlb.com
  description: QA
- url: http://localhost:8080
  description: Local
tags:


# --- truncated at 32 KB (41 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/major-league-baseball/refs/heads/main/openapi/major-league-baseball-config-api-openapi.yml