/v1/stats
Aggregate totals and breakdowns
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/cryptohacks-api/v1/stats" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cryptohacks-api/v1/stats", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cryptohacks-api/v1/stats");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/cryptohacks-api/v1/stats",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"source": "DeFiLlama",
"biggest": {
"date": "2020-12-28",
"name": "LuBian",
"amount_usd": 3500000000
},
"by_year": [
{
"year": 2016,
"count": 1,
"amount_usd": 60000000
},
{
"year": 2017,
"count": 2,
"amount_usd": 157700000
},
{
"year": 2018,
"count": 2,
"amount_usd": 769000000
},
{
"year": 2020,
"count": 17,
"amount_usd": 3683750000
},
{
"year": 2021,
"count": 71,
"amount_usd": 2359683000
},
{
"year": 2022,
"count": 67,
"amount_usd": 3338128449
},
{
"year": 2023,
"count": 97,
"amount_usd": 1517474000
},
{
"year": 2024,
"count": 94,
"amount_usd": 1272598700
},
{
"year": 2025,
"count": 97,
"amount_usd": 2548655850
},
{
"year": 2026,
"count": 103,
"amount_usd": 896879135
}
],
"top_chains": [
{
"key": "Ethereum",
"count": 252,
"amount_usd": 8105888150
},
{
"key": "Bitcoin",
"count": 17,
"amount_usd": 4410158000
},
{
"key": "BSC",
"count": 98,
"amount_usd": 2741561234
},
{
"key": "Solana",
"count": 31,
"amount_usd": 1612749000
},
{
"key": "Polygon",
"count": 31,
"amount_usd": 1513687700
},
{
"key": "Arbitrum",
"count": 66,
"amount_usd": 1111262550
},
{
"key": "NEM",
"count": 1,
"amount_usd": 534000000
},
{
"key": "Tron",
"count": 9,
"amount_usd": 527580000
},
{
"key": "Avalanche",
"count": 18,
"amount_usd": 419503000
},
{
"key": "Base",
"count": 44,
"amount_usd": 414969000
}
],
"by_target_type": [
{
"key": "DeFi Protocol",
"count": 459,
"amount_usd": 7814368684
…