/api/liquidations/tradfi
GETAvailable

Liquidation overview for TradFi perpetuals

Liquidation overview for TradFi perpetuals (stock / index / commodity / forex)

GET/api/liquidations/tradfi

Request

Query parameters

NameTypeRequiredDefaultAllowed valuesDescription
rangestringOptional24h1h, 4h, 12h, 24hTime window. Example: 24h
classstringOptionalstockstock, index, commodity, forexAsset class; unknown value returns 400. Example: stock
limitintegerOptional30≤ 100Number of rows to return.

Example request

curl -s "https://www.coinboss.com/api/liquidations/tradfi?class=stock&range=24h"

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 }`.
rangestring—Window requested.
classstring—Asset class.
overviewobject—Overview block.
overview.long_usdnumberUSDLong side.
overview.short_usdnumberUSDShort side.
overview.total_usdnumberUSDTotal.
overview.cntnumber—Count.
byClassobject—Liquidation totals per asset class over the requested `range`, covering all non-crypto classes regardless of the `class` filter. dynamic keys: stock,commodity,index,unknown,forex
byClass.{*}object—Totals for one asset class; keys are class names (`stock`, `commodity`, `index`, `forex`, `unknown`), each with `total_usd` and `cnt`.
byClass.{*}.total_usdnumberUSDTotal.
byClass.{*}.cntnumber—Count.
assetsarray—Assets.
assets[]object—Assets.
assets[].symbolstring—Instrument symbol as normalised by CoinBoss (for example BTCUSDT).
assets[].dexnull—Decentralised venue (HIP-3 deployer or DEX id).
assets[].dexesarray—Decentralised venues. empty in the samples used to generate this table
assets[].dexes[]string—Decentralised venues.
assets[].merged_fromarray—Sources merged into this row.
assets[].merged_from[]string—Sources merged into this row.
assets[].display_namestring|null—Display name.
assets[].long_usdnumberUSDLong side.
assets[].short_usdnumberUSDShort side.
assets[].total_usdnumberUSDTotal.
assets[].cntnumber—Count.
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[].src_symbolstring—Symbol at the source.
largest[].raw_symbolstring—Symbol exactly as the exchange writes it.
largest[].dexstring|null—Decentralised venue (HIP-3 deployer or DEX id).
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)—Quantity.
largest[].value_usdstring(decimal)USDNotional of the liquidation.
largest[].timestampnumbermsTimestamp.
largest[].liq_userstring|null—Address of the liquidated account; only available for Hyperliquid on-chain liquidations, null for 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.
sourcesarray—Data sources.
sources[]object—Data sources.
sources[].exchangestring—Exchange id, lower case (for example `binance`).
sources[].dexstring|null—Decentralised venue (HIP-3 deployer or DEX id).
sources[].total_usdnumberUSDTotal.
sources[].cntnumber—Count.

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

Example response

/api/liquidations/tradfi?class=stock&range=24h · Real response captured 2026-11-13 03:53:13 UTC. Long arrays and maps are shortened for display: chart had 50 items; assets had 30 items; byClass had 5 items; largest had 10 items; sources had 11 items.

  • {
    • "success": true,
    • "range": "24h",
    • "class": "stock",
    • "overview": {
      • "long_usd": 56679502.76,
      • "short_usd": 35273566.23,
      • "total_usd": 91953068.99,
      • "cnt": 20168
      },
    • "byClass": {
      • "stock": { … 2 },
      • "index": { … 2 }
      },
    • "assets": [
      • { … 9 },
      • { … 9 }
      ],
    • "largest": [
      • { … 11 },
      • { … 11 }
      ],
    • "chart": [
      • { … 3 },
      • { … 3 }
      ],
    • "sources": [
      • { … 4 },
      • { … 4 }
      ]
    }

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
range param: 1h | 4h | 12h | 24h (default 24h); chart bucket 15 min when range <= 4 h, else 1 h
Data sources
Liquidations of non-crypto perpetual contracts (tokenized stocks, indices, commodities, FX) captured by the same in-house exchange liquidation collectors across 10 venues (e.g. binance, okx, hyperliquid, gate, bybit, bitget) and split off by an asset-class classifier.
Exchange coverage
10 venues observed in the last 30 days (binance, okx, hyperliquid, gate, bybit, bitget, lighter, aster, htx, bitfinex); asset classes stock / index / commodity / forex (a small share is classified 'unknown'); history starts 2026-06-17
Pagination
limit for the asset list (default 30, max 100)
Sorting
assets by total_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 / byClass / per-asset totals = SUM(value_usd) by side; 10 largest orders; per-source (exchange) totals
Timestamps
Unix epoch milliseconds (UTC) unless the field description says otherwise
Response format
json
Stability
Stable

Live status

AvailableChecked 2026-11-13 03:53:13 UTCHTTP 20081 msSchema matchesNewest data point 53m old

Availability, last 30 days

99.75% of 408 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/tradfiAvailable
Parameters

string · default 24h — Time window.

string · default stock — Asset class; unknown value returns 400.

integer · default 30 · max 100 — Number of rows to return.

Request URLhttps://www.coinboss.com/api/liquidations/tradfi?range=24h&class=stock
Choose an endpoint and press “Send request”. The response, headers and timing will appear here.