Skip to content
Eden Engine

DeFi Protocol Fees with Per-Chain Breakdown (Fees Metric)

omnial/defi-protocol-fees-by-chain

For one DeFi protocol, by slug, returns the fees its users paid: totals for the last 24 hours, 7 days, 30 days, one year and all time, the prior 24 hours and the one-day percentage change; a per-chain breakdown with those figures plus earlier periods, a daily average and percentage changes; the protocol's name, id, description, token symbol and contract address, chains and related protocols; and, for a protocol family, each member protocol with notes on how its fees and revenue are counted.

activeper callv1

Price

Up to $0.001 per call; you pay what the call used

The price shown is the price you pay. No monthly minimum. Top-ups start at $5.

Data source

DefiLlama

Data from DefiLlama.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/defi-protocol-fees-by-chain" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/defi-protocol-fees-by-chain" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/defi-protocol-fees-by-chain", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/defi-protocol-fees-by-chain", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.001
Updated
Oct 14, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "metric",
    "protocol"
  ],
  "properties": {
    "metric": {
      "enum": [
        "fees"
      ],
      "type": "string",
      "pattern": "^(?!\\.{1,2}$)[A-Za-z0-9._~:@!$&'()*+,;=-]+$",
      "description": "The metric to report. Only fees (fees) is offered."
    },
    "protocol": {
      "type": "string",
      "pattern": "^(?!\\.{1,2}$)[A-Za-z0-9._~:@!$&'()*+,;=-]+$",
      "minLength": 1,
      "description": "The protocol's slug: its name in lowercase, with hyphens for spaces."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The protocol's display name."
    },
    "slug": {
      "type": "string",
      "description": "The protocol's slug."
    },
    "chains": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The chains the protocol runs on."
    },
    "symbol": {
      "type": "string",
      "description": "The protocol token's ticker symbol."
    },
    "address": {
      "type": "string",
      "description": "The protocol token's contract address."
    },
    "total1y": {
      "type": "number",
      "description": "Fees over the last year."
    },
    "total7d": {
      "type": "number",
      "description": "Fees over the last 7 days."
    },
    "total24h": {
      "type": "number",
      "description": "Fees over the last 24 hours."
    },
    "total30d": {
      "type": "number",
      "description": "Fees over the last 30 days."
    },
    "change_1d": {
      "type": "number",
      "description": "Percent change of total24h against total48hto24h."
    },
    "defillamaId": {
      "type": "string",
      "description": "The protocol's id at the source."
    },
    "description": {
      "type": "string",
      "description": "A short description of the protocol."
    },
    "totalAllTime": {
      "type": "number",
      "description": "Fees since tracking began."
    },
    "total48hto24h": {
      "type": "number",
      "description": "Fees over the 24 hours before that."
    },
    "chainBreakdown": {
      "type": "object",
      "description": "One entry per chain, keyed by the chain's display name. A chain with less history can lack some fields.",
      "additionalProperties": {
        "type": "object",
        "properties": {
          "total1y": {
            "type": "number",
            "description": "Fees over the last year."
          },
          "total7d": {
            "type": "number",
            "description": "Fees over the last 7 days."
          },
          "total24h": {
            "type": "number",
            "description": "Fees over the last 24 hours."
          },
          "total30d": {
            "type": "number",
            "description": "Fees over the last 30 days."
          },
          "average1y": {
            "type": "number",
            "description": "The past year's fees divided by its number of days with data."
          },
          "change_1d": {
            "type": "number",
            "description": "Percent change of total24h against total48hto24h."
          },
          "change_1m": {
            "type": "number",
            "description": "Percent change of total24h against total30DaysAgo."
          },
          "change_7d": {
            "type": "number",
            "description": "Percent change of total24h against total7DaysAgo."
          },
          "total14dto7d": {
            "type": "number",
            "description": "Fees over the 7 days before that."
          },
          "totalAllTime": {
            "type": "number",
            "description": "Fees since tracking began."
          },
          "total48hto24h": {
            "type": "number",
            "description": "Fees over the 24 hours before that."
          },
          "total60dto30d": {
            "type": "number",
            "description": "Fees over the 30 days before that."
          },
          "total7DaysAgo": {
            "type": "number",
            "description": "One day's fees, seven days ago."
          },
          "total30DaysAgo": {
            "type": "number",
            "description": "One day's fees, thirty days ago."
          },
          "change_7dover7d": {
            "type": "number",
            "description": "Percent change of total7d against total14dto7d."
          },
          "monthlyAverage1y": {
            "type": "number",
            "description": "average1y times 30.44, an average month in days."
          },
          "change_30dover30d": {
            "type": "number",
            "description": "Percent change of total30d against total60dto30d."
          }
        }
      }
    },
    "childProtocols": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The member protocol's display name."
          },
          "defillamaId": {
            "type": "string",
            "description": "The member protocol's id."
          },
          "methodology": {
            "type": "object",
            "properties": {
              "Fees": {
                "type": "string",
                "description": "What counts as fees."
              },
              "Revenue": {
                "type": "string",
                "description": "What counts as revenue."
              },
              "UserFees": {
                "type": "string",
                "description": "What counts as fees paid by users."
              },
              "HoldersRevenue": {
                "type": "string",
                "description": "What counts as revenue passed to token holders."
              },
              "ProtocolRevenue": {
                "type": "string",
                "description": "What counts as revenue kept by the protocol."
              },
              "SupplySideRevenue": {
                "type": "string",
                "description": "What counts as revenue paid to liquidity suppliers."
              }
            },
            "description": "Plain-text notes on how each figure is counted for this member protocol; a key is absent when the source gives no note for it."
          }
        }
      },
      "description": "For a protocol family, its member protocols."
    },
    "linkedProtocols": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Names of related protocols, such as other versions of the same family."
    }
  },
  "description": "Fees paid by the protocol's users. Fee figures are US dollar amounts; change_* fields are percents (1.5 means 1.5%). The per-chain figures add up to the protocol totals, to within rounding."
}