Dumpling AI icon

Dumpling AI

Interact with Dumpling AI APIs (data, web scraping, document conversion, AI, etc.)

Overview

The "Search Places" operation of the Data API node allows users to perform location-based searches for places using a query string. This is useful for finding businesses, landmarks, or points of interest within a specified geographic context. Common scenarios include searching for restaurants, shops, or services in a particular city or country.

For example, a user might search for "pizza restaurants" in "Chicago, IL" with results biased towards the United States and returned in English. The node supports pagination to retrieve multiple pages of results.

Properties

Name Meaning
Query The search query string describing what places to find (e.g., "pizza restaurants").
Country Optional two-letter country code to bias the search location (e.g., "US" for United States).
Location Optional specific location name or address to focus the search (e.g., "Chicago, IL").
Language Language code for the search results (default is "en" for English).
Page Page number for paginated results, starting at 1.

Output

The node outputs JSON data containing the search results for places matching the query and location parameters. The structure typically includes an array of place objects with details such as name, address, and other relevant metadata depending on the API response.

No binary data output is indicated for this operation.

Dependencies

  • Requires an API key credential for authenticating requests to the Dumpling AI service.
  • The node sends HTTP requests to https://app.dumplingai.com/api/v1.
  • Proper configuration of the API key credential in n8n is necessary.

Troubleshooting

  • Empty or no results: Ensure that the query, location, and country codes are valid and correctly formatted.
  • Invalid API key or authentication errors: Verify that the API key credential is correctly set up and has the required permissions.
  • Pagination issues: If requesting pages beyond available results, the node may return empty arrays; adjust the page number accordingly.
  • Language or country code errors: Use standard ISO language and country codes to avoid unexpected behavior.

Links and References

Discussion