Get queries for a page
get_queries_for_pageLists the search queries a page appears for in Google Search Console and returns page totals, so you can see which queries drive visibility for a specific URL.
Instructions
Lists the search queries a page shows up for, with the page's totals.
Args: site_url: The property, exactly as list_sites returns it. page_url: Full URL of the page. A path such as '/products/x' works for URL-prefix properties. start_date: YYYY-MM-DD, 'today', 'yesterday' or 'NdaysAgo'. end_date: Same formats. Default '3daysAgo'. match: 'exact' (default) or 'contains' (e.g. every URL with '/blogs/'). search_type: 'web' (default), 'image', 'video' or 'news'. row_limit: Queries to return, up to 25,000. Default 100.
The page totals include anonymised queries, so they're usually higher than the sum of the query rows.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site_url": "<site_url>",
"page_url": "<page_url>"
},
"name": "get_queries_for_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| match | No | exact | |
| end_date | No | 3daysAgo | |
| page_url | Yes | ||
| site_url | Yes | ||
| row_limit | No | ||
| start_date | No | 30daysAgo | |
| search_type | No | web |