Get users statistics

Retrieve comprehensive statistics about user wallets and account activity. This endpoint provides aggregate data including total user counts, registration trends, and activity metrics over specified time ranges for analytics and reporting purposes.

GET

Parameters

Query Parameters

Time_range
Time range for filtering statistics and analytics data
When_created[$gt]
When_created[$lt]
When_created[$gte]
When_created[$lte]
Status codeDescription
200User 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?time_range={time_range}&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
{
"total": 1,
"active": 0
}
json
{
"type": "object",
"required": [
"total",
"active"
],
"properties": {
"total": {
"type": "integer",
"format": "int64",
"description": "Total number of users"
},
"active": {
"type": "integer",
"format": "int64",
"description": "Number of active users in the specified time range"
}
}
}