API Reference
Bitcoin Onchain
List addresses [GET]

List Addresses

https://sandboxapi.bitnob.co/api/v1/addresses (opens in a new tab)

List all address generated by your account


Request

Bitcoin onchain/ List Addresses
curl --request GET \
     --url https://sandboxapi.bitnob.co/api/v1/addresses \
     --header 'Authorization: Bearer API-KEY' \
     --header 'accept: application/json'

Responses

🟢 200 - Result example
{
"status": true,
"message": "successfully fetched all addresses",
"data": {
  "address": [
    {
      "id": "683779e1-317b-446b-90bc-31c116fd7511",
      "createdAt": "2021-07-29T10:21:19.925Z",
      "updatedAt": "2021-07-29T10:21:19.925Z",
      "address": "tb1qzvcyd99wzh3nce47lux7hj2wv9qxvlftghhg5s",
      "label": "purchase xbox",
      "addressType": "bech32",
      "network": "bitcoin",
      "hasTransactions": false,
      "assigned": true,
      "companyId": "1488d625-6c7a-4dec-a79c-9f009461ac8e",
      "customerId": "0492fbaf-5b50-4b74-9492-a9842e7dc34a"
    },
    {
      "id": "ece279ab-6d6d-4621-8700-72886229e902",
      "createdAt": "2021-07-29T10:36:41.152Z",
      "updatedAt": "2021-07-29T10:36:41.152Z",
      "address": "tb1qj0vrfl49e9me3j24x05sj7gx3pnpd28hlyq6dr",
      "label": "purchase xbox",
      "addressType": "bech32",
      "network": "bitcoin",
      "hasTransactions": false,
      "assigned": true,
      "companyId": "1488d625-6c7a-4dec-a79c-9f009461ac8e",
      "customerId": "0492fbaf-5b50-4b74-9492-a9842e7dc34a"
    }
  ],
  "meta": {
    "page": 1,
    "take": 10,
    "itemCount": 2,
    "pageCount": 1,
    "hasPreviousPage": false,
    "hasNextPage": false
  }
}
}