Liquidation summary by market and window
curl --request GET \
--url https://api.ironflow.sh/v1/liquidations/summary \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ironflow.sh/v1/liquidations/summary"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ironflow.sh/v1/liquidations/summary', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ironflow.sh/v1/liquidations/summary",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.ironflow.sh/v1/liquidations/summary"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.ironflow.sh/v1/liquidations/summary")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ironflow.sh/v1/liquidations/summary")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"as_of": 123,
"windows": [
{
"window": "24h",
"from": 123,
"total": {
"long_usd": 123,
"short_usd": 123,
"liquidations": 123,
"wallets": 123
},
"largest": {
"market": "BTC-PERP",
"side": "long",
"usd": 123,
"price": 123,
"address": "<string>",
"timestamp": 123
},
"markets": [
{
"long_usd": 123,
"short_usd": 123,
"liquidations": 123,
"wallets": 123,
"market": "<string>",
"largest": {
"market": "BTC-PERP",
"side": "long",
"usd": 123,
"price": 123,
"address": "<string>",
"timestamp": 123
}
}
]
}
],
"series": {}
}{
"error": {
"code": "BAD_REQUEST",
"message": "market is required (e.g. BTC-PERP)"
}
}{
"error": {
"code": "TIER_FORBIDDEN",
"message": "Export requires Builder tier or above"
}
}{
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded. Retry after 60 seconds."
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "An unexpected error occurred"
}
}Market Data
Hyperliquid liquidation totals by market and window
GET /v1/liquidations/summary returns long and short USD liquidated on Hyperliquid per window (15m to 7d) and market, with counts, wallets and the largest one.
GET
/
v1
/
liquidations
/
summary
Liquidation summary by market and window
curl --request GET \
--url https://api.ironflow.sh/v1/liquidations/summary \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ironflow.sh/v1/liquidations/summary"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ironflow.sh/v1/liquidations/summary', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ironflow.sh/v1/liquidations/summary",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.ironflow.sh/v1/liquidations/summary"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.ironflow.sh/v1/liquidations/summary")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ironflow.sh/v1/liquidations/summary")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"as_of": 123,
"windows": [
{
"window": "24h",
"from": 123,
"total": {
"long_usd": 123,
"short_usd": 123,
"liquidations": 123,
"wallets": 123
},
"largest": {
"market": "BTC-PERP",
"side": "long",
"usd": 123,
"price": 123,
"address": "<string>",
"timestamp": 123
},
"markets": [
{
"long_usd": 123,
"short_usd": 123,
"liquidations": 123,
"wallets": 123,
"market": "<string>",
"largest": {
"market": "BTC-PERP",
"side": "long",
"usd": 123,
"price": 123,
"address": "<string>",
"timestamp": 123
}
}
]
}
],
"series": {}
}{
"error": {
"code": "BAD_REQUEST",
"message": "market is required (e.g. BTC-PERP)"
}
}{
"error": {
"code": "TIER_FORBIDDEN",
"message": "Export requires Builder tier or above"
}
}{
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded. Retry after 60 seconds."
}
}{
"error": {
"code": "INTERNAL_ERROR",
"message": "An unexpected error occurred"
}
}Authorizations
Ironflow API key, format if_xxxx. Free keys at https://ironflow.sh/key. Optional on read endpoints.
Query Parameters
One market or a comma list, up to 50. Omit for every market.
Example:
"BTC-PERP"
Comma list of 15m, 1h, 4h, 12h, 24h, 7d. Keyless calls reach 24h.
15m, 1h or 4h. Adds a long/short series per market over the longest window; needs market with 1 to 10 markets.