Search Console

Top Search Console queries (Growth+)

Top Google Search Console search queries over a date range, ranked by impressions/clicks/ctr/position, paginated. Requires a connected Search Console property (Growth+). Returns ERR_SEARCH_CONSOLE_ACCESS_REVOKED (403) when Google has revoked the connection's access (reconnect the property), and ERR_SEARCH_CONSOLE_UPSTREAM (503, with a Retry-After header) when Google Search Console is unavailable or over quota. total is the number of distinct keys Google returned for the range (the Search Analytics API caps one query at 25,000 rows); truncated: true flags a capped response, and sort=ctr or sort=position ranks within that returned set.

get/search_console/queries

Query parameters

project_idinteger required

Project ID

rangeinteger

Number of days to look back

fromstring date-time
tostring date-time
sort'impressions' | 'clicks' | 'ctr' | 'position'
pageinteger
per_pageinteger
output'flat' | 'csv'

Rectangular output for BI tools (Tableau, Excel, Sheets, ELT). Omit for the default nested JSON. 'flat' returns the same metadata plus 'columns' and 'rows'; 'csv' returns those rows as text/csv. Errors are always returned as JSON.

Response

Top queries

Changes