Perpetuals API

Liquidation levels for one perpetual-futures market

Where open positions in ONE perpetual-futures market would be liquidated, keyed by trading symbol. A risk map for a derivatives market, unrelated to a token's on-chain holders.

GET/api/external/perps/perps-liquidation-map/{symbol}

What it returns

Buckets one market's open positions by the price at which they would be force-liquidated: how many positions, and how much long/short size and value, sit in each price range, plus a cumulative view walking outward from the current price. A real risk-map signal for a market under stress. Chainless — symbol is a market ticker (e.g. "BTC"), not a token mint or contract address. An unrecognised symbol returns 400 naming exactly that, rather than a blank 404. Use GET /perps/perps-markets to discover a real one.

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/perps-liquidation-map/<symbol>"
Parameters
ParameterDescription
symbol

path · string · required

A coin ticker, e.g. "BTC" — the asset the market is on, not a token mint or contract address, and not scoped to any chain this API otherwise supports.

Response fields

A JSON response. Every field is always present; null means the value could not be established, never zero.

Response fields of Liquidation levels for one perpetual-futures market
FieldTypeDescription
bucketsobject[]
buckets[].lowPricenumber | nullLower bound of this price bucket.
buckets[].highPricenumber | nullUpper bound of this price bucket.
buckets[].positionCountnumber | nullNumber of positions that would be affected inside this bucket.
buckets[].longLiquidationSizenumber | nullTotal long position size exposed to liquidation within this bucket.
buckets[].longLiquidationUsdnumber | nullUSD value of long liquidations within this bucket.
buckets[].shortLiquidationSizenumber | nullTotal short position size exposed to liquidation within this bucket.
buckets[].shortLiquidationUsdnumber | nullUSD value of short liquidations within this bucket.
buckets[].cumulativeLongLiquidationSizenumber | nullCumulative long liquidation size from the current price toward this bucket.
buckets[].cumulativeLongLiquidationUsdnumber | nullCumulative USD value of long liquidations from the current price toward this bucket.
buckets[].cumulativeShortLiquidationSizenumber | nullCumulative short liquidation size from the current price toward this bucket.
buckets[].cumulativeShortLiquidationUsdnumber | nullCumulative USD value of short liquidations from the current price toward this bucket.

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