Account

Generate new Bitcoin address

https://api.lnmarkets.com/v3
POST/account/address/bitcoinPrivate

Generates a new, unused Bitcoin address. If no format is provided, the address will be generated in the format specified in the user's settings.

Request Body

application/json
formatp2wpkh | p2tr

The format of the address

p2wpkhp2tr
{
  "format": "p2wpkh"
}

Response

address*string

The generated Bitcoin address

createdAt*string (date-time)Format date-time

The creation time of the address

{
  "address": "bc1q...",
  "createdAt": "2026-09-12T10:28:26.638Z"
}