Skip to Content
APIStatisticsGet Total Blockchain Size

Get Total Blockchain Size

1. Overview & Typical Use

Returns cumulative blockchain data size (total on-chain data), sorted in ascending order by time.

  • Typical use: monitor the growth trend of total blockchain data size, assess storage requirements.
  • When not to use: for daily average block size use “Get Average Block Size Data”.

2. Endpoint & Authentication

GET /api/overview/totalblockchainsize

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

3. Request

ParameterTypeRequiredDefaultDescription
daysintegerNo15Number of days to query

4. Response

Top-level

FieldTypeRequiredDescriptionUnit/Precision
lastUpdateSecondsintegerRequiredLast update timeUnix timestamp in seconds (10-digit)
codeintegerRequiredStatus code (e.g. 200)
successbooleanRequiredWhether the request succeeded
messagestringRequiredResult message (e.g. "request ok")
statusstringRequiredStatus indicator (e.g. "1" for normal)
dataarrayRequiredDaily cumulative blockchain size array; see below

data[] elements

FieldTypeRequiredDescriptionUnit/Precision
dateintegerRequiredStatistics dateMillisecond timestamp
dateDayStrstringRequiredStatistics date string, format yyyy-MM-dd
blockchainSizeintegerRequiredCumulative blockchain data sizebytes

5. Errors

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

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