⚡ Lightning Address Details Proxy
This proxy exists to simplify requests to lightning address providers.
Many lightning addresses don't support CORS, which means fetching the data directly in a browser environment will not always work.
Two requests are required to retrieve LNURLp and Keysend data for a lightning address. The proxy will do these for you with a single request.
This doesn't require any authorization and is separate from the OAuth Clients
Endpoints
Get Info
https://api.getalby.com/lnurl/lightning-address-details
Request Invoice
https://api.getalby.com/lnurl/generate-invoice
Get Info
Returns the passed lightning address' LNURLp, Keysend and Nostr information.
GET
https://api.getalby.com/lnurl/lightning-address-details
Returns the Lightning Address' LNURLp, Keysend and Nostr information.
Query Parameters
Name | Type | Description |
---|---|---|
ln* | String | lightning address |
Request Invoice
Creates a new invoice to receive lightning payments.
GET
https://api.getalby.com/lnurl/generate-invoice
Creates a new invoice to receive lightning payments. Please refer to https://github.com/lnurl/luds (LUD-06, LUD-12, LUD-18) and any other LUD that extends the functionality of LUD-06 for more information on what parameters can be passed.
Query Parameters
Name | Type | Description |
---|---|---|
ln* | String | lightning address |
amount* | String | amount (in millisats) |
comment | String | HTTP encoded comment |
Last updated