---
title: "Generate Klaytn account address from Extended public key"
method: GET
path: "/v3/klaytn/address/{xpub}/{index}"
tags: ["Klaytn - Tatum API"]
---

# Generate Klaytn account address from Extended public key

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

## Request

- Base URL: `https://api.tatum.io`
- URL: `https://api.tatum.io/v3/klaytn/address/{xpub}/{index}`
- Auth: API key in header `x-api-key`

/v3/klaytn/address/{xpub}/{index}

**1 credit per API call**

Generate Klaytn account deposit address from Extended public key. Deposit address is generated for the specific index - each extended public key can generate up to 2^31 addresses starting from index 0 until 2^31.

## Path parameters

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

## Response `200`

OK

- object
  - `address` string: Klaytn address

## 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.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)
