{"uid":"cap_zG8hT6YjqQ5Cq6xDpCWGX","slug":"x402-deployer-x402-deployer-workers-dev-68c43a2b","name":"DeFiLlama Protocol TVL Lookup","description":"DefiLlama protocol lookup — TVL, chain breakdown, current TVL, 24h/7d/30d changes, audits, parent protocol, categories. Free public API with attribution.","url":"https://x402-deployer.x402-deployer.workers.dev/defi-llama-protocol","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":{"required":["protocol"],"properties":{"protocol":{"type":"string","description":"DefiLlama slug (lowercase, hyphenated). Examples: 'aave', 'lido', 'uniswap', 'makerdao', 'curve-dex'. See defillama.com/protocols for the canonical slug list."},"include_tvl_series":{"type":"boolean","description":"If true, attach the full historical TVL time-series under tvl_summary.series. Adds significant payload size. Default false."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"url":{"type":"string"},"logo":{"type":"string"},"name":{"type":"string"},"chain":{"type":"null"},"audits":{"type":"null"},"symbol":{"type":"string"},"twitter":{"type":"string"},"category":{"type":"null"},"attribution":{"type":"string"},"audit_links":{"type":"array"},"description":{"type":"string"},"tvl_summary":{"type":"object","properties":{"change_7d_pct":{"type":"number"},"change_24h_pct":{"type":"number"},"change_30d_pct":{"type":"number"}}},"protocol_slug":{"type":"string"},"current_tvl_usd":{"type":"integer"},"parent_protocol":{"type":"null"},"chain_tvl_breakdown":{"type":"object","properties":{"Polygon":{"type":"integer"},"Arbitrum":{"type":"integer"},"Ethereum":{"type":"integer"}}}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.020000","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.020000/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ijd5FmcNrogkuoXaIcWr-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches TVL, chain breakdown, 24h/7d/30d changes, audit info, categories, and parent protocol for any DeFi protocol via DeFiLlama.","exampleAgentPrompt":"Can you look up the current TVL for Uniswap on DeFiLlama, including its chain breakdown and how much the TVL has changed over the past 24 hours, 7 days, and 30 days?","exampleUseCases":null,"resultDescription":"Returns the protocol's current total value locked (TVL), a breakdown of TVL across individual chains, percentage changes over 24h/7d/30d periods, associated categories (e.g. DEX, lending), audit records, and parent protocol if applicable.","failureModes":["Unknown or misspelled protocol slug returns 404 or empty result","Protocol not indexed by DeFiLlama returns no data","Upstream DeFiLlama API unavailable causes timeout or 5xx error","Rate limiting or payment failure returns 402 or 429"],"whenToPreferThis":"Use this endpoint when you need structured DeFiLlama TVL data for a specific DeFi protocol including chain-level breakdowns, historical change metrics, audit status, and category tags — especially when you want a single paid, reliable API call rather than scraping DeFiLlama directly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:45:35.236Z","isFirstParty":false}