Skip to main content
GET
/
v2
/
balances
GET Balances
curl --request GET \
  --url https://api.bitski.com/v2/balances
import 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

address
string
required
The wallet address to retrieve balances for.
chainIds
string
default:"1,137"
Comma-separated list of chain IDs to query activities for.
nfts
boolean
default:"false"
Filter for NFT balances only. By default, balances only returns currencies.
contractAddresses
string
Filter to a specific set of contracts. Useful if you only want to show balances for contracts you own.

Examples

NFT Balances Currency Balances
{
  "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"
    }
    ...
  ]
}