Skip to Content
APIDeep AnalysisGet Holder Token Basic Info

Get Holder Token Basic Info

1. Overview & Typical Use

Returns the amount, first-hold time, wallet/protocol distribution, and latest transfer time for a token held by an account.

  • Typical use: view an account’s holding details and distribution for a specific token.
  • When not to use: for transfer-count only, use “Get TRC20 Token Transfer Count”.

2. Endpoint & Authentication

GET /api/account/holderToken/basicInfo

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

3. Request

ParameterTypeRequiredDefaultDescription
accountAddressstringYesAccount address to query
tokenAddressstringYesTRC20 address or TRC10 token ID; use 0 for TRX

4. Response

Top-level

FieldTypeRequiredDescriptionUnit/Precision
dataobjectRequiredHolding details
refreshTimeInfoobjectRequiredData refresh time info; contains type (e.g. realtime) and lastUpdateTime (seconds timestamp)

data object

FieldTypeRequiredDescriptionUnit/Precision
holdCountstringRequiredHolding amount (minimum unit)
holdAmountnumberRequiredHolding amount (converted)
firstHoldTimeintegerRequiredFirst hold timeseconds timestamp
latestTransferTimeintegerRequiredLatest transfer timeseconds timestamp
tokenDecimalintegerRequiredToken decimal precision
walletValuestringRequiredValue held in walletUSD
walletRatiostringRequiredWallet sharedecimal
projectValuestringRequiredValue held in projectsUSD
projectRatiostringRequiredProject sharedecimal
projectsarrayRequiredProject distribution list
projectNumintegerRequiredNumber of involved projects
transferInintegerOptionalTransfer-in count (returned only when tokenAddress=0, i.e. TRX)
transferOutintegerOptionalTransfer-out count (returned only when tokenAddress=0, i.e. TRX)

projects[] element

FieldTypeRequiredDescriptionUnit/Precision
namestringRequiredProject name (e.g. wallet / JustLend DAO)
valuenumber|stringRequiredValue in this projectUSD
ratiostringRequiredShare of this account’s total holdingsdecimal

5. Errors

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

  • General error handling rules apply; no special error scenarios.
Last updated on: