Wallet Experience APIs
GET Balances
Get the NFT and currency balances for a set of addresses across chains.
GET
/
v2
/
balances
Query
curl --request GET \
--url https://api.bitski.com/v2/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"
}
...
]
}
Parameters
address
string
requiredThe 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
curl --request GET \
--url https://api.bitski.com/v2/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"
}
...
]
}