Call it
curl https://api.peume.com/v1/call/liquidation-chart \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"symbol": "your symbol",
"interval": "1h",
"exchange": "Binance",
"limit": 500
}
}'const res = await fetch("https://api.peume.com/v1/call/liquidation-chart", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"symbol": "your symbol",
"interval": "1h",
"exchange": "Binance",
"limit": 500
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/liquidation-chart",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"symbol": "your symbol",
"interval": "1h",
"exchange": "Binance",
"limit": 500
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: liquidation-chart.
Parameters
symbolRequiredstringToken ticker symbol like BTC or ETH. Example: BTC.
intervalstringCandlestick interval — bucket size for each point in the liquidation chart series: 1m, 3m, 5m, 15m, 30m, 1h, 4h, 6h, 8h, 12h, 1d, or 1w. This endpoint uses interval only; it does NOT accept time_range. Use from/to to bound the series. Example: 1h. Defaults to "1h".
1m · 3m · 5m · 15m · 30m · 1h · 4h · 6h · 8h · 12h · 1d · 1w
Example: 1h
exchangestringExchange name. Can be Binance, OKX, Bybit, Bitget, Hyperliquid, Gate, HTX, Bitmex, Bitfinex, CoinEx, Aster, or Lighter. Example: Binance. Defaults to "Binance".
Binance · OKX · Bybit · Bitget · Hyperliquid · Gate · HTX · Bitmex · Bitfinex · CoinEx · Aster · Lighter
Example: Binance
limitintegerResults per page. Example: 500. Defaults to 500.
Example: 500
fromstringStart of time range. Accepts Unix seconds (1704067200) or date string (2024-01-01). Example: 2024-01-01.
tostringEnd of time range. Accepts Unix seconds (1706745600) or date string (2024-02-01). Example: 2024-02-01.
