The Google Search Console API now supports hourly data in the Search Analytics API, responding to ecosystem requests for better accessibility. Previously, the product interface provided hourly data only for the last 24 hours, but the API expands this to up to 10 days, allowing developers to analyze patterns over time.
Key Features
- New ApiDimension: Introduces
HOUR
to group responses by hour. - New dataState value:
HOURLY_ALL
indicates that hourly data may be partial.
API Request and Response
A sample API request to pull hourly data includes the following structure:
{
"startDate": "2025-04-07",
"endDate": "2025-04-07",
"dataState": "HOURLY_ALL",
"dimensions": [
"HOUR"
]
}
The sample response provides data such as clicks, impressions, click-through rate (CTR), and position for each hour.
Conclusion
This enhancement aims to improve monitoring of recently published content, enabling timely actions based on performance data. Feedback and suggestions for further improvements are welcomed.