/v1/protocol
One protocol fees & revenue side by side
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/defifees-api/v1/protocol" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/defifees-api/v1/protocol", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/defifees-api/v1/protocol");
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/protocol",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"fees": {
"d7": 15716537,
"d30": 42220414,
"h24": 957059,
"all_time": 2193554169
},
"name": "Aave",
"slug": "aave",
"chains": [
"Ethereum",
"Polygon",
"Avalanche",
"Fantom",
"Arbitrum",
"OP Mainnet",
"Metis",
"Base",
"Gnosis",
"BSC",
"Scroll",
"ZKsync Era",
"Linea",
"Celo",
"Sonic",
"Soneium",
"Plasma",
"Mantle",
"MegaETH",
"X Layer"
],
"source": "DeFiLlama",
"revenue": {
"d7": 1829316,
"d30": 5469573,
"h24": 127136,
"all_time": 296844312
},
"category": null
},
"meta": {
"timestamp": "2026-06-11T16:46:56.502Z",
"request_id": "d7c10468-67a6-414b-b28a-1b396e3ab00f"
},
"status": "ok",
"message": "Protocol retrieved successfully",
"success": true
}