{"id":139890,"date":"2022-03-28T01:00:49","date_gmt":"2022-03-28T06:00:49","guid":{"rendered":"https:\/\/ahrefs.com\/blog\/?p=139890"},"modified":"2023-02-21T17:42:31","modified_gmt":"2023-02-21T22:42:31","slug":"google-search-console-url-inspection-api","status":"publish","type":"post","link":"https:\/\/ahrefs.com\/blog\/google-search-console-url-inspection-api\/","title":{"rendered":"Google\u2019s New Search Console URL Inspection API: What It Is &amp; How to Use&nbsp;It"},"content":{"rendered":"\n<div class=\"intro-txt\">Diagnosing&nbsp;technical issues on your website can be one of the most time-consuming but important aspects of running a website.<\/div>\n\n\n\n<p>To make things worse, Google only allows you to inspect one URL at a time to diagnose potential issues on your website (this is done within Google Search Console).<\/p>\n\n\n\n<p>Luckily, there is now a faster way to test your website: enter the Google Search Console URL Inspection API\u2026<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h.2d70ohz8yaz5\">What is the Google Search Console URL Inspection API?<\/h2>\n\n\n\n<p>The <a href=\"https:\/\/developers.google.com\/search\/blog\/2022\/01\/url-inspection-api\">Google Search Console URL Inspection API<\/a>&nbsp;is a way to bulk-check the data that Google Search Console has on URLs. Its purpose is to help developers and SEOs more efficiently debug and optimize their pages using Google\u2019s own&nbsp;data.<\/p>\n\n\n\n<p>Here\u2019s an example of me using the API to check whether a few URLs are indexed and submitted in my sitemap:<\/p>\n\n\n\n\n<div class=\"wp-block-image\">\n<figure class=\"is-style-default aligncenter\"><img decoding=\"async\" src=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2022\/03\/1-urls-indexed-and-submitted.png\" alt=\"In table form, API showing Chris' URLs are indexed but not submitted in sitemap \"><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"h.2y5flrbydku\">What type of data can you get from the Google Search Console URL Inspection API?<\/h2>\n\n\n\n<p>The Google Search Console URL Inspection API allows you to pull a wide range of data. Below is a list of some of the most discussed features:<\/p>\n<h3>lastCrawlTime<\/h3>\n<p>With this field, you can understand exactly when <a href=\"https:\/\/ahrefs.com\/blog\/googlebot\/\">Googlebot<\/a> last crawled your website. This is extremely useful for SEOs and developers to measure the frequency of Google\u2019s crawling of their sites. Previously, you could only get access to this type of data through log file analysis or spot-checking individual URLs with Google Search Console.<\/p>\n\n\n\n\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h.17x5aorxp1x3\">robotsTxtState<\/h3>\n\n\n\n<p>With this field, you can understand whether you have any <a href=\"https:\/\/ahrefs.com\/blog\/robots-txt\/\">robots.txt<\/a>&nbsp;rules that will block Googlebot.&nbsp;This is something you can check manually, but being able to test it at scale with Google\u2019s own data is a fantastic step forward.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h.i4b4nnffpiuu\">googleCanonical and userCanonical<\/h3>\n\n\n\n<p>In some situations, Google has been known to select a different <a href=\"https:\/\/ahrefs.com\/blog\/canonical-tags\/\">canonical<\/a>&nbsp;from the one that has been specified in the code. In this situation, having the ability to compare both (side by side and at scale) using the API is useful for enabling you to make the appropriate changes.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h.h04kuf8l56pd\">crawledAs<\/h3>\n\n\n\n<p>This field allows you to understand which user agent is used for a crawl of your site: Mobile\/Desktop. The response codes are below for reference:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>DESKTOP<\/strong>&nbsp;\u2013&nbsp;Desktop user&nbsp;agent<\/li>\n<li><strong>MOBILE<\/strong>&nbsp;\u2013 Mobile user&nbsp;agent<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h.50jqv6wd96m\">pageFetchState<\/h3>\n\n\n\n<p>Understanding the pageFetchState can help you diagnose server errors, not found 4xxs, soft 404s, redirection errors, pages blocked by robots.txt, and invalid URLs. A list of responses is below for reference.<\/p>\n\n<table id=\"tablepress-121\" class=\"tablepress tablepress-id-121 tablepress-responsive tablepress-ahrefs-width-full\">\n<thead>\n<tr class=\"row-1 odd\">\n\t<th class=\"column-1\">Field<strong><\/strong><\/th><th class=\"column-2\">What it&nbsp;means<strong><\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-hover\">\n<tr class=\"row-2 even\">\n\t<td class=\"column-1\">PAGE_FETCH_STATE_UNSPECIFIED<\/td><td class=\"column-2\">Unknown fetch&nbsp;state<\/td>\n<\/tr>\n<tr class=\"row-3 odd\">\n\t<td class=\"column-1\">SUCCESSFUL<\/td><td class=\"column-2\">Successful fetch<\/td>\n<\/tr>\n<tr class=\"row-4 even\">\n\t<td class=\"column-1\">SOFT_404<\/td><td class=\"column-2\">Soft 404<\/td>\n<\/tr>\n<tr class=\"row-5 odd\">\n\t<td class=\"column-1\">BLOCKED_ROBOTS_TXT<\/td><td class=\"column-2\">Blocked by robots.txt<\/td>\n<\/tr>\n<tr class=\"row-6 even\">\n\t<td class=\"column-1\">NOT_FOUND<\/td><td class=\"column-2\">Not found (404)<\/td>\n<\/tr>\n<tr class=\"row-7 odd\">\n\t<td class=\"column-1\">ACCESS_DENIED<\/td><td class=\"column-2\">Blocked due to unauthorized request (401)<\/td>\n<\/tr>\n<tr class=\"row-8 even\">\n\t<td class=\"column-1\">SERVER_ERROR<\/td><td class=\"column-2\">Server error (5xx)<\/td>\n<\/tr>\n<tr class=\"row-9 odd\">\n\t<td class=\"column-1\">REDIRECT_ERROR<\/td><td class=\"column-2\">Redirection error<\/td>\n<\/tr>\n<tr class=\"row-10 even\">\n\t<td class=\"column-1\">ACCESS_FORBIDDEN<\/td><td class=\"column-2\">Blocked due to access forbidden (403)<\/td>\n<\/tr>\n<tr class=\"row-11 odd\">\n\t<td class=\"column-1\">BLOCKED_4XX<\/td><td class=\"column-2\">Blocked due to other 4xx issue (not 403,&nbsp;404)<\/td>\n<\/tr>\n<tr class=\"row-12 even\">\n\t<td class=\"column-1\">INTERNAL_CRAWL_ERROR<\/td><td class=\"column-2\">Internal error<\/td>\n<\/tr>\n<tr class=\"row-13 odd\">\n\t<td class=\"column-1\">INVALID_URL<\/td><td class=\"column-2\">Invalid URL<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-121 from cache -->\n\n\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h.87r91s7ktx3c\">indexingState<\/h3>\n\n\n\n<p>The indexing state tells you the current status of indexation for the URLs. Apart from the more obvious Pass and Fail responses, there are other responses:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>NEUTRAL<\/strong>&nbsp;is equivalent to the \u201cExcluded\u201d message in Search Console.<\/li>\n<li><strong>PARTIAL<\/strong>&nbsp;is equivalent to the \u201cValid with warnings\u201d message in Search Console.<\/li>\n<li><strong>VERDICT_UNSPECIFIED <\/strong>means that Google is unable to come to a conclusion about the URL(s) in question.<\/li>\n<\/ul>\n\n\n\n<div class=\"recommendation\"><div class=\"recommendation-title\">TIP<\/div><div class=\"recommendation-content\">\n\n\n\n<p>Having indexing issues? Read our \u201c<a href=\"https:\/\/ahrefs.com\/blog\/google-index\/\">10 ways to get indexed on Google<\/a>\u201d&nbsp;post.<\/p>\n\n\n\n<\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h.ikie7x1bri2z\">coverageState&nbsp;<\/h3>\n\n\n\n<p>This gives you detail on whether a URL has been submitted in your sitemap and indexed.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h.3dkd26oiemam\">referringUrls<\/h3>\n\n\n\n<p>This allows you to see where each page is linked from, according to Google.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h.qbreoxntmflu\">Sitemap&nbsp;<\/h3>\n\n\n\n<p>This enables you to understand which URLs are included in the sitemap(s).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h.up4id6b4i63t\">Other uses for the&nbsp;API<\/h3>\n\n\n\n<p>You can also use the API to inspect your AMP site\u2014if you have&nbsp;one.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h.4r6gvrr47h7m\">How to use the&nbsp;Google Search Console URL Inspection API step by&nbsp;step<\/h2>\n\n\n\n<p>Using the Google Search Console URL Inspection API involves making a request to Google. The request <a href=\"https:\/\/ahrefs.com\/blog\/url-parameters\/\">parameters<\/a> you need to define are the URL that you want to inspect and also the URL of the property in Google Search Console.<\/p>\n\n\n\n<p>The request body contains data with the following structure:<\/p>\n\n\n\n\n<div class=\"wp-block-image\">\n<figure class=\"is-style-default aligncenter\"><img decoding=\"async\" src=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2022\/03\/2-data-structure.png\" alt=\"Structure of data \"><\/figure>\n<\/div>\n\n\n<p>If you are curious to learn more about how to use the API, <a href=\"https:\/\/developers.google.com\/webmaster-tools\/v1\/urlInspection.index\/inspect\">Google has extensive documentation about this<\/a>.<\/p>\n\n\n\n<p>Below is an example of the type of response you can get from the&nbsp;API:<\/p>\n\n\n\n\n<div class=\"wp-block-image\">\n<figure class=\"is-style-default aligncenter\"><img decoding=\"async\" src=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2022\/03\/3-response-from-api.png\" alt=\"Code response from API\"><\/figure>\n<\/div>\n\n\n<p>If you\u2019re not comfortable with code or just want to give it a go straight away, you can use <a href=\"https:\/\/valentin.app\/inspect.html\">valentin.app\u2019s free Google Bulk Inspect URLs tool<\/a>.&nbsp;The tool provides a quick way to query the API without any coding skills!<\/p>\n\n\n\n<p>Here\u2019s how to use it. You&nbsp;can:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to <a href=\"https:\/\/valentin.app\/inspect.html\">https:\/\/valentin.app\/inspect.html<\/a>, authorize access to your Google account, and select the Search Console property you want to test. Then paste your URLs into the box below. (The data will be processed in your browser and not uploaded to a server or shared with anyone.)<\/li>\n<li>Click the \u201cInspect URLs\u201d button. The data will start to pull from the&nbsp;API.<\/li>\n<li>Export the data as a CSV or Excel file by clicking the button.<\/li>\n<li>Analyze the data and check for any potential issues.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h.nqbfk2h81se9\">How can you use the Google Search Console URL Inspection API in practice?<\/h2>\n\n\n\n<p>In theory, the Google Search Console URL Inspection API seems like a great way to understand more about your website. However, you can pull so much data that it\u2019s difficult to know where to start. So let\u2019s look at a few examples of use&nbsp;cases.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h.gf314t4an34x\">1. Site migration \u2013 diagnosing any technical issues<\/h3>\n\n\n\n<p><a href=\"https:\/\/ahrefs.com\/blog\/website-migration\/\">Site migrations<\/a>&nbsp;can cause all kinds of issues. For example, developers can accidentally block Google from crawling your site or certain pages via robots.txt.<\/p>\n\n\n\n<p>Luckily, the Google Search Console URL Inspection API makes auditing for these issues a doddle.<\/p>\n\n\n\n<p>For example, you can check whether you\u2019re blocking Googlebot from crawling URLs in bulk by calling robotsTxtState.<\/p>\n\n\n\n<p>Here is an example of me using the Google Search Console URL Inspection API (via valentin.app) to call robotsTxtState to see the current status of my&nbsp;URLs.<\/p>\n\n\n\n\n<div class=\"wp-block-image\">\n<figure class=\"is-style-default aligncenter\"><img decoding=\"async\" src=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2022\/03\/4-robotstxtstate.png\" alt=\"In table form, API showing status of Chris' URLs as &quot;allowed&quot; \"><\/figure>\n<\/div>\n\n\n<p>As you can see, these pages are not blocked by robots.txt, and there are no issues here.<\/p>\n\n\n\n<div class=\"recommendation\"><div class=\"recommendation-title\">TIP<\/div><div class=\"recommendation-content\">&nbsp;Site migrations can sometimes lead to unforeseen technical SEO issues. After the migration, we recommend using a tool, such as Ahrefs\u2019 <a href=\"https:\/\/ahrefs.com\/site-audit\">Site Audit<\/a>,&nbsp;to check your website for over 100 pre-defined SEO issues.\n\n\n\n\n\n<\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h.ihb9vc2sx1eg\">2. Understand if Google has respected your declared canonicals<\/h3>\n\n\n\n<p>If you make a change to the<a href=\"https:\/\/ahrefs.com\/blog\/canonical-tags\/\">&nbsp;canonical tags<\/a>&nbsp;across your site, you will want to know whether or not Google is respecting them.<\/p>\n\n\n\n<p>You may be wondering why Google ignores the canonical that you declared. Google can do this for a number of reasons, for example:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Your declared canonical is not https. (Google prefers https for canonicals.)<\/li>\n<li>Google has chosen a page that it believes is a better canonical page than your declared canonical.<\/li>\n<li>Your declared canonical is a noindex page.<\/li>\n<\/ul>\n\n\n\n<p>Below is an example of me using the Google Search Console URL Inspection API to see whether Google has respected my declared canonicals:<\/p>\n\n\n\n\n<div class=\"wp-block-image\">\n<figure class=\"is-style-default aligncenter\"><img decoding=\"async\" src=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2022\/03\/5-respected-declared-canonicals.png\" alt=\"In table form, API showing Google respects Chris' canonicals  \"><\/figure>\n<\/div>\n\n\n<p>As we can see from the above screenshot, there are no issues with these particular pages and Google is respecting the canonicals.<\/p>\n<div class=\"recommendation\"><div class=\"recommendation-title\">TIP<\/div><div class=\"recommendation-content\">\n<p><span style=\"font-weight: 400;\">To quickly see if the googleCanonical matches the userCanonical, export the data from the Google Bulk Inspect URLs tool to CSV and use an <\/span><b>IF<\/b><span style=\"font-weight: 400;\"> formula in Excel. For example, assuming your googleCanonical data is in Column A and your userCanonical is in Column B, you can use the formula <\/span><b>=IF(A2=B2, \u201cSelf referencing\u201d,\u201dNon Self Referencing\u201d) <\/b><span style=\"font-weight: 400;\">to check for non-matching canonicals.<\/span><\/p>\n<p><strong>\n\n<\/strong><\/p>\n\n\n\n<\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h.jathzdpw1ss6\">3. Understand when Google recrawls after you make changes to your&nbsp;site<\/h3>\n\n\n\n<p>When you update many pages on your website, you will want to know the impact of your efforts. This can only happen after Google has recrawled your&nbsp;site.<\/p>\n\n\n\n<p>With the Google Search Console URL Inspection API, you can see the precise time Google crawled your pages by using lastCrawlTime.<\/p>\n\n\n\n<p>If you can\u2019t get access to the log files for your website, then this is a great alternative to understand how Google crawls your&nbsp;site.<\/p>\n\n\n\n<p>Here\u2019s an example of me checking this:<\/p>\n\n\n\n\n<div class=\"wp-block-image\">\n<figure class=\"is-style-default aligncenter\"><img decoding=\"async\" src=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2022\/03\/6-lastcrawltime.png\" alt=\"In table form, API showing &quot;last crawl&quot; date and time for each URL\"><\/figure>\n<\/div>\n\n\n<p>As you can see in the screenshot above, lastCrawlTime shows the date and time my website was crawled. In this example, the most recent crawl by Google is the homepage.<\/p>\n\n\n\n<p>Understanding when Google recrawls your website following any changes will allow you to link whether or not the changes you made have any positive or negative impact following Google\u2019s crawl.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h.aeqttgfewjew\">FAQs<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h.ck2qfxfnbzkq\">How to get around the Google Search Console URL Inspection API limits?<\/h3>\n\n\n\n<p>Although the Google Search Console URL Inspection API&nbsp;is limited to 2,000 queries per day, this query limit is determined <a href=\"https:\/\/support.google.com\/webmasters\/answer\/34592?hl=en#types\">by Google Property<\/a>.<\/p>\n\n\n\n<p>This&nbsp;means you can have multiple properties within one website if they are verified separately in Google Search Console, effectively allowing you to bypass the limit of 2,000 queries per&nbsp;day.<\/p>\n\n\n\n<p>Google Search Console allows you to have 1,000 properties in your Google Search Console account, so this should be more than enough for most&nbsp;users.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h.y3ip4x7k2qov\">Can I use the Google Search Console URL Inspection API&nbsp;on any website?<\/h3>\n\n\n\n<p>Another potential limiting factor is you can only run the Google Search Console URL Inspection API&nbsp;on a property that you own in Google Search Console. If you don\u2019t have access to the property, then you cannot audit it using the Google Search Console URL Inspection API.<\/p>\n\n\n\n<p>So this means auditing a site that you don\u2019t have access to can be problematic.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h.al7td3z279g\">How accurate is the&nbsp;data?<\/h3>\n\n\n\n<p>Accuracy of the data itself has been an issue for Google over the last few years. This API gives you access to that data. So arguably, the Google Search Console URL Inspection API is only as good as the data within it.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-139889\" src=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2022\/03\/7-tim-guillot-tweet.png\" alt=\"Tim Guillot shares tweet to John Mu about data issues; Tim adds the issues are &quot;not fixed&quot; \" width=\"586\" height=\"302\"><\/p>\n\n\n\n\n\n\n\n<p>As we have previously shown in our <a href=\"https:\/\/www.youtube.com\/watch?v=HDFQlxIfgHY\">study of Google Keyword Planner\u2019s accuracy<\/a>, data from Google is often not as accurate as people assume it to&nbsp;be.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h.oart2g7b8cge\">Final thoughts<\/h2>\n\n\n\n<p>The Google Search Console URL Inspection API is a great way for site owners to get bulk data directly from Google on a larger scale than what was previously possible from Google Search Console.<\/p>\n\n\n\n<p><a href=\"https:\/\/twitter.com\/danielwaisberg\">Daniel Waisberg<\/a>&nbsp;and the team behind the Google Search Console URL Inspection API have definitely done a great job of getting this released into the&nbsp;wild.<\/p>\n\n\n\n<p>But one of the criticisms of the Google Search Console URL Inspection API from the SEO community is that the query rate limit is too low for larger sites. (It is capped at 2,000 queries per day, per property.)<\/p>\n\n\n\n<p>For larger sites, this is not enough. Also, despite the possible workarounds, this number still seems to be on the low&nbsp;side.<\/p>\n\n\n\n<p>What\u2019s your experience of using the Google Search Console URL Inspection API? Got more questions? Ping me <a href=\"https:\/\/twitter.com\/chris_at_b449\">on Twitter<\/a>. \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To make things worse, Google only allows you to inspect one URL at a time to diagnose potential issues on your website (this is done within Google Search Console). Luckily, there is now a faster way to test your website:<span class=\"ellipsis\">\u2026<\/span><\/p>\n<div class=\"read-more\">Read more \u203a<\/div>\n<p><!-- end of .read-more --><\/p>\n","protected":false},"author":178,"featured_media":139892,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wp_typography_post_enhancements_disabled":false,"footnotes":""},"categories":[329],"tags":[],"coauthors":[437],"class_list":["post-139890","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technical-seo","odd"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Google\u2019s New Search Console URL Inspection API: What It Is &amp; How to Use It<\/title>\n<meta name=\"description\" content=\"The GSC URL Inspection API bulks check data that GSC has on URLs, helping developers and SEOs debug and optimize pages using Google\u2019s data.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ahrefs.com\/blog\/google-search-console-url-inspection-api\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Google\u2019s New Search Console URL Inspection API: What It Is &amp; How to Use It\" \/>\n<meta property=\"og:description\" content=\"Diagnose issues effectively.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ahrefs.com\/blog\/google-search-console-url-inspection-api\/\" \/>\n<meta property=\"og:site_name\" content=\"SEO Blog by Ahrefs\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Ahrefs\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-03-28T06:00:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-21T22:42:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2022\/03\/fb_gsc_url_inspection_api.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Chris Haines\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:description\" content=\"Diagnose issues effectively.\" \/>\n<meta name=\"twitter:creator\" content=\"@chris_at_b449\" \/>\n<meta name=\"twitter:site\" content=\"@ahrefs\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/google-search-console-url-inspection-api\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/google-search-console-url-inspection-api\\\/\"},\"author\":{\"name\":\"Chris Haines\",\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/#\\\/schema\\\/person\\\/9afb394ccc6e0e19c199d26984a8b0b2\"},\"headline\":\"Google\u2019s New Search Console URL Inspection API: What It Is &amp; How to Use&nbsp;It\",\"datePublished\":\"2022-03-28T06:00:49+00:00\",\"dateModified\":\"2023-02-21T22:42:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/google-search-console-url-inspection-api\\\/\"},\"wordCount\":1745,\"publisher\":{\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/google-search-console-url-inspection-api\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/fb_gsc_url_inspection_api.png\",\"articleSection\":[\"Technical SEO\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/google-search-console-url-inspection-api\\\/\",\"url\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/google-search-console-url-inspection-api\\\/\",\"name\":\"Google\u2019s New Search Console URL Inspection API: What It Is & How to Use It\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/google-search-console-url-inspection-api\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/google-search-console-url-inspection-api\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/fb_gsc_url_inspection_api.png\",\"datePublished\":\"2022-03-28T06:00:49+00:00\",\"dateModified\":\"2023-02-21T22:42:31+00:00\",\"description\":\"The GSC URL Inspection API bulks check data that GSC has on URLs, helping developers and SEOs debug and optimize pages using Google\u2019s data.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/ahrefs.com\\\/blog\\\/google-search-console-url-inspection-api\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/google-search-console-url-inspection-api\\\/#primaryimage\",\"url\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/fb_gsc_url_inspection_api.png\",\"contentUrl\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/fb_gsc_url_inspection_api.png\",\"width\":1200,\"height\":630},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/\",\"name\":\"SEO Blog by Ahrefs\",\"description\":\"Link Building Strategies &amp; SEO Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/#organization\",\"name\":\"Ahrefs\",\"url\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/ahrefs-logo.png\",\"contentUrl\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/ahrefs-logo.png\",\"width\":2048,\"height\":768,\"caption\":\"Ahrefs\"},\"image\":{\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Ahrefs\\\/\",\"https:\\\/\\\/x.com\\\/ahrefs\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/ahrefs\\\/\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/ahrefscom\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/#\\\/schema\\\/person\\\/9afb394ccc6e0e19c199d26984a8b0b2\",\"name\":\"Chris Haines\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/ChrisHaines_2x.jpg5328cbfe0b80f39d8800869ef43bebfc\",\"url\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/ChrisHaines_2x.jpg\",\"contentUrl\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/ChrisHaines_2x.jpg\",\"caption\":\"Chris Haines\"},\"description\":\"Chris is an SEO director who has 10 years of experience in SEO, agency side. When not involved in SEO, he enjoys messing around with vintage synthesizers, walks on sandy beaches, and a good cup of tea.\",\"sameAs\":[\"https:\\\/\\\/chrishaines.uk\\\/\",\"https:\\\/\\\/uk.linkedin.com\\\/in\\\/chris-haines-seo\",\"https:\\\/\\\/x.com\\\/chris_at_b449\"],\"url\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/author\\\/chris-haines\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Google\u2019s New Search Console URL Inspection API: What It Is & How to Use It","description":"The GSC URL Inspection API bulks check data that GSC has on URLs, helping developers and SEOs debug and optimize pages using Google\u2019s data.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ahrefs.com\/blog\/google-search-console-url-inspection-api\/","og_locale":"en_US","og_type":"article","og_title":"Google\u2019s New Search Console URL Inspection API: What It Is & How to Use It","og_description":"Diagnose issues effectively.","og_url":"https:\/\/ahrefs.com\/blog\/google-search-console-url-inspection-api\/","og_site_name":"SEO Blog by Ahrefs","article_publisher":"https:\/\/www.facebook.com\/Ahrefs\/","article_published_time":"2022-03-28T06:00:49+00:00","article_modified_time":"2023-02-21T22:42:31+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2022\/03\/fb_gsc_url_inspection_api.png","type":"image\/png"}],"author":"Chris Haines","twitter_card":"summary_large_image","twitter_description":"Diagnose issues effectively.","twitter_creator":"@chris_at_b449","twitter_site":"@ahrefs","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ahrefs.com\/blog\/google-search-console-url-inspection-api\/#article","isPartOf":{"@id":"https:\/\/ahrefs.com\/blog\/google-search-console-url-inspection-api\/"},"author":{"name":"Chris Haines","@id":"https:\/\/ahrefs.com\/blog\/#\/schema\/person\/9afb394ccc6e0e19c199d26984a8b0b2"},"headline":"Google\u2019s New Search Console URL Inspection API: What It Is &amp; How to Use&nbsp;It","datePublished":"2022-03-28T06:00:49+00:00","dateModified":"2023-02-21T22:42:31+00:00","mainEntityOfPage":{"@id":"https:\/\/ahrefs.com\/blog\/google-search-console-url-inspection-api\/"},"wordCount":1745,"publisher":{"@id":"https:\/\/ahrefs.com\/blog\/#organization"},"image":{"@id":"https:\/\/ahrefs.com\/blog\/google-search-console-url-inspection-api\/#primaryimage"},"thumbnailUrl":"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2022\/03\/fb_gsc_url_inspection_api.png","articleSection":["Technical SEO"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/ahrefs.com\/blog\/google-search-console-url-inspection-api\/","url":"https:\/\/ahrefs.com\/blog\/google-search-console-url-inspection-api\/","name":"Google\u2019s New Search Console URL Inspection API: What It Is & How to Use It","isPartOf":{"@id":"https:\/\/ahrefs.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ahrefs.com\/blog\/google-search-console-url-inspection-api\/#primaryimage"},"image":{"@id":"https:\/\/ahrefs.com\/blog\/google-search-console-url-inspection-api\/#primaryimage"},"thumbnailUrl":"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2022\/03\/fb_gsc_url_inspection_api.png","datePublished":"2022-03-28T06:00:49+00:00","dateModified":"2023-02-21T22:42:31+00:00","description":"The GSC URL Inspection API bulks check data that GSC has on URLs, helping developers and SEOs debug and optimize pages using Google\u2019s data.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ahrefs.com\/blog\/google-search-console-url-inspection-api\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ahrefs.com\/blog\/google-search-console-url-inspection-api\/#primaryimage","url":"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2022\/03\/fb_gsc_url_inspection_api.png","contentUrl":"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2022\/03\/fb_gsc_url_inspection_api.png","width":1200,"height":630},{"@type":"WebSite","@id":"https:\/\/ahrefs.com\/blog\/#website","url":"https:\/\/ahrefs.com\/blog\/","name":"SEO Blog by Ahrefs","description":"Link Building Strategies &amp; SEO Tips","publisher":{"@id":"https:\/\/ahrefs.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ahrefs.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/ahrefs.com\/blog\/#organization","name":"Ahrefs","url":"https:\/\/ahrefs.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ahrefs.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2023\/06\/ahrefs-logo.png","contentUrl":"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2023\/06\/ahrefs-logo.png","width":2048,"height":768,"caption":"Ahrefs"},"image":{"@id":"https:\/\/ahrefs.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Ahrefs\/","https:\/\/x.com\/ahrefs","https:\/\/www.linkedin.com\/company\/ahrefs\/","https:\/\/www.youtube.com\/c\/ahrefscom"]},{"@type":"Person","@id":"https:\/\/ahrefs.com\/blog\/#\/schema\/person\/9afb394ccc6e0e19c199d26984a8b0b2","name":"Chris Haines","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2023\/01\/ChrisHaines_2x.jpg5328cbfe0b80f39d8800869ef43bebfc","url":"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2023\/01\/ChrisHaines_2x.jpg","contentUrl":"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2023\/01\/ChrisHaines_2x.jpg","caption":"Chris Haines"},"description":"Chris is an SEO director who has 10 years of experience in SEO, agency side. When not involved in SEO, he enjoys messing around with vintage synthesizers, walks on sandy beaches, and a good cup of tea.","sameAs":["https:\/\/chrishaines.uk\/","https:\/\/uk.linkedin.com\/in\/chris-haines-seo","https:\/\/x.com\/chris_at_b449"],"url":"https:\/\/ahrefs.com\/blog\/author\/chris-haines\/"}]}},"as_json":null,"json_reviewers":[114],"_links":{"self":[{"href":"https:\/\/ahrefs.com\/blog\/wp-json\/wp\/v2\/posts\/139890","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ahrefs.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ahrefs.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ahrefs.com\/blog\/wp-json\/wp\/v2\/users\/178"}],"replies":[{"embeddable":true,"href":"https:\/\/ahrefs.com\/blog\/wp-json\/wp\/v2\/comments?post=139890"}],"version-history":[{"count":0,"href":"https:\/\/ahrefs.com\/blog\/wp-json\/wp\/v2\/posts\/139890\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ahrefs.com\/blog\/wp-json\/wp\/v2\/media\/139892"}],"wp:attachment":[{"href":"https:\/\/ahrefs.com\/blog\/wp-json\/wp\/v2\/media?parent=139890"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ahrefs.com\/blog\/wp-json\/wp\/v2\/categories?post=139890"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ahrefs.com\/blog\/wp-json\/wp\/v2\/tags?post=139890"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/ahrefs.com\/blog\/wp-json\/wp\/v2\/coauthors?post=139890"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}