How far back to measure, counted from the newest run.
Values:7d30d90d
Response · 200
application/json
connectedboolean
Whether Search Console is connected.
awaiting_databoolean
Connected, but nothing synced for the range yet.
trendobject[]
One point per day in the range, oldest first.
+−Show child attributesHide child attributes
datestring
Day, as YYYY-MM-DD.
clicksinteger
Clicks from Google search that day, from Search Console.
impressionsinteger
Times the site appeared in results that day.
avg_positionnumbernullable
Average position across the day's impressions. Null when Search Console reported none.
top_queriesobject[]
The latest finalised week's top queries by clicks, up to 25.
+−Show child attributesHide child attributes
termstring
The query, or the page URL.
clicksinteger
Clicks over the window.
impressionsinteger
Impressions over the window.
ctrnumber
Click-through rate, 0–100.
positionnumbernullable
Average position over the window.
top_pagesobject[]
The same week's top pages by clicks, up to 25.
+−Show child attributesHide child attributes
termstring
The query, or the page URL.
clicksinteger
Clicks over the window.
impressionsinteger
Impressions over the window.
ctrnumber
Click-through rate, 0–100.
positionnumbernullable
Average position over the window.
Errors
403 plan_feature_unavailable
The feature is on a higher plan. Bulk exports and webhooks are Custom-only.
404 not_found
The project or item doesn't exist in this workspace. A project from another workspace also returns 404, never 403.
422 invalid_request
A parameter or body field is missing or has the wrong type or value. The message names the field. Also returned when a write would pass the plan's prompt limit.
401 unauthorized
No key was sent, or the key is unknown, revoked or expired, or the member who created it has left the workspace or been deactivated.
402 plan_required
The workspace's plan doesn't include API access. It's included on every plan from Track up — Solo is the one without it.
403 workspace_not_approved
The workspace is still waiting for approval, or wasn't approved.
429 rate_limited
Too many requests this minute. Wait for the number of seconds in the `Retry-After` header, then retry.