gsc_search_analytics
Query Google Search Console to retrieve clicks, impressions, CTR, and average position. Break down SEO performance by query, page, country, device, or date for analysis.
Instructions
Query Google Search Console search analytics data. Returns clicks, impressions, CTR, and average position. Can be broken down by query, page, country, device, or date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Search type filter (default: "web") | web |
| endDate | Yes | End date in YYYY-MM-DD format | |
| siteUrl | Yes | Site URL as registered in Search Console. Use full URL for URL-prefix properties (e.g. "https://example.com/") or "sc-domain:example.com" for domain properties. | |
| rowLimit | No | Maximum rows to return (default: 100, max: 25000) | |
| startRow | No | Starting row for pagination | |
| dataState | No | Data freshness: "all" includes fresh data, "final" only verified data | all |
| startDate | Yes | Start date in YYYY-MM-DD format | |
| dimensions | No | Dimensions to group by (default: ["query"]) | |
| dimensionFilterGroups | No | Filter groups to narrow results. Example: [{"filters":[{"dimension":"query","operator":"contains","expression":"keyword"}]}] |