{"uid":"cap_kkjSL6cdfuYFnHYY4R8VF","slug":"2s-defi-tvl-lookup-f29c68b4","name":"2s DeFi TVL Lookup","description":"DeFi total-value-locked (TVL) metrics via DefiLlama. With no params, returns the top protocols by TVL (name, slug, category, TVL, 1-day and 7-day % change, chains) plus total DeFi TVL across all chains. Pass protocol=<slug> (e.g. lido, aave, uniswap) for a single protocol's TVL, category, momentum, and chains; or chain=<name> (e.g. ethereum, solana, arbitrum) for that chain's TVL. Distinct from crypto.markets/token-price (spot prices) — this is protocol- and chain-level capital locked in DeFi, which an agent can't know from training. Free, keyless.","url":"https://2s.io/api/crypto/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","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"properties":{"chain":{"type":"string","description":"Chain name (e.g. ethereum, solana) for chain TVL."},"limit":{"type":"integer","description":"Top-list size (1–100, default 20)."},"protocol":{"type":"string","description":"Protocol slug (e.g. lido, aave). Omit for the top list."}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"limit":10}}},"response":{"data":{"ok":true,"meta":{"mode":"top","totalTvl":73578357840.75697},"items":[{"tvl":15592660499.567255,"name":"Lido","slug":"lido","chains":["Ethereum","Solana","Moonbeam","Moonriver","Terra"],"category":"Liquid Staking","change1d":-3.4674683721650297,"change7d":7.553730856382373,"tokenSymbol":null},{"tvl":12790015289.855297,"name":"SSV Network","slug":"ssv-network","chains":["Ethereum"],"category":"Staking Pool","change1d":-3.1188463537475997,"change7d":6.681770880895854,"tokenSymbol":null},{"tvl":12356515819.186897,"name":"Aave V3","slug":"aave-v3","chains":["Ethereum","Plasma","Arbitrum","Base","Avalanche","Binance","Polygon","Mantle","MegaETH","X Layer","xDai","Optimism","Linea","Sonic","Celo","Scroll","zkSync Era","Metis","Soneium","Fantom","Harmony"],"category":"Lending","change1d":-2.3429408608197804,"change7d":7.884188349401455,"tokenSymbol":null},{"tvl":7638588613.004228,"name":"LayerZero V2","slug":"layerzero-v2","chains":["Ethereum","Base","Arbitrum","Abstract","Polygon","Avalanche","Stable","Binance","Hemi","Plasma","Hyperliquid L1","Citrea","Flare","Fraxtal","Celo","Mantle","Berachain","Fantom","Optimism","Katana","zkSync Era","Metis","RSK","Astar","TAC","Peaq","Ink","Blast","Mode","Sonic","Scroll","Nibiru","Monad","xDai","X Layer","Plume Mainnet","Kava","Flow","Op_Bnb","World Chain","Tempo","Soneium","Harmony","Unichain","Taiko","Hedera","Manta","Moonriver","Lisk","Goat","Morph","MegaETH","Conflux","XDC","BOB","Swellchain","Sei","Linea","Klaytn","Canto"],"category":"Bridge","change1d":0.4805277309332041,"change7d":2.5287368226839106,"tokenSymbol":null},{"tvl":7332122245.940931,"name":"WBTC","slug":"wbtc","chains":["Bitcoin"],"category":"Bridge","change1d":-2.235873310942594,"change7d":3.997761222117745,"tokenSymbol":null},{"tvl":6990008696.174452,"name":"Morpho Blue","slug":"morpho-blue","chains":["Ethereum","Base","Hyperliquid L1","Monad","Katana","Flare","World Chain","Arbitrum","Sei","Stable","Plume Mainnet","Tempo","Optimism","Citrea","Etherlink","Polygon","Unichain","Hemi","Celo","TAC","Klaytn","Abstract","Lisk","Soneium","Scroll","Fraxtal","Corn","Sonic","Binance","0G","Botanix","Arc","Ink","Bitlayer","Zircuit","Mode","Linea","xDai"],"category":"Lending","change1d":-1.7512335604904763,"change7d":9.910700878723588,"tokenSymbol":null},{"tvl":6536971279.098831,"name":"Binance staked ETH","slug":"binance-staked-eth","chains":["Ethereum","Binance"],"category":"Liquid Staking","change1d":-1.820868450206902,"change7d":8.584834393599522,"tokenSymbol":null},{"tvl":5938220763.643346,"name":"Hyperliquid Bridge","slug":"hyperliquid-bridge","chains":["Hyperliquid L1","Arbitrum"],"category":"Bridge","change1d":0.3038663951282956,"change7d":4.252621878441019,"tokenSymbol":null},{"tvl":5762073355.790414,"name":"Sky Lending","slug":"sky-lending","chains":["Ethereum"],"category":"CDP","change1d":-1.6664499418140508,"change7d":0.7006748599255559,"tokenSymbol":null},{"tvl":5475781404.081956,"name":"Coinbase Bridge","slug":"coinbase-bridge","chains":["Bitcoin","Ripple","Doge","Litecoin","Cardano"],"category":"Bridge","change1d":-2.417584015216832,"change7d":3.368714938968779,"tokenSymbol":null}],"total":10,"source":{"url":"https://defillama.com","license":"DefiLlama open API (free). Attribution appreciated.","provider":"DefiLlama"}},"meta":{"cost":{"usd":0.0018,"tier":0},"caller":"x402","version":null,"endpoint":"crypto.defi","settlement":{"txHash":"0xb285a23274b026a848af1274dcf5e5cd17cd9303a7cf32022d1f42be7e6079b2","network":"eip155:8453","success":true}}}},"exampleRequest":{"limit":10},"tags":["x402"],"displayCostAmount":"0.0018","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.0018/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0045","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0045","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_T8exmQWasbOOZp9eijceF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0045","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns DeFi protocol TVL data, rankings, and chain-level breakdowns sourced from DefiLlama","exampleAgentPrompt":"What's the current TVL of Lido and how has it changed over the last 7 days? Also show me the top 10 DeFi protocols by TVL on Ethereum.","exampleUseCases":null,"resultDescription":"Returns a JSON object with ok status, metadata (mode, totalTvl), an items array of matching protocols (each with tvl, name, slug, chains, category, 1d/7d change, tokenSymbol), total count, and source attribution (DefiLlama URL, license, provider).","failureModes":["Invalid protocol slug returns empty items array or error","Chain name not recognized returns empty results","Limit out of range (>100 or <1) may return error or default","Missing required queryParams may return error or default top-list","Network or upstream DefiLlama outage causes failed response with ok:false"],"whenToPreferThis":"Use this endpoint when you need real-time, ground-truth DeFi TVL data for specific protocols or chains, or want ranked lists of top DeFi protocols by TVL — especially when you need no signup, no API key, and pay-per-call pricing via USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:20:24.723Z","isFirstParty":false}