---
title: "Generate a Bitcoin address from the wallet's extended public key"
method: GET
path: "/v3/bitcoin/address/{xpub}/{index}"
tags: ["Bitcoin - Tatum API"]
---

# Generate a Bitcoin address from the wallet's extended public key

`GET /v3/bitcoin/address/{xpub}/{index}`

/v3/bitcoin/address/{xpub}/{index}

**1 credit per API call**

Generate a Bitcoin address from the extended public key of the wallet. The address is generated for the specific index - each extended public key can generate up to 2^32 addresses with the index starting from 0 up to 2^31 - 1.

## Path parameters

- `xpub` string, required
- `index` number, required

## Response `200`

OK

- GeneratedAddressBtc
  - `address` string — Bitcoin address

## Other responses

- `400` — Bad Request
- `401` — Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
- `403` — Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.
- `500` — Internal server error. There was an error on the server during the processing of the request.

---

[API](https://skmtc.net/tatum/apis/blockchain-data.md) · [All operations](https://skmtc.net/tatum/apis/blockchain-data/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tatum/blockchain-data/revisions/8622ee4b8fae/schema)
