heatmap
curl --request GET \
--url https://api.alphractal.com/liquidation_levels/heatmap \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.alphractal.com/liquidation_levels/heatmap"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.alphractal.com/liquidation_levels/heatmap', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"asset": "<string>",
"timeframe": "<string>",
"lookback": "<string>",
"scope": "<string>",
"exchange": "<string>",
"version": "2023-11-07T05:31:56Z",
"priceSource": "<string>",
"x": [
"2023-11-07T05:31:56Z"
],
"y": [
123
],
"z": [
[
123
]
],
"df": [
{
"date": "2023-11-07T05:31:56Z",
"open": 123,
"high": 123,
"low": 123,
"close": 123
}
],
"topTraderLsr": [
{
"date": "2023-11-07T05:31:56Z",
"value": 123
}
]
}Liquidation Levels
heatmap
Retrieve liquidation levels data for /liquidation_levels/heatmap. Returns relevant metrics and indicators.
GET
/
liquidation_levels
/
heatmap
heatmap
curl --request GET \
--url https://api.alphractal.com/liquidation_levels/heatmap \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.alphractal.com/liquidation_levels/heatmap"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.alphractal.com/liquidation_levels/heatmap', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"asset": "<string>",
"timeframe": "<string>",
"lookback": "<string>",
"scope": "<string>",
"exchange": "<string>",
"version": "2023-11-07T05:31:56Z",
"priceSource": "<string>",
"x": [
"2023-11-07T05:31:56Z"
],
"y": [
123
],
"z": [
[
123
]
],
"df": [
{
"date": "2023-11-07T05:31:56Z",
"open": 123,
"high": 123,
"low": 123,
"close": 123
}
],
"topTraderLsr": [
{
"date": "2023-11-07T05:31:56Z",
"value": 123
}
]
}Authorizations
API Key authentication. Include your API key in the X-Api-Key header for all requests.
Query Parameters
Cryptocurrency asset identifier (e.g. btc, eth, ada). Use lowercase ticker symbol.
Bucket timeframe: 1m, 5m, 15m, 30m, 1h, 4h, 6h, 12h, 1d.
History window: 12h, 24h, 3d, 7d, 14d, 30d, 90d, 180d, 365d, 2y, 4y, 6y. Defaults to the canonical window of the timeframe (e.g. 30m → 30d).
Aggregation scope: 'all' (default, aggregated across exchanges) or 'exchange'.
Exchange id, required when scope=exchange (e.g. binance).
Response
200 - application/json
OK
Show child attributes
Show child attributes
Show child attributes
Show child attributes