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.
The MoneyLine MLB odds API returns baseball game lines and player props in one normalized JSON shape. Instead of integrating a separate scraper for each sportsbook, you call one endpoint with league=mlb and get moneyline, run line (spread), and total markets back — every price already converted to American odds across every tracked source.
Every MLB game maps to a canonical eventId, and each event carries a summary object exposing no-vig fair odds, the best available price, and the consensus average per outcome. That lets you compare books, detect value, and surface the sharpest run line or total without building a normalization layer of your own.
Beyond game lines, the same canonical eventId keys a deep set of MLB player props — pitcher strikeouts, batter hits, total bases, RBIs, and home-run markets. Because props and game lines share the event ID, you can join a starting pitcher's strikeout prop to its game total or pull both for a matchup in a single pass, with no fuzzy name or game matching on your end.
Coverage spans the major US sportsbooks tracked across the platform, and a free tier covers both personal and commercial use with every endpoint included. The same MLB feed can power a best-line comparison screen, a prop-research tool joined to recent-form hit rates, or a model-training pipeline that ingests a stable JSON contract.
Sign up and grab an API key from the dashboard — no credit card required for the free tier.
Pass the key as x-api-key and request /v1/odds with league=mlb to get live baseball lines back.
Use the canonical eventId from each response to pull matching player props for that game.
Moneyline, run line, and total for every MLB matchup across major US books in one normalized schema.
Pitcher strikeouts plus batter hits, total bases, RBIs, and home-run markets, normalized to American odds.
Each MLB outcome includes fairOdds (no-vig), bestOdds (best available), and avgOdds (consensus) in the summary.
Game lines and player props share one eventId so MLB odds, events, and props join cleanly across endpoints.
L5 / L10 / L25 / season hit rates for MLB props, computed from game logs and joined to active markets.
Opening-to-current consensus snapshots per MLB market via the odds-history endpoint.
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 }
}| Market type | Markets |
|---|---|
| Game lines | Moneyline, run line, total |
| Player props | Strikeouts, hits, total bases, home runs |
Power MLB odds screens, run-line pages, and best-line tables from one normalized feed.
Combine pitcher and batter props with L5 / L10 / L25 / season hit rates over recent windows.
Compare each book against consensus fair odds to surface the best run-line and total prices.
Feed no-vig MLB fair odds into total and run-line models via a stable JSON contract.
Drive embeddable MLB odds rails from paginated, normalized responses.
An MLB odds API delivers baseball betting lines — moneyline, run line, total, and player props — as structured JSON your app can consume, instead of scraping each sportsbook yourself.
Game markets (moneyline, run line, total) and player props such as strikeouts, hits, total bases, RBIs, and home runs.
Yes — L5, L10, L25, and season hit rates are computed from game logs and joined to active props for in-window MLB events.
Odds update continuously; the line-history cadence tightens to roughly every 20 minutes inside three hours of first pitch.
Fair odds remove the sportsbook margin (vig) from a market so you can compare the true implied probability of each MLB outcome across books.
Call /v1/odds with league=mlb, then use the canonical eventId from the response to fetch that event and its player props.
Major US books including DraftKings, FanDuel, BetMGM, Caesars, ESPN BET, and more, each normalized to American odds.
Yes — the free tier covers both personal and commercial use with every endpoint included. Paid plans add throughput.
Free
$0/mo
1K credits/mo
Starter
$29/mo
150K credits/mo
Pro
$149/mo
1.5M credits/mo
Business
$299/mo
5M credits/mo
Enterprise
Custom
Unlimited credits/mo
Free tier to start, one API key, normalized responses across every league and sportsbook.