DataForSEO SERP API icon

DataForSEO SERP API

DataForSEO SERP API

Actions87

Google → Get Live Google News SERP HTML

AI-generated

Summary

Fetch Live Google News SERP HTML by specifying parameters such as keyword, location, language, and optional filters to retrieve the raw HTML content of the Google News search engine results page for real-time news queries.

Inputs

  • Keyword (required) — The search keyword to query Google News for, supporting up to 700 symbols with URL encoding rules for special characters.
  • Location (required) — Full name of the search engine location to define geographic context of the search results.
  • Language (required) — Full name of the search engine interface language used for the results.
  • GPS Coordinates of a Location — Optional parameter to specify a specific location by latitude, longitude, and radius for localized search.
  • OS — Operating system of the device to simulate, affecting the user agent and rendering (Windows or macOS). Defaults to Windows.
  • Search Engine Domain — Optional override for the Google search engine domain (e.g., google.co.uk) to customize the source of search results.
  • Depth — Sets how many results or the pagination depth to retrieve, up to a maximum of 700 pages, defaulting to 100.
  • Direct URL of the Search Query — Optionally provide a direct Google News search URL to parse and fetch results accordingly.
  • Page Crawl Limit — Limits the number of pages the operation will crawl up to 100.
  • Additional Parameters of the Search Query — Allows specification of extra search parameters to further customize the query.

Output shape

a list containing objects with the raw HTML content of the live Google News SERP corresponding to the input query and parameters.

The operation returns the full HTML of the SERP as observed live, suitable for parsing or archival. Optional parameters influence the localization, language, device simulation, and query depth. Results are real-time, reflecting current Google News listings based on the specified keyword and context.

Links

Discussion