Get deposit address (v1)
curl --request GET \
--url https://api.saber.money/api/v1/wallet/user_deposit_address \
--header 'X-Api-Key: <x-api-key>' \
--header 'X-Request-Id: <x-request-id>' \
--header 'X-Signature: <x-signature>' \
--header 'X-Timestamp: <x-timestamp>' \
--header 'X-User-Id: <x-user-id>'import requests
url = "https://api.saber.money/api/v1/wallet/user_deposit_address"
headers = {
"X-Api-Key": "<x-api-key>",
"X-Signature": "<x-signature>",
"X-Timestamp": "<x-timestamp>",
"X-Request-Id": "<x-request-id>",
"X-User-Id": "<x-user-id>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'X-Api-Key': '<x-api-key>',
'X-Signature': '<x-signature>',
'X-Timestamp': '<x-timestamp>',
'X-Request-Id': '<x-request-id>',
'X-User-Id': '<x-user-id>'
}
};
fetch('https://api.saber.money/api/v1/wallet/user_deposit_address', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.saber.money/api/v1/wallet/user_deposit_address",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <x-api-key>",
"X-Request-Id: <x-request-id>",
"X-Signature: <x-signature>",
"X-Timestamp: <x-timestamp>",
"X-User-Id: <x-user-id>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.saber.money/api/v1/wallet/user_deposit_address"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<x-api-key>")
req.Header.Add("X-Signature", "<x-signature>")
req.Header.Add("X-Timestamp", "<x-timestamp>")
req.Header.Add("X-Request-Id", "<x-request-id>")
req.Header.Add("X-User-Id", "<x-user-id>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.saber.money/api/v1/wallet/user_deposit_address")
.header("X-Api-Key", "<x-api-key>")
.header("X-Signature", "<x-signature>")
.header("X-Timestamp", "<x-timestamp>")
.header("X-Request-Id", "<x-request-id>")
.header("X-User-Id", "<x-user-id>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.saber.money/api/v1/wallet/user_deposit_address")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<x-api-key>'
request["X-Signature"] = '<x-signature>'
request["X-Timestamp"] = '<x-timestamp>'
request["X-Request-Id"] = '<x-request-id>'
request["X-User-Id"] = '<x-user-id>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": [
{
"network": "BNB",
"name": "Binance Chain (BEP2)",
"coin": "BTC",
"address": "bnb136ns6lfw4zs5hg4n85vdthaad7hq5m4gtkgf23",
"tag": "407410902",
"url": "https://explorer.binance.org/address/bnb136ns6lfw4zs5hg4n85vdthaad7hq5m4gtkgf23"
},
{
"network": "BSC",
"name": "Binance Smart Chain (BEP20)",
"coin": "BTC",
"address": "0xc37e9cbe6e1d481d9372585e1b91cb387853d352",
"tag": "",
"url": "https://bscscan.com/address/0xc37e9cbe6e1d481d9372585e1b91cb387853d352"
},
{
"network": "BTC",
"name": "Bitcoin",
"coin": "BTC",
"address": "1HTs5QzAfwfxjPBKWtKxTBNYkGmReMS36M",
"tag": "",
"url": "https://blockchair.com/bitcoin/address/1HTs5QzAfwfxjPBKWtKxTBNYkGmReMS36M"
},
{
"network": "ETH",
"name": "Ethereum (ERC20)",
"coin": "BTC",
"address": "0xc37e9cbe6e1d481d9372585e1b91cb387853d352",
"tag": "",
"url": "https://etherscan.io/address/0xc37e9cbe6e1d481d9372585e1b91cb387853d352"
},
{
"network": "SEGWITBTC",
"name": "BTC(SegWit)",
"coin": "BTC",
"address": "bc1q3mchv2exf8z2v577n8nlcmgduguw22ryxgyxlv",
"tag": "",
"url": "https://blockchain.coinmarketcap.com/zh/address/bitcoin/bc1q3mchv2exf8z2v577n8nlcmgduguw22ryxgyxlv"
}
]
}Transfer Crypto
Get deposit address (v1)
Get deposit address
GET
/
api
/
v1
/
wallet
/
user_deposit_address
Get deposit address (v1)
curl --request GET \
--url https://api.saber.money/api/v1/wallet/user_deposit_address \
--header 'X-Api-Key: <x-api-key>' \
--header 'X-Request-Id: <x-request-id>' \
--header 'X-Signature: <x-signature>' \
--header 'X-Timestamp: <x-timestamp>' \
--header 'X-User-Id: <x-user-id>'import requests
url = "https://api.saber.money/api/v1/wallet/user_deposit_address"
headers = {
"X-Api-Key": "<x-api-key>",
"X-Signature": "<x-signature>",
"X-Timestamp": "<x-timestamp>",
"X-Request-Id": "<x-request-id>",
"X-User-Id": "<x-user-id>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'X-Api-Key': '<x-api-key>',
'X-Signature': '<x-signature>',
'X-Timestamp': '<x-timestamp>',
'X-Request-Id': '<x-request-id>',
'X-User-Id': '<x-user-id>'
}
};
fetch('https://api.saber.money/api/v1/wallet/user_deposit_address', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.saber.money/api/v1/wallet/user_deposit_address",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <x-api-key>",
"X-Request-Id: <x-request-id>",
"X-Signature: <x-signature>",
"X-Timestamp: <x-timestamp>",
"X-User-Id: <x-user-id>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.saber.money/api/v1/wallet/user_deposit_address"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<x-api-key>")
req.Header.Add("X-Signature", "<x-signature>")
req.Header.Add("X-Timestamp", "<x-timestamp>")
req.Header.Add("X-Request-Id", "<x-request-id>")
req.Header.Add("X-User-Id", "<x-user-id>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.saber.money/api/v1/wallet/user_deposit_address")
.header("X-Api-Key", "<x-api-key>")
.header("X-Signature", "<x-signature>")
.header("X-Timestamp", "<x-timestamp>")
.header("X-Request-Id", "<x-request-id>")
.header("X-User-Id", "<x-user-id>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.saber.money/api/v1/wallet/user_deposit_address")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<x-api-key>'
request["X-Signature"] = '<x-signature>'
request["X-Timestamp"] = '<x-timestamp>'
request["X-Request-Id"] = '<x-request-id>'
request["X-User-Id"] = '<x-user-id>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": [
{
"network": "BNB",
"name": "Binance Chain (BEP2)",
"coin": "BTC",
"address": "bnb136ns6lfw4zs5hg4n85vdthaad7hq5m4gtkgf23",
"tag": "407410902",
"url": "https://explorer.binance.org/address/bnb136ns6lfw4zs5hg4n85vdthaad7hq5m4gtkgf23"
},
{
"network": "BSC",
"name": "Binance Smart Chain (BEP20)",
"coin": "BTC",
"address": "0xc37e9cbe6e1d481d9372585e1b91cb387853d352",
"tag": "",
"url": "https://bscscan.com/address/0xc37e9cbe6e1d481d9372585e1b91cb387853d352"
},
{
"network": "BTC",
"name": "Bitcoin",
"coin": "BTC",
"address": "1HTs5QzAfwfxjPBKWtKxTBNYkGmReMS36M",
"tag": "",
"url": "https://blockchair.com/bitcoin/address/1HTs5QzAfwfxjPBKWtKxTBNYkGmReMS36M"
},
{
"network": "ETH",
"name": "Ethereum (ERC20)",
"coin": "BTC",
"address": "0xc37e9cbe6e1d481d9372585e1b91cb387853d352",
"tag": "",
"url": "https://etherscan.io/address/0xc37e9cbe6e1d481d9372585e1b91cb387853d352"
},
{
"network": "SEGWITBTC",
"name": "BTC(SegWit)",
"coin": "BTC",
"address": "bc1q3mchv2exf8z2v577n8nlcmgduguw22ryxgyxlv",
"tag": "",
"url": "https://blockchain.coinmarketcap.com/zh/address/bitcoin/bc1q3mchv2exf8z2v577n8nlcmgduguw22ryxgyxlv"
}
]
}Headers
Your API key (configured in credentials)
HMAC-SHA256 signature (auto-generated) To test manually: HMAC-SHA256 of apiKey + timestamp (or apiKey + timestamp + userId when X-User-Id is required), keyed with your API secret. The HMAC Generator flow computes this for you.
Unix timestamp in seconds (auto-generated) Unix seconds, e.g. Math.floor(Date.now() / 1000). Must match the timestamp used in the X-Signature computation.
Unique request identifier (auto-generated) Any unique string per request, e.g. a UUID.
User UUID (set above)
Query Parameters
The symbol parameter
The network parameter
Related topics
Get all deposit transactions (v1)Get Crypto Deposit Transaction Details (v1)Get Wallet Address (v1)Get Supported Networks and Limits (v1)Get Transaction Details (v1)Was this page helpful?
⌘I