---
title: "Generate Celo private key"
method: POST
path: "/v3/celo/wallet/priv"
tags: ["Celo - Tatum API"]
---

# Generate Celo private key

`POST /v3/celo/wallet/priv`

/v3/celo/wallet/priv

**1 credit per API call**

Generate private key of address from mnemonic for given derivation path index. Private key is generated for the specific index - each mnemonic can generate up to 2^31 private keys starting from index 0 until 2^31.

## Request body

- PrivKeyRequest
  - `index` integer, required — Derivation index of private key to generate.
  - `mnemonic` string, required — Mnemonic to generate private key from.

## Response `200`

OK

- PrivKey
  - `key` string — Generated private key.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
- `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/versions/8622ee4b8fae/schema)
