Skip to Content
APIWalletGet Account Web Wallet Token Info

Get Account Web Wallet Token Info

1. Overview & Typical Use

Query the token list held and followed by a specified account in the web wallet, including balances, valuations, and token metadata.

  • Typical use: wallet asset overview, token holdings display, portfolio valuation calculation.
  • When not to use: for transfer details of a specific token use the corresponding transfer list endpoint; for resource info use “Get Unfreezable TRX Amount for an Address”.

2. Endpoint & Authentication

GET /api/account/wallet

For Base URL and authentication, see Common Network & Authentication. This endpoint requires an API Key: calls without a Key return 401.

3. Request

ParameterTypeRequiredDefaultDescription
addressstringYesAddress to query

4. Response

Top-level

FieldTypeRequiredDescriptionUnit/Precision
codeintegerRequiredStatus code
statusstringRequiredStatus identifier
messagestringRequiredRequest result message
countintegerRequiredNumber of tokens
dataarrayRequiredToken list array; see below
totalValueInUsdnumberRequiredTotal valuation of all tokens (float)USD
lastUpdateSecondsintegerRequiredLast data update timeMillisecond timestamp

data[] elements

FieldTypeRequiredDescriptionUnit/Precision
token_idstringRequiredToken ID (_ for TRX)
token_abbrstringRequiredToken abbreviation
token_namestringRequiredToken name
token_typeintegerRequiredToken type: 0 TRX, 10 TRC10, 20 TRC20
token_decimalintegerRequiredToken decimal places
balancestringRequiredToken balance (converted)
token_valuestringRequiredToken valuationTRX
token_value_in_usdstringRequiredToken valuationUSD
token_price_in_usdstringRequiredToken unit priceUSD
token_pricestringRequiredToken unit priceTRX
levelinteger | stringRequiredToken level (TRX = integer, TRC10 may be string)
vipbooleanRequiredWhether a VIP token
token_urlstringOptionalToken icon URL; only present for tokens with a logo
frozenintegerOptionalStake 1.0 frozen amount; only for TRX typesun
frozenV2integerOptionalStake 2.0 frozen amount; only for TRX typesun
frozen_token_value_in_usdnumber | stringOptionalStake 1.0 frozen USD valuation; only for TRX typeUSD
frozenV2_token_value_in_usdnumber | stringOptionalStake 2.0 frozen USD valuation; only for TRX typeUSD
pair_idintegerOptionalTrading pair ID; present for tokens with price data
transferCountintegerOptionalTransfer count; common for tokens without a quote
nrOfTokenHoldersintegerOptionalHolder count; common for tokens without a quote

5. Errors

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

  • API Key Required: returns 401 if not provided (see Common Network & Authentication).
  • Missing required parameter: address is required; omitting it returns 400 ({"message":"some parameters are invalid or out of range"}), not 401.
  • Empty result is not an error: no token holdings returns 200 + data: [], which is a normal response.
Last updated on: