--- license: cc-by-4.0 pretty_name: Polymarket Crypto Up/Down Order Books — 1-Second L2, Three Contract Lengths task_categories: - time-series-forecasting - tabular-regression language: - en tags: - polymarket - prediction-markets - order-book - order-books - limit-order-book - market-microstructure - high-frequency - crypto - bitcoin - ethereum - solana - xrp - dogecoin - backtesting - slippage size_categories: - 100K= df.best_ask).mean() # crossed rate (df.bid_prices.str.len() == 0).mean() # empty bid side df[df.seconds_to_close <= 60].crossed.mean() # and near settlement ``` Publishing the flag rather than filtering the affected rows is deliberate: you can measure our data quality instead of taking our word for it. ## Schema One row per outcome token per second. Ladders are typed list columns, so no parsing step. | Column | Type | Notes | | --- | --- | --- | | `market_slug` | string | e.g. `btc-updown-5m-1787551200` | | `outcome` | string | `Up` or `Down` | | `captured_at` | timestamp | UTC, 1-second resolution | | `seconds_to_close` | float | Time remaining until settlement | | `bid_prices`, `bid_sizes` | list[float] | Full bid ladder, best first | | `ask_prices`, `ask_sizes` | list[float] | Full ask ladder, best first | | `best_bid`, `best_ask` | float | Derived top of book | | `crossed` | bool | `best_bid >= best_ask` | | `winning_outcome` | string | Resolved result | Prices are probabilities in [0, 1]. Sizes are share counts. ## How it was captured Read from Polymarket's live order book once per second, with a full-book reconcile every 60 seconds. The reconcile interval is the design decision that matters: replaying an archived event stream instead diverges from the source at roughly two-thirds of checkpoints, because the feed carries no sequence numbers and a dropped removal leaves no gap to detect. Polymarket archives no order book history itself — `/book` returns the current state and nothing stores it — so this data exists only because it was recorded while the markets traded. ## Citation > PolyOrderbooks. (2026). *Polymarket Crypto Up/Down Order Books: 1-Second L2 > Depth Across Three Contract Lengths* [Dataset]. Zenodo. > https://doi.org/10.5281/zenodo.22084114 That is the concept DOI and always resolves to the newest version. Each version also has its own DOI for pinning exact data. --- ## About PolyOrderbooks We capture Polymarket order book depth at 1-second resolution and serve it over a REST API. Polymarket archives no order book history of its own — its `/book` endpoint returns the current state and nothing stores it — so this data exists only because it was recorded while the markets traded. | | | | --- | --- | | API | [polyorderbooks.com](https://polyorderbooks.com) | | Documentation | [docs.polyorderbooks.com](https://docs.polyorderbooks.com) — endpoints, parameters, response shapes | | Free tier | [polyorderbooks.com/signup](https://polyorderbooks.com/signup) — 1-second resolution, no card | | All open datasets | [polyorderbooks.com/datasets](https://polyorderbooks.com/datasets) | | Python client | [`pip install polyorderbooks`](https://pypi.org/project/polyorderbooks/) | | MCP server | [`@polyorderbooks/mcp-server`](https://www.npmjs.com/package/@polyorderbooks/mcp-server) — for Claude, Cursor and other MCP clients | ### The citable release For a paper, cite the DOI-carrying release rather than this repository — 897,192 snapshots across 805 resolved markets and three contract lengths, same schema, same licence: > PolyOrderbooks. (2026). *Polymarket Crypto Up/Down Order Books: 1-Second L2 > Depth Across Three Contract Lengths* [Dataset]. Zenodo. > https://doi.org/10.5281/zenodo.22084114 ### Questions Open a discussion on this dataset for anything about the data itself. For the API — a window these files do not reach, a coverage question, a plan — email **contact@polyorderbooks.com**. Corrections to the data are welcome and taken seriously; if you find something wrong here we would rather know. Not affiliated with, endorsed by, or connected to Polymarket.