Convert callback URLs or Lightning Addresses into LNURL strings — 5 sats
Encode a callback URL into a bech32 lnurl1... string. You can pass either a direct URL or a Lightning Address to derive and encode its LNURLp URL automatically.
5 sats via L402.
curl -X POST https://maximumsats.com/api/lnurl-encode \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com/.well-known/lnurlp/max"}'
{
"ok": true,
"source": "url",
"url": "https://example.com/.well-known/lnurlp/max",
"lnurl": "lnurl1..."
}