Major League Baseball Config API

Config elements

Operations 49

GET /api/v1/jobTypes List all job types #
POST /api/v1/jobTypes #
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 Analytics 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:
- name: Config
  description: Config elements
paths:
  /api/v1/jobTypes:
    get:
      tags:
      - Config
      summary: List all job types
      operationId: jobTypes
      parameters:
      - name: 'Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute'
        in: query
        required: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/JobTypeRestObject'
    post:
      tags:
      - Config
      operationId: updateJobTypes
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: string
  /api/v1/gameStatus:
    get:
      tags:
      - Config
      summary: List all status types
      operationId: gameStatus
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RestObject'
    post:
      tags:
      - Config
      summary: Clear all status types
      operationId: updateGameStatuses
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: string
  /api/v1/windDirection:
    get:
      tags:
      - Config
      summary: List all wind direction options
      operationId: windDirection
      parameters:
      - name: 'Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute'
        in: query
        required: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GeneralLookupRestObject'
  /api/v1/weatherTrajectoryConfidences:
    get:
      tags:
      - Config
      summary: List all weather trajectories
      operationId: weatherTrajectoryConfidences
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WeatherTrajectoryConfidenceTypeRestObject'
  /api/v1/violationTypes:
    get:
      tags:
      - Config
      summary: View available violationType options
      operationId: violationTypes
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ViolationType'
  /api/v1/transactionTypes:
    get:
      tags:
      - Config
      summary: List all hit trajectories
      operationId: transactionTypes
      parameters:
      - name: 'Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute'
        in: query
        required: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GeneralLookupRestObject'
  /api/v1/trackingVersions:
    get:
      tags:
      - Config
      summary: List all tracking versions
      operationId: trackingVersions
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TrackingVersion'
  /api/v1/trackingVendors:
    get:
      tags:
      - Config
      summary: List all tracking vendors
      operationId: trackingVendors
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TrackingVendor'
  /api/v1/stats/search/stats:
    get:
      tags:
      - Config
      summary: List stat search stats
      operationId: statSearchStats
      parameters:
      - name: Categories of filters for stat search
        in: query
        required: false
        schema:
          $ref: '#/components/schemas/FilterLevelEnum'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/StatSearchStatRestObject'
  /api/v1/stats/search/params:
    get:
      tags:
      - Config
      summary: List stat search parameters
      operationId: statSearchParams
      parameters:
      - name: Categories of filters for stat search
        in: query
        required: false
        schema:
          $ref: '#/components/schemas/FilterLevelEnum'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/StatSearchParamRestObject'
  /api/v1/stats/search/groupByTypes:
    get:
      tags:
      - Config
      summary: List groupBy types
      operationId: statSearchGroupByTypes
      parameters:
      - name: Categories of filters for stat search
        in: query
        required: false
        schema:
          $ref: '#/components/schemas/FilterLevelEnum'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GroupByEnum'
  /api/v1/stats/search/config:
    get:
      tags:
      - Config
      summary: Stats Search Config Endpoint
      operationId: statSearchConfig
      parameters:
      - name: Categories of filters for stat search
        in: query
        required: false
        schema:
          $ref: '#/components/schemas/FilterLevelEnum'
      - name: Category of statistic to return. Available types in /api/v1/statGroups
        in: query
        required: false
        schema:
          $ref: '#/components/schemas/StatGroup'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/StatSearchConfigRestObject'
  /api/v1/statcastPositionTypes:
    get:
      tags:
      - Config
      summary: List all statcast position types
      operationId: statcastPositionTypes
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/StatcastPositionRestObject'
  /api/v1/statTypes:
    get:
      tags:
      - Config
      summary: List all stat types
      operationId: statTypes
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/StatType'
  /api/v1/statGroups:
    get:
      tags:
      - Config
      summary: List all stat groups
      operationId: statGroups
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/StatGroup'
  /api/v1/statFields:
    get:
      tags:
      - Config
      summary: List all stat fields
      operationId: statFields
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/StatField'
  /api/v1/standingsTypes:
    get:
      tags:
      - Config
      summary: List all standings types
      operationId: standingsTypes
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/StandingsType'
  /api/v1/sortModifiers:
    get:
      tags:
      - Config
      summary: List all stat fields
      operationId: aggregateSortEnum
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AggregateSortTypeRestObject'
  /api/v1/sky:
    get:
      tags:
      - Config
      summary: List all sky options
      operationId: sky
      parameters:
      - name: 'Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute'
        in: query
        required: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GeneralLookupRestObject'
  /api/v1/situationCodes:
    get:
      tags:
      - Config
      summary: List all situation codes
      operationId: sitCodes
      parameters:
      - name: 'Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute'
        in: query
        required: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: Season of play
        in: query
        required: false
        schema:
          type: string
      - name: Category of statistic to return. Available types in /api/v1/statGroups
        in: query
        required: false
        schema:
          $ref: '#/components/schemas/StatGroup'
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SituationCodeRestObject'
  /api/v1/scheduleTypes:
    get:
      tags:
      - Config
      summary: List all possible schedule types
      operationId: scheduleTypes
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ScheduleTypeEnum'
  /api/v1/scheduleEventTypes:
    get:
      tags:
      - Config
      summary: List all event types
      operationId: scheduleEventTypes
      parameters:
      - name: 'Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute'
        in: query
        required: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ScheduleEventTypeRestObject'
  /api/v1/runnerDetailTypes:
    get:
      tags:
      - Config
      summary: List runner detail types
      operationId: runnerDetailTypes
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RunnerDetailType'
  /api/v1/ruleSettings:
    get:
      tags:
      - Config
      summary: List all ruleSettings
      operationId: ruleSettings
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RuleSettingsRestObject'
  /api/v1/rosterTypes:
    get:
      tags:
      - Config
      summary: List all possible roster types
      operationId: rosterTypes
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RosterType'
  /api/v1/roofTypes:
    get:
      tags:
      - Config
      summary: List all roof types
      operationId: roofTypes
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RoofTypeRestObject'
  /api/v1/reviewReasons:
    get:
      tags:
      - Config
      summary: List all replay review reasons
      operationId: reviewReasons
      parameters:
      - name: 'Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute'
        in: query
        required: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GeneralLookupRestObject'
  /api/v1/positions:
    get:
      tags:
      - Config
      summary: List all possible positions
      operationId: positions
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BaseballPosition'
  /api/v1/playerStatusCodes:
    get:
      tags:
      - Config
      summary: List all player status codes
      operationId: playerStatusCodes
      parameters:
      - name: 'Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute'
        in: query
        required: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GeneralLookupRestObject'
  /api/v1/platforms:
    get:
      tags:
      - Config
      summary: List all possible platforms
      operationId: platforms
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Platform'
  /api/v1/pitchTypes:
    get:
      tags:
      - Config
      summary: List all pitch classification types
      operationId: pitchTypes
      parameters:
      - name: 'Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute'
        in: query
        required: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GeneralLookupRestObject'
  /api/v1/pitchCodes:
    get:
      tags:
      - Config
      summary: List all pitch codes
      operationId: pitchCodes
      parameters:
      - name: 'Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute'
        in: query
        required: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GeneralLookupRestObject'
  /api/v1/performerTypes:
    get:
      tags:
      - Config
      summary: List all possible performer types
      operationId: performerTypes
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PerformerType'
  /api/v1/metrics:
    get:
      tags:
      - Config
      summary: List all possible metrics
      operationId: metrics
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RestObject'
  /api/v1/lookup/values/all:
    get:
      tags:
      - Config
      summary: View all lookup values
      operationId: getLookupValues
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: array
                  items:
                    type: object
  /api/v1/logicalEvents:
    get:
      tags:
      - Config
      summary: List all logical event types
      operationId: logicalEvents
      parameters:
      - name: 'Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute'
        in: query
        required: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GeneralLookupRestObject'
  /api/v1/leagueLeaderTypes:
    get:
      tags:
      - Config
      summary: List all possible player league leader types
      operationId: leagueLeaderTypes
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/LeagueLeaderTypeRestObject'
  /api/v1/languages:
    get:
      tags:
      - Config
      summary: List all support languages
      operationId: languages
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Language'
  /api/v1/hitTrajectories:
    get:
      tags:
      - Config
      summary: List all hit trajectories
      operationId: hitTrajectories
      parameters:
      - name: 'Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute'
        in: query
        required: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GeneralLookupRestObject'
  /api/v1/groupByTypes:
    get:
      tags:
      - Config
      summary: List groupBy types
      operationId: groupByTypes
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GroupByEnum'
  /api/v1/gamedayTypes:
    get:
      tags:
      - Config
      summary: List all gameday types
      operationId: gamedayTypes
      parameters:
      - name: 'Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute'
        in: query
        required: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GeneralLookupRestObject'
  /api/v1/gameTypes:
    get:
      tags:
      - Config
      summary: List all game types
      operationId: gameTypes
      parameters:
      - name: sportId
        in: query
        description: Top level organization of a sport
        required: false
        schema:
          type: integer
          format: int32
        x-lookup:
          name: Sports
      - name: Unique League Identifier
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: Season of play
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GameTypeEnum'
  /api/v1/fielderDetailTypes:
    get:
      tags:
      - Config
      summary: List fielder detail types
      operationId: fielderDetailTypes
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/FielderDetailType'
  /api/v1/eventTypes:
    get:
      tags:
      - Config
      summary: List all event types
      operationId: eventTypes
      parameters:
      - name: 'Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute'
        in: query
        required: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json;charset=UTF-8:
              schema:
                type: string
  /api/v1/eventStatus:
    get:
      tags:
      - Config
      summary: List all possible event status types
      operationId: eventStatus
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/IGameStatus'
  /api/v1/coachingVideoTypes:
    get:
      tags:
      - Config
      summary: List all tracking vendors
      operationId: coachingVideoTypes
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  type: string
  /api/v1/baseballStats:
    get:
      tags:
      - Config
      summary: List all baseball stats
      operationId: baseballStats
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BaseballStatsTypeRestObject'
components:
  schemas:
    StandingsType:
      type: string
      enum:
      - REGULAR_SEASON
      - WILD_CARD
      - DIVISION_LEADERS
      - WILD_CARD_WITH_LEADERS
      - FIRST_HALF
      - SECOND_HALF
      - SPRING_TRAINING
      - POSTSEASON
      - BY_DIVISION
      - BY_CONFERENCE
      - BY_LEAGUE
      - BY_ORGANIZATION
    RuleSettingsOptionRestObject:
      type: object
      properties:
        settingValueId:
          type: integer
          format: int32
        displayName:
          type: string
        description:
          type: string
        activeBeginDate:
          type: string
          format: date
        activeEndDate:
          type: string
          format: date
        value:
          type: object
        sortOrder:
          type: integer
          format: int32
    TrackingVendor:
      type: string
      enum:
      - SPORTVISION
      - TRACKMAN
      - CHYRONHEGO
      - HAWKEYE
    FilterLevelEnumRestObject:
      type: object
      properties:
        copyright:
          type: string
        name:
          type: string
        scope:
          type: integer
          format: int32
    RunnerDetailType:
      type: string
      enum:
      - START_BASE
      - SEQUENCE
      - RUNNER_GOING
      - END_BASE
      - RUNNER_OUT
      - FORCED_OUT
      - ADVANCED_ON_FORCE
      - ADVANCED_ON_THROW
      - ADVANCED_ON_PLAY
      - DOUBLED_OFF
      - THROWN_OUT
      - TAGGED_OUT
      - OUT_STRETCHING
      - LEFT_EARLY
      - FIELDERS_CHOICE
      - OUT_ON_APPEAL
      - OUT_ADVANCING
      - DEFENSIVE_INDIFFERENCE
      - INTERFERENCE
      - HIT_BY_BATTED_BALL
      - OUT_OVER_RUNNING
      - OUT_RETURNING
      - RUNDOWN
      - CAUGHT_STEALING_2B
      - CAUGHT_STEALING_3B
      - CAUGHT_STEALING_HOME
      - PICKOFF_CAUGHT_STEALING_2B
      - PICKOFF_CAUGHT_STEALING_3B
      - PICKOFF_CAUGHT_STEALING_HOME
      - STOLEN_BASE_2B
      - STOLEN_BASE_3B
      - STOLEN_BASE_HOME
      - PICKOFF_1B
      - PICKOFF_2B
      - PICKOFF_3B
      - PICKOFF_ERROR_1B
      - PICKOFF_ERROR_2B
      - PICKOFF_ERROR_3B
      - UNKNOWN
    ScheduleTypeEnum:
      type: string
      enum:
      - GAMESCHEDULE
      - XREF
      - EVENTSCHEDULE
    PerformerType:
      type: object
      properties:
        name:
          type: string
    LeagueLeaderTypeRestObject:
      type: object
      properties:
        displayName:
          type: string
    Platform:
      type: string
      enum:
      - WEB
      - ANDROID_PHONE
      - ANDROID_TABLET
      - IOS_PHONE
      - IOS_TABLET
      - XBOX_ONE
      - XBOX_360
      - ROKU
      - PLAYSTATION
      - CHROMECAST
      - APPLETV
      - TV_OS
    StatType:
      type: string
      enum:
      - PROJECTED
      - PROJECTED_ROS
      - YEAR_BY_YEAR
      - YEAR_BY_YEAR_ADVANCED
      - YEAR_BY_YEAR_PLAYOFFS
      - SEASON
      - STANDARD
      - ADVANCED
      - CAREER
      - CAREER_REGULAR_SEASON
      - CAREER_ADVANCED
      - SEASON_ADVANCED
      - CAREER_STAT_SPLITS
      - CAREER_PLAYOFFS
      - GAME_LOG
      - PLAY_LOG
      - PITCH_LOG
      - METRIC_LOG
      - METRIC_AVERAGES
      - PITCH_ARSENAL
      - OUTS_ABOVE_AVERAGE
      - EXPECTED_STATISTICS
      - SABERMETRICS
      - SPRAY_CHART
      - TRACKING_STATISTICS
      - VS_PLAYER
      - VS_PLAYER_TOTAL
      - VS_PLAYER_5Y
      - VS_TEAM
      - VS_TEAM_5Y
      - VS_TEAM_TOTAL
      - LAST_X_GAMES
      - BY_DATE_RANGE
      - BY_DATE_RANGE_ADVANCED
      - BY_MONTH
      - BY_MONTH_PLAYOFFS
      - BY_DAY_OF_WEEK
      - BY_DAY_OF_WEEK_PLAYOFFS
      - HOME_AND_AWAY
      - HOME_AND_AWAY_PLAYOFFS
      - WIN_LOSS
      - WIN_LOSS_PLAYOFFS
      - RANKINGS
      - RANKINGS_BY_YEAR
      - STATS_SINGLE_SEASON
      - STATS_SINGLE_SEASON_ADVANCED
      - HOT_COLD_ZONES
      - AVAILABLE_STATS
      - OPPONENTS_FACED
      - GAME_TYPE_STATS
      - FIRST_YEAR_STATS
      - LAST_YEAR_STATS
      - STAT_SPLITS
      - STAT_SPLITS_ADVANCED
      - AT_GAME_START
      - VS_OPPONENTS
    StreakLevelEnum:
      type: string
      enum:
      - SEASON
      - GAME
      - AT_BAT
      - PITCH
    StatSearchParamRestObject:
      type: object
      properties:
        copyright:
          type: string
        code:
          type: string
        filterLevel:
          type: string
        hitting:
          type: boolean
        pitching:
          type: boolean
        fielding:
          type: boolean
        catching:
          type: boolean
        running:
          type: boolean
    WeatherTrajectoryConfidenceTypeRestObject:
      type: object
      properties:
        copyright:
          type: string
        value:
          type: string
        description:
          type: string
    StatSearchConfigRestObject:
      type: object
      properties:
        parameters:
          type: array
          items:
            $ref: '#/components/schemas/StatSearchParamRestObject'
        groupByTypes:
          type: array
          items:
            $ref: '#/components/schemas/StatSearchGroupByRestObject'
        compareOverTypes:
          type: array
          items:
            $ref: '#/components/schemas/StatSearchGroupByRestObject'
        situationCodes:
          type: array
          items:
            $ref: '#/components/schemas/StatSearchSitCodeRestObject'
        stats:
          type: array
          items:
            $ref: '#/components/schemas/StatSearchStatRestObject'
        aggregations:
          type: array
          items:
            $ref: '#/components/schemas/AggregateSortTypeRestObject'
        filterLevels:
          type: array
          items:
            $ref: '#/components/schemas/FilterLevelEnumRestObject'
        personFilters:
          type: array
          items:
            $ref: '#/components/schemas/StatSearchPersonFilterRestObject'
    BaseballStatsTypeRestObject:
      type: object
      properties:
        name:
          type: string
        lookupParam:
          type: string
        isCounting:
          type: boolean
        label:
          type: string
        statGroups:
          type: array
          items:
            $ref: '#/components/schemas/StatGroup'
        orgTypes:
          type: array
          items:
            $ref: '#/components/schemas/OrganizationType'
        highLowTypes:
          type: array
          items:
            $ref: '#/components/schemas/HighLowTypeEnum'
        streakLevels:
          type: array
          items:
            $ref: '#/components/schemas/StreakLevelEnum'
    AggregateSortTypeRestObject:
      type: object
      properties:
        copyright:
          type: string
        code:
          type: string
        description:
          type: string
    FilterLevels:
      type: object
      properties:
        copyright:
          type: string
        pitch:
          type: boolean
        atBat:
          type: boolean
        inning:
          type: boolean
        game:
          type: boolean
        season:
          type: boolean
        career:
          type: boolean
    HighLowTypeEnum:
      type: string
      enum:
      - PLAYER
      - TEAM
      - GAME
    StatSearchStatGroupRestObject:
      type: object
      properties:
        copyright:
          type: string
        hitting:
          type: boolean
        pitching:
          type: boolean
        fielding:
          type: boolean
        catching:
          type: boolean
        running:
          type: boolean
    PersonStatGroupRestObject:
      type: object
      properties:
        copyright:
          type: string
        person:
          type: string
        primaryStatGroups:
          $ref: '#/components/schemas/StatSearchStatGroupRestObject'
        supportedStatGroups:
          $ref: '#/components/schemas/StatSearchStatGroupRestObject'
    FilterLevelEnum:
      type: string
      enum:
      - PITCH
      - AT_BAT
      - INNING
      - PITCH_TYPE
      - GAME
      - SEASON
      - CAREER
      - NONE
    OrganizationType:
      type: string
      enum:
      - PLAYER
      - TEAM
      - DIVISION
      - LEAGUE
      - SPORT
      - LEAGUE_LIST
    TrackingVersion:
      type: string
      enum:
      - PITCH_FX
      - STATCAST_2015_COMBINED
      - STATCAST_2015_RADAR_ONLY_20
      - STATCAST_2017_RADAR_ONLY_20
      - STATCAST_2017_COMBINED_RADAR_20
      - STATCAST_2018_COMBINED_RADAR_25
      - STATCAST_2018_RADAR_ONLY_25
      - STATCAST_2020_12_CAM
      - STATCAST_2020_8_CAM
      - TRACKMAN_V3
      - STATCAST_2023_12_CAM
    FielderDetailType:
      type: string
      enum:
      - ASSIST
      - OUTFIELD_ASSIST
      - PASSED_BALL
      - FIELDED_BALL
      - DEFLECTION
      - OUT_NUMBER
      - PUTOUT
      - TOUCH
      - ERROR
      - FIELDING_ERROR
      - FOUL_ERROR
      - DROPPED_BALL_ERROR
      - INTERFERENCE
   

# --- 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