{"uid":"cap_Y0QaRL7kGqaEcPpRmRD8t","slug":"beggar-bot-lightning-network-fee-lookup-d9bf61b7","name":"Beggar Bot Lightning Network Fee Lookup","description":"Paid: /v1/verify, /v1/risk, /v1/receipt cost $0.01 USDC per call on Base mainnet via x402 (payTo 0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7); utilities analyze Base mainnet (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) by default, network=base-sepolia optional; /v1/receipt/verify and discovery files are free. Operator: Beggar Bot.","url":"https://beggar-bot-demand.beggarbot.workers.dev/v1/lnfees?utm_source=zero.xyz","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"limit":{"type":"string","description":"rows (25)"},"pages":{"type":"string","description":"10-channel pages (5)"},"pubkey":{"type":"string","description":"66-hex node pubkey"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/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_VziwjZCfeXyqgo1xwFFQC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches Lightning Network routing fee data for Bitcoin nodes on the Lightning Network, with optional filtering by node pubkey and pagination controls","exampleAgentPrompt":"Can you fetch the Lightning Network routing fees for node pubkey 02eec7245d6b7d2ccb30380bfbe2a3648cd7a942653f5aa340edcea1f283686619, showing 25 rows across 5 channel pages?","exampleUseCases":[{"title":"Node operator fee benchmarking","prompt":"Pull the Lightning Network fee data for my node pubkey 03a9d79bcfab7feb0f24c3cd61a272f7c684e5e8db7c4f8b8def0a48cf26c9a37f — give me 25 rows and check 5 pages so I can see how my routing fees compare to others."},{"title":"Routing path cost analysis","prompt":"I'm building a Lightning payment route and need to check the fees charged by node 02f6725f9c1c40333b67faea92fd211c183050f28df32cac3f9d69685fe9665432. Can you grab the fee data for it, 25 rows per page?"},{"title":"Lightning node fee monitoring","prompt":"Every hour, fetch the current routing fees for Lightning node 030c3f19d742ca294a55c00376b3b355c3c90d61c6b6b39554dbc7ac19b141c14 with 25 rows and 3 pages so I can track if the fee schedule changes over time."}],"resultDescription":"Returns a JSON response containing Lightning Network routing fee records for the queried node or general network, including per-channel fee data, with pagination controlled by limit and pages parameters.","failureModes":["Invalid or malformed pubkey returns an error response","Exceeding pagination limits may return partial or empty results","Payment not received (x402 flow not completed) results in 402 Payment Required","Network unavailability on the Cloudflare Workers edge returns 5xx errors","Missing required method parameter returns a validation error"],"whenToPreferThis":"Use this endpoint when you need to look up Lightning Network routing fees for a specific node or across the broader LN graph, especially when you want paginated channel-level fee data. It is purpose-built for Lightning fee analysis rather than general Bitcoin blockchain queries or Base/EVM chain operations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T18:43:35.319Z","isFirstParty":false,"canonicalSlug":"beggar-bot-lightning-network-fee-lookup-d9bf61b7"}