{"uid":"cap_DdWicmfZp6UrID1T0PIEi","slug":"nostr-halowerk-com-lnurl-invoice-resolver-87225e7b","name":"nostr.halowerk.com LNURL Invoice Resolver","description":"Accepts three forms of recipient. A bech32 lnurl is decoded to its callback URL, a Lightning address is resolved through the well-known lnurlp path, and a Nostr public key is resolved by reading its kind 0 profile from relays and taking the lud16 or lud06 field it publishes.","url":"https://nostr.halowerk.com/lnurl-invoice","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"relays":{"type":"array","items":{"type":"string"},"maxItems":12,"description":"wss relay addresses used only when the recipient is a Nostr public key."},"comment":{"type":"string","maxLength":500,"description":"Comment for the payment. Only sent if the service allows comments and only up to the length it allows."},"recipient":{"type":"string","description":"lnurl1… string, Lightning address name@domain, or a Nostr public key as hex, npub or nprofile."},"amount_sats":{"type":"integer","maximum":100000000,"minimum":1,"description":"Amount in satoshi. Must lie within the limits the service declares."},"zap_request":{"type":"object","description":"A signed NIP-57 kind 9734 zap request. Only sent if the service declares allowsNostr."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RKMOPVUHAPsovIOMBRYMC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves a recipient (bech32 LNURL, Lightning address, or Nostr public key) to a Lightning invoice by fetching the appropriate LNURL callback and returning a payable invoice.","exampleAgentPrompt":"Look up the Lightning invoice for Nostr public key npub1abc123... for 100000 millisatoshis by reading their kind 0 profile from relays and resolving their lud16 Lightning address.","exampleUseCases":[{"title":"Pay a Nostr user via their profile","prompt":"I want to send a tip to the Nostr user with public key npub1xyz789... — can you get me a Lightning invoice for 21000 millisatoshis by resolving their profile's Lightning address?"},{"title":"Resolve a Lightning address to invoice","prompt":"Get me a payable Lightning invoice for the Lightning address user@domain.com for 50000 millisatoshis."},{"title":"Decode bech32 LNURL to invoice","prompt":"I have this bech32 LNURL: lnurl1dp68gurn8ghj7... — can you decode it and generate a Lightning invoice for 10000 millisatoshis?"}],"resultDescription":"A Lightning Network payment request (invoice) string that can be paid immediately, derived by resolving the recipient's LNURL callback URL, Lightning address well-known path, or Nostr kind 0 profile lud16/lud06 field.","failureModes":["Nostr public key has no lud16 or lud06 field in kind 0 profile — returns resolution error","Relay lookup fails or returns no kind 0 event for the given public key","Invalid or malformed bech32 LNURL input — decoding fails","Lightning address domain's well-known LNURL path is unreachable or returns an error","LNURL callback server returns an error or invalid invoice","Amount outside min/max sendable range specified by the LNURL endpoint"],"whenToPreferThis":"Use this endpoint when you need to obtain a Lightning invoice for a recipient identified by a Nostr public key, a Lightning address (user@domain.com), or a raw bech32 LNURL string. It is the right choice when you want a single endpoint that handles all three LNURL recipient formats, especially when the recipient is a Nostr user whose Lightning info is embedded in their kind 0 profile on relays.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:34:45.224Z","isFirstParty":false}