81trust / 100

Crypto Fees

by ApiToll Protocol Fees in Onchain & crypto

x402 APIPassing, checked 3 h ago

DeFi protocol fees and revenue ranked: which protocols actually earn money (not just hold TVL). Each returns 24-hour and 7-day fees in USD, revenue where DefiLlama breaks it out, 1d/7d change, category, and the chains it runs on. See where real economic activity is across Uniswap, Aave, Lido, Hyperliquid and more. Sourced from DefiLlama.

GET https://crypto.apitoll.cloud/v1/crypto/fees

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
101 ms typical, 101 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://crypto.apitoll.cloud/v1/crypto/fees?limit=10"
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%2Fcrypto.apitoll.cloud%2Fv1%2Fcrypto%2Ffees
const res = await pay("https://crypto.apitoll.cloud/v1/crypto/fees?limit=10");
console.log(await res.json());

Example input

{
  "limit": 10
}

Example output

{
  "count": 1,
  "protocols": [
    {
      "category": "Liquid Staking",
      "chains": [
        "Ethereum"
      ],
      "change1dPct": 2.1,
      "change7dPct": -3.4,
      "fees24hUsd": 1800000,
      "fees7dUsd": 12600000,
      "name": "Lido",
      "revenue24hUsd": 180000
    }
  ],
  "source": {
    "name": "DefiLlama"
  },
  "total24hUsd": 48000000,
  "total7dUsd": 340000000
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402158 ms$0.001
8 h agoPassed402101 ms$0.001