Reference

Schemas

Every venue is normalized into the same eight channels, delivered as zstd-compressed Parquet files.

File path: venue, channel, date and hour, as in polymarket/book_10/2026-12-05/14.parquet
8 shared columnsinstrument_idbook_10 columns
8 shared columnsinstrument_idbook_10 columns

Order books

Hourly files

The book as it changed: every price level, the top ten, or only the best bid and ask.

Executions

Daily files

What traded: trades as the venue reports them, and fills read from the chain.

Reference

Daily files

Binance trades, for the price of the asset a market is about.

Metadata

Daily files

What each market was on a given day, and how fully each hour was recorded.

Shared columns

Eight columns on every row of trades, book_delta, book_10, quotes and onchain_fills: which market the row is about, and when it happened.

ColumnTypeDescription
venuestringVenue id, e.g. polymarket
market_idstringThe venue's market id (condition id, ticker, slug)
event_idstringThe event or group the market belongs to
outcomestringOutcome the instrument pays on, e.g. Yes
instrument_idstringOutcome token or contract the row is about
exch_tstimestamp[us, UTC]Time stamped by the venue or block
recv_tstimestamp[us, UTC]Time the message was received
seqint64Venue sequence number, where sent
Order booksHourly files

book_delta

Book deltas

One row per changed price level.

Files
Hourly
ColumnTypeDescription
sidestringbid or ask
pricedecimal(18,8)Level price
new_sizedecimal(24,8)Size now resting at the level; 0 removes it
is_snapshotboolPart of the book before its first change in the hour, or of a book seen for the first time
Plus the 8 shared columnsvenue · market_id · event_id · outcome · instrument_id · exch_ts · recv_ts · seq

book_10

Top-10 books

One row per state of the top ten levels, at most once a second.

Files
Hourly
ColumnTypeDescription
bid_px_0 … bid_px_9decimal(18,8)Best ten bid prices, best first
bid_sz_0 … bid_sz_9decimal(24,8)Sizes at those prices
ask_px_0 … ask_px_9decimal(18,8)Best ten ask prices, best first
ask_sz_0 … ask_sz_9decimal(24,8)Sizes at those prices
is_snapshotboolThe book before its first change in the hour, or a book seen for the first time
Plus the 8 shared columnsvenue · market_id · event_id · outcome · instrument_id · exch_ts · recv_ts · seq

quotes

Quotes

One row per change in the best bid or ask.

Files
Hourly
ColumnTypeDescription
bid_pxdecimal(18,8)Best bid
bid_szdecimal(24,8)Size at the best bid
ask_pxdecimal(18,8)Best ask
ask_szdecimal(24,8)Size at the best ask
is_snapshotboolThe book before its first change in the hour, or a book seen for the first time
Plus the 8 shared columnsvenue · market_id · event_id · outcome · instrument_id · exch_ts · recv_ts · seq
ExecutionsDaily files

trades

Trades

One row per trade.

Files
Daily
ColumnTypeDescription
trade_idstringVenue trade id, or a stable key built from the fill
pricedecimal(18,8)Price of the instrument: 0 to 1, or USD on Polymarket Perps
sizedecimal(24,8)Contracts or shares
sidestringAggressor side: buy or sell
mirroredboolTraded on the other outcome, restated on this one
sourcestringlive or history
Plus the 8 shared columnsvenue · market_id · event_id · outcome · instrument_id · exch_ts · recv_ts · seq

onchain_fills

Onchain fills

One row per OrderFilled event.

Files
Daily
ColumnTypeDescription
chain_idint32137 Polygon, 56 BNB Chain, 8453 Base
blockint64Block number
tx_hashstringTransaction hash
log_indexint32Position of the event in the block
makerstringAddress whose order was filled
takerstringCounterparty address
rolestringmaker (resting order) or taker (crossing order)
sidestringThe order's side: buy or sell
pricedecimal(18,8)Collateral per token
sizedecimal(24,8)Outcome tokens
amountdecimal(24,8)Collateral
feedecimal(24,8)Fee charged
Plus the 8 shared columnsvenue · market_id · event_id · outcome · instrument_id · exch_ts · recv_ts · seq
ReferenceDaily files

ref_prices

Reference prices

One row per Binance aggregate trade.

Files
Daily
Venues
Binance
ColumnTypeDescription
venuestringVenue id: binance
symbolstringTrading pair
sourcestringPrice source: binance
exch_tstimestamp[us, UTC]Time stamped by the exchange
recv_tstimestamp[us, UTC]Time the message was received
trade_idint64Binance aggregate trade id
pricedecimal(18,8)Trade price in USDT
sizedecimal(24,8)Quantity traded
sidestringAggressor side: buy or sell
MetadataDaily files

markets

MarketsFree

One row per market as it was that day.

Files
Daily
ColumnTypeDescription
venuestringVenue id, e.g. polymarket
market_idstringThe venue's market id
event_idstringThe event or group the market belongs to
questionstringThe market's question
rulesstringRules text, as the venue publishes it
outcomeslist<string>Outcome names
instrument_idslist<string>Instrument ids of the outcomes
statusstringThe venue's market status that day
open_tstimestamp[us, UTC]Open time, where the venue gives one
close_tstimestamp[us, UTC]Close or end time, where the venue gives one
resultstringResolved outcome, where the venue reports one
as_of_datedate32The day this row describes
first_seentimestamp[us, UTC]First time the market was seen that day
last_seentimestamp[us, UTC]Last time the market was seen that day
rawstringThe venue's own market object, as received (JSON)

coverage

CoverageFree

One row per channel-hour of recording.

Files
Daily
ColumnTypeDescription
venuestringVenue id
channelstringChannel id, e.g. book_delta
datedate32UTC day
hourint8UTC hour, 0 to 23
messagesint64Messages received in the hour
filesint32Raw files written in the hour (one per recording process)
collectorslist<string>Recording processes that wrote in the hour
first_recvtimestamp[us, UTC]First message received in the hour
last_recvtimestamp[us, UTC]Last message received in the hour
max_silence_secondsfloat64Longest stretch without a message, in seconds
disconnectsint32Connections that dropped in the hour
disconnected_secondsfloat64Seconds disconnected, summed over connections

Conventions

How every venue is normalized into the same files.

  • Files by day or by hour

    Book channels come in one file per hour, by when they were received. Every other channel comes in one file per day; trades and fills by when they happened.

  • Self-contained hours

    The first time an instrument changes in an hour, its book just before is written as is_snapshot rows at the start of the hour (a book seen for the first time, at the time it arrives), so any hour replays on its own.

  • One instrument per binary market

    Books are for the first outcome (Kalshi's YES). A trade on the other outcome is restated on the first at 1 − price with the side flipped, and marked mirrored.

  • Sorted by instrument

    Rows are grouped by instrument_id and then in time order, so one market can be read without downloading the whole file.

  • Timestamps and prices

    Timestamps are UTC with microsecond precision. Prices are exact decimals: probabilities from 0 to 1, or USD for perps and reference prices.

  • Quality flags

    Files list known problems: provisional, cold_start, unmapped_tokens and venue caveats. See Data quality.

Start building with PredBooks

Pick a plan, create an API key and load your first day of data with an SDK (Go, Python, Rust or TypeScript) or the API.