Skip to content

Community

The community stats endpoint exposes aggregate platform metrics that power the public-facing community page. Data is cached and updated every 7 days.

Caching

Community stats are expensive to compute. Results are cached at the application layer with a 7-day TTL. The cachedAt field in the response indicates when the current snapshot was generated.

To force a refresh outside the normal cycle, contact the platform team. There is no public cache invalidation endpoint.

Endpoints

GET /api/community/stats

Retrieve aggregate community statistics (7-day cache)

No authentication required. This endpoint is publicly accessible.

Response

{
"success": true,
"data": {
"totalTesters": 4821,
"activeTesters": 1203,
"totalStudiesCompleted": 1876,
"totalSessionsCompleted": 28450,
"avgSessionRating": 4.4,
"topCountries": [
{ "country": "IT", "testerCount": 820 },
{ "country": "US", "testerCount": 712 },
{ "country": "DE", "testerCount": 544 },
{ "country": "GB", "testerCount": 431 },
{ "country": "BR", "testerCount": 308 }
],
"deviceBreakdown": {
"desktop": 0.61,
"mobile": 0.31,
"tablet": 0.08
},
"avgCompensationPerSession": {
"currency": "USD",
"amount": 14.20
},
"cachedAt": "2026-03-10T00:00:00Z",
"nextRefreshAt": "2026-03-17T00:00:00Z"
},
"error": null,
"metadata": null
}

Fields

FieldDescription
totalTestersAll registered testers on the platform
activeTestersTesters who completed at least one session in the last 90 days
totalStudiesCompletedStudies that reached their target session count
totalSessionsCompletedAll confirmed sessions across all studies
avgSessionRatingAverage business rating across all confirmed sessions (1-5 scale)
topCountriesTop 5 countries by tester count
deviceBreakdownProportion of sessions by device type
avgCompensationPerSessionPlatform-wide average payout per completed session
cachedAtTimestamp of the current snapshot
nextRefreshAtWhen the cache will next be invalidated