Skip to Content
APIAccountGet Account Detail

Get Account Detail

1. Overview & Typical Use

Query the complete information for a single TRON account, including balance, Stake 1.0/2.0 resources, bandwidth and energy summary, permission configuration, and token holdings.

  • Typical use: account overview page, asset summary, permission check.
  • When not to use: for batch account queries use “Get Account List”; for token holdings only use “Get Account Token List”.

2. Endpoint & Authentication

GET /api/accountv2

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)

4. Response

The response is large; fields are grouped logically below.

Basic info, balance, counters

FieldTypeRequiredDescriptionUnit/Precision
addressstringRequiredAccount address
namestringRequiredAccount name (empty string if not set)
accountTypeintegerRequiredAccount type (0: normal account)
balanceintegerRequiredTRX balancesun
balanceStrstringRequiredTRX balance as string (prevents large-number truncation)sun
totalTransactionCountintegerRequiredTotal transaction count
transactionsintegerRequiredMain transaction count
transactions_inintegerRequiredInbound transaction count
transactions_outintegerRequiredOutbound transaction count
date_createdintegerRequiredAccount creation timems timestamp
latest_operation_timeintegerRequiredMost recent operation timems timestamp
activatedbooleanRequiredWhether the account is activated
witnessintegerRequiredWhether a Super Representative (0: no)
voteTotalintegerRequiredTotal votes cast
feedbackRiskbooleanRequiredWhether flagged as a risky account
rewardintegerRequiredPending reward flag (1 means rewards available)
rewardNumintegerRequiredPending reward amountsun
freezingintegerRequiredTRX unfreezing amount (Stake 1.0)sun
canWithdrawAmountV2integerRequiredStake 2.0 withdrawable unfrozen amountsun
announcementstringRequiredAccount announcement (empty string if not set)

Labels

FieldTypeRequiredDescriptionUnit/Precision
addressTagstringOptionalAccount label; only present when the account has a public label (key absent for accounts without a label)
addressTagLogostringRequiredLabel logo URL (empty string if no label)
publicTagstringRequiredPublic label text (empty string if none)
redTagstringRequiredRed risk label (empty string if none)
greyTagstringRequiredGrey label (empty string if none)
blueTagstringRequiredBlue verification label (empty string if none)
blueTagUrlstringRequiredBlue label redirect URL (empty string if none)

Super Representative

FieldTypeRequiredDescriptionUnit/Precision
representativeobjectRequiredSR-related info (includes lastWithDrawTime/allowance/enabled/url)

Stake 1.0 (legacy freeze)

FieldTypeRequiredDescriptionUnit/Precision
totalFrozenintegerRequiredTotal frozen amount (Stake 1.0)sun
frozenForBandWidthintegerRequiredStake 1.0 frozen for bandwidthsun
frozenForEnergyintegerRequiredStake 1.0 frozen for energysun
frozenForBandwidthValueintegerRequiredBandwidth exchanged from bandwidth freeze
frozenForEnergyValueintegerRequiredEnergy exchanged from energy freeze
totalFrozenBandwidthValueintegerRequiredTotal bandwidth freeze exchange value
totalFrozenEnergyValueintegerRequiredTotal energy freeze exchange value
frozenobjectRequiredFreeze details (includes total and balances[])
frozen_supplyarrayRequiredTRC10 issuer frozen token list (empty array for non-issuers)
delegateFrozenForBandWidthintegerRequiredBandwidth freeze delegated to otherssun
delegateFrozenForEnergyintegerRequiredEnergy freeze delegated to otherssun
acquiredDelegateFrozenForBandWidthintegerRequiredBandwidth freeze delegated to this account by otherssun
acquiredDelegateFrozenForEnergyintegerRequiredEnergy freeze delegated to this account by otherssun
acquiredDelegatedFrozenBalanceForBandwidthValueintegerRequiredExchange value of delegated bandwidth from others
acquiredDelegatedFrozenBalanceForEnergyValueintegerRequiredExchange value of delegated energy from others

Stake 2.0

FieldTypeRequiredDescriptionUnit/Precision
totalFrozenV2integerRequiredTotal frozen amount (Stake 2.0)sun
frozenForBandWidthV2integerRequiredStake 2.0 frozen for bandwidthsun
frozenForEnergyV2integerRequiredStake 2.0 frozen for energysun
unfreezeV2integerRequiredStake 2.0 amount currently unfreezingsun
frozenForBandwidthV2ValueintegerRequiredStake 2.0 bandwidth freeze exchange value
frozenForEnergyV2ValueintegerRequiredStake 2.0 energy freeze exchange value
frozenForBandwidthV2ValueSumnumberRequiredStake 2.0 total bandwidth freeze exchange value (including delegated)
frozenForEnergyV2ValueSumnumberRequiredStake 2.0 total energy freeze exchange value (including delegated)
totalFrozenBandwidthV2ValueintegerRequiredStake 2.0 total bandwidth freeze exchange value
totalFrozenEnergyV2ValueintegerRequiredStake 2.0 total energy freeze exchange value
delegatedFrozenV2BalanceForBandwidthintegerRequiredStake 2.0 bandwidth freeze delegated to otherssun
delegatedFrozenV2BalanceForEnergyintegerRequiredStake 2.0 energy freeze delegated to otherssun
delegatedFrozenV2BalanceForBandwidthValuenumberRequiredStake 2.0 delegated bandwidth exchange value
delegatedFrozenV2BalanceForEnergyValuenumberRequiredStake 2.0 delegated energy exchange value
acquiredDelegatedFrozenV2BalanceForBandwidthintegerRequiredStake 2.0 bandwidth delegated to this account by otherssun
acquiredDelegatedFrozenV2BalanceForEnergyintegerRequiredStake 2.0 energy delegated to this account by otherssun
acquiredDelegatedFrozenV2BalanceForBandwidthValuenumberRequiredStake 2.0 delegated bandwidth exchange value from others
acquiredDelegatedFrozenV2BalanceForEnergyValuenumberRequiredStake 2.0 delegated energy exchange value from others
delegatedobjectRequiredStake 2.0 delegation details (empty object if no records)

