Skip to content
Longport Whale
Assets Overview

Total Asset & Total Cash

Total assets (by type/currency proportion) and total book cash details at the top of the asset overview page. Values come from the balance_and_equity_holding_summary dynamic enumeration (not fixed); asset-type labels come from the equity_type_summary dynamic enumeration (not fixed). Chinese/English are taken per Accept-Language: zh-CN / en.

GEThttps://b-api.longbridge.xyz/v1/portfolio/query_account_balances_summary

Authorization

AuthorizationstringheaderRequired

Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.

Parameters

client_typesstringOptional

Client type; multiple values joined by commas; an empty string means all.

account_typesstringOptional

Account type; multiple values joined by commas; an empty string means all.

broker_codesstringOptional

Filter by broker (AE) code; multiple values are joined with commas. Apart from the fixed items below, the rest are AE codes delivered dynamically by search_bar (varying by tenant/environment, with key equal to value); they are a dynamic, non-fixed enumeration, with search_bar's live response as the source of truth.

Responses

HTTP 200Returns business fields.
Standard response envelopecodemessagedata
dataobjectdata structure
total_assetsarray<object>

Total Assets (by currency). Total assets per currency, used for the total-assets display and currency switching at the top.

total_asset_typearray<object>

Total Asset by Type. Proportion by asset type (total-assets type pie chart).

total_asset_currencyarray<object>

Total Asset by Currency. Proportion by currency (total-assets currency pie chart).

total_balancearray<object>

Total Cash. Book total-cash details (by currency, corresponding to the "Book Total Cash" table).

Whale Docs