{"uid":"cap_vFlDNpekdIlzjsmSba8Bv","slug":"defi-protocol-tvl-chain-metrics-b46003f9","name":"DeFi Protocol TVL & Chain Metrics","description":"DeFi protocol TVL, chains, and 1d/7d change. ?protocol=aave","url":"https://pyfile-agent.taile3ff35.ts.net/data/onchain/defi","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","properties":{"protocol":{"type":"string"}}}}},"output":{"type":"object"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BNpllvH-7gT3rOtXuWJT7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns Total Value Locked (TVL), supported chains, and 1-day/7-day change metrics for a specified DeFi protocol","exampleAgentPrompt":"What's the current TVL for Aave, which chains is it on, and how has it changed over the last 1 day and 7 days?","exampleUseCases":[{"title":"DeFi protocol health check","prompt":"Can you pull the TVL and recent performance for Uniswap — I want to know the current total value locked and how it's changed over the last 1 day and 7 days?"},{"title":"Cross-protocol TVL comparison research","prompt":"I'm comparing DeFi protocols — can you get me the TVL, chains, and 7-day change for Aave so I can benchmark it against others I'm looking at?"},{"title":"Monitoring protocol TVL shifts","prompt":"Has there been any significant change in Lido's TVL in the past week? Pull the current TVL and the 1-day and 7-day change numbers for me."}],"resultDescription":"Returns structured data for the specified DeFi protocol including current Total Value Locked (TVL) in USD, a list of supported blockchain networks, and percentage or absolute TVL changes over the past 1 day and 7 days.","failureModes":["Unknown or misspelled protocol slug returns empty or error response","Protocol not indexed by the data source returns no results","Missing required 'protocol' query parameter may return an error or default data","Network timeouts or upstream data source unavailability"],"whenToPreferThis":"Use this endpoint when you need quick, structured TVL and chain metrics for a specific DeFi protocol including short-term trend data (1d/7d). Prefer this over general crypto price feeds when the user specifically asks about protocol-level liquidity, TVL, or chain coverage rather than token prices.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:55:08.980Z","isFirstParty":false}