vike-perp-liquidations
How much got liquidated on the centralised exchanges, and on which side - forced liquidations of perpetual futures on Binance, Bybit, OKX, Deribit and Aster, one row per liquidation or long and short dollar totals per minute, hour or day, for every coin or one, one venue or all, recorded since 2026-11-30, with how complete each venue's feed is. Use when the user asks "how much got liquidated today" / "were longs or shorts liquidated in the BTC drop" / "biggest ETH liquidations on Bybit in the last hour" / "liquidations per hour since yesterday" / "did shorts get squeezed on Binance".
Latest: v1.0.0
First version.
vike-perp-liquidations
Forced liquidations as the exchanges publish them, newest first. 1 request per call. Pass the base asset (BTC, not BTCUSDT); venues are lower case. Hyperliquid is not here: its liquidations, and where the next ones sit, are vike-hl-liquidation-radar.
Call it
Use the first of these that is available:
- MCP: the
perp_liquidationstool with the optionalsymbol,exchange,side,start,end,interval,limit(its default is 100 rows, not 500). - CLI:
bash vike-data md liquidations --interval 1d --json # every coin and venue: long and short USD per UTC day vike-data md liquidations BTC --interval 1h --start 2026-12-01 --json # BTC per hour since a date vike-data md liquidations ETH --exchange bybit --side short --limit 20 --json # the latest 20 ETH shorts liquidated on Bybit vike-data md liquidations --limit 50 --json # the latest 50 single liquidations, any coin - curl: the credential is
VIKE_API_KEY, elseapi_keyoranon_tokenfrom~/.vike/config.json(Windows%USERPROFILE%\.vike\config.json); with none, get a free anonymous token asvike-coresays.bash curl -s "https://data.vike.io/v1/marketdata/perp/liquidations?symbol=BTC&interval=1d" -H "X-API-KEY: $TOKEN"
| Flag (API name) | Default | Values |
|---|---|---|
[symbol] | every coin | base asset: BTC, ETH, XAU, NVDA |
--exchange | every venue | binance, bybit, okx, deribit, aster |
--side | both | long or short: the position that was liquidated |
--start, --end | everything recorded | ISO-8601 (2026-12-01, 2026-12-01T08:00:00Z) or unix seconds, UTC; end exclusive |
--interval | none: one row per liquidation | 1m, 5m, 15m, 1h, 4h, 1d (UTC buckets) |
--limit | 500 (MCP 100) | 1-5000 rows or buckets, newest first |
Reading the answer
The envelope echoes symbol, exchange (all when not set), side (both), and carries coverage: what each venue's feed misses.
- One row per liquidation (
liquidations):ts(unix seconds),exchange,symbol,native_symbol(the venue's own name,BTCUSDT),side,price,qty(coins),notional_usd(price x qty). - With
--interval(buckets):ts(the bucket's start, unix seconds),long_usd,short_usd,long_count,short_count, summed over every matching venue and coin. A bucket with nothing recorded has no row. side: longmeans a long position was liquidated: forced selling into a falling price.shortliquidations are forced buying into a rise. "Longs got liquidated" islong_usdup.- Every total is a floor, not the full number. From
coverage: binance and aster publish at most one liquidation per symbol per second (the largest), so their counts and totals undercount; okx says its feed does not carry every liquidation; bybit and deribit publish every one.priceis binance's and aster's average fill, bybit's and okx's bankruptcy price, deribit's fill price, and a deribit fill that liquidated both sides is two rows. - For one venue's share, run the bucket call again with
--exchange; buckets never split by venue or by coin.
Report the window and the venues next to each number, e.g. "BTC, Dec 1 UTC, all five venues: $19.7M longs and $27.4M shorts liquidated (a floor: Binance and Aster undercount)".
Limits
- Recorded live since 2026-11-30: nothing before it, and a minute a feed was down is not refilled. An empty
bucketsorliquidationslist before that day means not recorded, never zero. To see the first recorded day:--interval 1d --limit 1000and read the last bucket. - No ranking of coins. Buckets sum every coin. For "which coins were liquidated most", either run
--interval 1donce per candidate coin, or take single rows over a short window (the last hour) and sumnotional_usdbysymbolyourself. A market-wide day held about 70,000 rows on 2026-12-01: if a single-row call returns exactly--limitrows, the window was cut, so shorten it. - Single rows come newest first, so a long window with a small
--limitshows only its newest end.
Errors
- A 400 names the fix, e.g.
side must be one of ['long', 'short'],interval must be one of ['1m', ...],start must be an ISO-8601 time. The CLI exits 1 with that message: fix the flag, don't retry as is. unknown query parameter(curl): the route takes only the parameters in the table.- Exit code 3 or HTTP 429: the day's requests are used up; show the server's message (it says how to get 400 a day) and stop.
Anti-patterns
- Don't read
side: longas "longs bought": it is longs forced out. - Don't add totals from different windows, or call a total complete.
- Don't compare this with Hyperliquid's own liquidation numbers as if one feed: Hyperliquid is
vike-data hl liquidations(vike-hl-liquidation-radar). - Don't forecast a cascade from past liquidations; where open positions would be liquidated is the Hyperliquid radar, not this.
Pairs well with
vike-hl-liquidation-radarfor Hyperliquid liquidations and the risk mapvike-perp-open-interestto see how much open interest the liquidations removedvike-perp-crowdingfor whether the side that got liquidated was crowded firstvike-streamfor liquidations as they happen (Hyperliquid)
