Skip to Content
APIStatisticsGet Energy and Bandwidth Acquisition Cost Data

Get Energy and Bandwidth Acquisition Cost Data

1. Overview & Typical Use

Returns the cost to acquire resources such as energy and bandwidth, including staking cost and burn cost.

  • Typical use: analyze trends in resource acquisition costs to inform staking or burn decisions.
  • When not to use: for energy consumption distribution use “Get Energy Consumption Distribution”.

2. Endpoint & Authentication

GET /api/acquisition_cost_statistic

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

3. Request

ParameterTypeRequiredDefaultDescription
start_timestampintegerNoStart time, millisecond timestamp
end_timestampintegerNoYesterdayEnd time, millisecond timestamp
limitintegerNo14Number of records to return

4. Response

Top-level

FieldTypeRequiredDescriptionUnit/Precision
totalintegerRequiredNumber of data records
energy_cost_maxobjectRequiredData record with the maximum energy cost
energy_cost_minobjectRequiredData record with the minimum energy cost
net_cost_maxobjectRequiredData record with the maximum bandwidth cost
net_cost_minobjectRequiredData record with the minimum bandwidth cost
dataarrayRequiredDaily cost data list; see below

data[] elements

FieldTypeRequiredDescriptionUnit/Precision
daystringRequiredStatistics dateyyyy-MM-dd
total_energy_costnumberRequiredEnergy staking costTRX/Energy
energy_cost_ratenumberRequiredEnergy cost day-over-day change rate
total_net_costnumberRequiredBandwidth staking costTRX/Bandwidth
net_cost_ratenumberRequiredBandwidth cost day-over-day change rate
burn_energy_costnumberRequiredEnergy burn costTRX/Energy
burn_net_costnumberRequiredBandwidth burn costTRX/Bandwidth

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: