Skip to main content
PolyQuantLab is the Polymarket research workbench. The API surfaces the same data and engine the website uses internally — including the live audit log we publish publicly — so you can bring our infrastructure into your own scripts, bots, or notebooks.

What you get

Sub-second L2 data

Polymarket orderbook snapshots, Binance/Bybit L2 depth, Chainlink reference price — all queryable.

Walk-the-book backtest

Submit a typed strategy spec, get back realised PnL, equity curve, profit factor, max drawdown.

Paper trading

Persist a strategy server-side; we run it on every new snapshot and track equity in real time.

Live arb audit

Every signal our engine surfaces, reconciled to resolution. Model EV vs realised PnL, unedited.

Coverage

The API serves data for the same universe the workbench tracks:
AssetEvent typesSources
BTC, ETH, SOL5m · 15m · 1h · 4h · daily Up/DownPolymarket CLOB
BTC, ETH, SOLsub-second tickBinance spot · Bybit linear
BTC, ETH, SOLL2 depth @ 100–200 msBinance spot · Bybit linear
BTC, ETH, SOLoracle heartbeatChainlink (Polygon)

Common entry points

1

Get an API key

Sign in to the dashboard, open API keys, and mint a Bearer token. See Authentication.
2

List recent resolved markets

Hit GET /v1/markets/resolved — the same endpoint the dashboard uses to populate its Markets list.
3

Pull orderbook history for one market

Hit GET /v1/snapshots or the convenience wrapper at /v1/markets/{market_id}/orderbook.
4

Run a backtest

POST a strategy spec to /v1/backtest and poll /v1/backtest/{job_id} until status: "done".

Honest framing

The API is the same engine that powers the public audit page. Numbers, response shapes and edge cases are identical to what we render — including the bits that don’t flatter us. If you compose a strategy here and reach a different conclusion than the dashboard does, that’s a bug; please write to contact@polyquantlab.com.