Discovery and markets API
Volume footprint brief: where a coin traded most, per candle and overall
A coin's taker buys and sells on one exchange: totals, the busiest price bucket per candle and the busiest buckets overall. A few KB.
/api/external/discovery/volume-footprint-brief/{symbol}What it returns
The brief of volume-footprint; prefer it unless you need every bucket of every candle. Same parameters, defaults and 400s/404s. It keeps the market identity, sums taker buys and sells over the candles, gives each candle its totals and its busiest bucket (most US dollars, buys plus sells), and lists the 10 buckets with the most US dollars over the whole answer, each summed across candles. A bucket is [priceLow, priceHigh, buyQuantity, sellQuantity, buyUsd, sellUsd, buyTrades, sellTrades], as in the full answer.
Chains
This endpoint is not tied to a chain: it takes no chain in its request.
Request
Send your key in the x-dex-data-key header. Replace each <placeholder> with a real value.
curl -H "x-dex-data-key: $DEXDATA_API_KEY" \ "https://api.dexdata.io/api/external/discovery/volume-footprint-brief/<symbol>"
| Parameter | Description |
|---|---|
marketquery · string · optional | futures (perpetual futures trades) or spot. Defaults to futures.futuresspot |
venuequery · string · optional | The exchange, spelled as listed: Binance, OKX, Bybit or Hyperliquid for futures; Binance, OKX, Bybit or Coinbase for spot. Defaults to Binance.BinanceOKXBybitHyperliquidCoinbase |
intervalquery · string · optional | The candle width. Defaults to one hour.1m15m1h4h1d |
limitquery · integer · optional | How many of the most recent candles to return, the one still trading included, 1 to 100. Defaults to 24. |
instrumentquery · string · optional | The exchange's instrument id, e.g. "BTCUSDT" on Binance or Bybit, "BTC-USDT-SWAP" (futures) or "BTC-USDT" (spot) on OKX, "BTC-USD" on Hyperliquid or Coinbase. Sent as given. Omitted: the main USD-margined perpetual (futures) or USDT pair (USD on Coinbase) for the coin. |
symbolpath · string · required | The coin (base asset) ticker, e.g. "BTC" or "ETH" — not a venue instrument id such as "BTCUSDT" (that goes in instrument), and not a token mint or contract address. Case-insensitive. |
Response fields
A JSON response. Every field is always present; null means the value could not be established, never zero.
| Field | Type | Description |
|---|---|---|
symbol | string | The coin ticker, upper-cased. |
market | string | futures or spot. |
venue | string | The exchange. |
instrument | string | The exchange's instrument id the trades are of. |
interval | string | The candle width. |
buyUsd | number | null | Taker buys over every candle with a footprint, US dollars; null when none has one. |
sellUsd | number | null | Taker sells over every candle with a footprint, US dollars; null when none has one. |
candles | object[] | Every candle of the full answer, oldest first, without its buckets. |
candles[].at | number | The candle's open, unix seconds. |
candles[].complete | boolean | Whether the candle has closed. false only on the newest, when it was still trading as the figures were read. |
candles[].buyUsd | number | null | Taker buys in the candle, all levels, US dollars; null when no footprint was recorded for it. |
candles[].sellUsd | number | null | Taker sells in the candle, all levels, US dollars; null when no footprint was recorded for it. |
candles[].busiestLevel | number[] | null | The candle's bucket with the most US dollars traded, buys plus sells, [priceLow, priceHigh, buyQuantity, sellQuantity, buyUsd, sellUsd, buyTrades, sellTrades]; null when no footprint was recorded for it. |
levels | number[][] | Up to 10 buckets with the most US dollars traded over every candle, most first, [priceLow, priceHigh, buyQuantity, sellQuantity, buyUsd, sellUsd, buyTrades, sellTrades], each figure summed across the candles. Empty when no candle has a footprint. |
Start building with DexData today
Sign in, create a key and make your first call in a minute. Free credits every month, and you only pay for calls that succeed.
Get a free API key