Skip to main content
The PolyOrderbooks API gives you programmatic access to historical Polymarket crypto and sports markets: discovery metadata, outcome prices, liquidity metrics, and L2 order book snapshots. Data is collected continuously into our historical store and served with consistent latency.
Production base URL
Paths in this documentation are relative to that host. Every /v1 data route requires a valid API key.

Quick start

Authenticate and query the catalog and history. If you are new here: get an API key, check rate limits, and review error handling before querying at scale.
Use the Try playground on endpoint pages after adding your X-API-Key header.

First time here?

Create an account, verify your email, generate an API key, and run your first historical query.
Want the data before you write any code? The free BTC 5-minute order book sample is a real slice of the archive — 1-second L2 bids, asks, spread, and depth in CSV or JSON, CC BY 4.0, no signup. The same snapshot is archived on Zenodo if you want to cite it.

What you can build

Market discovery

Search series, events, and markets with tags, status, volume, and date filters.

Price history

Outcome-level prices from 250ms native capture through daily aggregates.

Liquidity analytics

Volume, liquidity, and spread for execution-quality and microstructure research.

Order book depth

Historical L2 bid and ask ladders for slippage and depth analysis.

Coverage

We ingest and serve Polymarket crypto and sports markets. Pass category=crypto or category=sports to pin a request to one archive, or omit it to page across both. See Discovery overview for catalog scope.

Data model

1

Discover

Search with GET /v1/markets or browse series and events.
2

Resolve

Read GET /v1/markets/{id_or_slug} for outcome token identifiers and resolution state.
3

Query history

Request prices, metrics, or books over your time window.

Design principles

Create account

Free Starter plan — no credit card.

Dashboard

API keys, usage, and account settings.

Python SDK (PyPI)

Official polyorderbooks client — pip install polyorderbooks.

Python examples

Runnable scripts for discovery, books, and backtests.

OpenAPI

Machine-readable specification (hosted with these docs).