Developers

Web Scraping API

Reference

User-Agent presets

Choose a device and browser family for page retrieval or Google search.

Available values

user_agent_typeContext
desktopDesktop browser; default.
mobileMobile browser.
mobile_androidRecent Android mobile browser.
mobile_iosRecent iOS browser.
tabletTablet browser.
tablet_androidAndroid tablet browser.
tablet_iosiPad browser.

Scroll horizontally to read all columns.

Set a preset

Mobile page request
{
  "source": "universal",
  "url": "https://example.com/",
  "user_agent_type": "mobile"
}

Keep comparisons consistent

Use the same location, query, device preset and page range when comparing search results over time. A device setting can affect page layout and which modules a search engine returns. Preserve that setting with your output.

Search documentation

Search guides, products and reference pages.