Major League Baseball Predictions API

The Predictions API from Major League Baseball — 2 operation(s) for predictions.

Operations 2

GET /api/v1/props/play/predictions Get play-level predictions based on input scenarios #
GET /api/v1/props/play/predictions/adjust Get play-level predictions based on input scenarios #

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-predictions-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-predictions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Stats API Documentation Analytics Predictions 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: Predictions
paths:
  /api/v1/props/play/predictions:
    get:
      tags:
      - Predictions
      summary: Get play-level predictions based on input scenarios
      description: This endpoint allows you to get play-level predictions based on input scenarios
      operationId: getProps
      parameters:
      - name: batterId
        in: query
        description: 'Unique Player Identifier. Format: 434538, 429665, etc'
        required: false
        schema:
          type: integer
          format: int32
      - name: pitcherId
        in: query
        description: 'Unique Player Identifier. Format: 434538, 429665, etc'
        required: false
        schema:
          type: integer
          format: int32
      - name: venueId
        in: query
        description: Unique Venue Identifier
        required: false
        schema:
          type: integer
          format: int32
      - name: batSide
        in: query
        description: Bat side of hitter
        required: false
        schema:
          type: string
      - name: pitchHand
        in: query
        description: Handedness of pitcher
        required: false
        schema:
          type: string
      - name: batterPosition
        in: query
        description: 'Position abbreviation. Format: SS, P, 1B, etc'
        required: false
        schema:
          type: string
      - name: pitcherPosition
        in: query
        description: 'Position abbreviation. Format: SS, P, 1B, etc'
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object
  /api/v1/props/play/predictions/adjust:
    get:
      tags:
      - Predictions
      summary: Get play-level predictions based on input scenarios
      description: This endpoint allows you to get play-level predictions based on input scenarios
      operationId: getPropsAdjust
      parameters:
      - name: batterId
        in: query
        description: 'Unique Player Identifier. Format: 434538, 429665, etc'
        required: false
        schema:
          type: integer
          format: int32
      - name: pitcherId
        in: query
        description: 'Unique Player Identifier. Format: 434538, 429665, etc'
        required: false
        schema:
          type: integer
          format: int32
      - name: venueId
        in: query
        description: Unique Venue Identifier
        required: false
        schema:
          type: integer
          format: int32
      - name: batSide
        in: query
        description: Bat side of hitter
        required: false
        schema:
          type: string
      - name: pitchHand
        in: query
        description: Handedness of pitcher
        required: false
        schema:
          type: string
      - name: batterPosition
        in: query
        description: 'Position abbreviation. Format: SS, P, 1B, etc'
        required: false
        schema:
          type: string
      - name: pitcherPosition
        in: query
        description: 'Position abbreviation. Format: SS, P, 1B, etc'
        required: false
        schema:
          type: string
      - name: count
        in: query
        description: Count for the at-bat (1-0, 2-2, etc.)
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: object