Download historical stock data

Pull whole windows rather than pages: a bars request without a limit is not paged at all, because a silent default page size hands back a short series that looks exactly like missing data.

Backtests are only honest on real depth. A mid-price hides the spread, the size resting at each level, and the slippage your order would actually pay. DepthFeed keeps the whole book.

PolymarketKalshiNasdaqNYSEBinanceChainlinkPolymarketKalshiNasdaqNYSEBinanceChainlink
640M
order books captured
Polymarket · Kalshi · Limitless
90+
days history
all venues, deepening
7
assets
BTC · ETH · SOL · XRP · DOGE · BNB · HYPE
REST + WS
delivery
JSON snapshots + live stream
Backtest Lab
+

You should not need a data pipeline and a research notebook to find out whether an idea has an edge. The Backtest Lab runs the whole test in the browser, against the real recorded book.

Paper trading
+

A backtest is a claim about the past. Paper trading is where that claim meets markets that haven't happened yet — with virtual cash, real prices, and a track record you can't fake.

Most feeds stop at the last price.

A single number — the last trade or the mid. It tells you nothing about the size waiting to fill, or how far the price moves when you take it.

We capture every level, both sides.

The full bid/ask ladder with the size resting at each price — best quote through the deep book, asks above the spread and bids below it.

Recorded at every change, forever.

Order-book depth is forward-only — miss it live and it's gone. We store every frame, so a backtest fills against the liquidity that was really there.

Public live data

Watch the market before you touch the API.

This is the same keyless Overview feed used inside DepthFeed: current crypto prices and live prediction-market probabilities from the venues carrying each contract. Switch the asset or window; every visible value comes from the public endpoint.

Connecting to public feed
GET /v3/overview?asset=btc
BinanceBitcoin spot reference
Consensus up

Mean of the latest visible venue probabilities. It is a market snapshot, not a forecast or trading signal.

Probability tapewaiting for ticks
25%50%75%
Live ticks will appear here.
The landing remains available while the public feed reconnects.
curl "https://api.depthfeed.com/v3/overview?asset=btc"
01What you get

The book, not just the last price.

Full bid/ask book depth

Every price level with its size, on both sides, at every change. Measure real slippage and liquidity, not a single mid-price.

3 feeds

Event-driven cadence

Recorded on every book and price-change event, not sampled. Short-dated markets stay backtestable.

Clean REST API

Latest and historical order-book snapshots over REST — JSON, epoch-millis timestamps, keyset pagination.

Underlying price, time-synced

A high-frequency reference price series — Binance spot/futures plus Chainlink settlement marks — that joins to any Equities, Crypto & Prediction Markets snapshot by epoch-millis timestamp, so you can line up book state with the spot move that drove it.

02The data

Polymarket & Kalshi order-book and price data.

Depth this fine is expensive to record and impossible to backfill, so almost nobody keeps it. We do — full order-book and price data across Polymarket, Kalshi, and Limitless, every level on both sides, captured tick by tick and served clean over a metered API.

Every level, both sides

Not the last trade or the top of book — the full bid/ask ladder with the size resting at each level, captured at every change. The depth a real order actually fills against.

Three venues, one schema

Polymarket, Kalshi, and Limitless in a single, stable JSON shape — event-driven capture on Polymarket and Limitless, continuous full-depth polling on Kalshi, each joined to a high-frequency underlying price.

History you can't backfill

Order-book depth is forward-only — miss it live and it's gone for good. We've recorded continuously since early 2026, so the window your plan buys is backed by stored data, not a promise.

03How we capture it

Real prediction-market depth, measured — not a brochure number.

DepthFeed is an independent project (not affiliated with the venues) that exists to record the prediction-market order book almost nobody else keeps. Every figure below is measured directly from our own live capture, so you can backtest on real liquidity and trade on the same data.

640 million
order books captured

Polymarket · Kalshi · Limitless

380K+
Polymarket markets

archive starts January 2026

900K+
Kalshi markets

since January 2026

7
assets

BTC · ETH · SOL · XRP · DOGE · BNB · HYPE

Measured directly from DepthFeed's live capture, June 21, 2026.

A real captured snapshot

Bids — Up tokenAsks — Up token0.3471.990.33150.32283.640.31143.180.35431.640.36402.870.37359.20.38355.51
Resting size at each price level — btc-updown-5m (Polymarket CLOB). Bar length ∝ size.

How it's captured

  • Websocket source capture on Polymarket and Limitless; paced full-depth REST polling on Kalshi; normalized fields preserve venue-specific timestamps.
  • Historical queries ASOF-align the nearest preceding Binance reference by timestamp when available; a missing match remains null.
  • Archive coverage is prospective and series-specific; the docs publish the stored date floors.
04Coverage

Equities, Crypto & Prediction Markets coverage, growing with demand.

We collect what matters for short-dated markets: the full book across the assets and time windows traders actually use.

Assets
US equitiesETFsPerpetualsBTCETHSOLXRPDOGEBNBHYPE
Market windows
5m15m1h4h24h
05Quickstart

From key to backtest in minutes.

Hit the REST API to discover live markets and pull the full historical book. Clean JSON, epoch-millis timestamps, keyset pagination — no scraping.

  • Stable JSON schema
  • Exchange + receive timestamps
  • Keyset pagination, per-plan limits
quickstart.sh
# 1 · Discover live markets — REST API, Bearer key
$ curl -s "https://api.depthfeed.com/v3/btc/markets?type=5m" \
    -H "Authorization: Bearer $DEPTHFEED_KEY"
