{"uid":"cap_LD3fRsg4dZ3Wn1LljInR6","slug":"x402-defi-protocol-tvl-b9e79a31","name":"x402 DeFi Protocol TVL","description":"Look up a DeFi protocol's current total value locked (TVL), by chain, plus market cap","url":"https://x402tap.com/api/defi-tvl?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["protocol"],"properties":{"protocol":{"type":"string","description":"DefiLlama protocol slug, e.g. \"uniswap\", \"aave\""}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"url":"https://uniswap.org/","asOf":"2026-08-16T00:00:00.000Z","name":"Uniswap","chains":["Ethereum","Base","Arbitrum"],"symbol":"UNI","tvlUsd":2922032778,"tvlByChain":{"Base":400000000,"Ethereum":1800000000},"marketCapUsd":5200000000}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NFpKn2U_YbZZjFzlTyP8A","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a DeFi protocol's current total value locked (TVL) broken down by chain, plus market cap and token symbol, using the DefiLlama protocol slug as input.","exampleAgentPrompt":"What's the current TVL for Uniswap right now, broken down by chain, and what's its market cap?","exampleUseCases":[{"title":"DeFi protocol due diligence research","prompt":"I'm evaluating Aave as a lending platform — can you pull its current total value locked across all chains and its market cap so I can get a sense of its scale?"},{"title":"L2 DeFi growth monitoring","prompt":"How much of Uniswap's TVL is on Base versus Ethereum right now? I want to see the chain-by-chain breakdown."},{"title":"DeFi market cap to TVL ratio analysis","prompt":"What's the current TVL and market cap for Curve Finance? I want to calculate the market cap to TVL ratio to see if it's overvalued."}],"resultDescription":"A JSON object containing the protocol's name, website URL, token symbol, list of supported chains, total TVL in USD, a per-chain TVL breakdown (as a keyed object with chain name to USD value), market cap in USD, and a timestamp indicating when the data was fetched.","failureModes":["Invalid or unrecognized protocol slug returns an error or empty result","Protocol exists on DefiLlama but slug differs from common name (e.g. 'uniswap-v3' vs 'uniswap')","Market cap may be null or missing for protocols without a listed token","TVL by chain may be incomplete if the protocol has many chains","Data may lag by up to 24 hours depending on DefiLlama's update frequency"],"whenToPreferThis":"Use this endpoint when you need protocol-level DeFi TVL data with per-chain breakdown and market cap in a single call. Prefer this over the chain TVL ranking endpoint when your query is about a specific protocol rather than comparing chains. Ideal for DeFi research, due diligence, ratio analysis, and monitoring a known protocol by its DefiLlama slug.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:38:55.993Z","isFirstParty":false,"canonicalSlug":"x402-defi-protocol-tvl-b9e79a31"}