{"uid":"cap_3WJpcCh57Ebtf9YEmr9Md","slug":"speraxos-defillama-get-chain-tvl-11170a5f","name":"SperaxOS DeFiLlama Get Chain TVL","description":"AI-powered DeFi intelligence APIs payable via the x402 HTTP payment protocol. No API key required — pay per request with USDC on Base. Identity-only (SIWX) endpoints are free for wallets with an agentcash identity.","url":"https://chat.sperax.io/api/x402/tools/defillama/getChainTvl?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":[],"properties":{},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6iNOt-SbBKcUHG2ccdZsZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0xD74f5255D557944cf7Dd0E45FF521520002D5748","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches the Total Value Locked (TVL) for a specific blockchain chain using DeFiLlama data, payable via x402 micropayment protocol.","exampleAgentPrompt":"What's the current total value locked on the Ethereum chain? Use the DeFiLlama chain TVL tool to pull the latest number.","exampleUseCases":[{"title":"Monitor chain TVL for DeFi research","prompt":"Can you grab the current TVL for Arbitrum from DeFiLlama so I can compare it to last month's figures for my DeFi market report?"},{"title":"Compare TVL across competing chains","prompt":"I want to know the total value locked on Base right now — pull it from the DeFiLlama chain TVL data so I can compare it with Optimism."},{"title":"Track DeFi health for portfolio management","prompt":"What's the current TVL on Avalanche? I'm deciding whether to increase my DeFi exposure there and want the latest on-chain data."}],"resultDescription":"Returns the current Total Value Locked (TVL) figure for the queried blockchain chain, sourced from DeFiLlama's aggregated DeFi protocol data. The response typically includes TVL in USD and may include historical snapshots or time-series data depending on the endpoint implementation.","failureModes":["Invalid or unrecognized chain name returns an error or empty result","Payment failure via x402 protocol if insufficient USDC balance on Base","Rate limiting or service unavailability from the underlying DeFiLlama API","Stale data if DeFiLlama indexing is delayed","Network timeout if the upstream DeFiLlama data source is slow to respond"],"whenToPreferThis":"Prefer this endpoint when you need real-time or near-real-time TVL data for a specific blockchain chain without managing API keys, and are comfortable with x402 micropayments in USDC on Base. It is ideal for AI agents operating in DeFi analytics workflows that need trustless, pay-per-use data access. Choose over direct DeFiLlama API access when operating in an x402-native payment context or when API key management is not feasible.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:44:17.702Z","isFirstParty":false,"canonicalSlug":"speraxos-defillama-get-chain-tvl-11170a5f"}