Find a constant crypto address for deposit [Private]

Find a constant crypto address that you can use to deposit into your account.

📘

To call any private endpoint, headers should include authorization key(s).

You may use a single API key or a public-private key pair based on your current tasks. Here you may find typical Header configurations for both options.

Method name:/v4/deposit/private/crypto/address
Request type:GET

Data dictionary

NameTypeParameter typeRequiredRangeDescription
sourcestringQUERYYES-Blockchain name for which you want to get the address to deposit into the account, e.g. BTC, ETH, TRX.

📘

source for TRC20 and ERC20 tokens:

USDT TRC20 and other TRC20 tokens - TRX.
USDT ERC20 and other ERC20 tokens - ETH.

You can learn more about all the blockchains in our knowledge base.

Exemplary request

Example pathDescription
/v4/deposit/private/crypto/address?source=BTCReturns your deposit address for BTC.
/v4/deposit/private/crypto/address?source=TRXReturns your deposit address for TRX and TRC20 tokens.
/v4/deposit/private/crypto/address?source=ETHReturns your deposit address for ETH and ERC20 tokens.
const apiKey = "YOUR_API_KEY"; // put here your Api key

const url = "https://api.kuna.io";
const path = "/v4/deposit/private/crypto/address?source=BTC";
const options = {
  method: "GET",
  headers: {
    accept: "application/json",
    "Content-Type": "application/json",
    "api-key": apiKey,
  },
};

fetch(url + path, options)
    .then((response) => response.json())
    .then((showResponse) => console.log(showResponse.data));
import requests

api_key = "YOUR_API_KEY"  # put here your Api key

url = "https://api.kuna.io"
path = "/v4/deposit/private/crypto/address?source=BTC"
headers = {
    "accept": "application/json",
    "Content-Type": "application/json",
    "api-key": api_key,
}

request = requests.get(url + path, headers=headers)
print(request.json()))

How to call private endpoints here

Swagger here

Response

{
  "id": "c52b6646-fb91-4760-b147-a4f952e8652c",             // ID of the address.
  "source": "BTC",                                          // Blockchain name for which you want to get the address to deposit into the account.
  "address": "bc1qm6xfv0qsaaanx0egn6hca5vgsd4r7ak9ttha2a"   // Your deposit address
}