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
| Field | Type | Required | What it is |
|---|---|---|---|
protocol | string | Yes | Protocol name or DeFi Llama slug (e.g., 'aave-v3', 'uniswap') |
Output fields
How reliably each field appears in a successful answer.
| Field | Type | Appears |
|---|---|---|
protocol | string | Usually (present for most inputs) |
fees_7d_usd | number | Usually (present for most inputs) |
fees_24h_usd | number | Usually (present for most inputs) |
fees_30d_usd | number | Usually (present for most inputs) |
revenue_7d_usd | number | Usually (present for most inputs) |
revenue_24h_usd | number | Usually (present for most inputs) |
revenue_30d_usd | number | Usually (present for most inputs) |
fees_all_time_usd | number | Usually (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
}' {
"tool": "strale_execute",
"arguments": {
"slug": "protocol-fees-lookup",
"inputs": {
"protocol": "uniswap"
},
"max_price_cents": 2
}
} import { Strale } from "straleio";
const strale = new Strale({ apiKey: process.env.STRALE_API_KEY! });
const result = await strale.do({
capability_slug: "protocol-fees-lookup",
inputs: {
"protocol": "uniswap"
},
max_price_cents: 2,
}); import os
from straleio import Strale, DoRequest
strale = Strale(api_key=os.environ["STRALE_API_KEY"])
result = strale.do(DoRequest(
capability_slug="protocol-fees-lookup",
inputs={
"protocol": "uniswap",
},
max_price_cents=2,
)) # No account. The first request answers 402 with the price in USDC;
# an x402 client pays it from your wallet and repeats the request.
curl -i 'https://api.strale.io/x402/v2/protocol-fees-lookup?protocol=uniswap' 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
Related tools
- Crypto Fear and Greed Index €0.02
- ENS Resolver €0.02
- ENS Reverse Lookup €0.02
- Gas Price Check €0.02
- Protocol TVL Lookup €0.02
- Stablecoin Flow Check €0.02