MLB Odds API
Odds-API.io is an MLB odds API with real-time lines from all major sportsbooks. Access run lines, totals, moneylines, and player props for every MLB game.
Plans from £49/month with 5,000 requests/hour. Cancel anytime. Covering 34 sports and 500+ bookmakers.
- Bookmakers
- 500+
- Leagues
- 8+
- Latency
- <150ms
- Uptime
- 99.99%
Betting markets
All Baseball market names in the APIMLB Leagues Covered
From top-tier competitions to lower divisions - we cover mlb leagues at every level worldwide
- MLB Regular Season
- MLB Playoffs
- World Series
- MLB All-Star Game
- Spring Training
- College Baseball (NCAA)
- NPB Japan
- KBO Korea
Betting Markets & Features
Comprehensive mlb betting data coverage
Betting Markets
- Moneyline
- Run Line (Spread)
- Over/Under (Totals)
- First 5 Innings
- Player Props
- Team Props
- Alternate Lines
- Live In-Play
- Innings Props
API Features
- Real-time MLB odds from US sportsbooks
- Player props (hits, HRs, strikeouts)
- First 5 innings lines
- Live in-play betting odds
- Run line and totals
- WebSocket for instant updates
Top MLB Bookmakers
Get odds from the most popular sportsbooks for mlb
DraftKings
FanDuel
BetMGM
Caesars
PointsBet
BetRivers
Bet365
Betfair
Bovada
BetOnline
Get MLB Odds in Minutes
Simple REST API with JSON responses. Start fetching odds today.
import requests
API_KEY = "your_api_key"
# Get mlb events
events = requests.get(
"https://api.odds-api.io/v3/events",
params={"apiKey": API_KEY, "sport": "mlb"}
).json()
# Get odds for an event
odds = requests.get(
"https://api.odds-api.io/v3/odds",
params={
"apiKey": API_KEY,
"eventId": events[0]["id"],
"bookmakers": "Bet365,DraftKings,Betfair"
}
).json()
print(f"Found {len(events)} mlb events")
print(f"Odds: {odds}"){
"id": 65068198,
"home": "Team A",
"away": "Team B",
"date": "2026-01-15T19:30:00Z",
"sport": {"name": "MLB", "slug": "mlb"},
"league": {"name": "MLB Regular Season", "slug": "mlb-regular-season"},
"bookmakers": {
"Bet365": [
{"name": "ML", "odds": [{"home": "2.100", "away": "1.850"}]},
{"name": "Spread", "odds": [{"hdp": -3.5, "home": "1.900", "away": "1.900"}]}
],
"Betfair": [
{"name": "ML", "odds": [{"home": "2.150", "away": "1.820"}]}
]
}
}Popular Use Cases for MLB Odds API
- MLB Betting Apps
- Player Prop Analyzers
- Arbitrage Platforms
- DFS Optimization
- Sports Analytics
- Odds Comparison
MLB Odds API FAQ
Common questions about our mlb odds API
Which sportsbooks do you cover for MLB odds?
We cover all major US sportsbooks for MLB odds including DraftKings, FanDuel, BetMGM, Caesars, PointsBet, BetRivers, and more. We also cover international books like Bet365 and Betfair.
Do you have MLB player props data?
Yes, we provide comprehensive MLB player props including hits, home runs, RBIs, strikeouts (pitchers), total bases, and more. Props are available from all major US sportsbooks.
Do you provide first 5 innings lines?
Yes, we cover first 5 innings (F5) lines including moneyline, run line, and totals. This is a popular market for bettors who want to focus on starting pitchers.
How are MLB odds different from other sports?
MLB primarily uses moneyline betting rather than point spreads, with run lines (1.5 run spread) as a secondary market. Our API provides all markets including moneyline, run line, totals, and props.
Explore Other Sports APIs
Every sport comes from the same sportsbook API, with one key and one JSON format. That includes the cricket odds API for the IPL and T20 leagues and the esports odds API for CS2, LoL and Dota 2.
Start Using MLB Odds API Today
Join 20,000+ developers using Odds-API.io for real-time mlb betting data
Plans from £49/month · 5,000 requests/hour