Search keywords
Google Search Console queries for a period (whole days in the site’s timezone), most clicks first: clicks, impressions, CTR (0 to 1), average position (1 is the top) and a revenue estimate in minor units. The estimate shares each landing page’s revenue from Google search visits between the queries that sent it clicks, by their share of the clicks; it is null when the site has never recorded a payment. Google publishes the data two to three days late (lastDay says how far it reaches). Only page filters apply. A site without Search Console answers connected: false. Needs Analytics: read.
Authorizations
An API key that starts with cs_sk_, created under API and MCP, API keys. A key covers every site of its workspace or a chosen list, and carries permissions per resource (Analytics, Revenue and payments, Goals and events, Funnels, Sites, Notes, Alerts) and extras (Visitor details, Raw events export, Team members, Workspace name, See API keys, Manage API keys). A change acts for the key's creator, with their current role. A request outside them answers 403 naming the missing permission.
Query Parameters
Preset period: today (today), yesterday (yesterday), 24h (last 24 hours), 7d (last 7 days), 30d (last 30 days), 90d (last 90 days), wtd (week to date), mtd (month to date), last_month (last month), ytd (year to date), 12m (last 12 months), all (all time). Defaults to 30d. Use either this or from and to.
today, yesterday, 24h, 7d, 30d, 90d, wtd, mtd, last_month, ytd, 12m, all Start of a custom period: a day, YYYY-MM-DD, inclusive, in the timezone; or an exact ISO-8601 timestamp with its offset, such as 2026-12-01T09:30:00Z. Requires to.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$End of a custom period: a day, YYYY-MM-DD, inclusive, in the timezone; or an exact ISO-8601 timestamp with its offset (exclusive). Requires from.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$First day of a custom comparison, YYYY-MM-DD, inclusive, in the site's timezone. Only with compare "custom"; requires compareTo.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Last day of a custom comparison, YYYY-MM-DD, inclusive, in the site's timezone. Only with compare "custom"; requires compareFrom.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Narrow the data. Repeat the parameter to add filters; all must match. Format: dimension:op:value, for example country:is:DE. Dimensions: page, entry_page, exit_page, hostname, channel, source, referrer, utm_source, utm_medium, utm_campaign, utm_term, utm_content, country, region, city, browser, os, device, language, event, ai_assistant. Operators: is, is_not, contains.