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

WhenResultHTTPTimePrice
2 h agoExpected HTTP 402, got 41041040 ms-
6 h agoExpected HTTP 402, got 410410205 ms-
11 h agoExpected HTTP 402, got 41041040 ms-
15 h agoExpected HTTP 402, got 41041037 ms-
19 h agoExpected HTTP 402, got 41041041 ms-
23 h agoExpected HTTP 402, got 41041038 ms-
27 h agoExpected HTTP 402, got 410410114 ms-
31 h agoExpected HTTP 402, got 41041032 ms-
35 h agoExpected HTTP 402, got 41041037 ms-
40 h agoExpected HTTP 402, got 41041043 ms-
43 h agoExpected HTTP 402, got 41041035 ms-
2 days agoExpected HTTP 402, got 41041034 ms-
2 days agoExpected HTTP 402, got 41041034 ms-
2 days agoExpected HTTP 402, got 41041036 ms-
2 days agoPassed402586 ms$0.003