Endpoint
- Liquidation clusters mark significant support/resistance levels
- Cascading liquidations can trigger sharp directional moves
- Large liquidation events often mark local tops/bottoms
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Historical forced liquidations in crypto futures markets
GET https://api.marketdataset.ai/crypto/liquidations
| Name | Type | Required | Description |
|---|---|---|---|
symbol | string | No | Futures symbol, e.g. BTCUSDT. Returns all if omitted. |
exchange | string | No | Exchange (default: binance) |
side | string | No | long or short. long = forced sell of a long position |
start_date | string | No | ISO 8601 date |
end_date | string | No | ISO 8601 date |
limit | integer | No | Records to return (default: 100, max: 1000) |
cursor | string | No | Pagination cursor |
curl "https://api.marketdataset.ai/crypto/liquidations?symbol=BTCUSDT&side=long&limit=10" \
-H "X-API-KEY: sk_your_key"
import requests
response = requests.get(
"https://api.marketdataset.ai/crypto/liquidations",
params={"symbol": "BTCUSDT", "side": "long", "limit": 10},
headers={"X-API-KEY": "sk_your_key"},
)
print(response.json())
{
"liquidations": [
{
"symbol": "BTCUSDT",
"exchange": "binance",
"side": "long",
"quantity": 0.143,
"price": 67843.21,
"value_usd": 9701.58,
"liquidated_at": "2024-11-01T14:32:17+00:00"
}
],
"next_page_url": null,
"meta": {
"request_id": "req_abc123",
"credits_used": 0.01,
"credits_remaining": 49.99
}
}
| Field | Description |
|---|---|
side | long = a long position was liquidated (forced sell); short = a short position was liquidated (forced buy) |
quantity | Contracts liquidated (in base currency) |
price | Liquidation price |
value_usd | USD value of the liquidation |