Skip to Content
APIStatisticsGet Top 10 Statistics

Get Top 10 Statistics

1. Overview & Typical Use

Returns top statistics data across multiple dimensions including overview, accounts, tokens, contracts, and resources.

  • Typical use: display leaderboard data across dimensions, render Top N components on a homepage.
  • When not to use: for single contract call details use “Get Contract Call Statistics”.

2. Endpoint & Authentication

GET /api/top10

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

3. Request

ParameterTypeRequiredDefaultDescription
timeintegerNo1Time type. 0: real-time, 1: last hour, 2: last 24 hours, 3: last week, 4: last 3 days
typestringNo0Statistics type, values 020. 0: overview; 1: accounts by TRX sent; 2: accounts by TRX send count; 3: accounts by TRX received; 4: accounts by TRX receive count; 5: accounts by TRX frozen; 6: accounts by votes; 7: tokens by holder count; 8: tokens by active accounts; 9: tokens by total transaction count; 10: tokens by total transaction amount; 11: contracts by TRX balance; 12: contracts by caller count; 13: contracts by call count; 14: accounts by energy consumption; 15: accounts by bandwidth consumption; 16: contracts by energy consumption; 17: contracts by fee consumption; 18: hot tokens; 19: hot contracts; 20: account fee usage

4. Response

When type=0 (overview)

Top-level fields (all string type except start_time / end_time which are integer):

