GET /v2/metrics/dexs
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/defillama/v2/metrics/dexsCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeDEX volume metrics snapshot across protocols and chains (heavy).
Parameters
No parameters documented.
Response
type: object
data key: protocols
pagination: none
sample: {
"category": "str",
"allCategories": "array[56]",
"allChains": "array[298]",
"total24h": "float",
"total48hto24h": "float",
"totalLastFullDay": "float",
"total7d": "float",
"total14dto7d": "float",
"total30d": "float",
"total60dto30d": "float",
"total1y": "float",
"total7DaysAgo": "float",
"total30DaysAgo": "float",
"totalAllTime": "float",
"change_1d": "float",
"c
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/defillama/v2/metrics/dexs"