Skip to main content
GET
Get a realtime traffic snapshot

Authorizations

Authorization
string
header
required

Cactal API key. Create one in the dashboard or via POST /apiKeys. The plaintext key is shown once at creation.

Path Parameters

websiteId
string
required
Minimum string length: 1

Response

Traffic totals for the trailing 30-minute window.

views
number
required

Page views in the trailing 30-minute window.

visitors
number
required

Distinct visitors in the trailing 30-minute window.

events
number
required

Tracked custom events in the trailing 30-minute window.

countries
number
required

Distinct countries in the trailing 30-minute window.

timestamp
string
required

Snapshot time as an ISO 8601 timestamp.