Actions37
- Search Actions
- Amazon Search
- Baidu Search
- Bing Images
- Bing Search
- DuckDuckGo Search
- eBay Search
- Facebook Profile
- Google AI Mode
- Google AI Overview
- Google Autocomplete
- Google Finance
- Google Flights
- Google Hotels
- Google Images
- Google Images Light
- Google Immersive Product
- Google Jobs
- Google Lens
- Google Light
- Google Local
- Google Maps
- Google Maps Directions
- Google Maps Reviews
- Google News
- Google News Light
- Google Play Games
- Google Play Product
- Google Play Store
- Google Product
- Google Scholar
- Google Search
- Google Shopping
- Google Travel Explore
- Google Trends
- Google Trends Trending Now
- Google Videos
- YouTube Search
Search → Google AI Mode
AI-generatedOverview
This node performs a Google AI Mode search using SerpApi's official API. It allows users to input a search query and customize the search with additional parameters such as location, device type, caching options, and output format. This node is useful for retrieving live Google AI Mode search results programmatically, which can be applied in scenarios like automated research, data gathering, or integrating AI-powered search results into workflows.
Use Case Examples
- A user wants to automate the retrieval of AI-generated search results for a specific query like 'What is coffee?' and process the results in their workflow.
- A developer needs to fetch Google AI Mode search results from different locations or devices to analyze search behavior variations.
Properties
| Name | Meaning |
|---|---|
| Search Query (q) | Defines the query to search using Google AI Mode. Supports multiple languages. |
| Location (location) | Defines the geographic location from which the search originates. Cannot be used with Encoded Location (uule). |
| Encoded Location (uule) | Google encoded location for the search. Cannot be used with Location parameter. |
| Device (device) | Specifies the device type for the search results: desktop, tablet, or mobile. |
| Disable Caching (no_cache) | Forces fetching new results instead of using cached ones. Cache expires after 1 hour. |
| Async (async) | Determines if the search is performed asynchronously. If true, results must be retrieved later via Search Archive API. |
| ZeroTrace Mode (zero_trace) | Enterprise-only option to skip storing search parameters and metadata on SerpApi servers for privacy. |
| Output (output) | Defines the format of the search results output: JSON (structured data) or HTML (raw HTML). |
| JSON Restrictor (json_restrictor) | Restricts the fields returned in the JSON response to specified fields and ranges. |
Output
JSON
search_metadata- Metadata about the search request and response.search_parameters- Parameters used for the search query.search_information- Information about the search results such as total results and time taken.organic_results- List of organic search results returned by Google AI Mode.ads_results- List of advertisement results if any.related_questions- Related questions suggested by Google AI Mode.knowledge_graph- Knowledge graph data related to the search query.
Dependencies
- Requires an API key credential for SerpApi to authenticate requests.
Troubleshooting
- Common issues include invalid or missing API key, which results in authentication errors.
- Using incompatible parameters together, such as 'location' and 'uule', will cause errors.
- Setting 'async' and 'no_cache' to true simultaneously is not allowed and will cause request failures.
- Timeouts may occur if the server takes too long to respond; increasing the timeout setting can help.
- If SSL certificate validation fails, enabling 'Ignore SSL Issues' option may resolve connection problems.
Links
- SerpApi Google AI Mode API Documentation - Official documentation for the Google AI Mode search API provided by SerpApi.