Odds API by market / MLB
MLB Total Bases API
The batter_total_bases board is not posted right now. This page keeps the last measured window — 6,267 settled outcomes — and reactivates on its own the first build after books post the market again. The endpoint, the response shape and the free tier work today.
No credit card. 1,000 requests / day on the free tier.
What MLB total bases is
Bases earned on hits: one for a single, four for a home run. Walks do not count, which is what separates it from an on-base market.
How we settle it. Graded against total bases in the box score, so an extra-base hit moves it by more than one.
Every number on this page is measured against the live API, never copied from a spec sheet. Last measured 27 October 2026.
Books that last posted MLB total bases
Measured on the last slate that carried it, 27 October 2026. When books post it again, this list rebuilds from whichever ones actually do.
Line shopping across all of them is one request — every book arrives in the same bookmakers array, not one call per book. Add ?bookmakers= to narrow it, or use /best-line for the best price per line already ranked.
Recently settled MLB total bases outcomes
These are real rows out of the API, not an illustration. Each one was a price on a board before the event and carries the actual figure it was graded against afterwards. No other odds API returns that last column — they stop at the price.
6,267 total bases outcomes settled in the last 4-day window it was posted across 26 books. The 12 most recent:
| Player | Bet | Actual | Result |
|---|---|---|---|
| Ben Williamson | 2+ Total Bases | 0.0 | lost |
| Ben Williamson | 3+ Total Bases | 0.0 | lost |
| Brice Turang | 2+ Total Bases | 4.0 | won |
| Brice Turang | Over 2.5 | 4.0 | won |
| Chandler Simpson | Over 1.5 | 0.0 | lost |
| Christian Yelich | Over 2.5 | 2.0 | lost |
| Chandler Simpson | Over 1.5 | 0.0 | lost |
| David Hamilton | Over 0.5 | 1.0 | won |
| Jackson Chourio | Over 1.5 | 5.0 | won |
| Christian Yelich | Over 0.5 | 2.0 | won |
| Cooper Pratt | Over 0.5 | 2.0 | won |
| Cooper Pratt | Under 0.5 | 2.0 | lost |
Over/Under split, last posted window
The Over won 29.9% of 2298 decided total bases lines (688 over, 1610 under). Computed from the settled rows themselves, scoped to MLB only.
Read off 2,356 Over legs out of 6,267 settled outcomes on this market. The rest are Unders and milestone legs (“1+”, “2+”) that some books price here too, and a threshold rung is not an Over.
A few days of one market describes a few days — it is not an edge. Pull the full history through /exports/resolved-props for a sample worth modelling on.
Live response
Captured from the real endpoint on Milwaukee Brewers @ Tampa Bay Rays while it was posted, trimmed to one book and three outcomes so the shape stays readable. The full response carries every book and every line, alternates included, in the same call.
{
"home_team_key": "rays",
"away_team_key": "brewers",
"home_team_id": "mlb:139",
"away_team_id": "mlb:158",
"home_team_logo_url": "https://img.mlbstatic.com/mlb-photos/image/upload/w_500,f_png,q_auto/v1/team/139/logo/spot/current",
"away_team_logo_url": "https://img.mlbstatic.com/mlb-photos/image/upload/w_500,f_png,q_auto/v1/team/158/logo/spot/current",
"id": "539799",
"sport_key": "baseball_mlb",
"home_team": "Tampa Bay Rays",
"away_team": "Milwaukee Brewers",
"commence_time": "2026-10-28T00:00:00Z",
"live": false,
"is_outright": false,
"tournament": null,
"tour": null,
"last_update": "2026-10-27T15:29:02.270209Z",
"merged_from_event_ids": null,
"bookmakers": [
{
"key": "betmgm",
"title": "BetMGM",
"last_update": "2026-10-27T15:27:58.295240Z",
"link": null,
"app_link": null,
"pregame_only": false,
"book_event_id": null,
"markets": [
{
"key": "batter_total_bases",
"description": "Brice Turang: Total bases",
"last_update": "2026-10-27T15:27:58.295240Z",
"period": null,
"suspended_at": null,
"team": null,
"line_type": "main",
"outcomes": [
{
"name": "Over",
"description": "Brice Turang",
"price": -165,
"point": 0.5,
"book_updated_at": null,
"book_version": null,
"payout_multiplier": null,
"dfs_odds_type": null,
"last_change_at": "2026-10-27T15:09:22.756575Z",
"last_seen_at": "2026-10-27T15:27:58.295240Z",
"liquidity": null,
"liquidity_updated_at": null,
"line_gap": null,
"book_outcome_id": null,
"outcome_id": null,
"player_id": "mlb:668930",
"side": null
},
{
"name": "Under",
"description": "Brice Turang",
"price": 125,
"point": 0.5,
"book_updated_at": null,
"book_version": null,
"payout_multiplier": null,
"dfs_odds_type": null,
"last_change_at": "2026-10-27T15:09:22.756575Z",
"last_seen_at": "2026-10-27T15:27:58.295240Z",
"liquidity": null,
"liquidity_updated_at": null,
"line_gap": null,
"book_outcome_id": null,
"outcome_id": null,
"player_id": "mlb:668930",
"side": null
}
]
}
]
}
]
}The response shape is the-odds-api compatible — events, bookmakers, markets, outcomes — so migrating is usually a base URL change.
Try it
1. List MLB events to get an event id:
curl "https://api.prop-line.com/v1/sports/baseball_mlb/events?apiKey=YOUR_API_KEY"2. Pull total bases for one game across every book — swap in a live event id from step 1 once books post it again:
curl "https://api.prop-line.com/v1/sports/baseball_mlb/events/539799/odds?apiKey=YOUR_API_KEY&markets=batter_total_bases"3. After the game, get the graded outcomes with the actual stat:
curl "https://api.prop-line.com/v1/sports/baseball_mlb/events/539799/results?apiKey=YOUR_API_KEY"Steps 1 and 2 run on the free tier. Step 3 — prop resolution — starts on Hobby at $9/mo. See pricing.
Get your free MLB odds API key
1,000 requests / day. No credit card. The same key covers every sport and every market — not just this one.
Free tier includes 1,000 requests/day. Upgrade anytime.