{"uid":"cap_9bpZfeykQ50lE_aICYhee","slug":"glassnode-lightning-network-capacity-sum-899a442c","name":"Glassnode Lightning Network Capacity Sum","description":"Lightning Network Capacity — The total amount locked in the Lightning Network. Data by Glassnode.","url":"https://x402.glassnode.com/v1/metrics/lightning/network_capacity_sum","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":["BTC"],"type":"string","description":"Asset symbol, e.g. BTC, ETH"},"c":{"enum":["native","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_UtvpMJzTltydk-qdPbPQo","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 total BTC amount locked in the Lightning Network as a time series metric via Glassnode on-chain analytics.","exampleAgentPrompt":"Can you pull the total BTC capacity locked in the Lightning Network right now? I want the Glassnode metric in native BTC denomination at 24h resolution.","exampleUseCases":null,"resultDescription":"An array of time-series data points, each containing a Unix timestamp (t) and the total BTC value locked in the Lightning Network (v) at that point in time. Data is sourced from Glassnode and denominated in native BTC or USD depending on the 'c' parameter.","failureModes":["Missing required 'a' parameter (asset) returns a 400 validation error","Invalid enum value for interval, currency, or format returns an error","Payment not included or insufficient USDC balance results in a 402 Payment Required response","Rate limiting may occur if called excessively without valid payment","Data may be delayed or unavailable for very recent timestamps"],"whenToPreferThis":"Use this endpoint when you need authoritative, time-series data on the total BTC locked in the Bitcoin Lightning Network sourced from Glassnode's on-chain analytics. Prefer this over generic crypto APIs when you need reliable, research-grade layer-2 capacity metrics specifically for Lightning Network analysis, trend monitoring, or building dashboards tracking Lightning adoption.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:11:14.627Z","isFirstParty":false}