Google Search queries and pages
GET/ v1/ projects/ {project}/ analytics/ search
What Search Console reported about the site in the range, in whole days of the project's time zone: the totals (Google's own, which count what the rows leave out for privacy), the totals of each day, and the rows grouped by dimension, most clicked first. With compare, the comparison's totals and each row's measures in it. Reads what was imported, also after disconnecting.
Path parameters
project
The project's id (
prj_…).Query parameters
dimension
What the rows are grouped by;
query when not given. Countries are ISO 3166-1 alpha-3 codes (USA, IND).querypagecountrydevicepreset
todayyesterday7d30d90dthis_monthlast_monththis_yearallfrom
A date (2026-11-01) or an RFC 3339 time.
to
A date (included) or an RFC 3339 time (excluded).
compare
Compare with the period before or the year before.
previous_periodprevious_yearcompare_from
A custom comparison's first day.
compare_to
A custom comparison's last day.
limit
How many rows; 100 when not given.
Responses
The report.
dimension
querypagecountrydevicetotals
Show 4 fieldsHide fields
clicks
impressions
ctr
Clicks ÷ impressions, 0 to 1.
position
The average position, weighed by impressions; 1 is the top, 0 without impressions.
previous
Show 4 fieldsHide fields
clicks
impressions
ctr
Clicks ÷ impressions, 0 to 1.
position
The average position, weighed by impressions; 1 is the top, 0 without impressions.
series
data
date_range
A resolved range [from, to) in UTC.
Show 2 fieldsHide fields
from
A time in UTC, ISO 8601.
to
A time in UTC, ISO 8601.
compare_range
A resolved range [from, to) in UTC.
Show 2 fieldsHide fields
from
A time in UTC, ISO 8601.
to
A time in UTC, ISO 8601.
Example response
1{2"dimension": "query",3"totals": {4"clicks": 1,5"impressions": 1,6"ctr": 1.5,7"position": 1.58},9"previous": {10"clicks": 1,11"impressions": 1,12"ctr": 1.5,13"position": 1.514},15"series": [16{17"clicks": 1,18"impressions": 1,19"ctr": 1.5,20"position": 1.5,21"day": "2026-11-21"22}23],24"data": [25{26"clicks": 1,27"impressions": 1,28"ctr": 1.5,29"position": 1.5,30"value": "string",31"previous": {32"clicks": 1,33"impressions": 1,34"ctr": 1.5,35"position": 1.536}37}38],39"date_range": {40"from": "2026-11-21T09:30:00Z",41"to": "2026-11-21T09:30:00Z"42},43"compare_range": {44"from": "2026-11-21T09:30:00Z",45"to": "2026-11-21T09:30:00Z"46}47}
Errors
Every error has the same shape: error.code, a message for people and details.
| Status | Code |
|---|---|
validation_error | |
clickhouse_not_configured |