Read a crypto footprint
curl --request GET \
--url https://api.darvas.app/v1/crypto/footprint \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/crypto/footprint"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.darvas.app/v1/crypto/footprint', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ticker": "BTC-USDT-SWAP",
"exchange": "darvas",
"market_type": "swap",
"constituents": [
"binance",
"bybit",
"okx"
],
"venues": null,
"bar": "15m",
"tick": 0.1,
"row_ticks": 100,
"row_size": 10,
"as_of": "2026-11-25T14:07:12.000Z",
"limited": false,
"bars": [
{
"time": "2026-11-25T14:00:00.000Z",
"time_milliseconds": 1795615200000,
"buy_volume": 6,
"sell_volume": 7,
"delta": -1,
"buy_trades": 12,
"sell_trades": 14,
"min_delta": -1.5,
"max_delta": 2.5
}
],
"cells": [
{
"time_milliseconds": 1795615200000,
"price": 97000,
"buy_volume": 1.25,
"sell_volume": 0.8,
"buy_trades": 14,
"sell_trades": 9
}
]
}{
"error": "VALIDATION_ERROR",
"message": "Send ticker or cik"
}{
"error": "UNAUTHORIZED",
"message": "The API key is not valid"
}{
"error": "PLAN_REQUIRED",
"message": "The account of this key has no active data API plan"
}{
"error": "NOT_FOUND",
"message": "No company has this ticker or CIK"
}{
"error": "RATE_LIMITED",
"message": "Too many requests"
}{
"error": "INTERNAL_ERROR",
"message": "Something went wrong"
}{
"error": "UNAVAILABLE",
"message": "The data service is unavailable"
}Crypto Order Flow
Crypto Footprint Chart & Bid/Ask Cluster API
Access price-level crypto footprint bars with bid/ask volume, imbalances, point of control and delta per tick across OKX, Binance, Bybit and more.
Read a crypto footprint
curl --request GET \
--url https://api.darvas.app/v1/crypto/footprint \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/crypto/footprint"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.darvas.app/v1/crypto/footprint', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ticker": "BTC-USDT-SWAP",
"exchange": "darvas",
"market_type": "swap",
"constituents": [
"binance",
"bybit",
"okx"
],
"venues": null,
"bar": "15m",
"tick": 0.1,
"row_ticks": 100,
"row_size": 10,
"as_of": "2026-11-25T14:07:12.000Z",
"limited": false,
"bars": [
{
"time": "2026-11-25T14:00:00.000Z",
"time_milliseconds": 1795615200000,
"buy_volume": 6,
"sell_volume": 7,
"delta": -1,
"buy_trades": 12,
"sell_trades": 14,
"min_delta": -1.5,
"max_delta": 2.5
}
],
"cells": [
{
"time_milliseconds": 1795615200000,
"price": 97000,
"buy_volume": 1.25,
"sell_volume": 0.8,
"buy_trades": 14,
"sell_trades": 9
}
]
}{
"error": "VALIDATION_ERROR",
"message": "Send ticker or cik"
}{
"error": "UNAUTHORIZED",
"message": "The API key is not valid"
}{
"error": "PLAN_REQUIRED",
"message": "The account of this key has no active data API plan"
}{
"error": "NOT_FOUND",
"message": "No company has this ticker or CIK"
}{
"error": "RATE_LIMITED",
"message": "Too many requests"
}{
"error": "INTERNAL_ERROR",
"message": "Something went wrong"
}{
"error": "UNAVAILABLE",
"message": "The data service is unavailable"
}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 inbars, 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.
| Coverage | Details |
|---|---|
| Aggregated feed | darvas (default) sums OKX, Binance, Bybit and Hyperliquid trades for a canonical pair (BTC-USDT-SWAP, BTC-ALLUSD, BTC-ALLUSD-SWAP) on one price grid |
| Single exchanges | okx, binance, bybit and hyperliquid (spot and perpetual swap markets; futures and options return 400) |
| Bar sizes | 1m, 5m, 15m (default), 30m, 1H, 2H, 4H, 1D and 1W (weeks start Monday UTC) |
| Bar limits | Default 30; up to 120 bars with cells=all, up to 500 bars with cells=none |
| Cell cap | Up to 60,000 cells per response; when capped, limited is true and only the newest whole bars that fit are returned |
| MCP tool | get_crypto_footprint on the data API MCP server |
Price grid and row size
Each exchange can trade on a different native tick size. Forexchange=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_sizein quote price units (for examplerow_size=10for 10-dollar rows on BTC) and Darvas rounds it to whole ticks. If you omitrow_size,row_ticks(default1, up to1,000,000) sets ticks per row, rounded up to a multiple of the coarsest stored step.row_sizeoverridesrow_tickswhen both are sent. - Reading cells. Each entry in
cellsgivestime_milliseconds(matching its bar inbars),price(the row’s low price, spanningrow_sizeabove it),buy_volume,sell_volume,buy_tradesandsell_trades. Cells are sorted oldest bar first, then lowest price row first. - Totals-only mode. Pass
cells=nonewhen you only need bar totals (buy_volume,sell_volume,delta,buy_trades,sell_trades,min_delta,max_delta). That returnscells: []and raises thelimitcap from120to500bars. - Handling
limited: true. If a wide window or fine tick grid hits the 60,000-cell limit, increaserow_sizeorrow_ticks, request fewer bars withlimit, or switch tocells=none.
Venues, windows and related endpoints
Withexchange=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
import os
from collections import defaultdict
import requests
headers = {"X-API-KEY": os.environ["DARVAS_API_KEY"]}
fp = requests.get(
"https://api.darvas.app/v1/crypto/footprint",
headers=headers,
params={
"ticker": "BTC-USDT-SWAP",
"bar": "15m",
"row_size": 10,
"limit": 8,
},
).json()
by_bar = defaultdict(list)
for cell in fp["cells"]:
by_bar[cell["time_milliseconds"]].append(cell)
print("Constituents:", fp["constituents"], "Row size:", fp["row_size"], "Limited:", fp["limited"])
for bar in fp["bars"][-3:]:
rows = by_bar[bar["time_milliseconds"]]
poc = max(rows, key=lambda r: r["buy_volume"] + r["sell_volume"])
print(bar["time"], "delta:", bar["delta"], "POC price:", poc["price"], "buy/sell trades:", bar["buy_trades"], bar["sell_trades"])
# Bar totals only across Binance and OKX for aggregated BTC spot dollar markets
curl -H "X-API-KEY: $DARVAS_API_KEY" \
"https://api.darvas.app/v1/crypto/footprint?ticker=BTC-ALLUSD&exchange=darvas&venues=binance,okx&bar=1H&cells=none&limit=24"
Authorizations
apiKeybearerKey
Query Parameters
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:
64Pattern:
^[A-Za-z0-9][A-Za-z0-9._:/-]{0,63}$Response
Read a crypto footprint: one page.
The answer of GET /crypto/footprint.