gsc_performance
Query Google Search Console search analytics data by site URL, date range, dimensions, and filters to analyze search performance.
Instructions
Query GSC search analytics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_url | Yes | The property as it appears in GSC (e.g. ``sc-domain:example.com`` or ``https://example.com/``). | |
| start_date | No | ISO date (YYYY-MM-DD). Defaults to 28 days ago. | |
| end_date | No | ISO date. Defaults to 2 days ago (GSC has ~2-day latency). | |
| dimensions | No | One or more of ``query``, ``page``, ``country``, ``device``, ``date``, ``searchAppearance``. Defaults to ``["query"]``. | |
| row_limit | No | Max rows (capped at 25,000). | |
| search_type | No | ``web``, ``image``, ``video``, ``news``, or ``discover``. | web |
| country | No | ISO 3166-1 alpha-3 country filter (e.g. ``usa``). | |
| device | No | ``desktop``, ``mobile``, or ``tablet``. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||