Visitor analytics for any site (admin drill-down)
Admin-only per-site visitor analytics over a lookback window. Unlike the owner-facing GET /sites/:id/analytics, this works for any site regardless of ownership or the account’s plan — it powers the directory drill-down. Reads live from the analytics warehouse; counts are sampling estimates.
Request
- Base URL: https://api.nippy.host
- URL: https://api.nippy.host/stats/sites/{id}/analytics
- Auth: bearer (a scheme the document does not define)
Path parameters
Site UUID
Query parameters
Window start, ISO 8601. Omit for "all time" — the server starts the window at the earliest recorded event for the site.
Window end, ISO 8601. Defaults to now; clamped to now.
Series bucket width (spacing between chart points). Must be one of the widths allowed for the window's duration; an unsupported value is clamped to that duration's default. Defaults to the duration's default.
Viewer's UTC offset in minutes, east-positive (i.e. -new Date().getTimezoneOffset(); e.g. 60 for UTC+1, -300 for UTC−5). Series buckets are aligned to the viewer’s local day/hour boundaries using this. Defaults to 0 (UTC).
Response
Example response
{
"series": [
{
"date": "2026-05-20"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.