Skip to Content
APIContractGet Contract Daily Call Count List

Get Contract Daily Call Count List

1. Overview & Typical Use

Returns the daily call count statistics for a contract over a specified time range, used for analyzing contract usage frequency trends.

  • Typical use: contract call volume trend charts, DApp daily transaction volume statistics, contract activity monitoring.
  • When not to use: for daily unique caller counts use “Get Contract Daily Unique Caller Count”; for top called methods use “Get Contract Call Statistics”.

2. Endpoint & Authentication

GET /api/onecontracttriggerstatistic

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

3. Request

ParameterTypeRequiredDefaultDescription
addressstringYesContract address (Base58, starts with T)
start_timestampintegerNoStart time, millisecond timestamp
end_timestampintegerNoEnd time, millisecond timestamp

4. Response

Top-level

FieldTypeRequiredDescriptionUnit/Precision
totalintegerRequiredNumber of data points (days)
totalAmountintegerRequiredTotal calls within the time range
dataarrayRequiredDaily statistics array

data[] element

FieldTypeRequiredDescriptionUnit/Precision
dayintegerRequiredDatemillisecond timestamp
amountintegerRequiredNumber of calls on this day

5. Errors

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

  • No data in time range: returns 200 + data: [], total: 0.
  • Empty result is not an error: when the contract does not exist or there are no calls in the time range, an empty array is returned as a normal response.
Last updated on: