Analytics
Get customer analytics
Retrieve customer metrics including total count, new customers, and geographic distribution.
get/api/analytics/customers
Query parameters
dateFromstring
Example:2025-01-01
dateTostring
Example:2025-12-31
currencystring
groupBy'day' | 'week' | 'month'
Response
Customer metrics and distribution
Example response
{
"totalCustomers": 150,
"newCustomers": 12,
"arpu": "83.33",
"totalRevenue": "12500.0000"
}