Skip to main content
Starting-point queries for common prediction market analysis tasks. Add the market, product-type, and time constraints required by your analysis before using them in production.
price is the execution price for the traded outcome. For binary markets, normalized_price expresses the trade relative to outcome index 0 and is normally between 0 and 1. For perpetual markets, normalized_price is the instrument price and is not a probability. Join fills to markets and inspect market_type before combining products.

Market Discovery

Search Markets by Keyword

Markets Closing Soon

Find active markets closing in the next 7 days—useful for time-sensitive analysis.

Recently Created Markets

Most Traded Markets (Last 7 Days)


Price Analysis

Price History for a Market

Get all fills for a specific market to plot price over time. Use price for per-outcome charts or normalized_price for a single Outcome 0 chart.

OHLC Candles (Hourly)

Build candlestick data for charting. Uses price (the per-outcome execution price) so each outcome gets correct candles.

OHLC Candles (Daily)

Volume-Weighted Average Price (VWAP)

Latest Price per Outcome

Get the most recent fill price for each outcome in a market.

Trading Activity

Recent Fills on a Market

Hourly Volume Over Time

Large Fills (Whale Watching)

Find fills above a size threshold.

Buy vs Sell Pressure

Stored Gross Amounts and Fees

The current taker_cash_flow and maker_cash_flow values are stored gross/notional amounts, not signed directional cash flows. This query summarizes the stored values; it does not calculate P&L. A zero fee can mean fee data was unavailable.

Trader Analysis

Top Takers by Volume

Trader Activity on a Specific Market

Taker-Side Net Contract Flow per Outcome

Estimate a trader’s taker-side net contract flow by summing buys minus sells.
This estimates only the trader’s taker-side contract flow. It does not include fills where the same trader appears as maker, venue-specific settlement, fees, or signed cash P&L.

Trader’s Recent Activity Across Markets


Orderbook Analysis

Current Best Bid/Ask

Spread Over Time

Orderbook at a Specific Time

Get the book state at an exact point in time (e.g., to correlate with a fill event). Uses the most recent snapshot at or before the target time.

Top-N Depth Levels

Extract only the top N price levels without transferring the full book.

Orderbook Depth

Total size available across all levels.

Tick-Level Reconstruction

Before building a millisecond sampling grid, check whether the window contains any fresh starting points:
If the query returns no RESET rows, collapse multiple verified snapshots at the same exchange timestamp to the last path state and then forward-fill:
Forward-filled rows are synthetic sampling points, not exchange events. Do not use them for event counts, feed-quality measurements, or reset detection. Never fill across RESET. One minute at millisecond resolution produces 60,000 rows, so use a coarser grid for longer ranges.

Market Resolution

Recently Resolved Markets

Resolution with Winning Outcome Name


Aggregated Statistics

Daily Platform Stats

Markets by Category

Outcome Count Distribution

How many markets have 2 outcomes vs 3+ outcomes?

Advanced Patterns

Price Movement Detection

Find markets where price moved significantly in the last hour.

Markets with Unusual Volume

Find markets trading above their 7-day average.

Latest Fill Price Divergence Between Outcomes

For binary markets, compare the most recent execution price for each outcome. The executions can occur at different times and are not executable bid/ask quotes, so a deviation indicates asynchronous or stale prints—not a confirmed arbitrage opportunity.

Time-Weighted Average Price (TWAP)

Weight prices by time between fills, not volume.

Exporting Data

Export to CSV Format

Add FORMAT CSV or FORMAT CSVWithNames to any query:

Export to JSON

When using programmatic clients, the format is usually handled by the client library. These FORMAT clauses are useful for CLI exports or direct HTTP queries.