SearchApi icon

SearchApi

Access real-time search results from Google, Google Images, Google Maps, Google Shopping and more. Use this when you need current, up-to-date information, product searches, location data, or visual content that may not be available in your training data.

Actions4

Overview

The Google Maps Search node allows users to perform location-based searches using the Google Maps API. This node is particularly useful for applications that require geographical data, such as finding places, businesses, or points of interest based on user-defined queries. Common scenarios include travel planning apps, local business directories, and any service that needs to provide location-specific information. For example, a user could search for "restaurants near Central Park" to retrieve relevant results.

Properties

Name Meaning
Query The search term you want to use in Google Maps. This can be anything you would typically enter in a Google Maps search bar.
Location Settings A collection of settings to specify the location context for the search.
- GPS Coordinates Specifies the GPS coordinates for the location where the query should be applied, formatted as either @latitude,longitude,zoom or @latitude,longitude,meters.
Search Configuration A collection of settings to customize the search behavior.
- Google Domain Defines the Google domain to use for the search (e.g., google.com, google.co.uk).
- Interface Language Sets the interface language for the search results (e.g., English, Spanish).
Pagination A collection of settings to manage pagination of results.
- Page Number Indicates which page of results to return, defaulting to 1.

Output

The output of the Google Maps Search node will typically be structured as a JSON object containing details about the search results, including place names, addresses, coordinates, and other relevant metadata. If the node can output binary data, it may include images or maps related to the search results.

Dependencies

  • An API key credential is required to authenticate requests to the Google Maps API.
  • Users must ensure they have access to the Google Maps API and comply with its usage policies.

Troubleshooting

  • Common Issues: Users might encounter issues such as invalid API keys, exceeding quota limits, or incorrect formatting of GPS coordinates.
  • Error Messages:
    • "Invalid API Key": Ensure that the API key is correctly configured and has permissions for the Google Maps API.
    • "Quota Exceeded": Check the usage limits of the Google Maps API and consider upgrading your plan if necessary.
    • "No Results Found": Verify the query and location settings to ensure they are valid and properly formatted.

Links and References

Discussion