{
  "x402Version": 2,
  "id": 222,
  "slug": "222",
  "resource": "https://crypto.apitoll.cloud/v1/crypto/tvl",
  "description": "DeFi Total Value Locked (TVL) by blockchain or by protocol. Default returns the top chains ranked by TVL in USD; pass ?chain=Ethereum for one chain, or ?protocol=aave-v3 for a protocol's current TVL, 24h and 7d change, category, market cap, and the chains it spans. Track capital flows across DeFi. 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": {
            "chain": "Ethereum"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "chain": {
              "chainId": 1,
              "name": "Ethereum",
              "tokenSymbol": "ETH",
              "tvlUsd": 38600000000
            },
            "mode": "chain",
            "source": {
              "name": "DefiLlama"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "chain": {
                    "description": "One chain by name (exact, case-insensitive). Omit for the top-chains ranking.",
                    "type": "string"
                  },
                  "limit": {
                    "description": "Top-N chains in the default ranking (1–100, default 20).",
                    "maximum": 100,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "protocol": {
                    "description": "A protocol by DefiLlama slug (aave-v3, lido, uniswap-v3). Takes precedence over chain. For a parent slug like \"uniswap\" use the /v1/crypto/protocol route.",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "chain": {
                    "properties": {
                      "chainId": {
                        "type": "number"
                      },
                      "name": {
                        "type": "string"
                      },
                      "tokenSymbol": {
                        "type": "string"
                      },
                      "tvlUsd": {
                        "type": "number"
                      }
                    },
                    "type": "object"
                  },
                  "mode": {
                    "type": "string"
                  },
                  "source": {
                    "properties": {
                      "name": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "crypto.apitoll.cloud",
  "lastUpdated": "2026-09-14T19:46:15.208Z",
  "quality": {
    "calls30d": 6,
    "uniquePayers30d": 5,
    "lastCalledAt": "2026-09-14T19:46:14.698Z"
  },
  "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"
  }
}