Skip to Content
APIAccountGet Account Token Asset Overview

Get Account Token Asset Overview

1. Overview & Typical Use

Returns the value overview of all tokens held in a specified account wallet, including balance, price, and asset proportion for each token.

  • Typical use: asset dashboard, token portfolio analysis, total asset value calculation.
  • When not to use: for a detailed token list use “Get Account Token List”; for DeFi project participation use “Get Account Participated Projects”.

2. Endpoint & Authentication

GET /api/account/token_asset_overview

For Base URL and authentication, see Common Network & Authentication.

3. Request

ParameterTypeRequiredDefaultDescription
addressstringYesAccount address (Base58, starts with T)
sortstringNoWhether to sort by USD value descending. true: sorted; false: original order

4. Response

Top-level

FieldTypeRequiredDescriptionUnit/Precision
totalAssetInTrxnumberRequiredTotal assets converted to TRXTRX
totalAssetInUsdnumberRequiredTotal assets converted to USDUSD
totalTokenCountintegerRequiredNumber of token types held
dataarrayRequiredToken asset array; see below
refreshTimeInfoobjectRequiredData refresh time info (includes type / lastUpdateTime; see sub-table)

refreshTimeInfo object

FieldTypeRequiredDescriptionUnit/Precision
typestringRequiredRefresh mode (e.g. realtime)
lastUpdateTimeintegerRequiredLast update times timestamp

data[] elements

FieldTypeRequiredDescriptionUnit/Precision
tokenIdstringRequiredToken ID (TRX is _; TRC20 is contract address)
tokenNamestringRequiredToken name
tokenAbbrstringRequiredToken abbreviation
tokenDecimalintegerRequiredDecimal places
tokenCanShowintegerRequiredWhether to display in UI (1 show, 0 hide)
tokenTypestringRequiredToken type: trc10 or trc20
tokenLogostringRequiredToken logo URL
vipbooleanRequiredWhether this is a VIP token
balancestringRequiredBalance (raw value string)Requires tokenDecimal to convert
tokenPriceInTrxnumberRequiredToken price in TRX
tokenPriceInUsdnumberRequiredToken price in USD
assetInTrxnumberRequiredThis token’s asset value in TRXTRX
assetInUsdnumberRequiredThis token’s asset value in USDUSD
percentnumberRequiredProportion of total assetsDecimal

5. Errors

For HTTP status codes, see Common Errors. Key points for this endpoint:

  • Empty result is not an error: when the account holds no tokens, 200 + data: [] is returned, which is a normal response.
Last updated on: