SerpApi Official icon

SerpApi Official

Get live Google Search data and more from SerpApi's official node

Search → Google AI Overview

AI-generated

Overview

This node operation fetches an AI Overview from the Google Search API using SerpApi. It requires a page token obtained from a previous AI Overview search result, which must be used immediately as it expires within 4 minutes. The node supports additional optional parameters to control caching, asynchronous search, output format, and response field restrictions. This operation is useful for retrieving structured AI-generated summaries or insights related to a Google search query, enabling automation workflows that integrate AI-powered search results.

Use Case Examples

  1. Use the node to fetch an AI Overview for a search query by providing the page token from a prior search result.
  2. Disable caching to force fresh results from SerpApi for the AI Overview.
  3. Retrieve the AI Overview output as raw HTML instead of JSON for custom processing.

Properties

Name Meaning
Search Query (page_token) Token to fetch the AI Overview from, obtained from a previous AI Overview search result. Must be used immediately as it expires within 4 minutes.
Disable Caching (no_cache) Whether to force fetching new results instead of using cached results. Cached results expire after 1 hour and are free to use.
Async (async) Whether to perform the search asynchronously. If true, results must be retrieved later using the Search Archive API. Not compatible with no_cache or Ludicrous Speed accounts.
ZeroTrace Mode (zero_trace) Enterprise-only mode to skip storing search parameters and metadata on SerpApi servers, enhancing privacy but making debugging harder.
Output (output) Defines the output format of the results, either structured JSON or raw HTML.
JSON Restrictor (json_restrictor) Restricts the fields returned in the JSON response, allowing selective data retrieval.

Output

JSON

  • results - The AI Overview search results returned by SerpApi in JSON or HTML format depending on the output parameter.

Dependencies

  • Requires SerpApi API key credential for authentication.

Troubleshooting

  • Ensure the page_token is valid and used immediately as it expires within 4 minutes, otherwise the request will fail.
  • Avoid using no_cache and async parameters together as they are incompatible.
  • If using async mode, results must be retrieved later via the Search Archive API, otherwise no results will be returned.
  • Check network and proxy settings if requests time out or fail due to SSL issues.

Links

Discussion