Perpetuals API

The newest liquidation orders in one coin's derivatives

Individual forced liquidations of leveraged positions in one coin: time, exchange, instrument, long or short, price and US dollars. Newest first, filterable by exchange and size.

GET/api/external/perps/derivatives-liquidation-orders/{symbol}

What it returns

The newest forced liquidations of leveraged positions in one coin's derivatives, one row per liquidation order: when, on which venue and instrument, whether a long or a short position was liquidated, at what price and for how many US dollars. At most 200, newest first, from the last 7 days; capped says older orders exist beyond the oldest one returned. Across every venue by default, or one with venue; minUsd leaves out smaller orders, which reaches further back. symbol is the coin ticker (e.g. "BTC"), matched case-insensitively. A listed coin with no liquidation answers an empty list; a ticker that is not listed 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-liquidation-orders/<symbol>"
Parameters
ParameterDescription
venue

query · string · optional

One exchange, spelled exactly as listed (case-sensitive). Omit for every venue.AsterBinanceBitfinexBitgetBybitExtendedGateHTXHyperliquidLighterOKXParadex
minUsd

query · integer · optional

The smallest order to return, US dollars. Omit, or 0, for every size.
symbol

path · string · required

The coin (base asset) ticker, e.g. "BTC" or "SOL" — 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 The newest liquidation orders in one coin's derivatives
FieldTypeDescription
symbolstringThe coin ticker, upper-cased.
venuestring | nullThe venue asked for; null for every venue.
minUsdnumber | nullThe smallest order asked for, US dollars; null for every size.
cappedbooleantrue when 200 orders came back, so older ones exist beyond the oldest here; false when the list is every order found.
ordersobject[]Newest first.
orders[].atnumberWhen the order hit, unix seconds.
orders[].venuestringThe exchange.
orders[].instrumentstringThe venue's instrument id, e.g. "BTCUSDT" or "BTC-USDT-SWAP"; dated contracts included.
orders[].sidestringlong: a long position was liquidated (forced to sell); short: a short position was (forced to buy).
orders[].pricenumberThe price the position was liquidated at.
orders[].usdnumberThe value of the liquidated position, US dollars.

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