Liquidation overview for TradFi perpetuals
Liquidation overview for TradFi perpetuals (stock / index / commodity / forex)
/api/liquidations/tradfiRequest
Query parameters
| Name | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
| range | string | Optional | 24h | 1h, 4h, 12h, 24h | Time window. Example: 24h |
| class | string | Optional | stock | stock, index, commodity, forex | Asset class; unknown value returns 400. Example: stock |
| limit | integer | Optional | 30 | ≤ 100 | Number 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.
| Field | Type | Unit | Description |
|---|---|---|---|
| success | boolean | — | true when the request succeeded. On failure the body is `{ success: false, code, error, request_id }`. |
| range | string | — | Window requested. |
| class | string | — | Asset class. |
| overview | object | — | Overview block. |
| overview.long_usd | number | USD | Long side. |
| overview.short_usd | number | USD | Short side. |
| overview.total_usd | number | USD | Total. |
| overview.cnt | number | — | Count. |
| byClass | object | — | 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_usd | number | USD | Total. |
| byClass.{*}.cnt | number | — | Count. |
| assets | array | — | Assets. |
| assets[] | object | — | Assets. |
| assets[].symbol | string | — | Instrument symbol as normalised by CoinBoss (for example BTCUSDT). |
| assets[].dex | null | — | Decentralised venue (HIP-3 deployer or DEX id). |
| assets[].dexes | array | — | Decentralised venues. empty in the samples used to generate this table |
| assets[].dexes[] | string | — | Decentralised venues. |
| assets[].merged_from | array | — | Sources merged into this row. |
| assets[].merged_from[] | string | — | Sources merged into this row. |
| assets[].display_name | string|null | — | Display name. |
| assets[].long_usd | number | USD | Long side. |
| assets[].short_usd | number | USD | Short side. |
| assets[].total_usd | number | USD | Total. |
| assets[].cnt | number | — | Count. |
| largest | array | — | Largest entries. |
| largest[] | object | — | Largest entries. |
| largest[].exchange | string | — | Exchange id, lower case (for example `binance`). |
| largest[].symbol | string | — | Instrument symbol as normalised by CoinBoss (for example BTCUSDT). |
| largest[].src_symbol | string | — | Symbol at the source. |
| largest[].raw_symbol | string | — | Symbol exactly as the exchange writes it. |
| largest[].dex | string|null | — | Decentralised venue (HIP-3 deployer or DEX id). |
| largest[].side | string | — | Side of the liquidated position (`long` = a long was liquidated). |
| largest[].price | string(decimal) | — | Last price in the quote currency (USD or USDT unless stated). |
| largest[].qty | string(decimal) | — | Quantity. |
| largest[].value_usd | string(decimal) | USD | Notional of the liquidation. |
| largest[].timestamp | number | ms | Timestamp. |
| largest[].liq_user | string|null | — | Address of the liquidated account; only available for Hyperliquid on-chain liquidations, null for other exchanges. |
| chart | array | — | Chart series. |
| chart[] | object | — | Chart series. |
| chart[].bucket | number | ms | Start of the time bucket. |
| chart[].side | string | — | Side of the liquidated position (`long` = a long was liquidated). |
| chart[].total_usd | number | USD | Total. |
| sources | array | — | Data sources. |
| sources[] | object | — | Data sources. |
| sources[].exchange | string | — | Exchange id, lower case (for example `binance`). |
| sources[].dex | string|null | — | Decentralised venue (HIP-3 deployer or DEX id). |
| sources[].total_usd | number | USD | Total. |
| sources[].cnt | number | — | 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"
- "index"
- "assets"
- "largest"
- "chart"
- "sources"
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
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 →
| Code | HTTP | Meaning | What to do |
|---|---|---|---|
| INVALID_PARAM | 400 | A 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. |
| UNAUTHORIZED | 401 | The `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. |
| FORBIDDEN | 403 | The route is not part of the public API (internal or account-only). | Do not retry. |
| NOT_FOUND | 404 | Unknown route, or the requested coin / exchange / fund does not exist. | Do not retry; check the path and identifiers against the catalog. |
| RATE_LIMITED | 429 | More requests than the per-minute limit. `Retry-After` gives the seconds to wait. | Wait for `Retry-After`, then retry with backoff. |
| INTERNAL | 500 | Unexpected 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_FAILED | 503 | The 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. |
| UNAVAILABLE | 501 / 503 | The 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_FAILED | 200 | Some 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
/api/liquidations/tradfiAvailablestring · default 24h — Time window.
string · default stock — Asset class; unknown value returns 400.
integer · default 30 · max 100 — Number of rows to return.
https://www.coinboss.com/api/liquidations/tradfi?range=24h&class=stockMore in this category
- Liquidation overview for TradFi perpetuals /api/liquidations/tradfi
- List of TradFi symbols with liquidations in the window /api/liquidations/tradfi-asset-list
- Per-symbol liquidation ranking for TradFi perpetuals /api/liquidations/tradfi-assets
- Per-exchange liquidation split for TradFi perpetuals /api/liquidations/tradfi-exchanges
- Liquidation feed for TradFi perpetuals /api/liquidations/tradfi-feed
- Largest liquidation orders on TradFi perpetuals /api/liquidations/tradfi-largest
- Multi-window liquidation totals for TradFi perpetuals /api/liquidations/tradfi-overview
- Liquidation overview for one TradFi symbol /api/liquidations/tradfi-symbol
- Liquidation time series for one TradFi symbol /api/liquidations/tradfi-symbol-chart
- Per-exchange liquidation split for one TradFi symbol /api/liquidations/tradfi-symbol-exchanges
- Largest liquidations for one TradFi symbol /api/liquidations/tradfi-symbol-largest
- TradFi symbols with liquidation history /api/liquidations/tradfi-symbols
- TradFi liquidation table /api/liquidations/tradfi-table
- Total liquidation time series for TradFi perpetuals /api/liquidations/tradfi-total-chart
- Pre-IPO contract quotes /api/preipo/list
- Stock underlying list /api/stock-detail-list
- Stock underlying detail /api/stock-detail/:underlying
- Stock instrument list /api/stocks/list
- Stock perps / tokenized stocks listed on exchanges /api/tabs17/exchange-stocks
- Crypto-related equities quotes /api/tabs17/stocks