{"uid":"cap_Y1Z4crHb4PdKj8_OoSCO7","slug":"api-web3identity-com-e45cabb7","name":"DefiLlama TVL Lookup for Uniswap","description":"Get Total Value Locked for a DeFi protocol from DefiLlama","url":"https://api.web3identity.com/api/defi/tvl/uniswap","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"tvl":{"type":"number"},"chains":{"type":"array"},"protocol":{"type":"string"}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{}}},"response":{"tvl":2894095234.463882,"cached":false,"source":"defillama","protocol":"uniswap","latencyMs":525,"timestamp":"2026-06-16T01:15:09.415Z"}},"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.010000","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.010000/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_T4eWiqRM-jvy9MlWoNtlt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","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) for the Uniswap DeFi protocol, sourced from DefiLlama","exampleAgentPrompt":"What's the current total value locked in Uniswap across all chains? Pull the latest TVL figure from DefiLlama.","exampleUseCases":[{"title":"Monitor DeFi protocol health dashboard","prompt":"Can you check Uniswap's total value locked right now and give me a quick summary? I want to see if there's been any major movement in liquidity across their chains today."},{"title":"Alert on TVL threshold breaches","prompt":"Pull the current TVL for Uniswap from DefiLlama and let me know if it's dropped below $3 billion. I need to track whether liquidity is flowing out of the protocol."},{"title":"Compare liquidity distribution by chain","prompt":"Get me Uniswap's TVL figures and break down which blockchain has the most locked value right now. I'm trying to understand where their liquidity is concentrated."}],"resultDescription":"Returns a JSON object containing the numeric TVL value in USD, the protocol name ('uniswap'), and an array of chains on which Uniswap has locked value.","failureModes":["DefiLlama upstream unavailable — returns 5xx or empty response","Protocol data temporarily stale — TVL may be slightly delayed","Rate limit exceeded if called at high frequency","Payment failure if x402 payment header is missing or invalid — returns 402"],"whenToPreferThis":"Use this endpoint when you need real-time or near-real-time TVL data specifically for Uniswap and want DefiLlama as the authoritative source. Prefer this over generic DeFi APIs when you need the TVL broken down by chain and trust DefiLlama's aggregation methodology.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:50:50.850Z","isFirstParty":false}