How to crawl a mobile version of a website?
The opportunity to crawl mobile versions of websites will enrich any website audit tool.
With DataForSEO OnPage API, your tool will be able to scan mobile versions of websites, providing essential on-page metrics.
To crawl a mobile version of a website, add the
custom_user_agent field to the On-Page API Task POST body and specify the user agent for a web browser that runs on the iOS or Android operating system.
If you want to acquire Core Web Vitals and browser-specific metrics (such as loading speed, for example), you should also add the
enable_browser_rendering field and set it to
enable_browser_rendering is set to
true, additional charges apply.
Also, note that using
enable_browser_rendering requires setting
load_resources parameters to
true, which are also paid parameters. For more information on the cost of tasks with additional parameters, please refer to this help article.
You can structure your POST request as in the example below: