Skip to main content
Venues expose no usable price history, so Routeur records its own. This page covers what is recorded and how often, how quote history reaches back before recording began, where the imported archive shows up, and what is kept about settled markets. You need it when charting a market, reading fills, or judging how far back a number can be trusted.

Quotes

GET /v1/markets/{venue}/{id}/quotes returns a market’s top-of-book asks, oldest first. A quote is written only when the ask pair changes, so each point holds until the next one.
Three things to know when charting:
  • The first point is the last change before the window, so a step chart can start at the left edge.
  • Quotes are recorded on each crawl of a venue, Kalshi every 15 minutes and Polymarket every 30, so they arrive in bursts; timestamps are the crawl’s, not the venue’s.
  • At most 5,000 points are returned per request.

Before recording began

Where the window reaches back before a market’s first recorded quote, the gap is filled with candles. Hourly candles are used where they exist and daily candles elsewhere, and every candle point carries price_usd and source instead of asks: A market that has been recorded since it was listed has no candle points. Candles are also what calibration reads.

Trades

GET /v1/markets/{venue}/{id}/trades returns public fills from the venue’s trade feed, newest first, paged by cursor.
Recording runs every minute per venue. Polymarket fills that the feed served without a market are not included, and no account, wallet or transaction identity is kept. This endpoint reads only live recordings; archived fills appear on the signals endpoints, marked archived.

The imported archive

Polymarket fills and probability snapshots from before the live feeds began are imported in bulk and rolled up into the same five-minute buckets and daily and hourly candles the live recorder writes, marked source: archive. Archive buckets are only written for periods older than the earliest live bucket, so the two never overlap. Where it shows: Archived fills carry no identity, and a fill of $10,000 or more is marked block by size, since the archive has no block flag.

Settled markets

For every settled Kalshi market in the venue’s archive, and every imported Polymarket market found to have settled, Routeur keeps the result (yes, no, a scalar value, or void), when it closed and settled, its volume and last price, and its candles. Polymarket markets in the archive are rechecked every six hours as more close. There is no endpoint that lists settled markets directly. They reach the API aggregated, through calibration and strategies.

Beyond quotes and trades

  • Order books are recorded live from each venue’s feed, with a top-of-book series per second of change; see Order books.
  • Quotes, trades and book changes are also pushed as they are recorded; see Live stream.
  • Every version of a market’s rules is kept from the day it was first seen; see Rules.
  • Signals: what is moving, large fills and one-sided money, read from this history.
  • Calibration: how prices in each band resolved.
  • Freshness: how old each number can be.
  • Price chart: drawing quotes and candles as one series.