/v1/volume
PancakeSwap DEX trading volume (24h/7d/30d/all-time, with change)
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/pancakeswap-api/v1/volume" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pancakeswap-api/v1/volume", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pancakeswap-api/v1/volume");
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/pancakeswap-api/v1/volume",
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": {
"note": "DEX trading volume across all PancakeSwap deployments (BNB Chain and beyond), in USD.",
"chains": [
"BSC",
"Ethereum",
"Polygon zkEVM",
"ZKsync Era",
"Arbitrum",
"Linea",
"Base",
"OpBNB",
"Aptos",
"Solana",
"Monad"
],
"source": "DeFiLlama",
"protocol": "PancakeSwap",
"volume_7d": 5198311071,
"volume_24h": 527054731,
"volume_30d": 24648977043,
"change_1d_pct": -7.14,
"change_7d_pct": null,
"change_30d_pct": null,
"volume_all_time": 2025696258344
},
"meta": {
"timestamp": "2026-06-14T08:04:35.425Z",
"request_id": "dcc164cd-27f0-48c4-9cb6-3c3e09af6d29"
},
"status": "ok",
"message": "PancakeSwap volume retrieved successfully",
"success": true
}