Beta. This endpoint is new and its response shape may still change. It
shares authentication, windowing, and domain scoping with
Export Analytics.
Referer header. For each domain it breaks the traffic down by AI source, by day, and by landing page.
Programmatic (API key) access requires the Pro plan and above — requests
from Starter accounts return
403 plan_upgrade_required.These counts are a floor, not a total. Some surfaces strip the
Referer
header, so those visits are invisible here. Google AI Overviews and Bing
Copilot-in-search are also excluded on purpose: they share bare search
hostnames (google.com, bing.com) with ordinary organic clicks, which would
otherwise flood the channel with mis-attributed search traffic.Request
Headers
Body Parameters
Choose the reporting window in one of two ways — a rollingperiod, or an explicit startDate/endDate range. The two are mutually exclusive.
Range rules — a request that breaks any of these returns
400 invalid_request:
periodandstartDate/endDatecannot be combined.endDatecannot be sent on its own — it requires astartDate.- Dates must be real calendar dates in
YYYY-MM-DDform (e.g.2026-02-30is rejected). startDatemust not be afterendDate, and neither may be in the future.- The range may span at most 365 days (inclusive), the same cap as the
365dperiod.
Example Request
Response
Success (200)
Fields
AI sources
Each source carries asurfaceType describing the kind of AI surface it is:
Referrers that look like an AI surface but don’t match a known source are
bucketed under
unknown (surfaceType: "other") so no AI-referred visit is
silently dropped.