{"uid":"cap_HFqxMgPDma7eI_D3UEPyw","slug":"x402-defi-tvl-data-api-6f905a0a","name":"x402 DeFi TVL Data API","description":"Returns a JSON array of total value locked figures across 468 blockchain chains","url":"https://workspace-x402-paywall.onrender.com/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","properties":{}}},"additionalProperties":false}}},"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WeMNnu0_SX9REvF1p2f2N","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns live total value locked (TVL) data across DeFi protocols, payable per-call via x402 micro-payment in USDC","exampleAgentPrompt":"Can you pull the current TVL data for DeFi protocols and just return the name and price_usd fields?","exampleUseCases":[{"title":"DeFi protocol TVL snapshot","prompt":"Fetch the current total value locked across major DeFi protocols and give me just the name and TVL fields — I want to see which protocols have the most liquidity right now."},{"title":"Portfolio DeFi exposure research","prompt":"What's the current TVL for DeFi protocols? I need the name and price_usd fields to assess on-chain liquidity before deciding where to allocate capital."},{"title":"Automated DeFi monitoring report","prompt":"Pull live TVL data across DeFi protocols for me — return the name and price_usd — so I can track whether liquidity is growing or shrinking compared to yesterday."}],"resultDescription":"A JSON object containing TVL (total value locked) data for DeFi protocols, optionally filtered to specific fields such as name and price_usd, reflecting live on-chain liquidity metrics.","failureModes":["Payment not provided or insufficient USDC — returns 402 Payment Required","Invalid fields parameter value returns empty or malformed response","Service unavailable if upstream DeFi data source is down","Rate limiting if too many rapid sequential calls without valid payments"],"whenToPreferThis":"Choose this endpoint when you need live, pay-per-call DeFi TVL data without a subscription, especially in micro-payment contexts using x402 on Base or Solana. Ideal for agents that query TVL occasionally rather than continuously and want to avoid monthly API key costs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-28T12:38:20.669Z","isFirstParty":false,"canonicalSlug":"x402-defi-tvl-data-api-6f905a0a"}