Skip to main content
The polygon.predictions.market_orderbook table provides orderbook snapshots for Polymarket prediction markets, capturing bid and ask price levels with their corresponding quantities at specific points in time. Use this table to analyze market depth, liquidity distribution, bid-ask spreads, and order book dynamics across Polymarket prediction markets.

Table Columns

Data Notes:
  • Orderbook snapshots capture the state of the order book at specific timestamps
  • Each row represents one price level on either the bid or ask side
  • Prices are in dollars
  • Multiple rows per market and timestamp represent different price levels
Unique Key: unique_key
Column NameData TypeDescription
projectVARCHARProject identifier, always ‘polymarket’.
protocolVARCHARProtocol identifier, always ‘polymarket’.
order_dateDATEDate of the orderbook snapshot.
market_unique_idVARCHARUnique key for grouping related markets.
condition_idVARCHARUnique condition identifier.
market_questionVARCHARMarket question text.
token_idVARCHARToken ID for this outcome.
token_nameVARCHARCombined outcome and question name.
token_outcomeVARCHARToken outcome name.
sideVARCHAROrderbook side (bid or ask).
priceFLOATPrice level in dollars.
quantityNUMBERQuantity at this price level.
tick_sizeNUMBERMinimum price increment (tick size).
neg_riskBOOLEANWhether this is a NegRisk market.
min_order_sizeNUMBERMinimum order size in dollars.
orderbook_hashVARCHARHash of the orderbook state.
order_timestampTIMESTAMP_NTZ(9)Timestamp of the orderbook snapshot.
ingested_atTIMESTAMP_NTZ(9)Data ingestion timestamp.
unique_keyVARCHARUnique record key.

Understanding Orderbook Data

Bid vs Ask

  • Bid: Buy orders (traders willing to buy at these prices)
  • Ask: Sell orders (traders willing to sell at these prices)

Market Depth

Market depth refers to the market’s ability to sustain large orders without significantly impacting the price. More quantity at each price level = greater depth = more liquidity.

Price Levels

Each row represents one price level in the orderbook. A typical orderbook snapshot will have:
  • Multiple bid price levels (descending from highest)
  • Multiple ask price levels (ascending from lowest)

Use Cases

  1. Liquidity Analysis: Measure market depth and available liquidity
  2. Market Making: Identify opportunities for market making strategies
  3. Price Discovery: Understand where supply and demand meet
  4. Market Quality: Assess orderbook quality metrics (depth, spread, levels)