{"uid":"cap_tHyL3qetUZdadMv_PSVDp","slug":"pyfile-toolkit-defi-protocol-tvl-lookup-d4577411","name":"Pyfile Toolkit – DeFi Protocol TVL Lookup","description":"DeFi protocol TVL, chains, and 1d/7d change. ?protocol=aave","url":"https://pyfile-agent.taile3ff35.ts.net:10000/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_hblToEIkwOwc_Gj6Gd3GL","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 TVL change for a specified DeFi protocol","exampleAgentPrompt":"What's the current TVL for Aave, including which chains it's on and how it's changed over the last 1 and 7 days?","exampleUseCases":[{"title":"DeFi portfolio risk monitoring","prompt":"Pull the latest TVL and 7-day change for Aave and Compound — I want to know if either protocol has seen a significant drop that might signal risk."},{"title":"Comparing DeFi protocol dominance","prompt":"Get me the TVL for Uniswap and Curve so I can compare which one has more value locked right now."},{"title":"On-chain research for a newsletter","prompt":"I'm writing about DeFi trends — can you grab the current TVL, chain list, and 1-day change for Lido?"}],"resultDescription":"Returns a JSON object for the specified DeFi protocol containing its current TVL (in USD), the list of blockchains it operates on, and the percentage or absolute change in TVL over the past 1 day and 7 days.","failureModes":["Unknown or misspelled protocol name returns an error or empty result","Protocol not indexed by the underlying data source returns no data","Missing 'protocol' query parameter may return a default or error response","Network timeout if upstream DeFi data provider is slow"],"whenToPreferThis":"Use this endpoint when you need quick, structured on-chain TVL data for a specific DeFi protocol, including cross-chain breakdown and recent trend data. Prefer it over general web searches when you need machine-readable numeric TVL figures with 1d/7d deltas for analysis or monitoring workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:40:03.817Z","isFirstParty":false}