Skip to main content
These examples show the arguments passed to an MCP tool, not standalone HTTP REST request bodies. Replace the example property with the exact site_url returned by list_properties.

Basic query report

Call get_search_analytics:
Free supports up to 30 days and 1,000 rows for basic analytics. Paid plans support up to 16 months and 25,000 rows per request, subject to the source’s available history. Use "page" for landing pages or comma-separated dimensions such as "query,page" for combined groupings.

Filter an explicit reporting period

Call get_advanced_search_analytics on Starter or higher. These are illustrative historical dates; choose a range available in your property:
The dates are inclusive. Multiple filters are combined with AND, and filters overrides the single-filter fields. Sorting applies only to the returned page. It does not guarantee a globally complete ranking by the chosen metric. Follow pagination and inspect coverage warnings.

Compare periods

Call compare_search_periods with equal-length inclusive ranges:
Changes are period 2 minus period 1. The position-improvement measure uses period 1 minus period 2, so a positive value indicates a lower numerical average position.

Query a selected page

Use get_search_by_page_query with site_url, the exact page_url, days, and row_limit to inspect the searches behind a page. In every summary, include the dates, filters, dimensions, freshness, and source warnings. Treat missing observations as unknown. See data and metrics and traffic review.