Yellow Pages US Scraper 📒
Pricing
Pay per usage
Yellow Pages US Scraper 📒
Scrape Yellow Pages USA business listings by keyword, category, city, or state. Extract business names, phone numbers, addresses, websites, ratings, and contact details. Ideal for B2B lead generation, local business data extraction, market research, and sales prospecting.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
Shahid Irfan
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Features
Share
What does Yellow Pages US Scraper do?
Yellow Pages US Scraper collects business listings from yellowpages.com and saves them as a structured dataset. Paste a Yellow Pages category URL such as https://www.yellowpages.com/los-angeles-ca/pizza, or enter a keyword and a city, and the Actor reads the result pages and returns each business with its categories, phone number, address, rating, review count, website and Yellow Pages profile link. It is built for lead lists, local market research, competitor checks and directory data enrichment.
Why use Yellow Pages US Scraper?
- Clean, structured output - every business becomes one dataset row with consistent field names, so you can filter, sort and export without cleaning HTML by hand.
- City and category coverage - one run can combine several cities, categories or search phrases, and duplicate businesses are removed from the result.
- Lead generation ready - phone numbers, street addresses, websites and categories are exactly the fields used for outreach lists and territory planning.
- Market research ready - compare how many businesses compete in a category, how they are rated and how established they are in each area.
- Runs on a schedule - refresh a city list weekly or monthly and diff runs to spot new openings and closures.
What data can you extract from Yellow Pages?
| Field | Description |
|---|---|
name | Business name as shown on the listing |
id | Yellow Pages listing ID, stable across runs |
categories | Category labels attached to the listing, such as Pizza or Italian Restaurants |
rating | Average rating from Yellow Pages reviews, for example 4.5 |
reviewCount | Number of reviews behind that rating |
yearsInBusiness | Years the business reports on Yellow Pages, when shown |
phone | Primary phone number |
street | Street address, when the listing publishes one |
city | City |
state | Two-letter state code |
zip | ZIP code |
website | Business website, when the listing links to one |
description | Short business summary shown under the listing |
url | Direct Yellow Pages profile URL |
Fields are only included when Yellow Pages publishes a value, so every row has at least a name, a listing ID and a profile URL. Ratings and review counts come from the same listing block, so they always belong to each other.
How to use Yellow Pages US Scraper
- Open the Actor on Apify Store.
- Pick one search mode: paste one or more Yellow Pages category or search URLs, type a keyword alone, or type a keyword with a city.
- Set
maxResultsfor the number of businesses you want, andmaxPagesas a safety cap. - Leave the proxy off for normal runs. Turn it on if a run reports blocked requests.
- Run the Actor, then open the dataset to preview, filter and export the businesses.
The URL field is prefilled with an example so the first run works immediately. A keyword search ignores the URL list, prefilled example included, so there is nothing to clear.
A keyword on its own also works. Without a location, Yellow Pages picks the area from the request, usually the city the run appears to come from.
Input Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
urls | Array of strings | No | Los Angeles pizza category page | Yellow Pages category or search URLs to collect. Each URL is scraped in order. Ignored when a keyword or location is set. |
keyword | String | No | - | Search phrase such as pizza or plumber. A keyword search replaces the URL list for that run. |
location | String | No | - | City and state for the keyword search, for example Los Angeles, CA. Needs a keyword. |
maxResults | Integer | No | 20 | Maximum number of businesses to save across all URLs. |
maxPages | Integer | No | 10 | Maximum result pages to read per URL. Each page holds up to 30 businesses. |
proxyConfiguration | Object | No | Off by default | Turn Apify Proxy on if a run reports blocked requests. |
Output Data
| Field | Type | Description |
|---|---|---|
name | String | Business name |
id | String | Yellow Pages listing ID |
categories | Array of strings | Category labels for the business |
rating | Number | Average Yellow Pages rating |
reviewCount | Number | Number of reviews |
yearsInBusiness | Number | Reported years in business |
phone | String | Primary phone number |
street | String | Street address |
city | String | City |
state | String | State code |
zip | String | ZIP code |
website | String | Business website |
description | String | Short business summary |
url | String | Yellow Pages profile URL |
Usage Examples
Collect a city category list
Paste one category page and stop after 100 businesses:
{"urls": ["https://www.yellowpages.com/los-angeles-ca/pizza"],"maxResults": 100,"maxPages": 5}
Combine several cities in one run
Read the same category in several cities, with duplicates removed:
{"urls": ["https://www.yellowpages.com/los-angeles-ca/pizza","https://www.yellowpages.com/new-york-ny/pizza","https://www.yellowpages.com/chicago-il/pizza"],"maxResults": 300,"maxPages": 3}
Search by keyword only
Enter a phrase and let Yellow Pages pick the area:
{"keyword": "plumber","maxResults": 30,"maxPages": 2}
Search by keyword and location
Enter a phrase and a city. The URL list is ignored for this run:
{"keyword": "plumber","location": "Los Angeles, CA","maxResults": 50,"maxPages": 2}
Start from a Yellow Pages search URL
Use the search URL from your browser address bar, including its filters:
{"urls": ["https://www.yellowpages.com/search?search_terms=pizza&geo_location_terms=Los+Angeles%2C+CA"],"maxResults": 60,"maxPages": 2}
Sample Output
One dataset item from a real run on the Los Angeles pizza category:
{"name": "Pizza Next Door","id": "1944959","url": "https://www.yellowpages.com/los-angeles-ca/mip/pizza-next-door-1944959","categories": ["Pizza", "Italian Restaurants", "Restaurants"],"rating": 4.5,"reviewCount": 4,"tripAdvisorRating": 4.5,"tripAdvisorReviewCount": 28,"yearsInBusiness": 16,"claimed": false,"phone": "(213) 622-6595","street": "806 W 8th St","city": "Los Angeles","state": "CA","zip": "90017","website": "http://www.pizzanextdoor.com/","imageUrl": "https://i4.ypcdn.com/blob/34845e1806a0998bd9473e8e88542c840284d831_130x130_crop.jpg?fbfdc6472","description": "this is a neighborhood place that has been around for a long time. they haven't changed the interior maybe since they opened, and they are good for families. this place is so…"}
Tips for Best Results
- Use category URLs such as
/los-angeles-ca/pizza. They paginate far deeper than a plain search result page. - Keep
maxPagesmodest for a first run, check the dataset, then raise it for the full list. - One page holds up to 30 businesses, so
maxResultsabove 30 needs at least two pages. - When you combine cities, keep the same category so the merged list stays comparable.
- Add a location when you need results from a specific city, since a keyword on its own uses the area Yellow Pages infers from the request.
claimedtells you whether the business manages its own listing, which is a useful filter when you want reachable owners rather than unclaimed listings.tripAdvisorRatingis a second opinion next to the Yellow Pages rating and is only present on listings that show TripAdvisor reviews.- Runs normally succeed without a proxy. If a run reports blocked requests, turn on Apify Proxy and retry, or use residential proxies for heavier volumes.
- A keyword that Yellow Pages has no page for fails with a clear message instead of returning an empty dataset, so check the spelling of the city and the category.
- Addresses missing a street line are listings where Yellow Pages itself does not show a street. The city, state and ZIP are still filled in.
- Ratings appear only for businesses with Yellow Pages reviews. A business without reviews has no
ratingfield, which is not a scraping error.
Frequently Asked Questions
Can I export the data to CSV or Excel?
Yes. Every run writes to an Apify dataset, downloadable as CSV, Excel, JSON, XML and other formats, or readable through the Apify API.
Can I run this Actor on a schedule?
Yes. Schedule it in Apify Console to refresh a city list daily, weekly or monthly, and compare runs to find new or closed businesses.
How many businesses can one run return?
As many as the category contains, up to your maxResults and maxPages limits. Large cities run into thousands of listings across many pages.
Can I scrape several cities or categories at once?
Yes. Add multiple URLs, or set a keyword and location. Duplicate businesses are removed by their Yellow Pages listing ID.
Which takes priority, the URL field or the keyword?
The keyword wins. A keyword search replaces the URL list for that run, and the prefilled example never leaks into it.
Why are some fields empty?
Yellow Pages publishes different details for each listing. A business without a website, a street address or reviews simply has no value for that field. Empty fields are omitted rather than filled with placeholders.
Do I need a proxy?
No for normal runs. The Actor works without one, and the proxy setting is off by default. If Yellow Pages starts blocking requests, turn on Apify Proxy and retry; residential proxies help at larger volumes.
Is this Actor suitable for non-technical users?
Yes. The Actor runs from a form in Apify Console, and the results can be downloaded without writing code.
Does it collect business pages one by one?
No. It reads the result pages for the category or search you give it, which is why a run finishes in seconds rather than minutes.
Do I have to choose a URL or a keyword?
Yes. Use URLs, a keyword alone, or a keyword with a location. A keyword search takes priority over the URL list, and a location needs a keyword.
What does the claimed field mean?
Claimed means the business owner has taken control of that Yellow Pages listing. Unclaimed listings are often run by the directory rather than the business, and their details can be out of date.
Where do the TripAdvisor fields come from?
Some Yellow Pages listings display TripAdvisor ratings next to their own. Those values are captured as tripAdvisorRating and tripAdvisorReviewCount and are left out when a listing does not show them.
Is it legal to scrape Yellow Pages?
Scraping public business data can be legal, but you are responsible for following applicable laws, the website terms of service and privacy rules, and for how you use the collected contact details.
Integrations
- Google Sheets - Send each run to a spreadsheet for lead tracking.
- Webhooks - Trigger your own pipeline when a run finishes.
- Make or Zapier - Push new businesses into a CRM without code.
- Apify API - Read datasets programmatically for dashboards and enrichment jobs.
- CSV and Excel exports - Hand results to sales or research teams directly.
Related Actors
- Avvo Lawyers Scraper - collect lawyer profiles from a professional directory.
- OpenTable Restaurants Scraper - restaurant listings and booking data.
- Tripadvisor Hotels Scraper - hotel listings for hospitality research.
Support
For issues, feature requests or custom Actor work, use the Issues tab on the Actor page or contact the developer through Apify.
Legal Notice
This Actor is designed for legitimate collection of publicly available business information. Users are responsible for using the data responsibly and for complying with applicable laws, website terms and privacy rules.