Skip to Content
APIStatisticsGet Number of Accounts Holding TRX

Get Number of Accounts Holding TRX

1. Overview & Typical Use

Returns the number of accounts holding TRX, sorted by date in ascending order.

  • Typical use: analyze growth trends in the number of TRX holders.
  • When not to use: for active account counts use “Get Active Account Statistics”.

2. Endpoint & Authentication

GET /api/overview/accountswithtrx

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

3. Request

ParameterTypeRequiredDefaultDescription
daysintegerNoNumber of days to query

4. Response

Top-level

FieldTypeRequiredDescriptionUnit/Precision
successbooleanRequiredWhether the request succeeded
dataarrayRequiredTRX holder data list; see below

data[] elements

FieldTypeRequiredDescriptionUnit/Precision
dateintegerRequiredStatistics dateMillisecond timestamp
dateDayStrstringRequiredStatistics date stringyyyy-MM-dd
accountWithTrxintegerRequiredNumber of accounts holding TRX
accountWithTrxPercentagenumberRequiredRatio of TRX-holding accounts to all accounts
totalAddressintegerRequiredTotal account count on the network

5. Errors

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

  • Empty result is not an error: no matches returns 200 + data: [], which is a normal response.
Last updated on: