---
title: "Generate a Bitcoin wallet"
method: GET
path: "/v3/bitcoin/wallet"
tags: ["Bitcoin - Tatum API"]
---

# Generate a Bitcoin wallet

`GET /v3/bitcoin/wallet`

## Request

- Base URL: `https://api.tatum.io`
- URL: `https://api.tatum.io/v3/bitcoin/wallet`
- Auth: API key in header `x-api-key`

/v3/bitcoin/wallet

**1 credit per API call**

Tatum supports BIP44 HD wallets. Because they can generate 2^31 addresses from 1 mnemonic phrase, they are very convenient and secure. A mnemonic phrase consists of 24 special words in a defined order and can restore access to all generated addresses and private keys.  
Each address is identified by 3 main values:

*   Private Key - your secret value, which should never be revealed
*   Public Key - public address to be published
*   Derivation index - index of generated address

Tatum follows BIP44 specification and generates for Bitcoin wallet with derivation path m'/44'/0'/0'/0. More about BIP44 HD wallets can be found here - [https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki](https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki). Generate BIP44 compatible Bitcoin wallet.

## Query parameters

- `mnemonic` string

## Response `200`

OK

- Wallet
  - `mnemonic` string, required: Generated mnemonic for wallet.
  - `xpub` string, required: Generated Extended public key for wallet with derivation path according to BIP44. This key can be used to generate addresses.

## 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.dev/tatum/apis/blockchain.md) - [All operations](https://skmtc.dev/tatum/apis/blockchain/llms.txt) - [OpenAPI document](https://skmtc.dev/tatum/apis/blockchain/revisions/f9623a85f420?raw)
