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

# Generate Litecoin private key

`POST /v3/litecoin/wallet/priv`

## Request

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

/v3/litecoin/wallet/priv

#### 5 credits per API call.

  

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

  
Examples of using this endpoint with the Tatum JS SDK can be found in [Tatum LTC SDK](https://github.com/tatumio/tatum-js/tree/v2/examples/ltc-example/src/app/ltc.wallet.example.ts).

## 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.
- `403`: Forbidden. The request is authenticated, but it is not possible to required perform operation due to 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)
