zones
curl --request GET \
--url https://api.alphractal.com/liquidation_levels/zones \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.alphractal.com/liquidation_levels/zones"
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/zones', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"asset": "<string>",
"lastBucketTime": "2023-11-07T05:31:56Z",
"currentPrice": 123,
"longPct": 123,
"shortPct": 123,
"dominantSide": "<string>",
"totalLongUsd": 123,
"totalShortUsd": 123,
"nearest": {
"price": 123,
"magnitudeUsd": 123,
"side": "<string>",
"distancePct": 123
},
"clusters": [
{
"price": 123,
"magnitudeUsd": 123,
"side": "<string>",
"distancePct": 123
}
],
"timeframe": "<string>",
"lookback": "<string>",
"scope": "<string>",
"exchange": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}Liquidation Levels
zones
Retrieve liquidation levels data for /liquidation_levels/zones. Returns relevant metrics and indicators.
GET
/
liquidation_levels
/
zones
zones
curl --request GET \
--url https://api.alphractal.com/liquidation_levels/zones \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.alphractal.com/liquidation_levels/zones"
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/zones', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"asset": "<string>",
"lastBucketTime": "2023-11-07T05:31:56Z",
"currentPrice": 123,
"longPct": 123,
"shortPct": 123,
"dominantSide": "<string>",
"totalLongUsd": 123,
"totalShortUsd": 123,
"nearest": {
"price": 123,
"magnitudeUsd": 123,
"side": "<string>",
"distancePct": 123
},
"clusters": [
{
"price": 123,
"magnitudeUsd": 123,
"side": "<string>",
"distancePct": 123
}
],
"timeframe": "<string>",
"lookback": "<string>",
"scope": "<string>",
"exchange": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}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. Defaults to the canonical window of the timeframe.
Aggregation scope: 'all' (default) or 'exchange'.
Exchange id, required when scope=exchange.
Max clusters returned per side (long/short). Defaults to 12, capped at 50.
Response
200 - application/json
OK
Show child attributes
Show child attributes
Show child attributes
Show child attributes