Query search performance
search_analyticsRetrieve Google Search Console performance metrics (clicks, impressions, CTR, average position) filtered by date, search type, and dimensions such as query, page, or device to diagnose search visibility issues.
Instructions
Returns clicks, impressions, CTR and average position from the Performance report, broken down by the dimensions you choose.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Search type (default "web"). | |
| endDate | No | YYYY-MM-DD. Defaults to 3 days ago (data lags). | |
| siteUrl | Yes | Property identifier exactly as Search Console lists it: "sc-domain:example.com" for a domain property, or "https://example.com/" for a URL-prefix property. | |
| rowLimit | No | Rows to return (default 25). | |
| startDate | No | YYYY-MM-DD. Defaults to 30 days ago. | |
| dimensions | No | Breakdown dimensions (default ["query"]). |