Get Active Account Statistics
1. Overview & Typical Use
Returns daily active account data, including active count, transaction volume, and month-over-month change.
- Typical use: analyze network activity trends, render DAU charts.
- When not to use: for new-account counts use “Get Daily New Accounts”.
2. Endpoint & Authentication
GET /api/account/active_statistic
For Base URL and authentication, see Common Network & Authentication.
3. Request
Fields
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
type | string | No | DAY | Query granularity. Values: DAY, WEEK, MONTH (case-insensitive) |
start_timestamp | integer | No | — | Start time, millisecond timestamp |
end_timestamp | integer | No | — | End time, millisecond timestamp |
days | integer | No | — | Number of days to query; max span 1000 days |
4. Response
Fields
Top-level
| Field | Type | Required | Description | Unit/Precision |
|---|---|---|---|---|
last_month | string | Required | Most recent month | yyyy-MM |
pre_month | string | Required | Previous month | yyyy-MM |
last_mom | string | Required | Month-over-month change rate | Percentage |
avg_active_count | integer | Required | Average active account count | — |
total | integer | Required | Number of data records | — |
data | array | Required | Active account data list; see below | — |
data[] elements
| Field | Type | Required | Description | Unit/Precision |
|---|---|---|---|---|
day_string | string | Required | Date | yyyy-MM-dd |
day_time | integer | Required | Date timestamp | Milliseconds |
active_count | integer | Required | Daily active account count | — |
transactions | integer | Required | Daily transaction count | — |
owner_address_count | integer | Required | Number of addresses that initiated transactions | — |
amount | number | Required | Transaction amount (float, magnitude ~2×10¹⁰, likely in sun) | sun |
proportion | number | Required | Active account ratio | — |
mom | number | Required | Month-over-month change | — |
type | string | Required | Statistics type | — |
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: