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"
}

Changes

Changed in 1 of the 2 revisions of this API.1

    • added the media type application/json for the response with the status 200

      response-media-type-added