Skip to content

Quick Reference ​

Every LNbits API endpoint in one scannable table. Click any endpoint path to jump to its full documentation.

All paths are relative to your instance base URL (e.g. https://your-lnbits.com).

Auth levels: Admin = Admin key, Invoice = Invoice key, Bearer = JWT Bearer token, Super = Super User, None = no auth required.

Core - Wallets ​

MethodEndpointAuthDescription
GET/api/v1/walletInvoiceGet wallet details and balance
GET/api/v1/walletsBearerList all wallets for user
GET/api/v1/wallet/paginatedBearerList wallets with pagination
PUT/api/v1/walletAdminUpdate wallet name or currency
DELETE/api/v1/walletAdminDelete wallet permanently
PUT/api/v1/wallet/share/inviteAdminInvite user to share wallet
PUT/api/v1/wallet/shareBearerAccept a wallet share invite
DELETE/api/v1/wallet/share/invite/{id}BearerReject a wallet share invite

Core - Payments ​

MethodEndpointAuthDescription
POST/api/v1/paymentsInvoiceCreate a Lightning invoice
POST/api/v1/paymentsAdminPay a Lightning invoice
GET/api/v1/payments/{checking_id}InvoiceCheck payment status
GET/api/v1/paymentsInvoiceList payments
GET/api/v1/payments/paginatedInvoiceList payments with pagination
GET/api/v1/payments/historyInvoicePayment history by time group
GET/api/v1/payments/stats/countInvoicePayment count by tag
GET/api/v1/payments/stats/walletsBearerPer-wallet payment stats
GET/api/v1/payments/stats/dailyInvoiceDaily payment stats
PUT/api/v1/payments/{checking_id}AdminSettle a hold invoice
DELETE/api/v1/payments/{checking_id}AdminCancel a hold invoice

Core - Users & Accounts ​

MethodEndpointAuthDescription
POST/api/v1/authNoneLogin with username & password
POST/api/v1/auth/usrNoneLogin with user ID (legacy)
POST/api/v1/auth/nostrNoneLogin with Nostr (NIP-98)
POST/api/v1/auth/{provider}/tokenNoneOAuth login (Google, GitHub, Keycloak)
GET/api/v1/authBearerGet current user profile
POST/api/v1/auth/registerNoneRegister new account
PUT/api/v1/auth/meBearerUpdate profile
PUT/api/v1/auth/update-passwordBearerChange password
POST/api/v1/auth/reset-passwordNoneRequest password reset
DELETE/api/v1/auth/meBearerDelete account
GET/api/v1/auth/aclsBearerList ACLs
POST/api/v1/auth/aclsBearerCreate ACL
PUT/api/v1/auth/acls/{acl_id}BearerUpdate ACL
DELETE/api/v1/auth/acls/{acl_id}BearerDelete ACL
POST/api/v1/auth/acls/{acl_id}/tokensBearerGenerate ACL token
DELETE/api/v1/auth/acls/{acl_id}/tokens/{token_id}BearerRevoke ACL token

Core - Extensions ​

MethodEndpointAuthDescription
POST/api/v1/extensionBearerInstall extension
GET/api/v1/extension/{ext_id}/releasesBearerList available releases
GET/api/v1/extension/{ext_id}/detailsBearerGet extension details
PUT/api/v1/extension/{ext_id}BearerActivate or deactivate
DELETE/api/v1/extension/{ext_id}BearerUninstall extension
POST/api/v1/extension/{ext_id}/reviewsBearerSubmit review

Core - LNURL ​

MethodEndpointAuthDescription
GET/api/v1/lnurlscan/{code}InvoiceParse LNURL / Lightning Address
POST/api/v1/payments/lnurlAdminPay via LNURL-pay flow
POST/api/v1/lnurlauthAdminPerform LNURL-auth login

Core - Fiat & Rates ​

MethodEndpointAuthDescription
GET/api/v1/rate/{currency}NoneGet BTC exchange rate
GET/api/v1/currenciesNoneList supported currencies
GET/api/v1/rate/historyNoneHistorical exchange rates
POST/api/v1/conversionNoneConvert between units

Core - TinyURL ​

MethodEndpointAuthDescription
POST/api/v1/tinyurlInvoiceCreate a short URL
GET/api/v1/tinyurl/{tinyurl_id}InvoiceGet TinyURL details
DELETE/api/v1/tinyurl/{tinyurl_id}AdminDelete a TinyURL

Core - WebSockets ​

MethodEndpointAuthDescription
WS/api/v1/ws/{wallet_id}NoneReal-time payment events

Admin - Settings ​

MethodEndpointAuthDescription
GET/api/v1/admin/settingsSuperGet server settings
PUT/api/v1/admin/settingsSuperUpdate server settings

Admin - Users ​

MethodEndpointAuthDescription
GET/users/api/v1/userAdminList all users
GET/users/api/v1/user/{user_id}AdminGet user details
POST/users/api/v1/userAdminCreate user
PUT/users/api/v1/user/{user_id}AdminUpdate user
DELETE/users/api/v1/user/{user_id}SuperDelete user
PUT/users/api/v1/user/{user_id}/balanceAdminAdjust user balance

Admin - Top-up ​

MethodEndpointAuthDescription
PUT/api/v1/admin/topupSuperAdd balance to wallet

Admin - Extensions ​

MethodEndpointAuthDescription
GET/api/v1/admin/extensionsAdminList all extensions
POST/api/v1/admin/extensionsAdminEnable or disable extension
POST/api/v1/admin/extensions/installSuperInstall from manifest URL

Interactive API Docs

Every LNbits instance serves auto-generated interactive API documentation:

  • Swagger UI - https://your-lnbits.com/docs
  • ReDoc - https://your-lnbits.com/redoc

Use these to browse endpoints and test them directly from your browser.