Skip to main content

Account Balance

Interface Description

  • Function description: Query account assets according to account id.

  • Applicable objects: Customers who connect to Webull through the OpenApi development platform.

  • Request URL: /account/balance

  • Request method: GET

  • Frequency limit: The calling frequency of each AppId is limited to 2 times in 2 seconds.

Request parameters

ParameterTypeRequired fieldsDescriptionExample value
account_idStringYesAccount ID863417315629211648

Response parameter

ParameterTypeDescriptionExample value
account_idStringAccount ID863417315629211648
total_asset_currencyStringCurrency, USD only. For margin account only.USD =
total_market_valueStringThe total market value of holding positions in margin account, which is same as the amount of ledger; the currency refers to the value of the total_asset_currency field. For margin account only.2006.00
margin_utilization_rateStringMargin ratio, which is calculated by the value of positions and cash that are used as collateral, divided by the amount of ledger. For margin account only.495.4124
total_collateral_valueStringThe total collateral value of collateralized positions and cash in margin account; the currency refers to the value of the total_asset_currency field. For margin account only.1000000.00
oneDayMarginPowerStringThe buying power for intraday margin trading. For margin account only.97962.90
infiniteMarginPowerStringThe buying power for regular margin trading. For margin account only.1000000.00
account_currency_assets[]Account_AssetAccount Asset ListReference sample code

The above exchange rate = the exchange rate at which the currency in Account_Currency_Asset is converted to total_asset_currency.

Account_Asset

ParameterTypeDescriptionExample value
currencyStringCurrencyUSD
positions_market_valueStringThe market value of the collateralized positions. For margin account only.3538.00
total_collateral_valueStringTotal collateral value (in different currencies); the currency refers to the value of the currency field.For margin account only.1000000.00
balanceStringThe amount of collateralized cash in the margin account. For margin account only.1000000.00
total_cashStringThe total cash balance of this account, including settled and unsettled cash.1000000.00
unsettled_cashStringThe cash balance that has been reflected in the account but not settled yet.1000000.00
settled_cashStringThe cash balance that has been settled in the account.1000000.00
frozen_cashStringThe amount that is frozen from the cash balance due to pending orders, accrued fees and others.1000000.00
available_to_withdrawStringThe available amount that can be withdrawn from the brokerage account.1000000.00
available_to_exchangeStringThe available amount that can be exchanged to other currency.1000000.00
stock_powerStringThe cash buying power available for buying stocks and other equities in regular and extended hours.1000000.00
overnight_powerStringThe cash buying power available for buying stocks and other equities in US overnight hours.1000000.00

Request example

from webullsdktrade.api import API
from webullsdkcore.client import ApiClient
from webullsdkcore.common.region import Region

api_client = ApiClient(your_app_key, your_app_secret, Region.JP.value)
api = API(api_client)
response = api.account.get_account_balance(account_id,currency)
if response.status_code == 200:
account_balance = response.json()

Response example

Cash Account

Margin Account

Exception example