{"uid":"cap_HE_1bFWBsV6osR3ziiLoh","slug":"glassnode-lightning-network-gini-coefficient-channel-distribution-859977f5","name":"Glassnode Lightning Network Gini Coefficient (Channel Distribution)","description":"Lightning Network Gini Coefficient (Channel Distribution) — Lightning Network Gini Coefficient (Channel Distribution) is a statistical measure of how channel counts are distributed across nodes on the Lightning Network, used to monitor the degree of centralization and the potential risks associated with highly concentrated node influence. Data by Glassnode.","url":"https://x402.glassnode.com/v1/metrics/lightning/gini_channel_distribution","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"],"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_zBIK_6PZKM1CYlRYi7ydA","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 Gini coefficient measuring inequality in channel count distribution across Lightning Network nodes for Bitcoin, indicating network centralization levels.","exampleAgentPrompt":"Can you pull the latest Gini coefficient for Bitcoin Lightning Network channel distribution from Glassnode — I want to see how centralized node channel counts are right now?","exampleUseCases":null,"resultDescription":"Returns a JSON array of timestamped data points, each containing a Unix timestamp (t) and the Gini coefficient value (v) representing the inequality of channel distribution across Lightning Network nodes, where values closer to 1 indicate higher centralization and values closer to 0 indicate more even distribution.","failureModes":["Missing required 'a' query parameter (asset symbol) returns a 400 error","Unsupported asset symbol other than BTC may return an error or empty result","Payment failure or insufficient USDC balance returns a 402 Payment Required response","Rate limiting or quota exceeded may result in 429 Too Many Requests","Network timeout or upstream Glassnode data unavailability may return 503"],"whenToPreferThis":"Use this endpoint when you need to quantitatively assess the degree of centralization in the Bitcoin Lightning Network by examining how unevenly channel counts are distributed across nodes. Prefer this over general Lightning Network statistics when your use case specifically involves inequality measurement, centralization risk assessment, or Gini-based analytics from Glassnode's authoritative on-chain data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:10:59.581Z","isFirstParty":false}