Anonymous queries
API + MCPGET/v3/gsc/anonymous-queries
Query parameters
selectstringRequired
A comma-separated list of columns to return. See response schema for valid column identifiers.
wherestring
The filter expression. The following column identifiers are recognized (this differs from the identifiers recognized by the select parameter).
order_bystring
A comma-separated list of columns to order results by, with optional direction. See response schema for valid column identifiers.
Example:field_a,field_b:asc,field_c:desc
limitinteger
The number of results to return.
Default:1000
timeoutinteger
A manual timeout duration in seconds.
project_idintegerRequired
Project ID
date_fromstring (date)Required
The start date of the historical period in YYYY-MM-DD format.
countrystringRequired
A two-letter country code (ISO 3166-1 alpha-2).
Allowed values:adaeafagaialamaoarasatauawazba…
outputstring
The output format.
Allowed values:jsoncsvxmlphp
Responses
keywordsarray<object>
cpcinteger or null
keywordstring
keyword_countrystring
Allowed values:ADAEAFAGAIALAMAOAQARASATAUAWAX…
keyword_difficultyinteger or null
(10 units)
positioninteger
position_kindstring
Allowed values:paid_toppaid_bottompaid_rightpaid_sitelinkorganicsitelinksnippetimagearticleknowledge_cardknowledge_panellocal_packlocal_teasernewsquestion…
trafficinteger
(10 units)
urlstring (url)
volumeinteger or null
(10 units)
errorstring
errorstring
errorstring
errorstring
errorstring