Skip to content
@polyorderbookslabs

PolyOrderbooks Labs

Historical Polymarket order book API. Archived L2 bid/ask depth, outcome prices, and liquidity metrics for crypto and sports prediction markets.

PolyOrderbooks Labs

PolyOrderbooks Labs

Historical Polymarket order book API — archived L2 bid/ask depth, outcome prices, and liquidity metrics for crypto and sports prediction markets.

Website · API · Docs · Quickstart · Pricing

PyPI — polyorderbooks PyPI — polyorderbooks-backtest npm — @polyorderbooks/mcp-server DOI 10.5281/zenodo.22084114 License: MIT


What we build

PolyOrderbooks stores historical Polymarket market data so you can replay past order books — not just live snapshots or mid prices.

  • L2 order books — full bid/ask ladders as [price, size] per outcome
  • 250ms capture — every open market, on every plan, including Starter
  • Prices & metrics — outcome prices, volume, liquidity, spread on the same window
  • Discovery — search series, events, and markets (crypto and sports)
  • Resolved markets — settled markets stay queryable, including the winner
  • Read-local API — your client calls our archive; read paths never hit live Polymarket
  • Backtesting — fill simulation and slippage against real captured ladders

Verifiable and citable: 1B+ L2 snapshots across 800k+ markets, published as a CC BY 4.0 dataset with a Zenodo DOI (10.5281/zenodo.22084114).

Quick example

export POLYORDERBOOKS_API_KEY="pob_your_key_here"

curl -s -H "X-API-Key: $POLYORDERBOOKS_API_KEY" \
  "https://api.polyorderbooks.com/v1/markets?search=bitcoin&limit=5"

Create a free API key: polyorderbooks.com/signup

Open source

Start here

Repository What it is
polyorderbooks-python Official Python client — pip install polyorderbooks
polyorderbooks-backtest-python Replay-accurate backtesting library — pip install polyorderbooks-backtest
backtest-strategies Runnable strategy cookbook for backtesting against real L2 order books
mcp-server MCP server for Claude, Cursor, and other MCP clients — @polyorderbooks/mcp-server

More

Repository What it is
python-examples Runnable examples for the Python SDK
n8n-templates n8n workflows for historical order book data
polymarket-orderbook-research Reproducible measurement scripts behind the published research

Contact


Independent data product. Not affiliated with or endorsed by Polymarket.

Popular repositories Loading

  1. .github .github Public

    PolyOrderbooks profile README

  2. n8n-templates n8n-templates Public

    n8n workflows for historical Polymarket order book data

  3. python-examples python-examples Public

    Examples demonstrating how to use the PolyOrderBooks Python SDK.

    Python

  4. polyorderbooks-python polyorderbooks-python Public

    Official Python client for the PolyOrderbooks API - historical Polymarket L2 order books, prices and metrics captured at 250ms.

    Python

  5. mcp-server mcp-server Public

    MCP server for historical Polymarket order books - full L2 depth captured at 250ms for Claude, Cursor and other MCP clients.

    TypeScript

  6. polymarket-orderbook-research polymarket-orderbook-research Public

    Reproducible measurement scripts behind our Polymarket order book microstructure research

    Python

Repositories

Showing 8 of 8 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…