Liquidations liquidations
Each large leveraged position the exchange force-closed because its owner ran out of margin, with side and size.
/api/tools/liquidations/historyNewest first, up to 200 per request. Every parameter is optional.
| Parameter | What it does |
|---|---|
limit |
How many signals to return, 1 to 200. |
offset |
How many to skip, for paging. Use it with total. |
symbols |
Only these coins, comma separated. BTC, BTCUSDT and BTCUSDC all mean the same coin. |
blacklist |
Leave these coins out, same format as symbols. Ignored when symbols is set. |
assets |
Market class. Binance and Bybit also list perpetuals on tokenised shares, gold and indexes. other means all of those together. Leave empty to get every class. cryptootherstockcommodityindex
|
side |
Which positions were force-closed. BUY means a short was liquidated, SELL means a long was liquidated. BUYSELL
|
min_notional |
Smallest liquidation to return, in US dollars. |
curl -H "Authorization: Bearer $CIA_KEY" \ "https://cryptoaialerts.com/api/tools/liquidations/history?limit=5"
{
"success": true,
"signals": [
{
"ts": 1794419504014,
"qty": 19.693,
"coin": "XAU",
"side": "SELL",
"tool": "liquidations",
"asset": "commodity",
"price": 4003.65,
"symbol": "XAUUSDT",
"notional": 78843.88,
"price_fmt": "$4,003.65",
"side_label": "Long Liquidated",
"notional_fmt": "$78,844"
}
],
"total": 1284,
"limit": 1,
"offset": 0,
"delayed": false,
"delay_sec": 0,
"plan": "pro"
}Fields of a liquidations signal
| Field | Meaning |
|---|---|
tool | Which instrument produced the signal. |
symbol | The market as the exchange names it, for example BTCUSDT. |
coin | The coin only, for example BTC. |
ts | When it happened, milliseconds since 1970, UTC. |
*_fmt | The same value as text, ready to show. |
side | BUY: a short was liquidated. SELL: a long was liquidated. |
notional | Size of the liquidated position in US dollars. |
qty | Size in coins. |
asset | Market class: crypto, stock, commodity or index. |
price | Last price when the signal fired. |
side_label | The direction as text, ready to show. |
wss://cryptoaialerts.com/wsOne connection carries all instruments. Each message is one signal with the same fields as in history.
The tool field is liquidations for this instrument.
Every 25 seconds the server sends {"action":"ping"}. Ignore it. If the connection
drops, reconnect and wait longer after each failed try. More in Live stream.
{
"ts": 1794419504014,
"qty": 19.693,
"coin": "XAU",
"side": "SELL",
"tool": "liquidations",
"asset": "commodity",
"price": 4003.65,
"symbol": "XAUUSDT",
"notional": 78843.88,
"price_fmt": "$4,003.65",
"side_label": "Long Liquidated",
"notional_fmt": "$78,844"
}