DataForSEO SERP API icon

DataForSEO SERP API

DataForSEO SERP API

Actions87

Google → Get Google AI Mode SERP HTML

AI-generated

Summary

Retrieve the Google Search Engine Results Page (SERP) HTML content generated in AI Mode for a specified keyword and search parameters.

Inputs

  • Keyword (required) — Specify the keyword to search on Google SERP, up to 700 characters. Special encoding rules apply for '%' and '+' symbols.
  • Location (required) — Enter the full name of the search engine location to target the search results accordingly.
  • Language (required) — Specify the full name of the search engine language to use for the search results.
  • Task Priority — Set the execution priority of the search task; options are Normal or High priority (default is Normal).
  • GPS Coordinates of a Location — Optional GPS coordinates in latitude,longitude,radius format to more precisely specify location.
  • Device — Device type for the search context: Desktop or Mobile (default is Desktop).
  • OS — Operating system of the device; for desktop select Windows or macOS, for mobile select Android or iOS (default is Windows).
  • Calculate Pixel Rankings for SERP Elements in Advanced Results? — Boolean to request calculation of pixel positions for SERP elements; defaults to false.
  • Browser Screen Width — Optional width of the browser screen in pixels for emulation.
  • Browser Screen Height — Optional height of the browser screen in pixels for emulation.
  • Browser Screen Resolution Ratio — Optional screen resolution ratio from 1 to 3 for emulation.

Output shape

a single record containing raw HTML string of the AI Mode Google SERP

The response includes the full HTML content of the AI-enhanced Google search result page based on provided parameters; no pagination applies.

Links

Discussion