Account

Get information regarding the user's account.

Get value4value information

Scope needed: account:read

Returns the user's Lightning Address and keysend information.

GET https://api.getalby.com/user/value4value

Returns the user's Lightning Address and keysend information

{
  "keysend_pubkey": "02740d5d0e3b2d4d9e313423587a01e8122f9c6e8717e36ff388a170bdcb8c1e7e",
  "keysend_custom_key": "696969",
  "keysend_custom_value": "01wDdDkTsaRuNTAJzXiW",
  "lightning_address": "[email protected] (if the user has a lightning address configured)"
}

Get account balance

Scope needed: balance:read

Returns the balance of the user's wallet.

GET https://api.getalby.com/balance

Returns the balance of the user's wallet.

Get account summary

Scope needed: balance:read

Returns the balance, incoming/outgoing transaction count, boostagram count

GET https://api.getalby.com/user/summary

Returns the balance, incoming/outgoing transaction count, boostagram count

Get personal information

Get the user's e-mail address, display name, avatar, nostr pubkey, and value4value information.

GET https://api.getalby.com/user/me

Get the user's e-mail address, display name, avatar, nostr pubkey, and value4value information.

Last updated

Was this helpful?