Skip to main content
Requires authentication.
The Account resource provides access to your account balances and financial information.

Methods

MethodEndpointDescription
balances()GET /v1/account/balancesGet account balances

balances

Retrieve your current account balances, buying power, and pending withdrawals.
const balances = await client.account.balances();

console.log(`Current Balance: $${balances.currentBalance}`);
console.log(`Buying Power: $${balances.buyingPower}`);
console.log(`Open Orders: $${balances.openOrders}`);

Response Fields

FieldTypeDescription
currentBalancenumberCurrent fiat currency balance
currencystringCurrency code (e.g., “USD”)
buyingPowernumberCapital available for trading
assetNotionalnumberTotal notional value of positions
assetAvailablenumberAvailable collateral value
openOrdersnumberValue tied up in open orders
unsettledFundsnumberUnsettled funds not yet available
marginRequirementnumberRequired margin for positions
pendingWithdrawalsarrayActive withdrawal requests

Buying Power

The buyingPower field represents unencumbered capital available for trading:
buyingPower = currentBalance + assetAvailable - openOrders - marginRequirement
For real-time balance updates, use the WebSocket with SUBSCRIPTION_TYPE_ACCOUNT_BALANCE instead of polling.