MLB Leagues Covered
From top-tier competitions to lower divisions - we cover mlb leagues at every level worldwide
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
- Futures
- 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": "2025-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 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
Access odds from all major sports through Odds-API.io