Marketlens
Polymarket historical order books and backtesting for trading bots.
About
Marketlens captures every Polymarket order book change the moment it happens. Full L2 depth, tick-by-tick, every change recorded. Full order book history, executed trades, OHLCV candles, and underlying asset prices are available via REST API, Python SDK, or bulk Parquet export.
Backtest your bot against historical order books at millisecond resolution. Fills account for queue position, latency, and slippage.
We track binary, multi-strike, barrier, and macro markets across crypto, equities, FX, commodities, indices, and rates. Examples include BTC, ETH, SOL, and XRP up or down (5m, 15m, daily), weekly BTC close ranges, "Will BTC hit $X" barriers, and FOMC rate decisions. Each repeats on a fixed schedule, so you can backtest across many past runs of the same market.
Free tier: 2,000 requests/day with full data access.
Key Features
Pricing
Free: 2,000 requests/day with full data access
Pro: $39/month, 100,000 requests/day, 5 API keys, bulk exports
Enterprise: $199/month, 500,000 requests/day, 25 API keys, dedicated support
All tiers access the same data and endpoints. Annual billing saves ~17%.