SerpApi Official icon

SerpApi Official

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

Search → Google Maps

AI-generated

Overview

This node performs a Google Maps search using the SerpApi service. It allows users to search for places, locations, or points of interest based on a query string and various optional parameters such as GPS coordinates, language, country, and other advanced search filters. This node is useful for applications that need to retrieve live Google Maps data, such as location-based services, travel apps, or local business searches.

Use Case Examples

  1. Searching for coffee shops near a specific GPS location.
  2. Finding places of a certain type (e.g., restaurants, parks) in a given country or language.
  3. Retrieving detailed Google Maps data with specific filters like place ID or result offset.

Properties

Name Meaning
Search Query (q) Defines the query string for the search, e.g., 'coffee'.
Type of search (type) Defines the type of search to perform, either 'search' or 'place'.
GPS Coordinates (ll) Defines the GPS coordinates (latitude,longitude) where the search originates from.
Additional Fields Collection of optional parameters to customize the search, including Google domain, language, country, data filters, place ID, result offset, caching options, async mode, zero trace mode, output format, and JSON restrictor.

Output

JSON

  • results - The search results returned from the Google Maps query, typically including place details, addresses, ratings, and other relevant information.

Dependencies

  • Requires an API key credential for SerpApi to authenticate requests.

Troubleshooting

  • Ensure the API key credential is correctly configured and has access to the Google Maps engine on SerpApi.
  • Check that the query parameter 'q' is provided and valid.
  • Verify that optional parameters like GPS coordinates and place ID are correctly formatted.
  • Be aware of rate limits and caching behavior; use 'no_cache' and 'async' options appropriately to manage request freshness and timing.

Links

Discussion