Skip to main content
GET
Website intent analytics roll-up

Authorizations

Authorization
string
header
required

Your API token (af_…) as the Basic-auth username, with an empty password.

Query Parameters

range
enum<string>
default:30d

Rolling window ending now: 7d, 30d (default) or 90d, i.e. the roll-up covers the last 7, 30 or 90 days; time-series bucket sizes (daily, weekly, monthly) are chosen from the window length.

Available options:
7d,
30d,
90d
timezone
string
default:UTC

IANA timezone name (e.g. Europe/Kyiv, America/New_York) whose calendar days the time series is bucketed by: each bucket's isoDate / date is a local day, week, month or quarter in this zone. Offsets such as +03:00 are rejected. Default: UTC.

Maximum string length: 64

Response

Success

range
enum<string>
required
Available options:
7d,
30d,
90d
metrics
object
required
timeSeries
object[]
required
topVisitors
object
required