Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Polymarket indexer

The Polymarket database combines decoded Polygon fill events with current event and market metadata.

TablePurpose
polymarket_order_filled_v3Maker/taker fill legs, token and USDC amounts, fees, transaction and block context
raw_event_metaEvent titles, slugs, dates, categories and source metadata
raw_market_metaMarket questions, outcomes, token identifiers, status and resolution metadata

Historical CLOB captures are separate from ClickHouse. The order-book example discovers archive files, downloads one with a size cap, decompresses the raw timestamp-plus-JSON format, anchors on a book snapshot, and applies subsequent price_change levels.

OnchainDivers provides access to high-precision Polymarket order books, including full snapshots, price-level changes, and explicit best-bid/ask transitions for individual CLOB outcome tokens. Dedicated files for five-minute Bitcoin Up/Down markets preserve the rapid probability changes around resolution and can be joined directly to event and market metadata in ClickHouse.

Credentials and archive locations are supplied through .env; no deployment address is included in this site.