Search the archive past 16 months
search_analytics_archiveQuery the Personal Archive (no 16-month limit).
Returns aggregated rows by the requested dimensions. Position is impression-weighted.
Anonymized queries: the archive stores query-level rows, and Google leaves anonymized queries out of those, so a total or a page/country/device breakdown summed from them is lower than Search Console's (often 30-40% fewer clicks). This tool handles that as follows:
With the "query" dimension, or a filter on query: served from archived rows. Google's own query-level data excludes the same queries.
Totals (no dimensions, or only "date", and no filters): served from archived Search Console daily totals, which include anonymized traffic.
Otherwise, while the range is inside Google's ~16-month window, the request is answered live by Google (source "google") so the figures are complete. Older ranges are answered from the archive with a
noteexplaining that they exclude anonymized traffic.
Use this for historical / trend questions where freshness is not critical. For very recent data (last 3 days), use search_analytics_query (Google).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | ISO date. | |
| site_url | Yes | Property URL. | |
| row_limit | No | Max rows. Default 100, capped at 25000. | |
| start_row | No | Pagination offset. | |
| dimensions | No | query, page, country, device, date. Default empty (totals). | |
| start_date | Yes | ISO date. NO 16-month limit (depends on your archive depth). | |
| dimension_filter_groups | No | Same format as search_analytics_query. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||