Skip to main content
Read a crypto footprint

Overview

This endpoint returns footprint chart data for crypto spot and perpetual swap markets: each bar’s taker buy/sell volume, delta path and trade counts in bars, plus the price-by-price breakdown in cells. By default (exchange=darvas), Darvas sums trades across every trade-recorded exchange that lists the pair onto a single shared price grid. The newest bar may still be open.

Price grid and row size

Each exchange can trade on a different native tick size. For exchange=darvas, Darvas aligns every constituent exchange to the coarsest native tick among the active venues (tick) so finer-tick venues fold without empty rows.
  • Row sizing. Pass row_size in quote price units (for example row_size=10 for 10-dollar rows on BTC) and Darvas rounds it to whole ticks. If you omit row_size, row_ticks (default 1, up to 1,000,000) sets ticks per row, rounded up to a multiple of the coarsest stored step. row_size overrides row_ticks when both are sent.
  • Reading cells. Each entry in cells gives time_milliseconds (matching its bar in bars), price (the row’s low price, spanning row_size above it), buy_volume, sell_volume, buy_trades and sell_trades. Cells are sorted oldest bar first, then lowest price row first.
  • Totals-only mode. Pass cells=none when you only need bar totals (buy_volume, sell_volume, delta, buy_trades, sell_trades, min_delta, max_delta). That returns cells: [] and raises the limit cap from 120 to 500 bars.
  • Handling limited: true. If a wide window or fine tick grid hits the 60,000-cell limit, increase row_size or row_ticks, request fewer bars with limit, or switch to cells=none.
With exchange=darvas, pass comma-separated venues (such as venues=binance,okx) to combine only those exchanges; any non-darvas exchange refuses venues with 400. Aggregated answers include constituents (every exchange feeding the pair) and venues (the filtered subset, or null when unfiltered). Both fields are absent for single-exchange requests. Pass start_time and end_time as ISO 8601 timestamps (2026-11-25T14:00:00Z) or Unix milliseconds. Without end_time, the window ends at the current open bar; without start_time, it spans limit bars before end_time. Bars with no trades are omitted, and as_of records the UTC time Darvas read the footprint. For paginated 13-month bar totals without cells, see /crypto/order-flow. For raw trade ticks, see /crypto/trades. For OHLCV candles and instruments, see /crypto/prices and /crypto/tickers.

Examples

Authorizations

X-API-KEY
string
header
required

A Darvas data API key: dvk_ and 43 characters.

Query Parameters

ticker
string
required

The instrument id: BTC-USDT or BTC-USDT-SWAP on OKX, ETH-USDC-SWAP on Hyperliquid, BTC-USD on Coinbase, spot:BTCUSDT or perpetual:BTCUSDT on Binance and Bybit. A Binance or Bybit symbol such as BTCUSDT also works with market_type, spot without it. A Darvas aggregated pair is BASE-QUOTE or BASE-QUOTE-SWAP, such as BTC-USDT-SWAP, or BTC-ALLUSD for one combining its USD, USDT and USDC markets.

Maximum string length: 64
Pattern: ^[A-Za-z0-9][A-Za-z0-9._:/-]{0,63}$
exchange
enum<string>
default:darvas

The exchange, or darvas for Darvas's aggregate of the pair across these exchanges; darvas without it.

Available options:
darvas,
okx,
binance,
bybit,
hyperliquid
market_type
enum<string>

spot, swap, futures or option; without it, the type the id implies.

Available options:
spot,
swap,
futures,
option
venues
string

With exchange darvas: combine only these of the pair's exchanges, comma-separated. Any other exchange refuses it.

Maximum string length: 528
Pattern: ^[a-z0-9][a-z0-9-]{0,31}(,[a-z0-9][a-z0-9-]{0,31}){0,15}$
bar
enum<string>
default:15m

The bar size; 15m without it.

Available options:
1m,
5m,
15m,
30m,
1H,
2H,
4H,
1D,
1W
limit
integer<int32>
default:30

Bars to return, the newest of the window: at most 120 with cells=all, 500 with cells=none.

Required range: 1 <= x <= 500
row_ticks
integer<int32>
default:1

Price ticks per row, rounded up to a multiple of the coarsest row Darvas stores; row_size takes its place when sent.

Required range: 1 <= x <= 1000000
row_size
number<double>

Row height in price, rounded to whole ticks, such as 10 for 10-dollar rows of BTC.

Required range: x <= 1000000000
cells
enum<string>
default:all

all for every price row of every bar, none for each bar's totals alone; all without it.

Available options:
all,
none
start_time
string

The window's first moment, ISO 8601 or Unix milliseconds; limit bars before end_time without it.

Maximum string length: 40
Pattern: ^[0-9][0-9T:.+Z-]{0,39}$
end_time
string

The window's end, ISO 8601 or Unix milliseconds; the end of the open bar without it.

Maximum string length: 40
Pattern: ^[0-9][0-9T:.+Z-]{0,39}$

Response

Read a crypto footprint: one page.

The answer of GET /crypto/footprint.

ticker
string
required

The instrument id of the footprint.

Pattern: ^[A-Za-z0-9][A-Za-z0-9._:/-]{0,63}$
Example:

"BTC-USDT-SWAP"

exchange
enum<string>
required

The exchange of the footprint.

Available options:
darvas,
okx,
binance,
bybit,
hyperliquid
Example:

"okx"

market_type
enum<string>
required

The market of the footprint.

Available options:
spot,
swap,
futures,
option
Example:

"spot"

bar
enum<string>
required

The bar size.

Available options:
1m,
5m,
15m,
30m,
1H,
2H,
4H,
1D,
1W
Example:

"15m"

tick
number<double> | null
required

The price tick rows count in: for darvas, the coarsest tick of the exchanges combined.

Example:

0.1

row_ticks
integer<int64>
required

Ticks per row.

Required range: 1 <= x <= 1000000000
Example:

100

row_size
number<double> | null
required

Each row's height in price: row_ticks times tick.

Example:

10

as_of
string<date-time>
required

When Darvas read the footprint, in UTC.

Maximum string length: 30
Example:

"2026-11-25T14:07:12.000Z"

limited
boolean
required

Whether the cells reached the 60,000-cell cap, which keeps the newest whole bars.

Example:

false

bars
object[]
required

The bars, oldest first; a bar without trades is absent.

Maximum array length: 500
cells
object[]
required

Every bar's price rows, oldest bar and lowest row first; empty with cells=none.

Maximum array length: 60000
constituents
string[]

With exchange darvas: every exchange contributing to this footprint. Absent for one exchange.

Maximum array length: 16
Maximum string length: 32
Pattern: ^[a-z0-9][a-z0-9-]{0,31}$
Example:
venues
string[] | null

With exchange darvas: the exchanges feeding this footprint when venues narrowed them, null when all are included. Absent for one exchange.

Maximum array length: 16
Maximum string length: 32
Pattern: ^[a-z0-9][a-z0-9-]{0,31}$
Example: