Query hourly search analytics
query_hourly_analyticsBreaks down Google Search performance by hour (Pacific Time) for the last ~10 days, helping spot same-day spikes or compare today with the same day last week.
Instructions
Search performance broken down by hour (Pacific Time) for the last ~10 days. Use it to spot same-day spikes or compare today with the same day last week. The most recent hours are incomplete; first_incomplete_hour says where that starts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filters | No | Filters, combined with AND. | |
| end_date | No | Last day, YYYY-MM-DD in Pacific Time. Defaults to today. | |
| site_url | Yes | The property, as listed by list_sites: 'sc-domain:example.com' for a domain property or 'https://www.example.com/' for a URL-prefix property. A bare domain such as 'example.com', or any URL on the site, is resolved to the property that contains it. | |
| row_limit | No | Rows to return (1-25,000). | |
| start_row | No | Zero-based row offset, for paging. | |
| dimensions | No | Extra grouping besides the hour. Omit for hourly totals. | |
| start_date | No | First day, YYYY-MM-DD in Pacific Time, within the last 10 days. Defaults to 2 days ago. | |
| search_type | No | web |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | One object per row: dimension values by name, then clicks, impressions, ctr (0-1) and position (absent for Discover and Google News). | |
| notes | No | ||
| request | Yes | The exact request body sent to Google. | |
| end_date | Yes | ||
| site_url | Yes | ||
| row_count | Yes | ||
| data_state | Yes | ||
| dimensions | Yes | ||
| start_date | Yes | ||
| search_type | Yes | ||
| next_start_row | No | Pass as start_row to fetch the next page, if there is one. | |
| aggregation_type | No | ||
| first_incomplete_date | No | ||
| first_incomplete_hour | No |