MLB historical data

MLB is a Polymarket sports series with markets recurring daily. Marketlens has captured 15,780 markets since June 19, 2026, of which 15,742 resolved, with $97.1M in traded volume. Every market's order book is stored in full: periodic L2 snapshots plus every individual price change with a millisecond timestamp, alongside trades, candles, and the final resolution outcome.

Data as of 2026-08-05 · series slug mlb

Markets
15,780
Resolved
15,742
Traded volume
$97.1M
Avg volume / market
$14.3K
Cadence
daily
Coverage from
2026-06-19
Data through
2026-08-05
Category
Sports

Markets by bet type

total:f52,268
spread:f51,327
total1,160
spread1,119
moneyline461

Market counts by bet type across the series. Pass any of these as subtype= to backtest that type on its own.

Recent markets in this series

  • Tim Tawa: Home Runs O/U 0.5
  • Detroit Tigers vs. Seattle Mariners
  • 1st 5 Innings Spread: San Diego Padres (-1.5)

Backtest this series

python
from marketlens import MarketLens client = MarketLens() result = client.backtest( MyStrategy(), "mlb", subtype="moneyline", after="2026-07-29", before="2026-08-06", initial_cash=1_000, ) result.show() # inspect the run in the dashboard

Available datasets

Order book snapshots and deltasfull L2 depth, millisecond price changes
Tradesindividual fills with side and size
CandlesOHLC at multiple resolutions
Bulk Parquet exportsfull markets for offline research
Backtestingtick level replay with realistic fills

Common questions

How many MLB markets are in the archive?

15,780 markets from June 19, 2026 through August 5, 2026, of which 15,742 have resolved and 38 are active.

What data exists for each MLB market?

Full L2 order book history (snapshots plus every price change at millisecond resolution), individual trades, OHLC candles, and the resolution outcome. All of it is queryable by the series slug "mlb" through the API and Python SDK, or downloadable as Parquet.

How much does a typical MLB market trade?

Average traded volume is $14.3K per market, $97.1M across the series.

Can I backtest strategies on MLB?

Yes. Pass the slug "mlb" to client.backtest() in the Python SDK. Execution mode replays every market's order book tick by tick and fills simulated orders against real historical depth with queue priority, latency, and fee modelling; Alpha mode replays one bar per market for slower signals over long windows. This series mixes several bet types, so pass subtype= (e.g. "moneyline") to backtest one type at a time.

Related series: FIFA World Cup, ATP, WTA, UFC, MLS 2025, Liga MX 2025, or all sports series.

Try it

Replay MLB tick by tick

The free tier includes 5M events per day with full API and full archive access, no card required.

bash
$ pip install marketlens