Search Console

Google Search Console performance data (impressions, clicks, CTR, average position) for projects with a connected GSC property. Growth plan or above required. ctr is a 0..1 fraction and position is the impression-weighted average. The X-Search-Console-Backend response header identifies stored or live reads. Stored reads use synced data without contacting Google. Live reads return ERR_SEARCH_CONSOLE_ACCESS_REVOKED (403) for revoked Google access; reconnect the property in Preferences > Project Settings > Connections. They return ERR_SEARCH_CONSOLE_UPSTREAM (503) when Google is unavailable or over quota; wait for the number of seconds in Retry-After before retrying. Stored reads refuse queries, pages and narrowed requests with ERR_INVALID_PARAM. For queries and pages, total counts the rows of one Google request, up to 25,000 (truncated: true at that limit). Row lists do not add up to the totals: to total a set of pages or queries, call /search_console/summary with filters and no dimension. A project can connect up to 10 properties: property reads one of them (the primary when omitted), or combines several with a comma-separated list or all.

GET/search_console/properties

The properties connected to the project, primary first, with their type (domain or url_prefix) and status. Each id is a value the property param of the other Search Console endpoints accepts.

Params:
  • project_idrequired
  • outputflat|csv

GET/search_console/summary

Headline totals for the range, property-wide unless filters narrows them, with an optional breakdown aggregated over the same range. breakdown_truncated: true means the breakdown left rows out. Query rows exclude anonymized queries, and page and searchAppearance rows are counted per page rather than per property, so breakdown rows can differ from the totals.

Params:
  • project_idrequired
  • propertyone id, a comma-separated list or all
  • range
  • from
  • to
  • dimensioncountry|device|page|query|searchAppearance|property
  • limitdefault and max 1000
  • search_typeweb|image|video|news|discover|googleNews
  • filters
  • data_statefinal|all
  • aggregation_typeauto|byPage|byProperty

GET/search_console/timeseries

Series bucketed by day, week or month, property-wide unless filters narrows it.

Params:
  • project_idrequired
  • propertyone id, a comma-separated list or all
  • range
  • from
  • to
  • granularityday|week|month
  • search_typeweb|image|video|news|discover|googleNews
  • filters
  • data_statefinal|all
  • aggregation_typeauto|byPage|byProperty
  • outputflat|csv

GET/search_console/queries

Top search queries for the range, ranked and paginated. Knowingly undercounts anonymized queries, so they do not sum exactly to the summary totals (same as the GSC UI).

Params:
  • project_idrequired
  • propertyone id, a comma-separated list or all
  • range
  • from
  • to
  • sortimpressions|clicks|ctr|position
  • page
  • per_page
  • start_row
  • search_typeweb|image|video|news|discover|googleNews
  • filters
  • data_statefinal|all
  • aggregation_typeauto|byPage|byProperty
  • outputflat|csv

GET/search_console/pages

Top landing pages for the range, ranked and paginated. Same shape as the queries endpoint, with each row key being a page URL.

Params:
  • project_idrequired
  • propertyone id, a comma-separated list or all
  • range
  • from
  • to
  • sortimpressions|clicks|ctr|position
  • page
  • per_page
  • start_row
  • search_typeweb|image|video|news|discover|googleNews
  • filters
  • data_statefinal|all
  • aggregation_typeauto|byPage|byProperty
  • outputflat|csv

GET/search_console/rows

Rows grouped by up to three dimensions, for example page and query, or date and page, ranked and paginated. Each dimension is its own field. Google returns at most 25,000 rows per request: truncated: true marks a full window and start_row reads the next one.

Params:
  • project_idrequired
  • dimensionsrequired, comma-separated, 1 to 3 of date|country|device|page|query|searchAppearance|property
  • propertyone id, a comma-separated list or all
  • range
  • from
  • to
  • sortimpressions|clicks|ctr|position
  • page
  • per_page
  • start_row
  • search_type
  • filters
  • data_statefinal|all
  • aggregation_typeauto|byPage|byProperty
  • outputflat|csv

GET/search_console/opportunities

Queries ranking just below the top 3 with enough impressions, ranked by the clicks a move into the top 3 would add at the CTR the property's own top-3 queries get in the same window. Use it to find the queries where a small ranking gain would add the most traffic.

Params:
  • project_idrequired
  • propertyone id, a comma-separated list or all
  • range
  • from
  • to
  • min_impressionsdefault 100
  • min_positiondefault 4
  • max_positiondefault 20
  • page
  • per_page
  • search_type
  • filters
  • data_statefinal|all
  • aggregation_typeauto|byPage|byProperty
  • outputflat|csv

GET/search_console/cannibalization

Queries for which two or more pages each take at least min_share of the impressions, each with its competing pages. Google counts these impressions per page, so a query's figure here can be higher than its property-wide one. Use it to find the keywords several of the site's pages fight over, and decide which pages to merge, redirect or differentiate.

Params:
  • project_idrequired
  • propertyone id, a comma-separated list or all
  • range
  • from
  • to
  • min_impressionsdefault 100
  • min_share0.01 to 0.5, default 0.1
  • page
  • per_page
  • search_type
  • filters
  • data_statefinal|all
  • aggregation_typeauto|byPage|byProperty
  • outputflat|csv

GET/search_console/decay

Pages, or queries, that lost the most clicks against the window of the same length just before, with clicks, impressions and position in both windows. The requested window ends at the last day Google has published (compared_through), so days still being filled in never read as a loss. Use it to find the pages losing traffic and to tell lost rankings (a worse position) from lost demand (fewer impressions at a stable position).

Params:
  • project_idrequired
  • propertyone id, a comma-separated list or all
  • range
  • from
  • to
  • dimensionpage|query
  • min_clicksdefault 10
  • page
  • per_page
  • search_type
  • filters
  • data_statefinal|all
  • aggregation_typeauto|byPage|byProperty
  • outputflat|csv

GET/search_console/brand_split

Impressions and clicks of the queries that name the brand and of those that do not, next to the totals. A branded query contains one of the project's brand terms as a whole word: its brand name, matching names, app names and domain, each also with its accents folded. Google applies the split to every query it counts. It leaves anonymized queries out of any query filter, so unclassified holds what neither side counts. Use it to see how much search traffic comes from people who already know the brand and how much from discovery searches, and how each side evolves across date ranges.

Params:
  • project_idrequired
  • propertyone id, a comma-separated list or all
  • range
  • from
  • to
  • search_type
  • filters
  • data_statefinal|all
  • aggregation_typeauto|byPage|byProperty

GET/search_console/ai_visibility_gaps

The property's top queries matched against the project's prompts. A query matches a prompt with the same text (match_type prompt) or, failing that, a prompt whose AI answers ran that same search in the window (match_type fan_out). Both matches are exact: the same text once both are lowercased, accents folded, spacing squeezed and leading or trailing punctuation dropped. Only some models report their searches, mainly ChatGPT. A matched query carries the prompt's AI answers (responses) and Brand Visibility over the same window. unmatched_only lists the search demand no prompt covers yet. Use it to find high-demand searches the AI tracking does not cover yet, the strongest candidates to add as prompts, and to check whether the queries that bring Google traffic also get the brand mentioned in AI answers.

Params:
  • project_idrequired
  • propertyone id, a comma-separated list or all
  • range
  • from
  • to
  • min_impressionsdefault 100
  • unmatched_onlytrue|false
  • page
  • per_page
  • search_type
  • filters
  • data_statefinal|all
  • aggregation_typeauto|byPage|byProperty
  • outputflat|csv