Skip to main content

Get Wallet Balance

This endpoint returns the balance information for a specific wallet.

Request​

GET /wallets/balances

Query Parameters​

ParameterTypeRequiredDescription
wallet_idstringYesThe ID of the wallet to retrieve balances for

Authentication​

This endpoint requires authentication using one of the following methods:

  • API Key: X-API-Key header
  • OAuth 2.0: Authorization: Bearer {access_token} header

Example Request​

curl -X GET "{{BASE_URL}}/wallets/balances?wallet_id=550e8400-e29b-41d4-a716-446655440000" \
-H "X-API-Key: your_api_key"

Response​

A successful response returns the balance information for the specified wallet, including all currencies and their amounts.

Example Response​

{
"result": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Trading Wallet",
"balances": [
{
"currency": "usdttrc20",
"amount": "1000.50",
"pendingAmount": "0.00"
},
{
"currency": "usdterc20",
"amount": "500.75",
"pendingAmount": "100.00"
},
{
"currency": "btc",
"amount": "0.05",
"pendingAmount": "0.00"
}
]
}
}

Response Fields​

FieldTypeDescription
result.idstringThe ID of the wallet
result.namestringThe custom name of the wallet
result.balancesarrayArray of balance objects

Each balance object contains:

FieldTypeDescription
currencystringCurrency code in lowercase (e.g., "usdttrc20")
amountstringAvailable balance amount (as string)
pendingAmountstringAmount in pending transactions (as string)

Error Responses​

Status CodeErrorDescription
400Bad RequestMissing or invalid wallet ID
401UnauthorizedAuthentication failed
403ForbiddenUser doesn't have required permissions
404Not FoundWallet ID not found
500Internal ErrorServer error while processing request

Notes​

  • The wallet ID must be valid and previously obtained from creating a wallet or listing wallets
  • The balances are returned in the native currency units (e.g., USDT, BTC)
  • The pendingAmount represents funds that are part of in-progress transactions and cannot be withdrawn
  • The total available amount for a currency is amount - pendingAmount
  • Balance information is automatically updated whenever transactions occur
  • If no balances exist for the wallet, an empty balances array will be returned