GET Balances
curl --request GET \
--url https://api.bitski.com/v2/balancesimport requests
url = "https://api.bitski.com/v2/balances"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.bitski.com/v2/balances', 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.bitski.com/v2/balances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.bitski.com/v2/balances"
req, _ := http.NewRequest("GET", url, nil)
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.bitski.com/v2/balances")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bitski.com/v2/balances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"balances": [
{
"address": "0xa63a667a8cd2b28ec93b8c36d77b26ee06fe3a5c",
"balance": "0.077375617021211054",
"balanceRawInteger": "77375617021211054",
"balanceUsd": "162.359383579218453798",
"chainId": 1,
"coinType": 60,
"contractAddress": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
"imageUrl": "https://www.ankr.com/rpc/static/media/eth.3ee8ddd4.svg",
"tokenDecimals": 18,
"tokenName": "Ethereum",
"tokenPrice": "2098.327481313793158924",
"tokenStandard": "NATIVE",
"tokenSymbol": "ETH"
}
...
]
}
Wallet Experience APIs
GET Balances
Get the NFT and currency balances for a set of addresses across chains.
GET
/
v2
/
balances
GET Balances
curl --request GET \
--url https://api.bitski.com/v2/balancesimport requests
url = "https://api.bitski.com/v2/balances"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.bitski.com/v2/balances', 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.bitski.com/v2/balances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.bitski.com/v2/balances"
req, _ := http.NewRequest("GET", url, nil)
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.bitski.com/v2/balances")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bitski.com/v2/balances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"balances": [
{
"address": "0xa63a667a8cd2b28ec93b8c36d77b26ee06fe3a5c",
"balance": "0.077375617021211054",
"balanceRawInteger": "77375617021211054",
"balanceUsd": "162.359383579218453798",
"chainId": 1,
"coinType": 60,
"contractAddress": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
"imageUrl": "https://www.ankr.com/rpc/static/media/eth.3ee8ddd4.svg",
"tokenDecimals": 18,
"tokenName": "Ethereum",
"tokenPrice": "2098.327481313793158924",
"tokenStandard": "NATIVE",
"tokenSymbol": "ETH"
}
...
]
}
Parameters
The wallet address to retrieve balances for.
Comma-separated list of chain IDs to query activities for.
Filter for NFT balances only. By default, balances only returns currencies.
Filter to a specific set of contracts. Useful if you only want to show
balances for contracts you own.
Examples


{
"balances": [
{
"address": "0xa63a667a8cd2b28ec93b8c36d77b26ee06fe3a5c",
"balance": "0.077375617021211054",
"balanceRawInteger": "77375617021211054",
"balanceUsd": "162.359383579218453798",
"chainId": 1,
"coinType": 60,
"contractAddress": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
"imageUrl": "https://www.ankr.com/rpc/static/media/eth.3ee8ddd4.svg",
"tokenDecimals": 18,
"tokenName": "Ethereum",
"tokenPrice": "2098.327481313793158924",
"tokenStandard": "NATIVE",
"tokenSymbol": "ETH"
}
...
]
}
⌘I