Perpetuals API

One coin's liquidations over the last hour to day, venue by venue

A coin's derivatives liquidations over the last 1, 4, 12 or 24 hours, long and short apart, in US dollars, on each venue and in total.

GET/api/external/perps/derivatives-liquidations/{symbol}

What it returns

One coin's derivatives liquidations over the last hour, 4 hours, 12 hours or 24 hours, long and short apart, in US dollars: the total across venues, and one row per venue the breakdown covers, largest first; a venue with no liquidation in the window reads 0. symbol is the coin ticker (e.g. "BTC"), matched case-insensitively — not an instrument id, not a token mint or contract address, and not scoped to any of this API's chains. A ticker with no liquidation breakdown answers 404.

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/perps/derivatives-liquidations/<symbol>"
Parameters
ParameterDescription
window

query · string · optional

The trailing window: 1h, 4h, 12h or 24h, ending now. Defaults to 24h.1h4h12h24h
symbol

path · string · required

The coin (base asset) ticker, e.g. "BTC" or "kPEPE" — not a venue instrument id such as "BTCUSDT", 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.

Response fields of One coin's liquidations over the last hour to day, venue by venue
FieldTypeDescription
symbolstringThe coin ticker, upper-cased (e.g. "BTC", "KPEPE").
windowstringThe trailing window.
totalobject | nullThe figures summed across every venue. null when no total was stated.
total.liquidatednumber | nullLong and short positions liquidated over the window together, US dollars. null when not stated.
total.longnumber | nullLong positions liquidated over the window, US dollars. null when not stated.
total.shortnumber | nullShort positions liquidated over the window, US dollars. null when not stated.
venuesobject[]One row per venue, by liquidated descending; venues without that figure last.
venues[].venuestringThe trading venue, e.g. "Binance" or "Hyperliquid".
venues[].liquidatednumber | nullLong and short positions liquidated over the window together, US dollars. null when not stated.
venues[].longnumber | nullLong positions liquidated over the window, US dollars. null when not stated.
venues[].shortnumber | nullShort positions liquidated over the window, US dollars. null when not stated.

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