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 Local
AI-generatedOverview
This node performs a Google Local search using SerpApi's official API. It allows users to search for local businesses or places based on a query and location parameters. This is useful for applications needing local search results such as finding nearby coffee shops, restaurants, or other local services.
Use Case Examples
- Search for 'Coffee' shops in a specific location using the 'location' parameter.
- Use the 'uule' parameter to specify a Google encoded location for more precise local search.
- Customize the search by setting parameters like 'google_domain' to target a specific Google domain, or 'gl' to specify the country for the search.
Properties
| Name | Meaning |
|---|---|
| Search Query (q) | Defines the query you want to search, e.g., 'Coffee'. |
| Location (location) | Defines the origin location for the search, e.g., a city or region. |
| Additional Fields | Collection of optional parameters to customize the search, including encoded location (uule), Google domain, country, language, Google Place ID, advanced search parameters, result offset, device type, caching options, async mode, ZeroTrace mode, output format, and JSON restrictor. |
| Request Options | Node-level request options such as batching, SSL certificate validation, proxy settings, and timeout. |
Output
JSON
search_metadata- Metadata about the search request and response.local_results- Array of local search results returned by Google Local search.organic_results- Organic search results related to the query.related_searches- Related search queries suggested by Google.pagination- Pagination information for the search results.
Dependencies
- SerpApi API key credential
Troubleshooting
- Ensure the SerpApi API key credential is correctly configured and valid.
- If no results are returned, verify the query and location parameters are correctly set and supported by SerpApi.
- Avoid using 'uule' and 'location' parameters together as they are mutually exclusive.
- If the request times out, consider increasing the timeout setting in Request Options.
- For async searches, ensure to use the Search Archive API to retrieve results later.
Links
- SerpApi Google Local API Documentation - Official documentation for Google Local search parameters and usage.