Call it
curl https://api.peume.com/v1/call/large-liquidation-orders \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"exchange": "Binance",
"symbol": "BTC",
"min_amount": "10000",
"sort_by": "timestamp",
"order": "desc",
"limit": 20
}
}'const res = await fetch("https://api.peume.com/v1/call/large-liquidation-orders", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"exchange": "Binance",
"symbol": "BTC",
"min_amount": "10000",
"sort_by": "timestamp",
"order": "desc",
"limit": 20
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/large-liquidation-orders",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"exchange": "Binance",
"symbol": "BTC",
"min_amount": "10000",
"sort_by": "timestamp",
"order": "desc",
"limit": 20
}
},
)
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: large-liquidation-orders.
Parameters
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
symbolstringToken ticker symbol like BTC or ETH. Example: BTC. Defaults to "BTC".
Example: BTC
min_amountstringMinimum liquidation amount in USD. Example: 10000. Defaults to "10000".
Example: 10000
sidestringFilter by liquidation side. Omit to return both. Example: long.
long · short
sort_bystringField to sort results by. Defaults to "timestamp".
usd_value · timestamp · price
Example: timestamp
orderstringSort order. Defaults to "desc".
asc · desc
Example: desc
limitintegerResults per page. Defaults to 20.
Example: 20
offsetintegerPagination offset. Defaults to 0.
Example: 0
fromstringStart of time range (inclusive). Accepts Unix seconds (1704067200) or date string (2024-01-01). Example: 2024-01-01.
tostringEnd of time range, exclusive (returns rows strictly older than to). Accepts Unix seconds (1706745600) or date string (2024-02-01). To page backward, set this to the oldest returned timestamp + 1 and de-duplicate on order_id. Example: 2024-02-01.
