Google has announced the release of a mobile-friendly test API. The test API will allow webmasters to automate their mobile-friendliness checks rather than check for it manually. Google has provided samples to help webmasters get started with the test API.
The API is currently running in beta in Search Console. Users may try out the API for themselves in their internet browser, on the command line, or they can get started with their client application.
Mobile-Friendly Test API vs. Manual Test
The API will supplement the manual Mobile-Friendly test, which webmasters may still use to check the mobile-friendliness of their webpages. Google says the API method “runs all tests and returns the same information – including a list of blocked URLs – as the manual test.”
The test API will allow for more timely mobile-friendly checks. In turn, issues can be resolved more quickly.
Google provides an example: the mobile-friendly test API can help webmasters track essential pages. If changes are made to the templates of these pages, leading to a loss of mobile-friendliness, the test API will alert the webmaster to the chance without having to run the test manually.