{"uid":"cap_zvozRZ5EkjijFKQNnH7xq","slug":"glassnode-defi-total-value-locked-tvl-d8df8e8f","name":"Glassnode DeFi Total Value Locked (TVL)","description":"Total Value Locked in DeFi (TVL) — Total Value Locked in DeFi (TVL) is the total value locked across all of DeFi. Equivalently, the dollar-denominated balance of crypto assets deployed as collateral, liquidity, or working capital inside on-chain financial protocols. Data by Glassnode.","url":"https://x402.glassnode.com/v1/metrics/defi/total_value_locked","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"],"type":"string"},"queryParams":{"type":"object","required":["a"],"properties":{"a":{"enum":["ETH"],"type":"string","description":"Asset symbol, e.g. BTC, ETH"},"c":{"enum":["usd"],"type":"string","description":"Currency for denominated values, e.g. usd, native"},"f":{"enum":["csv","json"],"type":"string","description":"Response format: json or csv"},"i":{"enum":["24h"],"type":"string","description":"Time interval / resolution, e.g. 24h, 1w, 1month"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"array","items":{"type":"object","properties":{"t":{"type":"number"},"v":{"type":"number"}}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JJD8zb-ZFuQHB32TdZcZF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the time-series of total value locked (TVL) across all DeFi protocols in USD, sourced from Glassnode on-chain data.","exampleAgentPrompt":"Pull the Glassnode DeFi total value locked metric for ETH in USD at daily (24h) resolution and give me the most recent data points as JSON.","exampleUseCases":[{"title":"Monitor DeFi market health dashboard","prompt":"Fetch the last 90 days of total DeFi TVL data at daily resolution and tell me the current figure plus the trend—is it growing or shrinking compared to last month?"},{"title":"Alert on significant DeFi liquidity drops","prompt":"Get the DeFi TVL time series for the past week at 6-hour intervals and flag if the value has dropped more than 10% from the peak—I need to know immediately if there's a major drawdown."},{"title":"Analyze DeFi capital deployment cycles","prompt":"Pull historical DeFi TVL data going back 12 months at weekly resolution, then show me the quarterly totals so I can understand seasonal patterns in how much crypto stays locked across protocols."}],"resultDescription":"An array of time-series objects each containing a Unix timestamp ('t') and the corresponding TVL value ('v') denominated in USD, representing total crypto assets locked across all DeFi protocols at the requested interval.","failureModes":["Missing required 'a' (asset) query parameter returns a 400 error","Unsupported asset symbol outside allowed enum returns validation error","Payment not provided or insufficient USDC balance returns HTTP 402","Network or upstream Glassnode data unavailability returns 5xx error","Invalid format parameter returns response format error"],"whenToPreferThis":"Use this endpoint when you need authoritative, on-chain DeFi TVL data sourced directly from Glassnode — the industry standard for blockchain analytics. Prefer this over generic DeFi dashboards when you need structured time-series data programmatically, want Glassnode's methodology for calculating collateral and liquidity locked in DeFi protocols, or need to feed TVL data into downstream analytics or monitoring workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:40:53.002Z","isFirstParty":false}