Skip to Content
APIAccountGet Account Token List

Get Account Token List

1. Overview & Typical Use

Query the list of tokens held by a specified account with a balance greater than 0. Supports sorting and pagination by token type, price, amount, and more.

  • Typical use: account asset list, token holdings display, specific token balance query.
  • When not to use: for full account details use “Get Account Detail”; for transfer history use “Get TRC20 Transfer List”.
  • limit maximum is 200.

2. Endpoint & Authentication

GET /api/account/tokens

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

3. Request

ParameterTypeRequiredDefaultDescription
addressstringYesAccount address (Base58, starts with T)
startintegerNo0Starting offset
limitintegerNo20Page size, max 200
hiddenintegerNo0Whether to hide small-balance tokens. 0: hide, 1: show
showintegerNo0Token type. 0: default, 1: TRC20, 2: TRC721, 3: all, 4: TRC1155
sortByintegerNo0Sort field. 0: default, 1: price, 2: amount, 3: quantity
sortTypeintegerNo0Sort direction. 0: descending, 1: ascending
tokenstringNoSpecific token ID or contract address
assetTypeintegerNo0Asset type. 0 or 1: regular tokens, 2: receipt tokens
showAvailableintegerNo0Show only tokens with available balance. 1: yes
tokenTypeintegerNo0Token type filter. 0: all; other values per API spec
cardintegerNo0Return card view data. 1: yes

4. Response

Top-level

FieldTypeRequiredDescriptionUnit/Precision
totalintegerRequiredTotal token count
codeintegerRequiredResponse status code
statusstringRequiredStatus identifier
messagestringRequiredRequest result message
lastUpdateSecondsintegerRequiredLast data update timems timestamp
dataarrayRequiredToken records array; see below
contractMapobjectRequiredAddress → boolean map of whether it is a contract (always returned, may be empty)
contractInfoobjectRequiredContract address → label info (always returned, may be empty)

data[] elements

FieldTypeRequiredDescriptionUnit/Precision
tokenIdstringRequiredToken ID (_ for TRX, contract address for TRC20)
tokenNamestringRequiredToken name
tokenAbbrstringRequiredToken abbreviation
tokenDecimalintegerRequiredDecimal places
tokenTypestringRequiredToken type: trc10 or trc20 (may return trc721/trc1155 when show=2/show=4; actual values per API response)
tokenCanShowintegerRequiredWhether displayable (1: yes)
tokenLogostringRequiredToken logo URL
tokenLevelstringRequiredToken level
tokenPriceInTrxnumberOptionalToken price in TRX; absent if no price
tokenPriceInUsdnumberOptionalToken price in USD; absent if no price
balancestringRequiredBalance (raw value string)Requires tokenDecimal to convert
amountstringOptionalConverted quantity (decimal string); present when price is available
quantitynumber | stringRequiredHeld quantity (converted); TRX returns a formatted string (e.g. "0.000000"), other tokens return a number
amountInUsdnumberOptionalUSD valuation; present when price is availableUSD
realTrxAmountInUsdnumberOptionalActual TRX-to-USD conversion; present for TRXUSD
owner_addressstringOptionalToken issuer address (present for both TRC10/TRC20, except TRX)
transferCountintegerOptionalTotal transfer count (except TRX)
nrOfTokenHoldersintegerOptionalNumber of holders (except TRX)
vipbooleanRequiredWhether a VIP token
levelstringOptionalToken level (present for both TRC10/TRC20, except TRX; defaults to "0" for TRC10)
projectstringOptionalProject name the contract belongs to (TRC20 tokens, available for some projects)

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).
  • Empty result is not an error: no tokens returns 200 + data: [], which is a normal response.
Last updated on: