Api Endpoint

DefiLlama DeFi TVL & Yields

Fees & revenue summary by DefiLlama — fee and revenue history for one protocol by slug.

Open interactive test console

Offering

Provider
defillama.use.x402atlas.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://defillama.use.x402atlas.com/fee-summary
MIME type
application/json
First seen
2026-10-16T01:50:06.715Z
Last seen
Tags
DeFi, Fees, revenue, protocol, Defillama, Crypto

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.005 USDC
Atomic price: 5000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 3
0.005 USDC
Atomic price: 5000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 4
0.005 USDC
Atomic price: 5000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "payTo": "0xCB8025D951e5E45Be7D288B658EEee6f05713006"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "5000",
    "payTo": "0xCB8025D951e5E45Be7D288B658EEee6f05713006"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "5000",
    "payTo": "0xCB8025D951e5E45Be7D288B658EEee6f05713006"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "5000",
    "payTo": "3nXsChcZGke6xebDPmndNMCt8L3yi6xyN4Pd6q5cQrgv"
  }
]

Observed health

Status
Healthy
Latest latency
13 ms
Average latency
93 ms
HTTP status
402
Last checked
Reachability
100% over 11 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "method": {
      "enum": [
        "GET"
      ],
      "type": "string"
    },
    "queryParams": {
      "properties": {
        "dataType": {
          "description": "Optional data type (e.g. dailyFees, dailyRevenue)",
          "maxLength": 200,
          "type": "string"
        },
        "excludeTotalDataChart": {
          "description": "Optional true/false to exclude the aggregate data chart",
          "maxLength": 200,
          "type": "string"
        },
        "excludeTotalDataChartBreakdown": {
          "description": "Optional true/false to exclude the per-protocol chart breakdown",
          "maxLength": 200,
          "type": "string"
        },
        "protocol": {
          "description": "Protocol slug (e.g. uniswap, aave)",
          "maxLength": 100,
          "minLength": 1,
          "pattern": "^[^/?#]+$",
          "type": "string"
        }
      },
      "required": [
        "protocol"
      ],
      "type": "object"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method"
  ],
  "type": "object"
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "dataType": {
              "description": "Optional data type (e.g. dailyFees, dailyRevenue)",
              "maxLength": 200,
              "type": "string"
            },
            "excludeTotalDataChart": {
              "description": "Optional true/false to exclude the aggregate data chart",
              "maxLength": 200,
              "type": "string"
            },
            "excludeTotalDataChartBreakdown": {
              "description": "Optional true/false to exclude the per-protocol chart breakdown",
              "maxLength": 200,
              "type": "string"
            },
            "protocol": {
              "description": "Protocol slug (e.g. uniswap, aave)",
              "maxLength": 100,
              "minLength": 1,
              "pattern": "^[^/?#]+$",
              "type": "string"
            }
          },
          "required": [
            "protocol"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "data": {
              "additionalProperties": true,
              "description": "Raw DefiLlama fee summary payload",
              "properties": {
                "name": {
                  "description": "Protocol display name",
                  "type": "string"
                },
                "total24h": {
                  "description": "24h fees or revenue in USD, per dataType",
                  "type": "number"
                },
                "totalAllTime": {
                  "description": "All-time cumulative fees or revenue in USD",
                  "type": "number"
                }
              },
              "type": "object"
            },
            "queried_at": {
              "description": "When this bridge fetched the upstream data",
              "format": "date-time",
              "type": "string"
            }
          },
          "required": [
            "queried_at",
            "data"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}