curl --request POST \
--url https://api.kraken.com/0/private/DepositAddresses \
--header 'API-Key: <api-key>' \
--header 'API-Sign: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"nonce": 1695828271,
"asset": "XBT",
"method": "Bitcoin",
"new": true
}
'import requests
url = "https://api.kraken.com/0/private/DepositAddresses"
payload = {
"nonce": 1695828271,
"asset": "XBT",
"method": "Bitcoin",
"new": True
}
headers = {
"API-Key": "<api-key>",
"API-Sign": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'API-Key': '<api-key>',
'API-Sign': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({nonce: 1695828271, asset: 'XBT', method: 'Bitcoin', new: true})
};
fetch('https://api.kraken.com/0/private/DepositAddresses', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.kraken.com/0/private/DepositAddresses"
payload := strings.NewReader("{\n \"nonce\": 1695828271,\n \"asset\": \"XBT\",\n \"method\": \"Bitcoin\",\n \"new\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("API-Key", "<api-key>")
req.Header.Add("API-Sign", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"error": [],
"result": [
{
"address": "2N9fRkx5JTWXWHmXzZtvhQsufvoYRMq9ExV",
"expiretm": "0",
"new": true
},
{
"address": "2NCpXUCEYr8ur9WXM1tAjZSem2w3aQeTcAo",
"expiretm": "0",
"new": true
},
{
"address": "2Myd4eaAW96ojk38A2uDK4FbioCayvkEgVq",
"expiretm": "0"
},
{
"address": "rLHzPsX3oXdzU2qP17kHCH2G4csZv1rAJh",
"expiretm": "0",
"new": true,
"tag": "1361101127"
},
{
"address": "krakenkraken",
"expiretm": "0",
"memo": "4150096490"
}
]
}Get Deposit Addresses
This endpoint will remain active but will no longer receive updates. It’s highly recommended to migrate to the Funding (Beta) API — see the Funding guide and API reference.
Retrieve (or generate a new) deposit addresses for a particular asset and method.
API Key Permissions Required: Funds permissions - Query
curl --request POST \
--url https://api.kraken.com/0/private/DepositAddresses \
--header 'API-Key: <api-key>' \
--header 'API-Sign: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"nonce": 1695828271,
"asset": "XBT",
"method": "Bitcoin",
"new": true
}
'import requests
url = "https://api.kraken.com/0/private/DepositAddresses"
payload = {
"nonce": 1695828271,
"asset": "XBT",
"method": "Bitcoin",
"new": True
}
headers = {
"API-Key": "<api-key>",
"API-Sign": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'API-Key': '<api-key>',
'API-Sign': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({nonce: 1695828271, asset: 'XBT', method: 'Bitcoin', new: true})
};
fetch('https://api.kraken.com/0/private/DepositAddresses', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.kraken.com/0/private/DepositAddresses"
payload := strings.NewReader("{\n \"nonce\": 1695828271,\n \"asset\": \"XBT\",\n \"method\": \"Bitcoin\",\n \"new\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("API-Key", "<api-key>")
req.Header.Add("API-Sign", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"error": [],
"result": [
{
"address": "2N9fRkx5JTWXWHmXzZtvhQsufvoYRMq9ExV",
"expiretm": "0",
"new": true
},
{
"address": "2NCpXUCEYr8ur9WXM1tAjZSem2w3aQeTcAo",
"expiretm": "0",
"new": true
},
{
"address": "2Myd4eaAW96ojk38A2uDK4FbioCayvkEgVq",
"expiretm": "0"
},
{
"address": "rLHzPsX3oXdzU2qP17kHCH2G4csZv1rAJh",
"expiretm": "0",
"new": true,
"tag": "1361101127"
},
{
"address": "krakenkraken",
"expiretm": "0",
"memo": "4150096490"
}
]
}Authorizations
The "API-Key" header should contain your API key.
Authenticated requests should be signed with the "API-Sign" header, using a signature generated with your private key, nonce, encoded payload, and URI path.
Body
Nonce used in construction of API-Sign header
Asset being deposited
Name of the deposit method
Asset class being deposited
currency, tokenized_asset Whether or not to generate a new address
Amount you wish to deposit (only required for method=Bitcoin Lightning)
Was this page helpful?