{"uid":"cap_koGBISI39KkBqBIuOIYgf","slug":"defi-chain-tvl-ranking-lookup-c69813f1","name":"DeFi Chain TVL Ranking Lookup","description":"DeFi total value locked for agents: TVL of any protocol and TVL ranking of chains. Paid per call via x402 (USDC on Base).","url":"https://defi.x402utils.workers.dev/v1/chain?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["chain"],"properties":{"chain":{"type":"string","description":"chain name"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"name":"Base","rank":5,"tvl_usd":4000000000}},"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_VMH0VL2pm4ee3Pbl1YzBT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the total value locked (TVL) in USD and TVL rank for a specified blockchain chain in DeFi protocols.","exampleAgentPrompt":"What is the current total value locked and TVL ranking for the Base chain in DeFi?","exampleUseCases":[{"title":"Chain TVL ranking for investment research","prompt":"What is the TVL and ranking of Arbitrum in DeFi right now? I'm trying to compare it against other Layer 2s."},{"title":"Monitoring Base chain DeFi growth","prompt":"Can you check the current total value locked on Base and tell me its rank among all chains?"},{"title":"Comparing Ethereum DeFi dominance","prompt":"How much TVL does Ethereum have locked in DeFi, and what rank does it hold among all blockchains?"}],"resultDescription":"Returns a JSON object with the chain's name, its TVL rank among all chains, and its total value locked in USD (e.g. {\"name\":\"Base\",\"rank\":5,\"tvl_usd\":4000000000}).","failureModes":["Unknown or misspelled chain name returns an error or empty result","Chain with no tracked DeFi protocols may return zero TVL or not found","Rate limiting or payment failure via x402 if USDC balance is insufficient","Network timeout from upstream DeFi data provider"],"whenToPreferThis":"Use this endpoint when you need quick, per-call TVL data for a specific blockchain chain, including its rank among all chains. It is ideal for agents that need on-demand DeFi market intelligence without a subscription, paying micro-fees per query in USDC via x402. Prefer this over manual DeFi dashboard checks or bulk data pulls when you only need data for one chain at a time.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:36:23.525Z","isFirstParty":false,"canonicalSlug":"defi-chain-tvl-ranking-lookup-c69813f1"}