Search Analytics
search_analyticsQuery Google Search Console performance data by dimension, search type, and filters to analyze clicks, impressions, CTR, and position for SEO insights.
Instructions
Query Google Search Console performance data. Supports all dimensions (query, page, country, device, searchAppearance, date), all search types (web, discover, googleNews, news, image, video), regex filters, hourly data, and up to 25K rows per request. IMPORTANT: Base your analysis only on the data returned by this tool. Report exact numbers from the response. Do not speculate about causes the data does not support. If the data is insufficient to answer, say so rather than guessing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | No | End date in YYYY-MM-DD format (default: 2 days ago) | |
| filters | No | Filters to apply to the query | |
| siteUrl | No | The site URL (e.g., "https://example.com/" or "sc-domain:example.com"). Falls back to GSC_DEFAULT_SITE_URL env var if not provided. | |
| rowLimit | No | Maximum rows to return (default: 1000, max: 25000) | |
| startRow | No | Starting row offset for pagination (default: 0) | |
| dataState | No | Data freshness: "final" (2-3 day delay), "all" (includes fresh data), "hourly_all" (hourly breakdown) | |
| startDate | No | Start date in YYYY-MM-DD format (default: 9 days ago) | |
| dimensions | No | Dimensions to group by (default: ["query"]). Use "hour" for hourly breakdowns (requires dataState "hourly_all", last ~10 days only). | |
| searchType | No | Type of search results (default: "web") | |
| aggregationType | No | How data is aggregated (default: "auto") |