Resource summary

FieldTypeRequiredDescriptionUnit/Precision
totalNetintegerRequiredTotal bandwidth
totalNetRemainingintegerRequiredRemaining bandwidth
totalEnergyintegerRequiredTotal energy
totalEnergyRemainingintegerRequiredRemaining energy
netCostnumberRequiredEstimated bandwidth costTRX
energyCostnumberRequiredEstimated energy costTRX
netRemainingCalintegerRequiredCalculated remaining bandwidth
accountResourceobjectRequiredAccount resource details (includes frozen_balance_for_energy)
allowExchangearrayRequiredExchangeable list (empty array if none)

bandwidth object

FieldTypeRequiredDescriptionUnit/Precision
freeNetLimitintegerRequiredFree bandwidth cap
freeNetUsedintegerRequiredUsed free bandwidth
freeNetRemainingintegerRequiredRemaining free bandwidth
freeNetPercentagenumberRequiredFree bandwidth usage rate
netLimitintegerRequiredStaked bandwidth cap
netUsedintegerRequiredUsed staked bandwidth
netRemainingintegerRequiredRemaining staked bandwidth
netPercentagenumberRequiredStaked bandwidth usage rate
energyLimitintegerRequiredEnergy cap
energyUsedintegerRequiredUsed energy
energyRemainingintegerRequiredRemaining energy
energyPercentagenumberRequiredEnergy usage rate
totalNetLimitintegerRequiredNetwork-wide bandwidth cap
totalNetWeightintegerRequiredNetwork-wide bandwidth weight
totalEnergyLimitintegerRequiredNetwork-wide energy cap
totalEnergyWeightintegerRequiredNetwork-wide energy weight
storageLimitintegerRequiredStorage cap (typically 0)
storageUsedintegerRequiredUsed storage
storageRemainingintegerRequiredRemaining storage
storagePercentagenumberRequiredStorage usage rate
assetsobjectRequiredTRC10 token bandwidth details (key = token ID; empty object if no TRC10)

Permissions

FieldTypeRequiredDescriptionUnit/Precision
activePermissionsarrayRequiredActive permissions list (includes keys/threshold/id/type/permission_name)
ownerPermissionobjectOptionalOwner permission (includes keys/threshold/permission_name); present for EOAs with accountType=0 that have on-chain permission configuration; contract addresses (accountType=2) typically do not have this field
witnessPermissionobjectOptionalSR permission; only present for SR accounts

Account analytics (conditional fields)

FieldTypeRequiredDescriptionUnit/Precision
avgBandwidthUsageRationumberOptionalAverage recent bandwidth usage ratio; code-derived from Greason v5 scan, expected in high-activity account scenarios (reproducing sample pending)
avgEnergyUsageRationumberOptionalAverage recent energy usage ratio; code-derived from Greason v5 scan, expected in high-activity account scenarios (reproducing sample pending)
nrOfTokenHoldersintegerOptionalNumber of holders of tokens issued by this account; only returned for token-issuing accounts (reproducing sample pending)
publicTagDescstringOptionalPublic label description; only returned for verified well-known accounts such as exchanges and project accounts (reproducing sample pending)
transferCountintegerOptionalTotal number of token transfers for this account; code-derived from Greason v5 scan (reproducing sample pending)

Contract map

FieldTypeRequiredDescriptionUnit/Precision
contractMapobjectOptionalAddress → boolean map of whether it is a contract; not returned for accounts with public labels (e.g. Binance)

withPriceTokens[] elements

FieldTypeRequiredDescriptionUnit/Precision
tokenIdstringRequiredToken contract address (Base58); TRX placeholder is _
tokenAbbrstringRequiredToken abbreviation (e.g. USDT / TRX)
tokenNamestringRequiredToken name
tokenDecimalintegerRequiredDecimal precision (required to convert the amount field)
tokenCanShowintegerRequiredWhether displayable (1 yes / 0 no)
tokenTypestringRequiredToken type (trc10 / trc20 / trc721 / trc1155)
tokenLogostringRequiredToken logo URL
tokenLevelstringRequiredToken level
vipbooleanRequiredWhether it is a VIP token
balancestringRequiredBalance (raw value string)Requires tokenDecimal to convert
amountstringRequiredConverted quantity (decimal string)
tokenPriceInTrxnumberOptionalToken price in TRX; absent if no price

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).
  • Invalid address: passing a malformed address may return an empty object or default values rather than an explicit error.
  • Empty result is not an error: an unactivated address returns 200 + activated: false, which is a normal response.
Last updated on: