stats

Get histogram for namespace with precomputed stats

Changed on

Returns a time-series histogram of precomputed blob statistics (pfb_count, pff_count or size) for the specified namespace, filtered by timeframe and optional time range.

get/stats/namespace/series/{id}/{name}/{timeframe}

Request

  • Base URL
    api-mainnet.celenium.io (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header apikey

Path parameters

idstring required

Namespace id in hexadecimal

timeframe'hour' | 'day' | 'week' | 'month' | 'year' required

Timeframe

name'pfb_count' | 'pff_count' | 'size' required

Series name

Query parameters

frominteger

Time from in unix timestamp

tointeger

Time to in unix timestamp

Response

OK

maxstring string
minstring string
timestring date-time
valuestring string

Example response

[
  {
    "max": "0.17632",
    "min": "0.17632",
    "time": "2023-07-04T03:10:57+00:00",
    "value": "0.17632"
  }
]

Changes