FieldTypeRequiredDescriptionUnit/Precision
token_recordstringRequiredTotal tokens ever issued (including inactive)
trc20_recordstringRequiredTotal TRC20 tokens ever issued
trc10_recordstringRequiredTotal TRC10 tokens ever issued
token_allstringRequiredCurrent active token count
trc20_allstringRequiredCurrent active TRC20 token count
trc10_allstringRequiredCurrent active TRC10 token count
whole_votestringRequiredTotal votes on the network
whole_freezestringRequiredTotal TRX frozen on the networkTRX
contract_whole_balancestringRequiredTotal TRX balance across all contractsTRX
start_timeintegerRequiredStatistics start timeMillisecond timestamp
end_timeintegerRequiredStatistics end timeMillisecond timestamp
last_hour_contract_active_addressstringRequiredActive contract addresses in the last hour
last_hour_contract_triggersstringRequiredContract trigger count in the last hour
last_hour_energy_usagestringRequiredEnergy usage in the last hour
last_hour_net_usagestringRequiredBandwidth usage in the last hour
last_hour_token10_active_addressstringRequiredActive TRC10 addresses in the last hour
last_hour_token10_sum_transactionstringRequiredTRC10 transaction count in the last hour
last_hour_token10_sum_transaction_amountstringRequiredTRC10 total transaction amount in the last hour
last_hour_token20_active_addressstringRequiredActive TRC20 addresses in the last hour
last_hour_token20_sum_transactionstringRequiredTRC20 transaction count in the last hour
last_hour_token20_sum_transaction_amountstringRequiredTRC20 total transaction amount in the last hour
last_hour_trx_transaction_numberstringRequiredTRX transaction count in the last hour
last_hour_trx_transfer_amountstringRequiredTRX transfer amount in the last hourTRX
last_hour_whole_contract_usestringRequiredContract resource usage in the last hour
last_hour_whole_energy_burnstringRequiredEnergy burned in the last hour
last_hour_whole_energy_usestringRequiredNetwork-wide energy usage in the last hour
last_hour_whole_fee_burnstringRequiredFee burned in the last hoursun
last_hour_whole_net_burnstringRequiredBandwidth burned in the last hour
last_hour_whole_net_usestringRequiredNetwork-wide bandwidth usage in the last hour
last_day_contract_active_addressstringRequiredActive contract addresses in the last 24 hours
last_day_contract_triggersstringRequiredContract trigger count in the last 24 hours
last_day_energy_usagestringRequiredEnergy usage in the last 24 hours
last_day_net_usagestringRequiredBandwidth usage in the last 24 hours
last_day_token10_active_addressstringRequiredActive TRC10 addresses in the last 24 hours
last_day_token10_sum_transactionstringRequiredTRC10 transaction count in the last 24 hours
last_day_token10_sum_transaction_amountstringRequiredTRC10 total transaction amount in the last 24 hours
last_day_token20_active_addressstringRequiredActive TRC20 addresses in the last 24 hours
last_day_token20_sum_transactionstringRequiredTRC20 transaction count in the last 24 hours
last_day_token20_sum_transaction_amountstringRequiredTRC20 total transaction amount in the last 24 hours
last_day_trx_transaction_numberstringRequiredTRX transaction count in the last 24 hours
last_day_trx_transfer_amountstringRequiredTRX transfer amount in the last 24 hoursTRX
last_day_whole_contract_usestringRequiredContract resource usage in the last 24 hours
last_day_whole_energy_burnstringRequiredEnergy burned in the last 24 hours
last_day_whole_energy_usestringRequiredNetwork-wide energy usage in the last 24 hours
last_day_whole_fee_burnstringRequiredFee burned in the last 24 hourssun
last_day_whole_net_burnstringRequiredBandwidth burned in the last 24 hours
last_day_whole_net_usestringRequiredNetwork-wide bandwidth usage in the last 24 hours
last_three_day_contract_active_addressstringRequiredActive contract addresses in the last 3 days
last_three_day_contract_triggersstringRequiredContract trigger count in the last 3 days
last_three_day_energy_usagestringRequiredEnergy usage in the last 3 days
last_three_day_net_usagestringRequiredBandwidth usage in the last 3 days
last_three_day_token10_active_addressstringRequiredActive TRC10 addresses in the last 3 days
last_three_day_token10_sum_transactionstringRequiredTRC10 transaction count in the last 3 days
last_three_day_token10_sum_transaction_amountstringRequiredTRC10 total transaction amount in the last 3 days
last_three_day_token20_active_addressstringRequiredActive TRC20 addresses in the last 3 days
last_three_day_token20_sum_transactionstringRequiredTRC20 transaction count in the last 3 days
last_three_day_token20_sum_transaction_amountstringRequiredTRC20 total transaction amount in the last 3 days
last_three_day_trx_transaction_numberstringRequiredTRX transaction count in the last 3 days
last_three_day_trx_transfer_amountstringRequiredTRX transfer amount in the last 3 daysTRX
last_three_day_whole_contract_usestringRequiredContract resource usage in the last 3 days
last_three_day_whole_energy_burnstringRequiredEnergy burned in the last 3 days
last_three_day_whole_energy_usestringRequiredNetwork-wide energy usage in the last 3 days
last_three_day_whole_fee_burnstringRequiredFee burned in the last 3 dayssun
last_three_day_whole_net_burnstringRequiredBandwidth burned in the last 3 days
last_three_day_whole_net_usestringRequiredNetwork-wide bandwidth usage in the last 3 days
last_week_contract_active_addressstringRequiredActive contract addresses in the last week
last_week_contract_triggersstringRequiredContract trigger count in the last week
last_week_energy_usagestringRequiredEnergy usage in the last week
last_week_net_usagestringRequiredBandwidth usage in the last week
last_week_token10_active_addressstringRequiredActive TRC10 addresses in the last week
last_week_token10_sum_transactionstringRequiredTRC10 transaction count in the last week
last_week_token10_sum_transaction_amountstringRequiredTRC10 total transaction amount in the last week
last_week_token20_active_addressstringRequiredActive TRC20 addresses in the last week
last_week_token20_sum_transactionstringRequiredTRC20 transaction count in the last week
last_week_token20_sum_transaction_amountstringRequiredTRC20 total transaction amount in the last week
last_week_trx_transaction_numberstringRequiredTRX transaction count in the last week
last_week_trx_transfer_amountstringRequiredTRX transfer amount in the last weekTRX
last_week_whole_contract_usestringRequiredContract resource usage in the last week
last_week_whole_energy_burnstringRequiredEnergy burned in the last week
last_week_whole_energy_usestringRequiredNetwork-wide energy usage in the last week
last_week_whole_fee_burnstringRequiredFee burned in the last weeksun
last_week_whole_net_burnstringRequiredBandwidth burned in the last week
last_week_whole_net_usestringRequiredNetwork-wide bandwidth usage in the last week

When type is not 0

Response is an array; each element contains start_time, end_time, type, and data fields.

5. Errors

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

  • When type is not 0: the response format is an array, not an object — parse accordingly.
Last updated on: