{"uid":"cap_f7nk4HztIFei9ZdGtU7Io","slug":"defillama-protocol-tvl-by-chain-8533f683","name":"DeFiLlama Protocol TVL by Chain","description":"TVL of any DeFi protocol broken down by chain (DeFiLlama): total + per-chain USD, category, url. Param: protocol (slug from defillama.com/protocol/<slug>, e.g. aave, uniswap, aerodrome).","url":"https://opportunity-api-production.up.railway.app/api/protocol-tvl","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":"protocol slug, e.g. aave, uniswap, aerodrome"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_AEW_greVZAswNNR1BH8Ui","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 total and per-chain TVL (in USD) for any DeFi protocol by slug, including category and URL metadata from DeFiLlama.","exampleAgentPrompt":"What's the current TVL of Aave broken down by chain? I want to see the total USD locked and how it's split across each network.","exampleUseCases":null,"resultDescription":"Returns the protocol's total TVL in USD plus a per-chain breakdown, along with the protocol's category (e.g. Lending, DEX) and its DeFiLlama URL.","failureModes":["Invalid or unknown protocol slug returns an error or empty result","Misspelled slug (e.g. 'aave-v2' vs 'aave') may return no data","DeFiLlama upstream outage causes data unavailability","Payment of $0.01 USDC not settled causes 402 rejection"],"whenToPreferThis":"Use this endpoint when you need current TVL figures for a specific DeFi protocol — especially per-chain breakdowns — sourced from DeFiLlama. Prefer this over general market APIs when TVL (not price or volume) is the core metric, or when you need chain-level granularity for a named protocol.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:40:48.712Z","isFirstParty":false}