Outscraper icon

Outscraper

Interact with Outscraper API

Actions49

Overview

The Yellow Pages Search operation in this node allows users to perform business or category searches using the Outscraper API's Yellow Pages data. It is designed to find listings such as bars, restaurants, dentists, and other categories within a specified location and region (country). This operation is useful for gathering local business information, lead generation, market research, or competitive analysis.

Typical use cases include:

  • Finding a list of businesses in a specific category and location.
  • Retrieving enriched business data with additional details.
  • Automating local search queries for marketing or sales outreach.
  • Collecting structured business data for integration into CRM or analytics platforms.

For example, a user could search for "restaurants" in "New York, NY" limited to 50 results in the United States region, optionally enriching the results with extra data fields.

Properties

Name Meaning
Query Categories or keywords to search for (e.g., bars, restaurants, dentists).
Location Geographic location to search within (e.g., New York, NY).
Limit Maximum number of results to return (minimum 1).
Region Country code specifying which country's website to use: United States (US), United Kingdom (GB), Canada (CA).
Enrichment Comma-separated list of enrichments to apply to the results for additional data.
Async Request Boolean flag indicating whether to make the request asynchronously.
Webhook URL to which Outscraper will send a POST callback once the asynchronous task is finished.
Additional Fields Collection of optional parameters:
- Fields Specific fields to return in the response, comma-separated.
- UI Boolean flag to execute the request as a UI task.

Output

The output JSON contains the search results returned by the Outscraper Yellow Pages API. Each item typically represents a business listing matching the query and location criteria. The structure includes standard business information such as name, address, phone number, category, and any requested enrichment fields.

If the async option is enabled, the output may initially contain task status information, and the final results will be delivered via the provided webhook URL.

This node does not output binary data.

Dependencies

  • Requires an active Outscraper API key credential configured in n8n.
  • The node sends HTTP requests to the Outscraper API endpoint defined by the user's credentials.
  • For asynchronous requests, a publicly accessible webhook URL must be provided to receive callbacks.

Troubleshooting

  • Invalid API Key or Authentication Errors: Ensure that the API key credential is correctly set up and has permissions for Yellow Pages Search.
  • Empty or No Results: Verify that the query and location parameters are valid and spelled correctly. Also, check if the limit is set appropriately.
  • Webhook Not Receiving Data: If using async mode, confirm that the webhook URL is reachable from the internet and properly configured to accept POST requests.
  • Rate Limits or Quotas Exceeded: Outscraper API may enforce usage limits; monitor your quota and adjust usage accordingly.
  • Incorrect Region Code: Use only supported region codes (US, GB, CA) to avoid errors.

Links and References

Discussion