{"id":25348,"date":"2025-04-09T00:00:00","date_gmt":"2025-04-09T00:00:00","guid":{"rendered":"https:\/\/alienroad.com\/google-bilgi-bankasi\/the-search-analytics-api-now-supports-hourly-data\/"},"modified":"2025-04-09T00:00:00","modified_gmt":"2025-04-09T00:00:00","slug":"the-search-analytics-api-now-supports-hourly-data","status":"publish","type":"ar_kb","link":"https:\/\/alienroad.com\/google-bilgi-bankasi\/the-search-analytics-api-now-supports-hourly-data\/","title":{"rendered":"The Search Analytics API now supports hourly data"},"content":{"rendered":"<p class=\"gargardate\">Wednesday, April 9, 2025<\/p>\n<p>\n  A few months ago, we announced an improved way to view<br \/>\n  <a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/an-improved-way-to-view-your-recent-performance-data-in-search-console\/\">recent performance data in Search Console<\/a>.<br \/>\n  The &#8220;24 hours&#8221; view includes data from the last available 24 hours and appears with a delay of<br \/>\n  only a few hours. This view can help you find information about which pages and queries are<br \/>\n  performing in this recent timeframe and how content you recently published is picking up.\n<\/p>\n<p>\n  Today, we&#8217;re adding support for hourly data to the<br \/>\n  <a href=\"https:\/\/developers.google.com\/webmaster-tools\/v1\/searchanalytics\/query\" class=\"external-link\">Search Analytics API<\/a>,<br \/>\n  we heard ecosystem requests to make this data more accessible loud and clear. As a result, we&#8217;re<br \/>\n  adding hourly data to the API and with a wider scope than the product interface: while the product<br \/>\n  displays hourly data only for the past 24 hours, the API will return data for up to 10 days with<br \/>\n  an hourly breakdown. This will allow developers to create solutions to show not only hourly data<br \/>\n  for the latest day, but also to compare the most recent day to the same day in the previous week,<br \/>\n  which can be useful when analyzing patterns for the days of the week.\n<\/p>\n<h2 id=\"how-to-pull-hourly-data-from-the-search-analytics-api\" tabindex=\"-1\">How to pull hourly data from the Search Analytics API<\/h2>\n<p>\n  In order to make hourly data available in the Search Analytics API, we&#8217;re introducing 2 changes to<br \/>\n  the <a href=\"https:\/\/developers.google.com\/webmaster-tools\/v1\/searchanalytics\/query#request-body\" class=\"external-link\">API request body<\/a>:\n<\/p>\n<ul>\n<li>New <code>ApiDimension<\/code> named <code>HOUR<\/code> for you to group the response by<br \/>\n    hour.<\/li>\n<li>New <code>dataState<\/code> value named <code>HOURLY_ALL<\/code>, which should be used when<br \/>\n    grouping by HOUR. This will indicate that hourly data might be partial.<\/li>\n<\/ul>\n<p>\n  In the following section we provide a sample API request and a sample response for reference.\n<\/p>\n<h3 id=\"sample-api-request\" tabindex=\"-1\">Sample API request<\/h3>\n<div><\/div>\n<h3 id=\"sample-api-response\" tabindex=\"-1\">Sample API response<\/h3>\n<div><\/div>\n<p>\n  We hope that this new data will help you better monitor your recently published content in a more<br \/>\n  effective way and help you take action in a timely manner. We would love to hear your thoughts on<br \/>\n  how this new view works for you and to hear any suggestions on how to make it even better. If you<br \/>\n  have any feedback, questions, or comments, you can find us on<br \/>\n  <a href=\"https:\/\/www.linkedin.com\/showcase\/googlesearchcentral\/\" class=\"external-link\">LinkedIn<\/a><br \/>\n  or post in the <a href=\"https:\/\/support.google.com\/webmasters\/threads?thread_filter=(category:search_console)\" class=\"external-link\">Google Search Central Community<\/a>.\n<\/p>\n<p class=\"byline-author\">\n  Posted by <a href=\"https:\/\/www.linkedin.com\/in\/talipruss\/\" class=\"external-link\">Tali Pruss<\/a>,<br \/>\n  Software Engineer, and <a href=\"https:\/\/developers.google.com\/search\/blog\/authors\/daniel-waisberg\">Daniel Waisberg<\/a>, Search<br \/>\n  Advocate<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Wednesday, April 9, 2025 A few months ago, we announced an improved way to view recent performance data in Search Console. The &#8220;24 hours&#8221; view includes data from the last available 24 hours and appears with a delay of only a few hours. This view can help you find information about which pages and queries [&hellip;]<\/p>\n","protected":false},"menu_order":79813,"template":"","meta":{"footnotes":""},"ar_kb_kategori":[665],"ar_kb_etiket":[],"class_list":["post-25348","ar_kb","type-ar_kb","status-publish","has-post-thumbnail","hentry","ar_kb_kategori-blog"],"_links":{"self":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb\/25348","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb"}],"about":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/types\/ar_kb"}],"version-history":[{"count":0,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb\/25348\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media\/27468"}],"wp:attachment":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media?parent=25348"}],"wp:term":[{"taxonomy":"ar_kb_kategori","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb_kategori?post=25348"},{"taxonomy":"ar_kb_etiket","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb_etiket?post=25348"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}