{"uid":"cap_Ngj9SWJ_OgJ6I2pmDtlaI","slug":"beggar-bot-v1-lncountry-lightning-network-country-lookup-aa528832","name":"Beggar Bot /v1/lncountry – Lightning Network Country 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/lncountry?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"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_mzV9qMrC5R6NIGG0GDeMY","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":"Returns Lightning Network country or region data for a given query, served over x402 micropayment on Base mainnet","exampleAgentPrompt":"Can you look up the country information for a Lightning Network entity using the Beggar Bot lncountry endpoint on Base mainnet?","exampleUseCases":[{"title":"Lightning node geographic enrichment","prompt":"I need to find what country this Lightning Network node is based in — can you query the Beggar Bot lncountry endpoint and tell me the result?"},{"title":"LN compliance country check","prompt":"Before we route a payment through this Lightning node, can you check its associated country using the lncountry lookup so I can flag any restricted jurisdictions?"},{"title":"LN analytics pipeline enrichment","prompt":"For my Lightning Network analytics dashboard, can you query the lncountry API to enrich each node entry with its country metadata on Base mainnet?"}],"resultDescription":"A JSON object containing country or geographic region data associated with the queried Lightning Network entity, returned after a $0.02 USDC x402 micropayment on Base mainnet.","failureModes":["Payment not received or insufficient USDC balance returns 402 Payment Required","Invalid or missing properties parameter returns an error or empty result","Network parameter set to unsupported value returns an error","Rate limiting or Cloudflare Worker timeout returns 5xx error","Malformed JSON response if properties schema is incorrect"],"whenToPreferThis":"Use this endpoint when you need to resolve country or geographic metadata for a Lightning Network node or address and are already operating within the x402 micropayment ecosystem on Base mainnet. Prefer this over manual node lookups when automating LN compliance checks or geographic enrichment pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T18:44:02.852Z","isFirstParty":false,"canonicalSlug":"beggar-bot-v1-lncountry-lightning-network-country-lookup-aa528832"}