MLB historical data

MLB is a Polymarket sports series with markets recurring daily. Marketlens has captured 18,720 markets since June 19, 2026, of which 18,651 resolved, with $110.4M 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-10 · series slug mlb

Markets
18,720
Resolved
18,651
Traded volume
$110.4M
Avg volume / market
$14.7K
Cadence
daily
Coverage from
2026-06-19
Data through
2026-08-10
Category
Sports

Markets by bet type

total:f52,538
spread:f51,431
spread1,377
total1,352
moneyline531

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

  • Will there be a run scored in the first inning?: Houston Astros vs. San Diego Padres
  • Houston Astros vs. San Diego Padres
  • Freddy Fermin: Home Runs O/U 1.5

Backtest this series

python
from marketlens import MarketLens client = MarketLens() result = client.backtest( MyStrategy(), "mlb", subtype="moneyline", after="2026-08-03", before="2026-08-11", 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?

18,720 markets from June 19, 2026 through August 10, 2026, of which 18,651 have resolved and 69 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.7K per market, $110.4M 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