Skip to content

API reference

Analytics

Revenue and order statistics.

1 endpointanalytics:read

Endpoints

GET/analyticsanalytics:read

Revenue and orders.

Query parameters
Query parametersTypeDescription
periodType: 24h | 7d | 30d | 90d | 365dWindow ending now. Default 30d.
curl https://api.sellhidden.com/v1/analytics \
  -H "Authorization: Bearer hsk_live_…"
200 OKjson
{
  "ok": true,
  "period": "7d",
  "revenue": { "totalUsd": 1240.5, "daily": [ { "t": "2026-09-20T00:00:00.000Z", "value": 180 }, … ] },
  "orders": { "total": 43, "daily": [ { "t": "2026-09-20T00:00:00.000Z", "value": 6 }, … ] },
  "customerCount": 39,
  "topProducts": [ { "productId": "clx…", "slug": "lifetime-license", "title": "Lifetime license", "imageUrl": null, "units": 21, "revenueUsd": 609, "orders": 21 } ]
}

Get help

Send us the endpoint, the request or delivery id and the response you got. Security findings go through responsible disclosure. Live platform status is on the support page.

See also