League key baseball_mlb
MLB odds API
Pre-match and live MLB odds from bookmakers, with a margin-adjusted fair price on every market, in one consistent JSON format.
- 3Competitions
- 340+Bookmakers to choose from
- Pre-match + liveOver REST and WebSocket
- Fair oddsOn every market
MLB competitions in the catalog
These MLB competitions come from the bookmakers' own public listings. Each one has its own league key.
| Competition | League key |
|---|---|
| MLB | baseball_mlb |
| MLB World Series | baseball_mlb_world_series |
| MLB Pre Season | baseball_mlb_pre_season |
MLB markets
You get every market the bookmakers offer for each event. The most common ones:
- Moneyline
- Run line
- Total runs
- First five innings
- Team totals
- Player hits and strikeouts
- Player home runs
- Run in the first inning
Bookmakers you can pick for MLB
A few well-known names from the bookmaker catalog. Which MLB competitions each bookmaker lists varies, and your plan sets how many bookmakers you choose.
Example request
One request returns the bookmaker price and the fair price for every outcome. Sport and league keys are being added to the API; the request shows the format.
Example fixture: New York Yankees against Boston Red Sox. The teams are real; the odds and the time are made up.
GET https://api.valueoddsapi.com/v1/odds?sport=baseball&league=baseball_mlb&phase=prematch
Authorization: Bearer YOUR_API_KEY{
"example": true,
"data": [
{
"event_id": "example-001",
"sport": "baseball",
"league": "baseball_mlb",
"home_team": "New York Yankees",
"away_team": "Boston Red Sox",
"phase": "prematch",
"bookmaker": "example-book",
"observed_at": "2026-06-12T12:00:00Z",
"data_age_seconds": 0.25,
"market": {
"id": "match_winner",
"period": "full_time",
"line": null,
"status": "open",
"method": "proportional_v1",
"fair_status": "available",
"overround": 0.0434,
"outcomes": [
{
"id": "home",
"bookmaker_odds": 1.8,
"fair_odds": 1.88,
"fair_probability": 0.5325
},
{
"id": "away",
"bookmaker_odds": 2.05,
"fair_odds": 2.14,
"fair_probability": 0.4675
}
]
}
}
]
}
Example data, not live prices. Fair odds use proportional margin removal. Read the integration guide
What you can build with MLB odds
Value betting tools
Compare each bookmaker's MLB price with the margin-free fair price and flag the outcomes priced above it.
Arbitrage scanners
Line up the bookmakers' prices on the same MLB market and spot when the best prices add up to less than 100%.
Odds comparison sites
Show the best MLB price for each outcome across the bookmakers you pick, all in one format.
Betting models and CLV tracking
Use fair probabilities as input for your MLB model and measure closing-line value: the price you took against the last price before the start.
Trading tools and bots
Stream MLB price changes over WebSocket and act on them in your own logic.
Live alerts and apps
Notify your users when MLB odds move, before and during the match.
Which plan fits
baseball_mlb is included on every plan, along with every other league in every sport. The other MLB competitions in the table have their own keys and are included too.
Your plan sets how many bookmakers you choose, not how many leagues: MLB and every other baseball competition are always included.
Questions about MLB odds
Which MLB competitions does the API cover?
The catalog lists 3 MLB competitions, taken from bookmakers' own public listings: MLB, MLB World Series, MLB Pre Season. Each has its own league key.
Do you have live MLB odds?
Yes. Pro and higher plans stream pre-match and live odds in real time over WebSocket and REST. Solo covers pre-match odds.
Are MLB player props included?
Yes, when the bookmakers you pick list them for the game. Player markets come with the bookmaker price and a margin-adjusted fair price side by side, like every other market; which player markets are listed varies per bookmaker.
How do I request MLB odds, and is it included in my plan?
Use the sport key baseball and the league key baseball_mlb. MLB is included on every plan, and so are the other MLB competitions with their own keys.
Related pages
Other baseball competitions
Get MLB odds into your product
Bookmaker odds and fair odds in one format, from pre-match to live.