Moneyline, run line and totals on every MLB fixture, plus the Asian and Triple-A circuits.
Measured live at 2026-09-09 21:50 UTC. This page is regenerated from the API, so the numbers move.
Quick start: Baseball fixtures and prices
Copy it as it stands. It was run against the live API before this page rendered.
import datetime as dt
import time
import requests
API_KEY = "YOUR_API_KEY"
BASE_URL = "https://api.oddspapi.io/v4"
def get(path, params):
"""The key is the query parameter apiKey, never a header.
Read the status code first: a 429 body is valid JSON too."""
query = dict(params, apiKey=API_KEY)
for attempt in range(3):
response = requests.get(f"{BASE_URL}/{path}", params=query, timeout=180)
if response.status_code == 429:
time.sleep(5 * (attempt + 1))
continue
if response.status_code == 404:
return None
response.raise_for_status()
return response.json()
raise RuntimeError("rate limited on /" + path)
# Fixtures for Baseball. sportId 13 is the only filter here,
# so the from and to range has to stay under 10 days. Adding tournamentId
# lifts that cap.
fixtures = get("fixtures", {
"sportId": 13,
"from": "2026-09-09",
"to": "2026-09-18",
}) or []
print(len(fixtures), "fixtures in the window")
# The same bet ships under more than one market id on several sports, so
# resolve the result market from /v4/markets by name and read every id that
# maps to it. Reading one id drops part of the board.
MAIN_MARKET_IDS = ["131", "133"]
# hasOdds is a flag, not a depth signal, and it is false on every finished
# fixture. Boards open on their own clock, so the fixtures nearest kick-off
# carry the prices, and a fixture already in play often has the result market
# suspended. Read the ones still ahead of us, soonest first.
now = dt.datetime.now(dt.timezone.utc).strftime("%Y-%m-%dT%H:%M:%S.000Z")
upcoming = sorted(
(f for f in fixtures if f["hasOdds"] and f["startTime"] > now),
key=lambda f: f["startTime"],
)
for fixture in upcoming[:10]:
odds = get("odds", {
"fixtureId": fixture["fixtureId"],
"bookmakers": "pinnacle,bet365,draftkings",
})
boards = (odds or {}).get("bookmakerOdds") or {}
printed = False
for slug, board in boards.items():
for market_id in MAIN_MARKET_IDS:
market = board["markets"].get(market_id)
if not market:
continue
# players is keyed "0" on a match market. On a player prop it is
# keyed by player id, so never hardcode "0" outside this case.
prices = {
outcome_id: leg["players"]["0"]["price"]
for outcome_id, leg in market["outcomes"].items()
if leg["players"]["0"]["active"]
}
if prices:
print(fixture["participant1Name"], "v",
fixture["participant2Name"], slug, market_id, prices)
printed = True
if printed:
break
time.sleep(1.0)
Run against the live API at 2026-09-09 21:51 UTC. First line of output: 460 fixtures in the window
Baseball tournament pages
Tournaments carrying the most fixtures
Read from /v4/tournaments?sportId=13 at 2026-09-09 21:50 UTC. Pass the id straight to /v4/fixtures.
| Tournament | Category | tournamentId | Fixtures scheduled |
|---|---|---|---|
| MLB | USA | 109 |
361 |
| Triple-A International League | USA | 34238 |
190 |
| NPB | Japan | 1036 |
145 |
| Triple-A Pacific Coast League | USA | 34240 |
91 |
| Double-A Eastern League | USA | 34244 |
73 |
| CPBL | Chinese Taipei | 32233 |
70 |
| Double-A Texas League | USA | 34242 |
60 |
| Campeonato GPO | Nicaragua | 46079 |
60 |
| Double-A Southern League | USA | 34246 |
48 |
| High-A Midwest League | USA | 34248 |
37 |
Bookmakers pricing Baseball
231 bookmakers quoted, 67 independent prices, on Detroit Tigers v Minnesota Twins, measured 2026-09-09 21:06 UTC. Identical price tuples are grouped before the second count, because distinct slugs publish the same price and cloneOf does not track that.
and 66 more on https://oddspapi.io/sportsbooks
Counted from one /v4/odds call with no bookmaker filter, on the main result market for the sport. Regional feeds of one brand are shown once and link to that brand.
Market families
Read off /v4/markets and filtered on the sport. A family that carries many market ids is a ladder, with one id per line, so resolve a market on its name and collect every id that maps to it.
| Market family | Market ids | Type |
|---|---|---|
| Regular Time Result | 1 | Match market |
| Winner (incl. extra innings) | 1 | Match market |
| Over Under First To Fifth Inning | 40 | Match market |
| Over Under Sixth To Ninth Inning (incl. extra innings) | 40 | Match market |
| Over Under (incl. extra innings) | 22 | Match market |
| Over Under Eighth Inning | 10 | Match market |
| Over Under Fifth Inning | 10 | Match market |
| Over Under First Inning | 10 | Match market |
| Over Under Fourth Inning | 10 | Match market |
| Over Under Ninth Inning | 10 | Match market |
| Over Under Second Inning | 10 | Match market |
| Over Under Seventh Inning | 10 | Match market |
Read the study
MLB Odds API: run lines and totals. The measurements behind this page, written up in full.
Other sports
Questions developers ask
Which sportId do I pass for Baseball?
13. Read the full list from /v4/sports; the ids are stable and the slug is on the same object.
How many bookmakers price a Baseball fixture?
231 bookmakers quoted Detroit Tigers v Minnesota Twins, and those group into 67 independent prices once identical price tuples are collapsed, measured 2026-09-09 21:06 UTC. Group the tuples before you average, because distinct slugs publish the same price.
How do I find the live tournaments for Baseball?
Call /v4/tournaments?sportId=13 and keep the rows where futureFixtures is above one. 19 rows passed that test at 2026-09-09 21:50 UTC. Confirm a circuit against /v4/fixtures grouped on tournamentId, which is the reliable way to discover one.
Pull Baseball prices yourself
One key, one fixture id, one JSON shape across every sport on this site. The free tier runs on the same endpoints as the paid one.
