MLB Odds API: Real-Time Pinnacle Baseball Lines, Run Lines, and Props
A real-time MLB odds API over REST, SSE, and WebSocket. Money line, run line, totals, first-5-innings and player props, why baseball lines hinge on the starting pitcher, and how to catch moves live.
MLB Odds API: Real-Time Pinnacle Baseball Lines, Run Lines, and Props
Baseball's odds market is shaped by two things nothing else in the majors shares: it is a money-line sport, and the line is built around one player, the starting pitcher. An MLB odds API that gives you Pinnacle's sharp baseball line, live and prematch, lets you track both, and with a 2,430-game regular season there is more of it than any other US sport.
Through pinnapi you get that line over REST, SSE, and WebSocket, pushed as it changes.
Why baseball's market is different
In football or basketball the spread is the headline market. In baseball the money line is, because scoring is low and a fixed spread would be blunt. Instead of a moving handicap you get the run line, almost always fixed at 1.5 runs, with the odds doing the work rather than the number.
The bigger difference is the starting pitcher. A baseball line is priced around who is throwing, and it can swing sharply on a late scratch or a confirmed lineup. This is why "listed pitcher" is a concept at all: bettors care so much about the starter that the whole price is conditional on it. If you are modelling MLB, pitcher news is the single biggest thing that moves your number, and it moves it fast.
The markets you get
For an MLB game, live and prematch, the feed carries:
- Money line: the straight winner, the primary baseball market.
- Run line (spreads): the 1.5-run handicap, keyed by line, with the odds carrying the value.
- Totals: over/under on combined runs, heavily influenced by park and weather.
- Team totals: over/under on a single team's runs.
- First-5-innings markets: a baseball-specific favourite, betting the game while the starting pitchers are in, before the bullpens muddy it.
The market shape (money line, spreads, totals, team totals under each period) is the standard one covered in the sports and markets reference.
Player props, and one thing to know
Baseball is where Pinnacle's player props are most visible: total bases, total home runs, total strikeouts and pitching outs for starters, and more, as simple over/under lines. They are not in the default feed. You switch them on with include_specials=1, and they come back as separate events joined to the game.
The catch worth knowing up front: props do not fire drop alerts, and they carry much lower limits than the main lines (on a live slate, prop maximums sat in the hundreds against roughly 5,000 on the run line and totals). So you track prop moves by polling, not by the drop stream. The full mechanics are in how to pull Pinnacle player props.
Where the speed pays off
A daily MLB slate is a dozen-plus games, and prematch lines move all afternoon on pitcher and lineup news. In-play, baseball moves in discrete jumps: every pitch, every base runner, every half-inning reprices the game. That pitch-by-pitch cadence is a lot of movement to catch, and seeing it as it happens beats seeing where it settled.
pinnapi pushes those changes over SSE as odds drops on the main markets, roughly 15–40 ms from Pinnacle frame to a nearby client in our own benchmark. As always, the only latency number worth trusting is the one you measure from your own server.
What pinnapi covers for MLB
MLB sits under baseball (sport_id=6), labelled MLB in the feed. You get:
- Live and prematch, the same game carrying across both.
- Money line, run line, totals, team totals, and first-5-innings markets.
- Player props via
include_specials=1(no drop alerts on those). - Odds-drop alerts over SSE on the main markets.
- No-vig fair odds computed server-side for the reference probability.
No Pinnacle account needed; a pinnapi key is enough.
Where a Pinnacle feed is the wrong tool
- You want to place MLB bets, not read the line. A data feed gives you the price, not a way to stake it.
- You want dozens of books for line-shopping. That is an aggregator, not a single-book feed.
- You need seasons of historical MLB odds for backtesting. We serve live and near-live only.
Takeaway
MLB is a money-line sport whose price hinges on the starting pitcher, with run lines fixed at 1.5, park-and-weather-driven totals, first-5 markets, and a deep well of player props behind the specials flag. Prematch, watch the pitcher news move the line; in-play, take the push, because baseball reprices on every pitch. And whatever you build, measure your own latency before you lean on it.
Frequently asked questions
Is there an MLB odds API?
Yes. Through pinnapi you get Pinnacle's MLB line live and prematch over REST, SSE, and WebSocket. Pinnacle's public API closed in July 2025, so independent feeds are the route now.
What MLB markets are available?
Money line, run line (1.5 spread), totals, team totals, and first-5-innings markets, plus player props via the specials flag.
Does the MLB API have player props?
Yes, as special markets returned with include_specials=1: total bases, home runs, strikeouts, pitching outs and more. They carry lower limits and do not fire drop alerts, so poll them.
Why do MLB lines move so much before first pitch?
Because the price is built around the starting pitcher and confirmed lineups. A late scratch or lineup change can move the line hard.
Do I need a Pinnacle account?
No. pinnapi is an independent data feed; your key is all you need. It provides prices, not the ability to place a bet.
Get real-time Pinnacle odds in your code
Live & prematch markets with sub-second odds-drop alerts. Free trial key in seconds — no card.
Start free trial