/v1/chain
Fees/revenue total + top protocols for a chain
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/defifees-api/v1/chain" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/defifees-api/v1/chain", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/defifees-api/v1/chain");
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/defifees-api/v1/chain",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"chain": "ethereum",
"metric": "fees",
"source": "DeFiLlama",
"total_d7": 88672703,
"protocols": [
{
"d7": 4084593,
"y1": 362893372,
"d30": 15713231,
"h24": 2222484,
"name": "Ethena USDe",
"chains": [
"Ethereum"
],
"category": "Basis Trading"
},
{
"d7": 1176000,
"y1": 49511125,
"d30": 4584370,
"h24": 1158162,
"name": "Chainlink Staking",
"chains": [
"Ethereum"
],
"category": "Services"
},
{
"d7": 8167427,
"y1": 769156005,
"d30": 39452551,
"h24": 1051359,
"name": "Lido",
"chains": [
"Ethereum"
],
"category": "Liquid Staking"
},
{
"d7": 7206952,
"y1": 410755369,
"d30": 31662587,
"h24": 1022355,
"name": "Sky Lending",
"chains": [
"Ethereum"
],
"category": "CDP"
},
{
"d7": 13016640,
"y1": 774822809,
"d30": 32691532,
"h24": 710166,
"name": "Aave V3",
"chains": [
"Polygon",
"Fantom",
"Arbitrum",
"Avalanche",
"OP Mainnet",
"Ethereum",
"Metis",
"Base",
"Gnosis",
"BSC",
"Scroll",
"ZKsync Era",
"Linea",
"Celo",
"Sonic",
"Soneium",
"Plasma",
"Mantle",
"MegaETH",
"X Layer"
],
"category": "Lending"
},
{
"d7": 3226580,
"y1": 277148089,
"d30": 15769164,
"h24": 420536,
"name": "Binance staked ETH",
"chains": [
"BSC",
"Ethereum"
],
"category": "Liquid Staking"
},
{
"d7": 1864070,
"y1": 145711787,
"d30": 10107292,
"h24": 362547,
"name": "Spark Liquidity Layer",
"chains": [
"Ethereum"
],
"category": "Onchain Capital Allocator"
},
…