API Reference
Business Impact Report
The full traffic and leads report for a domain: Search Console, AI answer arrivals, calls to action, leads and a daily series.
/api/v1/reports/business-impactThe same numbers as the Business Impact page in Studio, from the same code path: organic search and AI engine visits, leads, call to action clicks, per segment and per AI engine, with the previous window and a daily series. Add format=csv for the daily series as CSV.
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
domain | string | Optional | The domain to report on (e.g., "example.com"). Required when the key can read more than one domain; GET /api/v1/domains lists them. |
days | number | Optional | Window length in days, up to 366. The window ends on the last day data was received.Default: 28 |
from | string | Optional | Start of a calendar window, YYYY-MM-DD (use with to instead of days) |
to | string | Optional | End of a calendar window, YYYY-MM-DD |
format | string | Optional | Set to "csv" for CSV instead of JSON (e.g., "csv") |
Code Examples
curl:
CSV:
JavaScript:
Python:
Try it
Response
Abridged: site also carries people, search_impressions, cta_clicks, form_successes and applications; the response also has definitions, coverage, measurement, previous, by_segment, leads_by_event and cta_by_event.
Sent with a Retry-After header: the seconds until the next request is allowed.
null is not zero
null means not measured for this window, never zero. Every metric under site carries measured_from: days before it were unmeasured.site count every visitor. totals and everything from Google Analytics is a consent sample: use it for shares and splits, not absolute traffic. Never sum numbers across sources.