{"uid":"cap_pt5rOYOjyQCOhhYlVGzUJ","slug":"glassnode-lightning-network-base-fee-median-9e317222","name":"Glassnode Lightning Network Base Fee (Median)","description":"Lightning Network Base Fee (Median) — The median base fee in the Lightning Network in Satoshi, derived from the channel graph. Data by Glassnode.","url":"https://x402.glassnode.com/v1/metrics/lightning/base_fee_median","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_6bKsDx-ZNDtgpvwJuWiwU","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 median base fee in the Bitcoin Lightning Network in Satoshis, derived from the channel graph.","exampleAgentPrompt":"Pull the latest daily median base fee for the Bitcoin Lightning Network from Glassnode — give me the result in native Satoshis as JSON.","exampleUseCases":null,"resultDescription":"An array of time-series data points, each containing a Unix timestamp (t) and the median base fee value in Satoshis (v), representing the median base fee across Lightning Network channels at the given 24h interval.","failureModes":["Missing required 'a' (asset) parameter returns a 400 Bad Request","Invalid asset symbol (non-BTC) returns an error since only BTC is supported","Insufficient payment or failed x402 payment flow results in a 402 Payment Required","Unauthorized or expired payment token returns 401/403","Network timeout or upstream Glassnode data unavailability returns 503","Invalid query parameter enum values (e.g. unsupported interval) return 400"],"whenToPreferThis":"Use this endpoint when you need time-series data on the median base fee of the Bitcoin Lightning Network, specifically sourced from Glassnode's channel graph analysis. Prefer this over general blockchain fee APIs when you need Lightning-specific routing fee data (not on-chain miner fees), and when you want Glassnode's authoritative data with a per-call micropayment model via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:12:44.844Z","isFirstParty":false}