Liquidation history (time series for one symbol)
GET/api/v1/liquidation/symbol-history
Bucketed long / short liquidation USD over time for a single (base, quote) pair, joined with the futures-candle close as a reference price line. Long/short USD comes from cex.liquidation (Side='sell' = long position liquidated, 'buy' = short). Price comes from candle.futures_1m on the requested exchange — or Binance as the reference when none is specified. Cached ~30s server-side.
Request
Query Parameters
Base asset
Quote asset
USDTOptional exchange filter for the liquidation aggregation. The price line stays on Binance unless this is set.
Possible values: [5m, 15m, 1h]
Bucket interval
5mPossible values: [24h, 72h, 7d]
Lookback window
24hHeader Parameters
Your DataMaxi+ API key
Responses
- 200
- 400
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
buckets
object[]
Liquidated long positions in USD over this bucket (Side='sell').
Candle close mid for the same bucket. nil when no candle exists
(very early in a newly listed pair, or when the price feed is
down). FE renders the price line with connectNulls=false so
gaps stay visible instead of being smoothed across.
Liquidated short positions in USD over this bucket (Side='buy').
Convenience sum so the FE can drive a "total" line without re-add.
Unix ms timestamp at the start of the interval bucket.
Totals over the window — handy for a header line without making the FE re-aggregate the bucket list.
{
"buckets": [
{
"longUsd": 0,
"price": 0,
"shortUsd": 0,
"totalUsd": 0,
"ts": 0
}
],
"exchange": "string",
"generatedAt": 0,
"interval": "string",
"quote": "string",
"symbol": "string",
"totalLongUsd": 0,
"totalShortUsd": 0,
"window": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error specifies the error message
{
"error": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
error specifies the error message
{
"error": "string"
}