MLB Odds API

Real-time MLB moneyline, run line, total, and player-prop odds from every major US sportsbook — normalized to American odds and keyed to canonical game IDs.

Overview

The MoneyLine MLB odds API returns baseball game lines and player props in one normalized JSON shape. Filter with league=mlb for moneyline, run line (spread), and total markets, or scope to props like strikeouts, hits, total bases, and home runs.

Every MLB game maps to a canonical eventId with a summary exposing no-vig fair odds, best price, and consensus average per outcome — comparison and value detection in a single request.

Key features

MLB game lines

Moneyline, run line, and total for every MLB matchup across major US books.

Player props

Strikeouts, hits, total bases, RBIs, and home-run markets, normalized.

Hit rates

L5 / L10 / L25 / season hit rates for MLB props joined to active markets.

Line movement

Opening-to-current consensus snapshots per MLB market via odds-history.

Supported leagues

MLB

Supported sportsbooks

DraftKingsFanDuelBetMGMCaesarsESPN BETFanaticsHard Rock BetBetRiversPinnaclebet365 (US)BovadaBetOnline.ag

Example request

GET /v1/odds — MLB total

Request

curl -H "x-api-key: $ML_API_KEY" \
  "https://mlapi.bet/v1/odds?league=mlb&market=total"

Response

{
  "success": true,
  "data": [
    {
      "eventId": "mlb-ev-455190",
      "leagueId": "mlb",
      "sport": "baseball",
      "bookmakers": [
        {
          "bookmakerId": "betmgm",
          "bookmakerName": "BetMGM",
          "sourceType": "sportsbook",
          "markets": [
            {
              "marketType": "total",
              "outcomes": [
                { "name": "Over", "point": 8.5, "price": -105 },
                { "name": "Under", "point": 8.5, "price": -115 }
              ]
            }
          ]
        }
      ]
    }
  ],
  "meta": { "count": 1, "page": 1 }
}

Use cases

MLB betting tools

Power MLB odds screens, run-line pages, and best-line tables from one feed.

Prop research

Combine pitcher and batter props with hit rates over recent windows.

Models

Feed no-vig MLB fair odds into total and run-line models.

Latency & performance

FAQ

Which MLB markets are available?

Game markets (moneyline, run line, total) and player props such as strikeouts, hits, total bases, RBIs, and home runs.

Do you provide MLB player-prop hit rates?

Yes — L5, L10, L25, and season hit rates are computed from game logs and joined to active props for in-window MLB events.

How fresh are MLB odds?

Odds update continuously; the line-history cadence tightens to roughly every 20 minutes inside three hours of first pitch.

Related

Start building in minutes

Free tier to start, one API key, normalized responses across every league and sportsbook.