25trust / 100
Protocol Fees
by Aayat AI in Onchain & crypto
x402 APIFailing, checked 2 h ago
What a DeFi protocol earns: fees paid by its users and the protocol's own revenue over the last 24 hours, 7 days, 30 days, a year and all time, the day-on-day change, the share of fees it keeps, and the chains it runs on. Any protocol DefiLlama tracks (Aave, Uniswap, Lido, Hyperliquid...). Protocol figures only, nothing about individual wallets.
GET https://aayatai.com/protocol/fees
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 6.7%
- Response time
- 586 ms typical, 586 ms slowest 5%
- Last check
- 2 h ago: Expected HTTP 402, got 410
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://aayatai.com/protocol/fees?protocol=aave"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Faayatai.com%2Fprotocol%2Ffees
const res = await pay("https://aayatai.com/protocol/fees?protocol=aave");
console.log(await res.json());Example input
{
"protocol": "aave"
}Example output
{
"chains": [
"Ethereum",
"Polygon",
"Arbitrum",
"Base"
],
"feesUsd": {
"allTime": 2310750909,
"change1dPct": -0.07,
"last24h": 1252049,
"last30d": 36969638,
"last365d": 735457412,
"last7d": 8879981
},
"protocol": "Aave",
"revenueShareOfFees30dPct": 13.72,
"revenueUsd": {
"allTime": 310000000,
"change1dPct": 1.2,
"last24h": 165292,
"last30d": 5072983,
"last365d": 98000000,
"last7d": 1180000
},
"slug": "aave",
"source": "DefiLlama"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Expected HTTP 402, got 410 | 410 | 40 ms | - |
| 6 h ago | Expected HTTP 402, got 410 | 410 | 205 ms | - |
| 11 h ago | Expected HTTP 402, got 410 | 410 | 40 ms | - |
| 15 h ago | Expected HTTP 402, got 410 | 410 | 37 ms | - |
| 19 h ago | Expected HTTP 402, got 410 | 410 | 41 ms | - |
| 23 h ago | Expected HTTP 402, got 410 | 410 | 38 ms | - |
| 27 h ago | Expected HTTP 402, got 410 | 410 | 114 ms | - |
| 31 h ago | Expected HTTP 402, got 410 | 410 | 32 ms | - |
| 35 h ago | Expected HTTP 402, got 410 | 410 | 37 ms | - |
| 40 h ago | Expected HTTP 402, got 410 | 410 | 43 ms | - |
| 43 h ago | Expected HTTP 402, got 410 | 410 | 35 ms | - |
| 2 days ago | Expected HTTP 402, got 410 | 410 | 34 ms | - |
| 2 days ago | Expected HTTP 402, got 410 | 410 | 34 ms | - |
| 2 days ago | Expected HTTP 402, got 410 | 410 | 36 ms | - |
| 2 days ago | Passed | 402 | 586 ms | $0.003 |