Skip to main content
GET
Get traffic sources

Authorizations

Authorization
string
header
required

Bearer token authentication

Query Parameters

period
string

Named reporting period (default last_30_days). Supported names: today, last_7_days, last_30_days, last_90_days, last_12_months, this_month, last_month. An unsupported name returns 422.

Response

Success

Store-traffic sources for a period — the resolved window, the per-channel split across the seven canonical channels, and the ranked top referring hosts, wrapped in the standard API response envelope.

period
object
required
channels
object[]
required

The seven canonical acquisition channels in fixed order.

Required array length: 7 elements
referrers
object[]
required

Referring hosts ranked by distinct visitors, optionally ending in an "(other)" row folding the tail.

total_visitors
integer
required

Total distinct bot-free visitors over the window.

status
integer
required

The HTTP status code echoed in the response envelope.

meta
object
required