Actions9
Search (SERP)
AI-generatedSummary
Searches Google for a query and returns parsed search engine results, including organic results, related searches, and pagination. Set the query and optionally adjust the search country, language, or results page; the request uses the required WebScraping.AI API credential.
Inputs
- Query (q) (required) — Search terms. The value is trimmed and must not be empty.
- Search Options (serpOptions) — Optional search settings: Country (gl, defaults to us), Engine (only Google is available; defaults to google), Language (hl, defaults to en), and Page (defaults to 1; must be a whole number of 1 or more). Results are 10 per page.
Output shape
One JSON item per input item, containing the API response body.
JSON responses are parsed; if JSON parsing fails, the body is returned as {"raw": ...}. Text, HTML, XML, and other response bodies are wrapped as {"data": ...}. With Continue On Fail enabled, errors are returned as {"error": ...} items.