Get users registration statistics over time

Retrieve time-series data about user registration patterns and trends. This endpoint provides detailed analytics on user sign-ups over time, including activation rates, registration velocity, and temporal distribution of new account creation.

GET

Parameters

Query Parameters

Interval
Time interval for grouping time-series statistics and analytics data
Time_range
Time range for filtering statistics and analytics data
Limit
How many items to return at one time (max 100)
Activated
Filter statistics by activation status
When_created[$gt]
When_created[$lt]
When_created[$gte]
When_created[$lte]
Status codeDescription
200User registration statistics
400Bad request error - the request contains invalid parameters or malformed data
500Internal server error - an unexpected error occurred on the server
cURL
curl -L \
"https://blockv-labs.io/stats/wallets/registration?interval={interval}&time_range={time_range}&limit={limit}&activated={activated}&when_created[$gt]={when_created[$gt]}&when_created[$lt]={when_created[$lt]}&when_created[$gte]={when_created[$gte]}&when_created[$lte]={when_created[$lte]}" \
-H 'Accept: application/json'
Response
{
"data": [
{
"id": "string",
"key": "string",
"when": "2024-01-01T00:00:00Z",
"count": 1,
"fee": "string"
}
]
}
json
{
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"x-oapi-codegen-extra-tags": {
"bson": "id",
"json": "id,omitempty"
},
"x-go-type": "id.ID",
"x-go-type-import": {
"path": "github.com/vlabsio/smarttoken/pkg/types/id"
}
},
"key": {
"type": "string",
"description": "Key for this data point",
"x-oapi-codegen-extra-tags": {
"bson": "key",
"json": "key,omitempty"
}
},
"when": {
"type": "string",
"format": "date-time",
"description": "Timestamp for this data point",
"x-oapi-codegen-extra-tags": {
"bson": "when"
}
},
"count": {
"type": "integer",
"format": "int64",
"description": "Count value for this data point",
"x-oapi-codegen-extra-tags": {
"bson": "count"
}
},
"fee": {
"type": "string",
"x-go-type": "decimal.Decimal",
"x-go-type-import": {
"path": "github.com/vlabsio/smarttoken/pkg/types/decimal"
},
"x-oapi-codegen-extra-tags": {
"bson": "fee"
}
}
}
},
"description": "List of registration statistics over time"
}
}
}