GET /overview/fees

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/defillama/overview/feesCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Aggregate fee and revenue history across all protocols (heavy: ~6 MB).

Parameters

No parameters documented.

Response

type: object
data key: totalDataChart
pagination: none
sample: {
  "totalDataChart": "array[3074]",
  "totalDataChartBreakdown": "array[3074]",
  "breakdown24h": "null",
  "breakdown30d": "null",
  "chain": "null",
  "allChains": "array[356]",
  "total24h": "float",
  "total48hto24h": "float",
  "total7d": "float",
  "total14dto7d": "float",
  "total30d": "float",
  "total60dto30d": "float",
  "total1y": "float",
  "total7DaysAgo": "float",
  "total30DaysAgo"

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/overview/fees"