google-search-console.query_search_analytics
Query Search Console search analytics for a verified property.
Call google-search-console.list_sites to discover sites. Omit site_url to use the default property, or pass an exact site_url from that response. Returns performance rows with clicks, impressions, CTR, and average position, grouped by the requested dimensions.
Daily search analytics typically lag by two to three days. For the Search Console last-24-hours hourly view, group by hour; those rows can include partial hours and cover up to ten days.
Cost = 20 tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | Inclusive range end date in YYYY-MM-DD format. | |
| site_url | No | Optional property URL from google-search-console.list_sites. When omitted, the default property is used. The user or agent passes an exact site_url value from that response. | |
| row_limit | No | Maximum number of rows to return. Defaults to 1000. | |
| start_row | No | Zero-based row offset for pagination. Defaults to 0. | |
| data_state | No | Whether to return only finalized data, all available daily data, or hourly data. Use hourly_all when grouping by hour. Defaults to final. | |
| dimensions | No | Optional dimension names to group results. Supported values: date, query, page, country, device, searchAppearance, hour. Grouping by hour uses the hourly feed. | |
| start_date | Yes | Inclusive range start date in YYYY-MM-DD format. | |
| search_type | No | Search type filter. Defaults to web. | |
| dimension_filter_groups | No | Optional filter groups matching the Google Search Console Search Analytics API shape. Each group contains filters that restrict which rows are returned. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | No | Search analytics result rows. | |
| metadata | No | Optional context about incomplete recent data. Present when Google is still collecting rows in the requested range. | |
| site_url | No | Verified property URL that was queried. | |
| response_aggregation_type | No | How rows were aggregated (for example auto or byProperty). |