Outscraper icon

Outscraper

Interact with Outscraper API

Actions52

Yellow Pages Search → Search

AI-generated

Overview

This node performs a search on Yellow Pages to find businesses or services based on specified categories and location. It is useful for retrieving business listings such as bars, restaurants, dentists, etc., within a given area. For example, a user can search for restaurants in New York, NY, and get detailed results including enriched data if specified.

Use Case Examples

  1. Search for 'restaurants' in 'New York, NY' with a limit of 50 results.
  2. Search for 'dentists' in 'Los Angeles, CA' with enrichment options to get additional business details.

Properties

Name Meaning
Query Categories to search for (e.g., bars, restaurants, dentists)
Location Where to search (e.g., New York, NY)
Limit Max number of results to return
Region Country to use for website
Enrichment Enrichments to apply to the results (comma-separated)
Async Request Whether to make an asynchronous request
Webhook URL address (callback) to which Outscraper will create a POST request once the task is finished
Additional Fields Additional optional fields to customize the search
Request Options Node-level request options such as batching, SSL handling, proxy, and timeout

Output

JSON

  • results
    • name - Name of the business or listing
    • address - Address of the business
    • phone - Phone number of the business
    • website - Website URL of the business
    • enrichedData - Additional enriched information if enrichment is applied

Dependencies

  • Outscraper API key credential

Troubleshooting

  • Ensure the API key credential is correctly configured and has access to Yellow Pages Search service.
  • Check that the query and location parameters are correctly set and not empty.
  • If using asynchronous requests, verify the webhook URL is valid and accessible to receive callbacks.
  • Timeout errors may occur if the server is slow; adjust the timeout setting accordingly.
  • If SSL certificate validation fails, consider enabling the option to ignore SSL issues, but be aware of security risks.

Links

Discussion