v2

latestOpenAPI 3.0.0raw.githubusercontent.com2026-02-16143114179.4 KB
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

totalCustomersnumber required
newCustomersnumber required
arpustring required

Average revenue per user

totalRevenuestring required

Example response

{
  "totalCustomers": 150,
  "newCustomers": 12,
  "arpu": "83.33",
  "totalRevenue": "12500.0000"
}