Get a realtime traffic snapshot
Returns a compact snapshot of traffic over Umami’s trailing 30-minute realtime window: total page views, distinct visitors, tracked custom events, and distinct countries, plus the snapshot timestamp. The visitor total is not directly comparable to the removed active endpoint’s five-minute count. Use it to see recent activity; use the query endpoint for historical ranges. Requires a plan that includes analytics (403 otherwise); all-zero totals until the website is published and has traffic.
Authorizations
Cactal API key. Create one in the dashboard or via POST /apiKeys. The plaintext key is shown once at creation.
Path Parameters
1Response
Traffic totals for the trailing 30-minute window.
Page views in the trailing 30-minute window.
Distinct visitors in the trailing 30-minute window.
Tracked custom events in the trailing 30-minute window.
Distinct countries in the trailing 30-minute window.
Snapshot time as an ISO 8601 timestamp.