Google this morning launched a new API for Search Console – the URL Inspection API. This API lets you programmatically interact with the URL Inspection Tool that you would manually interact with within Google Search Console, but with code. SEOs and developers are super excited about this new API – as you’d imagine.
You can access the URL Inspection API over here, the responses you’d get from the API would tell you the index status, AMP, rich results, and mobile usability of any URL you have verified access to in Google Search Console.
There is an API quota that limits you to 2,000 queries per day and 600 queries per minute. So it is not unlimited use and you won’t be able to run this API across all your URLs on a daily basis, at least not if your site has a thousands of pages.
I like how Fabrizio Ballarini summed up this on Twitter:
So have fun with the API, it can be super useful in many cases, I can see this being added to tons of CMS platforms and SEO toolsets in the coming weeks.
Forum discussion at Twitter and WebmasterWorld.