Get withdraw addresses
curl --request POST \
--url https://api.kraken.com/0/private/WithdrawAddresses \
--header 'API-Key: <api-key>' \
--header 'API-Sign: <api-key>' \
--header 'Content-Type: application/json' \
--header 'x-vault-id: <x-vault-id>' \
--data '
{
"nonce": 123,
"aclass": "currency",
"asset": "<string>",
"method": "<string>",
"key": "<string>",
"verified": true
}
'import requests
url = "https://api.kraken.com/0/private/WithdrawAddresses"
payload = {
"nonce": 123,
"aclass": "currency",
"asset": "<string>",
"method": "<string>",
"key": "<string>",
"verified": True
}
headers = {
"x-vault-id": "<x-vault-id>",
"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: {
'x-vault-id': '<x-vault-id>',
'API-Key': '<api-key>',
'API-Sign': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
nonce: 123,
aclass: 'currency',
asset: '<string>',
method: '<string>',
key: '<string>',
verified: true
})
};
fetch('https://api.kraken.com/0/private/WithdrawAddresses', 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/WithdrawAddresses"
payload := strings.NewReader("{\n \"nonce\": 123,\n \"aclass\": \"currency\",\n \"asset\": \"<string>\",\n \"method\": \"<string>\",\n \"key\": \"<string>\",\n \"verified\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-vault-id", "<x-vault-id>")
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": [
{
"severity": "E",
"errorClass": "<string>",
"type": "<string>",
"errorMessage": "<string>"
}
],
"result": [
{
"verified": true,
"address": "<string>",
"asset": "<string>",
"method": "<string>",
"key": "<string>",
"memo": "<string>",
"tag": "<string>",
"networks": [
"<string>"
]
}
]
}Transfers
Get withdraw addresses
Retrieve a list of withdrawal addresses for a specified vault.
POST
/
0
/
private
/
WithdrawAddresses
Get withdraw addresses
curl --request POST \
--url https://api.kraken.com/0/private/WithdrawAddresses \
--header 'API-Key: <api-key>' \
--header 'API-Sign: <api-key>' \
--header 'Content-Type: application/json' \
--header 'x-vault-id: <x-vault-id>' \
--data '
{
"nonce": 123,
"aclass": "currency",
"asset": "<string>",
"method": "<string>",
"key": "<string>",
"verified": true
}
'import requests
url = "https://api.kraken.com/0/private/WithdrawAddresses"
payload = {
"nonce": 123,
"aclass": "currency",
"asset": "<string>",
"method": "<string>",
"key": "<string>",
"verified": True
}
headers = {
"x-vault-id": "<x-vault-id>",
"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: {
'x-vault-id': '<x-vault-id>',
'API-Key': '<api-key>',
'API-Sign': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
nonce: 123,
aclass: 'currency',
asset: '<string>',
method: '<string>',
key: '<string>',
verified: true
})
};
fetch('https://api.kraken.com/0/private/WithdrawAddresses', 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/WithdrawAddresses"
payload := strings.NewReader("{\n \"nonce\": 123,\n \"aclass\": \"currency\",\n \"asset\": \"<string>\",\n \"method\": \"<string>\",\n \"key\": \"<string>\",\n \"verified\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-vault-id", "<x-vault-id>")
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": [
{
"severity": "E",
"errorClass": "<string>",
"type": "<string>",
"errorMessage": "<string>"
}
],
"result": [
{
"verified": true,
"address": "<string>",
"asset": "<string>",
"method": "<string>",
"key": "<string>",
"memo": "<string>",
"tag": "<string>",
"networks": [
"<string>"
]
}
]
}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.
Headers
Vault ID or Vault IIBAN
Required string length:
12 - 19Pattern:
(^V[A-Z2-7]{12}[ACEGIKMOQSUWY246]$|AA[A-Z0-9]{2} ?[A-Z0-9]{4} ?[A-Z0-9]{4} ?[A-Z0-9]{4})Query Parameters
The preferred asset name to use
Available options:
new, alt Body
application/json
Nonce used in construction of API-Sign header
Asset class of asset being withdrawn - defaults to Currency
Available options:
currency, equity, equity-pair, forex, nft, volume The asset to query {?asset=}
Required string length:
1 - 16The method used to withdraw to the address
Withdrawal key name, as set up on your account
The verification status of the withdrawal address
Was this page helpful?