# {"data":[{"market_id":"…","slug":"btc-updown-5m-1780824900",
#           "market_type":"5m","clob_token_up":"0x…"}], …}

# 2 · Pull the full book to backtest — historical snapshots over REST
$ curl -s "https://api.depthfeed.com/v3/btc/markets/<market_id>/snapshots?include_orderbook=true" \
    -H "Authorization: Bearer $DEPTHFEED_KEY"
# {"data":[{"time":"…","price_up":0.62,
#           "orderbook_up":{"bids":[[0.61,120],…],"asks":[[0.63,80],…]}}], …}

Download historical stock data

Downloading historical stock data means retrieving a complete OHLCV series for one or more symbols over a chosen window. DepthFeed serves this over GET /v3/bars, where limit is applied per symbol and an unlimited request returns the whole window in one series, with cursor pagination available when you do want to page.

The whole window, or a page you control

A request with no limit returns the entire window — deliberately, because a default page size would quietly truncate a series and truncation is indistinguishable from a gap in the data. When you do page, every series is cut at the same instant and the cursor resumes exactly there.

Exports you can hand to someone else

Beyond raw bars, Research and above export strategies, trades and whole runs in a portable form, so a result can be re-run by a colleague or a reviewer rather than taken on trust.

How far back you can go

History follows your plan, and bars use the same window as order-book depth: 7 days on the free Explorer tier, 30 on Quant, 90 on Research, and the full available history for each instrument on Desk. Long-horizon work — multi-year allocation studies, regime comparisons across cycles — is a Desk workload. Shorter windows are enough to validate a rule before you commit to the archive.

What this data is, and what it is not

These are source-attributed bars, not a consolidated (SIP) feed. For research, backtesting and signal work that distinction rarely matters; for best-execution reporting or regulatory record-keeping it does, and you should use a consolidated tape instead. One-minute is the finest resolution — the coarser frames are rolled up from it, so a 1-hour bar and sixty 1-minute bars always agree.

06Pricing

Choose capacity, not venues.

Explorer

$0free, no card

Verify the schema and replay a real sample before you pay.

  • 7 days · latest BTC markets, capped
  • Stock, ETF & crypto price bars · 3 symbols per request
  • Recorded bid/ask depth through the production REST schema
  • Sports discovery for Polymarket + Kalshi
  • 1 live BTC stream
  • Backtest Lab + 1 paper strategy

Quant

$29per month

Build across every venue with complete depth and live data.

  • 30 days · all assets · every supported venue
  • Stock, ETF & crypto price bars · 8 symbols per request
  • Full book depth at any interval, including raw ticks
  • 25 req/sec · 5 live streams
  • Sports API, injury alerts + 1 live sports book
  • Backtest Lab + 5 paper strategies

Research

Free trial
$99per month

Test robustness and export evidence you can reproduce.

  • Everything in Quant
  • Stock, ETF & crypto price bars · 16 symbols per request
  • 90 days of unified history (3× Quant)
  • Out-of-sample robustness analysis
  • Reproducible strategy, trade and run exports
  • 50 req/sec · 25 live streams · 15 paper strategies

Desk

$249per month

Run full-archive research on an isolated historical lane.

  • Everything in Research
  • Stock, ETF & crypto price bars · 32 symbols per request
  • Full market + sports archive
  • Historical queries use an isolated traffic lane
  • 100 req/sec · 100 live streams + wildcards
  • 2 parallel history queries · 40 paper strategies

Every paid plan

Complete data access; capacity scales with the tier.

  • Every supported venue
  • Crypto, stocks & prediction markets
  • Full bid/ask depth
  • Any interval or raw ticks
  • Backtest Lab + live WebSocket
Compare exact plan limitsHistory, throughput, streams, research tools and account allowances.
CapabilityExplorer$0Quant$29Research$99Desk$249
DataHistory7 days, capped30 days90 daysFull archive
Order-book assetsBTC sampleAll 7All 7All 7
Price bars — equities, ETFs & crypto1-minute, windowed1-minute base1-minute base1-minute base
Bar symbols per request381632
Venue access (prediction markets)Recorded sample + sports RESTEvery venueEvery venueEvery venue
DeliveryGeneral REST admission1 req/sec25 req/sec · 1,000/min50 req/sec · 3,000/min100 req/sec · 6,000/min
Live book streams1 BTC subscription5 subs · 1 connection25 subs · 2 connections100 subs · 5 connections + wildcards
Live sports booksREST only123
ResearchBacktest Lab — prediction marketsPolymarket samplePolymarket + KalshiPolymarket + KalshiPolymarket + Kalshi
Backtest Lab — stocks, ETFs & cryptoIncluded, within the 7-day windowIncludedIncludedIncluded
Robustness analysisOut-of-sample Research LabIncluded
Concurrent paper strategies151540
Wallet Intelligence1 wallet · 3 audits5 wallets · 10 audits10 wallets · 25 audits20 wallets · 50 audits
Monthly AI execution credits2001,0003,000
OperationsHistorical query laneSharedSharedSharedIsolated · 2 parallel requests

Monthly billing in USD. Cancel anytime. Taxes, where required, are calculated before payment. An entirely unused paid plan can be canceled and refunded in full under the Terms.

AI credits cover model execution only. Data access, history, exports, API limits, streams and venues never consume them.

Questions, answered.

On Desk you get the full available history for each instrument. Explorer, Quant and Research are windowed to 7, 30 and 90 days respectively — bars obey the same plan window as order-book depth.

Start backtesting Equities, Crypto & Prediction Markets on real depth.

Free to start, no card. Upgrade when your strategy is ready for the full book.

Start free