/api/liquidations/exchange-detail
GETAvailable

Liquidation detail for one exchange

Liquidation detail for one exchange (window totals, coin breakdown, largest orders)

GET/api/liquidations/exchange-detail

Request

Query parameters

NameTypeRequiredDefaultAllowed valuesDescription
exstringRequired—binance, okx, bybit, gate, bitget, htx, hyperliquid, aster, lighter, bitfinexExchange id; 404 if not in the whitelist. Example: binance

Example request

curl -s "https://www.coinboss.com/api/liquidations/exchange-detail?ex=binance"

Response fields

The field table is generated from real responses, so it lists exactly what the endpoint returns. Paths use a[] for array items and {*} for objects keyed by a dynamic name such as a coin or an exchange.

FieldTypeUnitDescription
successboolean—true when the request succeeded. On failure the body is `{ success: false, code, error, request_id }`.
exchangestring—Exchange id, lower case (for example `binance`).
overviewobject—Overview block.
overview.long_usdnumberUSDLong side.
overview.short_usdnumberUSDShort side.
overview.total_usdnumberUSDTotal.
overview.cntnumber—Number of liquidation orders.
overview.market_share_pctnumber%Exchange's 24h liquidated notional as a percent of the 24h total across all tracked exchanges; 0 when the market total is 0.
topCoinsarray—Largest coins.
topCoins[]object—Largest coins.
topCoins[].coinstring—Coin symbol, upper case (for example BTC).
topCoins[].long_usdnumberUSDLong side.
topCoins[].short_usdnumberUSDShort side.
topCoins[].total_usdnumberUSDTotal.
topCoins[].cntnumber—Number of liquidation orders.
largestarray—Largest entries.
largest[]object—Largest entries.
largest[].exchangestring—Exchange id, lower case (for example `binance`).
largest[].symbolstring—Instrument symbol as normalised by CoinBoss (for example BTCUSDT).
largest[].sidestring—Side of the liquidated position (`long` = a long was liquidated).
largest[].pricestring(decimal)—Last price in the quote currency (USD or USDT unless stated).
largest[].qtystring(decimal)—Order size in contracts or coins as published by the exchange.
largest[].value_usdstring(decimal)USDNotional of the liquidation: price × qty × contract multiplier.
largest[].timestampnumbermsTimestamp.
largest[].liq_userstring|null—Wallet address of the liquidated account (lower-case); only recorded for Hyperliquid, null for all other exchanges.
chartarray—Chart series.
chart[]object—Chart series.
chart[].bucketnumbermsStart of the time bucket.
chart[].sidestring—Side of the liquidated position (`long` = a long was liquidated).
chart[].total_usdnumberUSDTotal.

Generated 2026-11-11 23:00 UTC from 3 real responses.

Example response

/api/liquidations/exchange-detail?ex=binance · Real response captured 2026-11-13 03:57:59 UTC. Long arrays and maps are shortened for display: chart had 50 items; largest had 10 items; topCoins had 10 items.

  • {
    • "success": true,
    • "exchange": "binance",
    • "overview": {
      • "long_usd": 435450492.76,
      • "short_usd": 17633180.61,
      • "total_usd": 453083673.37,
      • "cnt": 47284,
      • "market_share_pct": 33.232288223098394
      },
    • "topCoins": [
      • { … 5 },
      • { … 5 }
      ],
    • "largest": [
      • { … 8 },
      • { … 8 }
      ],
    • "chart": [
      • { … 3 },
      • { … 3 }
      ]
    }

Verified samples

Besides the example above, the probe calls this endpoint with these parameters and checks the schema each time.

ParametersHTTPLatencyResult
ex=okx200935 msPass
ex=hyperliquid2001899 msPass

Checked 2026-11-13 03:57:59 UTC

Details

Authentication
None. Public endpoint.
Rate limit
1200 requests per minute per IP
Server cache
20s
Edge micro-cache
10s
Update frequency
real-time (exchange WebSocket push); REST polling: okx every 15 s, gate every 25 s, htx every 5 min; hyperliquid node fill batches ingested every 5 s
Window
rolling 24 h (fixed); chart in 1 h buckets
Data sources
Liquidation orders collected in-house from the public liquidation feeds of 11 venues (e.g. binance, okx, bybit, gate, bitget, htx); Hyperliquid liquidations come from the fills of a self-operated Hyperliquid node.
Exchange coverage
11 venues with active collectors (binance USDT-M + COIN-M, okx, bybit linear + inverse, gate USDT + BTC settled, bitget, htx, hyperliquid, aster, lighter, bitfinex, deribit); crypto assets only (tokenized stock / index / commodity / FX contracts are routed to the separate TradFi dataset); binance pushes at most one liquidation per symbol per second, so its totals are a lower bound; minimum stored event size: 100 USD on okx / bitget / htx / bitfinex / deribit / binance COIN-M, 1 USD on gate / hyperliquid / lighter, none on binance USDT-M / bybit / aster
Pagination
fixed: top 10 coins, 10 largest orders
Sorting
coins by total_usd desc; largest by value_usd desc
Units
USD notional (price x quantity) per liquidation order; timestamps in Unix ms; side LONG = long position liquidated, SHORT = short position liquidated
Method
overview = SUM(value_usd) by side for the exchange; market_share_pct = exchange total / all-exchange total x 100; top 10 coins; 10 largest orders; hourly long/short chart
Timestamps
Unix epoch milliseconds (UTC) unless the field description says otherwise
Response format
json
Stability
Stable

Live status

AvailableChecked 2026-11-13 03:57:59 UTCHTTP 200958 msSchema matchesNewest data point 58m old

Availability, last 30 days

100% of 410 checks passed

Errors

Failed calls share one shape on every endpoint. The full list is on the errors page. Errors and rate limits →

CodeHTTPMeaningWhat to do
INVALID_PARAM400A required parameter is missing or a value is not accepted. `param` names the parameter when it is known.Do not retry unchanged; fix the request.
UNAUTHORIZED401The `CB-API-KEY` header was sent but the key is unknown or revoked. Public data needs no key — drop the header or use a valid key.Do not retry unchanged.
FORBIDDEN403The route is not part of the public API (internal or account-only).Do not retry.
NOT_FOUND404Unknown route, or the requested coin / exchange / fund does not exist.Do not retry; check the path and identifiers against the catalog.
RATE_LIMITED429More requests than the per-minute limit. `Retry-After` gives the seconds to wait.Wait for `Retry-After`, then retry with backoff.
INTERNAL500Unexpected server error. The message is generic by design; quote `request_id` when reporting it.Retry once after a few seconds; report it with the request id if it persists.
UPSTREAM_FAILED503The data source behind this endpoint did not answer in time. No stale or substitute numbers are returned in its place.Retry with backoff; check the status page.
UNAVAILABLE501 / 503The dataset is temporarily not ready (cache warming) or the endpoint has no lawful public source yet.Retry later; the catalog marks endpoints that are unavailable by design.
REQUEST_FAILED200Some older endpoints answer HTTP 200 with `success: false`. Always check `success`, not only the HTTP status.Depends on the message; treat as a failed request.

Try it

GET/api/liquidations/exchange-detailAvailable
Parameters

string — Exchange id; 404 if not in the whitelist.

Request URLhttps://www.coinboss.com/api/liquidations/exchange-detail?ex=binance
Choose an endpoint and press “Send request”. The response, headers and timing will appear here.