Protocol Fees Lookup

Look up a DeFi protocol's reported fees and revenue over 24 hours, 7 days, 30 days and all time, with available breakdowns.

Pay by wallet (x402) protocol-fees-lookup

Example

Input
{
  "protocol": "uniswap"
}
Answer
{
  "slug": "parent#uniswap",
  "protocol": "Uniswap",
  "fees_7d_usd": 7424515,
  "fees_24h_usd": 1100432,
  "fees_30d_usd": 39302873,
  "revenue_7d_usd": null,
  "revenue_24h_usd": null,
  "revenue_30d_usd": null,
  "fees_all_time_usd": 5497395571,
  "fees_48h_to_24h_usd": 1417183,
  "revenue_all_time_usd": null
}

Inputs

FieldTypeRequiredWhat it is
protocolstringYesProtocol name or DeFi Llama slug (e.g., 'aave-v3', 'uniswap')

Output fields

How reliably each field appears in a successful answer.

FieldTypeAppears
protocolstringUsually (present for most inputs)
fees_7d_usdnumberUsually (present for most inputs)
fees_24h_usdnumberUsually (present for most inputs)
fees_30d_usdnumberUsually (present for most inputs)
revenue_7d_usdnumberUsually (present for most inputs)
revenue_24h_usdnumberUsually (present for most inputs)
revenue_30d_usdnumberUsually (present for most inputs)
fees_all_time_usdnumberUsually (present for most inputs)

How to call it

The same tool through each route. MCP clients reach it through Strale’s server at https://api.strale.io/mcp; the call below is what the agent sends.

# Needs an API key. max_price_cents caps what this call may cost.
curl -X POST https://api.strale.io/v1/do \
  -H "Authorization: Bearer $STRALE_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "capability_slug": "protocol-fees-lookup",
    "inputs": {
      "protocol": "uniswap"
    },
    "max_price_cents": 2
  }'

Limitations

  • Output reflects DefiLlama (Protocol Fees API) at query time. Dependent on upstream API availability; may degrade if the provider rate-limits or is temporarily unavailable.

Bundled checks that include it