The Yellowpages.com Scraper avatar
The Yellowpages.com Scraper
Under maintenance

Pricing

$30.00/month + usage

Go to Apify Store
The Yellowpages.com Scraper

The Yellowpages.com Scraper

Under maintenance

Developed by

Eneiro Matos

Eneiro Matos

Maintained by Community

Boost your marketing and local SEO strategies with The Yellow Pages Scraper, a powerful data extraction tool designed to automate business data collection. This scraper navigates YellowPages.com listings to extract critical information, helping you build targeted datasets in minutes, not days.

0.0 (0)

Pricing

$30.00/month + usage

0

2

1

Last modified

2 days ago

This is a powerful Yellowpages.com scraper designed to help you extract comprehensive B2B data and local business leads. Whether you're building contact lists for marketing, conducting market research, or analyzing local business trends, this tool automates the process of gathering detailed information. It efficiently scrapes business listing pages to pull crucial data points, including business names, full addresses, phone numbers, websites, business categories, operating hours, and much more. Start building your dataset in minutes with this reliable Yellowpages extractor.

Input

The actor is configured using a JSON input. The primary method for scraping is by providing a search term and location.

Sample Input

Here is a valid JSON object for running the scraper:

{
"searchTerm": "lawyer",
"location": "nevada",
"useApifyProxy": true,
"startPageNumber": 0,
"finalPageNumber": 0
}

Input Field Explanations

  • searchTerm (string): The search term to look for (e.g., "Dentist", "Restaurant", "lawyer"). This field is required.
  • location (string): The location where the search will be performed (e.g., "Denver, CO", "nevada"). This field is required.
  • useApifyProxy (boolean): If set to true, the scraper will use the Apify Proxy to make requests. If false, it will use the IP address of the container. It is highly recommended to keep this enabled for reliable scraping.
  • startPageNumber (integer): The page number to start scraping from.
  • finalPageNumber (integer): The final page number to scrape. If both startPageNumber and finalPageNumber are set to 0, the scraper will attempt to scrape all available pages.

Output

The scraper returns a dataset where each item represents a single business listing.

Sample Output Record

Here is an example of the data object you can expect for each scraped business:

{
"scrapedTimestamp": 1762031530945,
"URL": "https://www.yellowpages.com/new-york-ny/mip/the-pizza-place-5551234",
"pageCategory": "Home > NY > New York > Pizza",
"businessName": "The Pizza Place",
"businessCategories": [
"Pizza",
"Italian Restaurants",
"Restaurants"
],
"phone": "(212) 555-1212",
"website": "https://www.thepizzaplace.com",
"address": {
"street": "123 Main St",
"city": "New York",
"state": "NY",
"zipCode": "10001"
},
"yearsInBusiness": "10",
"yearsInYellowPages": "5",
"isClaimed": true,
"workingHours": [
{
"day": "Mon - Thu",
"hour": "11:00 am - 10:00 pm"
},
{
"day": "Fri - Sun",
"hour": "11:00 am - 11:30 pm"
}
],
"placesNear": [
"Madison Square Garden",
"Times Square"
],
"moreInfo": [
{
"value": "Email",
"content": [
"info@thepizzaplace.com"
]
},
{
"value": "Extra Phones",
"content": "Catering: (212) 555-1213"
},
{
"value": "AKA",
"content": "Main Street Pizza"
},
{
"value": "Services",
"content": "Dine-in, Takeout, Delivery, Catering"
}
],
"galleryUrls": [
"https://i3.ypcdn.com/blob/0fe021cbcb8b40bfaf91eb773e813bb1d97e76e6a_800.jpg",
"https://i1.ypcdn.com/blob/ce6632229e942cceea3582d877fb6c652895ee8564_800.jpg"
]
}

Usage

Provide your search parameters in the input configuration and run the actor. The results will be collected in the default dataset.

Data Export

You can download the scraped data in various formats, including JSON, CSV, and Excel, from the platform.