Welcoming the new Search Console URL Inspection API

Admin 15 Feb 2022 in Search console

today we’re launching the brand new Google search Console URL Inspection API, which gives programmatic access to URL-degree statistics for houses you manage in search Console. the hunt Console APIs are a way to get entry to records outside of search Console, through outside packages and products. developers and search engine optimization gear already use the APIs to construct custom answers to view, upload, or do away with residences and sitemaps, and to run superior queries on seek overall performance records.

With the brand new URL Inspection API, we are imparting a brand new device for developers to debug and optimize their pages. you may request the data search Console has about the listed version of a URL; the API will return the listed records currently to be had within the URL Inspection tool. using the brand new API with a purpose to discover ways to use the brand new API, take a look at the API developer documentation. The request parameters include the URL you’d like to investigate and the URL of the property as described in search Console.

The response includes evaluation results containing information from seek Console, inclusive of index fame, AMP, rich consequences, and cellular usability. For more info, read the listing of parameters and the indexed URL effects clarification. when you make the API name, you may get a response with all applicable effects, or an error message if the request fails. If a particular evaluation end result is missing from the response, it approach the evaluation turned into now not available for the URL inspected. here's an instance of the reaction you’ll get from the API.

{ "inspectionResult": { "inspectionResultLink": "https://search.google.com/search-console/inspect?resource_id=https://developers.google.com/search/&id=odaUL5Dqq3q8n0EicQzawg&utm_medium=link&utm_source=api", "indexStatusResult": { "verdict": "PASS", "coverageState": "Indexed, not submitted in sitemap", "robotsTxtState": "ALLOWED", "indexingState": "INDEXING_ALLOWED", "lastCrawlTime": "2022-01-31T08:39:51Z", "pageFetchState": "SUCCESSFUL", "googleCanonical": "https://developers.google.com/search/help/site-appearance-faq", "userCanonical": "https://developers.google.com/search/help/site-appearance-faq", "referringUrls": [ "https://developers.google.com/search/updates", "https://developers.google.com/search/help/crawling-index-faq" ], "crawledAs": "MOBILE" }, "mobileUsabilityResult": { "verdict": "PASS" }, "richResultsResult": { "verdict": "PASS", "detectedItems": [ { "richResultType": "Breadcrumbs", "items": [ { "name": "Unnamed item" } ] }, { "richResultType": "FAQ", "items": [ { "name": "Unnamed item" } ] } ] } } }


Latest from the blog

Today i will explaing about the new Google Search Console URL Inspection API.

leave a comment

Please post your comments here.