{
  "x402Version": 2,
  "id": 227,
  "slug": "227",
  "resource": "https://crypto.apitoll.cloud/v1/crypto/fees",
  "description": "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.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x3dA40A9aD36640a2C0F533BAC368490095574664",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "5Wxg3V6gcmFmmP6SXmGZQAUZPFYsSwoeN2Qewt5BotWz",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "limit": 10
          },
          "type": "http"
        },
        "output": {
          "example": {
            "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
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "limit": {
                    "description": "Max protocols returned (1–100, default 20).",
                    "maximum": 100,
                    "minimum": 1,
                    "type": "integer"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "count": {
                    "type": "number"
                  },
                  "protocols": {
                    "items": {
                      "properties": {
                        "category": {
                          "type": "string"
                        },
                        "chains": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "change1dPct": {
                          "type": "number"
                        },
                        "change7dPct": {
                          "type": "number"
                        },
                        "fees24hUsd": {
                          "type": "number"
                        },
                        "fees7dUsd": {
                          "type": "number"
                        },
                        "name": {
                          "type": "string"
                        },
                        "revenue24hUsd": {
                          "type": "number"
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "source": {
                    "properties": {
                      "name": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "total24hUsd": {
                    "type": "number"
                  },
                  "total7dUsd": {
                    "type": "number"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "crypto.apitoll.cloud",
  "lastUpdated": "2026-09-05T00:39:33.178Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-09-05T00:39:32.753Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "crypto.apitoll.cloud",
    "manifest_name": "crypto.apitoll.cloud",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}