Yellow Pages Scraper - Most Comprehensive
Pricing
from $0.08 / 1,000 places
Yellow Pages Scraper - Most Comprehensive
🔥 ~$0.1/1K places 🔥 Look up Yellow Pages businesses by link or ID, or search them by term and location. Returns every field Yellow Pages has, with reviews and photos.
Pricing
from $0.08 / 1,000 places
Rating
0.0
(0)
Developer
Kai
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Share
Get every field that Yellow Pages has for a business, or find businesses by search term and location. Each business comes with its phones, emails, links, address, coordinates, and hours. It also has its categories, services, brands, payment methods, ratings by star, TripAdvisor data, and more. Add every photo and video, and every review and star-only rating, in the same record.
It covers three countries: the United States (yellowpages.com), the United Kingdom (yell.com), and Canada (yellowpages.ca). Pick one with the Country option.
Look up one business or search a whole city. In local tests, a US search of 60 businesses with all their reviews took 12 seconds. 300 businesses took 25 to 28 seconds. Start with a Yellow Pages link, a listing ID, or a search term and a location.
Countries
Set Country to the Yellow Pages you want. Each is a different company, so your links, IDs, and locations must match the country you pick.
- United States (
us, the default): yellowpages.com. Covers the 50 states and Washington, DC. Links look likehttps://www.yellowpages.com/austin-tx/mip/iii-forks-467675667. - United Kingdom (
uk): yell.com. Links look likehttps://www.yell.com/biz/the-himalaya-london-901780159/. Yell returns up to about 20 reviews per business. - Canada (
ca): yellowpages.ca. Links look likehttps://www.yellowpages.ca/bus/Ontario/Toronto/Bardi-s-Steak-House/156059.html. pagesjaunes.ca links work too. A search needs a place name, not coordinates. Canada records have their own fields; see Canada records. The Actor reads web pages for Canada, so it is slower. At the default 256 MB, 150 businesses with all reviews took about 3 minutes. More memory gives more CPU, so the run is faster.
What can you do with it?
- Local lead lists. Search a trade in a city, such as plumbers in Austin. Each business comes with its phones, emails, website, address, categories, hours, and rating.
- Email and contact enrichment. In a sample of 200 businesses, 117 had at least one email. 198 had a website or another link.
- Market research. Count the businesses of a category in a city or a ZIP code. Sort them by distance, rating, or name.
- Competitor benchmarking. Compare ratings, ratings by star, years in business, services, brands, and payment methods across nearby businesses.
- Listing audits. Compare the name, address, phones, hours, and categories on Yellow Pages with your own records.
- Reputation monitoring. Collect the reviews and ratings of your places on a
schedule. Use the review
idto skip reviews that you already have. - Advertiser research. See which businesses pay for a listing, with their ad text, coupons, and years with Yellow Pages.
What data does it extract?
| Data | When you get it |
|---|---|
| Business ID, listing ID, name, Yellow Pages link | Every business |
| Phone (formatted and as digits), address, city, state, ZIP code, coordinates, time zone | Every business that has them. In a sample of 200 businesses, all had a phone and 191 had coordinates. |
| Emails, extra phones, fax and toll-free numbers, website and other links | When Yellow Pages lists them. In the sample: emails 117 of 200, links 198 of 200, extra phones 80 of 200. |
| Categories with their codes and breadcrumbs | Every business |
| Opening hours as text and for each day, open-now flag | Every business that has hours. 183 of 200 had hours for each day. |
| Description, slogan, services, brands, amenities, accreditations, associations, languages, payment methods, year established | When the business lists them |
| Rating, precise rating, rating and review counts, ratings by star, rating attributes, newest review, review snippets | Every business that has ratings |
| TripAdvisor rating, review count, reviews, and photos | When Yellow Pages shows TripAdvisor data. 28 of 200 had it. |
| Claimed flag, paid listing flag, ad text, coupons, years with Yellow Pages | Every business. Ad and coupon fields only for businesses that have them. |
| Features: an open set of attributes, such as ownership, free estimates, and services | When Yellow Pages has them |
| Search data: distance from the search center, listing type, and the whole search result | Businesses that come from a search |
| Reviews: ID, rating, text, dates, source, rating attribute scores, reviewer details, images | When includeReviews is on |
| Photos and videos: links, sizes, dates, uploader, covers, logos, and thumbnails | Every business. All of them when includeMedia is on, which is the default. |
Yellow Pages does not have every field for every business. A field that Yellow
Pages does not send is not in the record. Some fields are empty text or [].
Quick start
- Pick a Country (US, UK, or Canada). Enter a Yellow Pages link or a listing ID in Listing links or IDs, or a Search term and a Location to search.
- Turn on Include reviews if you want reviews, and set Max reviews per
business. Use
0to get all reviews. - Click Start. Download the results as JSON, CSV, Excel, or HTML.
The same input as JSON:
{"businesses": ["https://www.yellowpages.com/austin-tx/mip/iii-forks-467675667"],"includeReviews": true,"maxReviewsPerBusiness": 20}
Examples by use case
One business with its profile and photos. Photos and videos are on by default:
{"businesses": ["467675667"]}
A profile without the full gallery. This skips the separate photo and video request:
{"businesses": ["467675667"],"includeMedia": false}
A lead list. The 200 best-rated plumbers in Austin:
{"searchTerm": "plumbers","location": "Austin, TX","searchSort": "average_rating","maxSearchResults": 200}
Businesses in a ZIP code:
{"searchTerm": "roofing contractors","location": "30301","maxSearchResults": 100}
Competitors near a site. Coffee shops around a point, nearest first:
{"searchTerm": "coffee","latitude": 40.7128,"longitude": -74.006,"searchSort": "distance","maxSearchResults": 50}
Businesses and their reviews in one run. 20 pizza places with up to 10 reviews each:
{"searchTerm": "pizza","location": "Chicago, IL","maxSearchResults": 20,"includeReviews": true,"maxReviewsPerBusiness": 10}
Every review of a place:
{"businesses": ["https://www.yellowpages.com/new-york-ny/mip/nello-4654897"],"includeReviews": true,"maxReviewsPerBusiness": 0}
A paid listing in one category. Keep the lid part of the link:
{"businesses": ["https://www.yellowpages.com/austin-tx/mip/ars-rescue-rooter-473194899?lid=1002194107214"]}
A search and known businesses in one run:
{"searchTerm": "plumbers","location": "Austin, TX","maxSearchResults": 20,"businesses": ["467675667", "4654897"]}
Choose the businesses
Use one or both ways in the same run. Direct lookup reads the businesses that you list. Search finds businesses for you.
| What you have | Use | Required input |
|---|---|---|
| A Yellow Pages link or a listing ID | Direct lookup | businesses |
| A search term and a city, ZIP code, or address | Search by location | searchTerm and location |
| A search term and a point on a map | Search by coordinates | searchTerm, latitude, and longitude |
When you set both, the dataset has the search results first, in search order. The businesses from your list follow, in your order. A listed business that the search already found is saved once.
Look up businesses
Put one or more entries in businesses. You can mix links and IDs in one run.
- Link. A business page link, such as
https://www.yellowpages.com/austin-tx/mip/iii-forks-467675667. These forms work too:- The business profile pages, with
/bpp/or/bp/in place of/mip/. m.yp.comlinks.- A link without
https://. - A link with
?lid=. Keep it. It picks the category listing of a paid business. See "What islid?" below.
- The business profile pages, with
- Listing ID. The number at the end of the link, such as
467675667. Each record has it in theypidfield.
The Actor reads the businesses in your order, so the dataset keeps that order. A repeated business is read again and saved again. A business that fails does not stop the others. A listing ID that does not exist shows
does not exist on Yellow PagesNot a Yellow Pages listing link or IDSearch for businesses
- What.
searchTermis required for a search. Use a trade, a category, or a business name, such asplumbers,pizza, ordentists. - Where. Set
locationto a US city and state, a ZIP code, or an address. Or setlatitudeandlongitudetogether. If you set both, the Actor useslocation. A location that Yellow Pages cannot find stops the run withYellow Pages cannot find the location. - US only. Yellow Pages covers the 50 states and Washington, DC. A place
outside the US can match a US town with the same name, so check the log line
Yellow Pages searched near ...before a large run. - Canada. Set
locationto a city, a city and province, or a postal code, such asToronto, ONorM5J 1S8. Coordinates stop the run, because yellowpages.ca reads them as the whole province. A place that yellowpages.ca does not know gives an empty dataset. A city search can include paid listings from far away: a Toronto search had one 503 km away. - How many.
maxSearchResultsis 50 by default. Yellow Pages serves about 3,000 results for one search, so the maximum is 3,000. - Order.
searchSortisrelevance(best match),distance,average_rating, orname.
The Actor saves each business of a search once. A search can count more
matches than it serves. For example, Yellow Pages counted 24,454 restaurants in
New York but served about 3,000. To get more businesses, split the area into
ZIP codes or use more specific terms. A search with no matches ends as succeeded
with an empty dataset, and the log shows No businesses to collect.
Add reviews and media
| Add to each business | Setting | Default |
|---|---|---|
| Every photo and video, with covers, logos, and thumbnails | includeMedia | On |
| Reviews and star-only ratings | includeReviews, with maxReviewsPerBusiness (0 for all) | Off, 20 |
Reviews are a list in the businessReviews field of each business.
businessReviewsTotal is the number of reviews that Yellow Pages serves for the
business. The record also has the Yellow Pages fields reviews (the newest
review), ratings (up to 5 ratings), and reviewSnippets. These come
with every business, also when includeReviews is off.
With includeMedia on, media holds every photo and video. With it off,
media holds the part of the gallery that the business details carry. In a
sample of 200 businesses, the full gallery had more items for 35 of them.
Input reference
Give businesses, or a searchTerm with a location or a coordinate pair, or
both.
| Field | Type | Default | Description |
|---|---|---|---|
country | string | us | Which Yellow Pages: us (yellowpages.com), uk (yell.com), or ca (yellowpages.ca). Links, IDs, and locations must match it. |
businesses | string[] | [] | Listing links or listing IDs for the chosen country. Repeated entries stay in order and are saved separately. |
searchTerm | string | none | What to search for, such as plumbers, pizza, or a business name. A search also needs a location or a coordinate pair. |
location | string | none | A city, state, ZIP/postcode, or address in the chosen country, such as Austin, TX, 10001, Leeds, WC2N, or Toronto, ON. |
latitude | number | none | From -90 to 90. Needs longitude. Not for Canada. |
longitude | number | none | From -180 to 180. Needs latitude. Not for Canada. |
searchSort | string | relevance | relevance, distance, average_rating, or name. United States and Canada. |
maxSearchResults | integer | 50 | Maximum businesses from a search, from 1 to 3,000 (US and Canada) or a few hundred (UK). |
includeMedia | boolean | true | Add every photo and video, with the cover, logo, and thumbnail images. |
includeReviews | boolean | false | Add the reviews and star-only ratings of each business in businessReviews. |
maxReviewsPerBusiness | integer | 20 | Maximum reviews for each business. 0 collects all reviews. |
proxyConfiguration | object | Apify Proxy enabled | Optional connection settings managed by Apify. The default datacenter proxy works. |
These inputs stop the run at the start, with the message in quotes:
| Input | Message |
|---|---|
No businesses and no searchTerm | Provide businesses or a search term with a location |
searchTerm without a location or coordinates | Search needs a location or latitude and longitude |
location or coordinates without searchTerm | Search needs a search term |
Only one of latitude and longitude | latitude and longitude must both be provided or both omitted |
Coordinates with country ca | Canada search needs a location |
An entry in businesses that is not a listing link or ID | Not a Yellow Pages listing link or ID |
Unknown input fields are ignored. A value with the wrong type, such as a text
maxSearchResults, fails before the run starts.
Output
Each item in the dataset is one business. The Overview table shows the name, listing ID, phone, emails, website, and address. It also shows the coordinates, categories, rating, rating count, year established, claimed flag, and the Yellow Pages link.
The record keeps every field that Yellow Pages sends, with the field names in
camelCase. So phone_number becomes phoneNumber, and 1_star_count becomes
1StarCount. Nested fields are converted too. When Yellow Pages adds a field,
the record has it without an Actor update.
The Actor adds these fields:
| Field | Content |
|---|---|
yellowPagesUrl | The listing page on yellowpages.com. |
searchListing | The whole search result, or null for a direct lookup. |
businessReviews | Every review and star-only rating, when includeReviews is on. |
businessReviewsTotal | The number of reviews that Yellow Pages serves for the business, when includeReviews is on. |
scrapedAt | The UTC time at which the Actor read the business. |
Fields by topic
- Identity. Listing ID, category listing ID, name, other names, claimed flag, paid listing flag, year established, and years with Yellow Pages.
- Contact. Phone, extra phones, fax and toll-free numbers, emails, website, other links, and a custom link.
- Location. Address, city, state, ZIP code, coordinates, time zone, neighborhoods, and a location description.
- Hours. Hours as text and for each day, open-now and open-24-hours flags, and the time of the next change.
- Classification. The main category, all categories, display categories, category codes, and category breadcrumbs.
- Business details. Description, slogan, services, brands, amenities, accreditations, associations, languages, payment methods, price range, and extra information.
- Features. An open set of attributes, such as ownership, free estimates, services, and the TripAdvisor good-for categories.
- Ratings. Rating, precise rating, rating and review counts, ratings by star, rating attributes, the newest review, up to 5 ratings, review snippets, and TripAdvisor data.
- Advertising. Ad text and images, the sponsor block, tier, coupons, and the advertising start date.
- Media. Photos and videos, covers, logos, and thumbnails.
- Search. The whole search result, with the distance and the listing type.
- Reviews. Every review and star-only rating, when you ask for them.
- Run. The UTC time at which the Actor read the business.
Business example
This example is Texan Water from a search for plumbers in Austin, TX, with two
reviews. It is shortened. It shows 47 of the 136 fields of this business. Long
lists keep one or two items, and the rating in ratings shows 12 of its 37
fields. Square brackets mark values removed from the documentation.
Field groups
| Group | Root fields |
|---|---|
| Identity and status | ypid, listingId, name, akas, isClaimed, isPaid, yearEstablished, year, seniorityYears, seniorityDate, vertical, source, chainId |
| Contact | phoneNumber, phone, allPhone, additionalPhones, email, additionalEmails, url, additionalUrls, customLink |
| Location | address, city, state, zip, zip4, latitude, longitude, timezone, neighborhoods, locationDescription, areaCode |
| Hours | opHours, hours, hoursXltd, openNow, open24Hours, moreHoursOfOperation, nextHourStateChange, nextHourStateChangeSeconds |
| Classification | headingText, allHeadings, displayCategories, translatedDisplayCategories, categoryBreadcrumbs, headingCode, allHeadingCodes, primaryHeadingCode, categoryType |
| Business details | generalInfo, description, slogan, services, brands, amenities, amenitiesFlags, accreditation, associations, languagesSpoken, paymentText, priceRange, additionalInfo |
| Features | features |
| Ratings | averageRating, preciseAverageRating, ratingCount, reviewCount, writtenRatingCount, 1StarCount to 5StarCount, ratingAttributes, ratingAttributeAverages, ratings, reviews, reviewSnippets, snippet, lastReviewDate, pageInsights, tripAdvisor |
| Advertising | adText, adImagePath, displayAd, graphic, sponsor, tier, tierFields, preferredBadge, advertisingStartDate, displayAdvertisingYears, coupons, couponFlag, dealFlag |
| Media | media, serpImageSha1, serpImageSha1Mult, lastImageDate |
| Links | yellowPagesUrl, mipUrl, spmipUrl, dkmipUrl |
| Search | searchListing |
| Reviews | businessReviews, businessReviewsTotal |
| Run | scrapedAt |
The record has more fields than these groups list, such as listingScore,
hotlistScore, and rhinoTimestamp. The Actor keeps them too.
Field notes
ypidis the business ID. Use it to remove repeated rows when you join the results of two runs.listingIdis the listing of the business in one category. It was the same asypidfor 123 of 200 sampled businesses. A paid business has a listing for each category.phoneNumberis the formatted phone, such as(512) 823-0000.phoneis the same number as digits.emailis rare: 3 of 200 sampled businesses had it. ReadadditionalEmailstoo, which 115 of 200 had.urlis the website of the business.additionalUrlsholds the other links.hoursXltd.default.standardHoursgives the hours for each day as 24-hour ranges, such as0000-2359.opHoursgives the same hours as text.openNowandnextHourStateChangedescribe the time of the run.averageRatingis the shown rating.preciseAverageRatingis the exact average.1StarCountto5StarCountgive the ratings for each star level.ratingCountcan be higher thanbusinessReviewsTotal. Some ratings exist only as counts. Yellow Pages does not serve them as reviews.featuresis an open set. In the sample, details had 89 different feature keys and search results had 138. The Actor copies the object whole.searchListingholds values that the details do not have, such asdistanceandlistingType.distanceis about the straight-line distance in miles from the search center. Some values differ from the details, such asaverageRating. The Actor keeps both.businessReviews[].bodyis empty text for a star-only rating. In a sample of 1,952 reviews, 14 had no text.businessReviews[].reviewSourceisYP.com,YPmobile, ornull.businessReviewskeep the order of Yellow Pages. It is mostly newest first, but not always.reviewsis the newest review that the details carry. It is not the full list.
Canada records
yellowpages.ca has no app API, so Canada records come from its website. They have their own fields:
| Field | Content |
|---|---|
ypid, listingId | ca_ and the merchant ID, such as ca_156059; the merchant ID alone. |
name, yellowPagesUrl | The business name and its page on yellowpages.ca. |
telephone, phones | The main phone in international format; every phone with its label, such as Primary. |
website, bookingUrl | The links that the page shows. |
address, geo | Street, city, province, postal code, and country; latitude and longitude. |
openingHours | The day, the opening time, and the closing time. |
description | The full "Details & Description" text. |
rating, ratingCount, reviewCount | The average rating, the number of ratings, and the number of written reviews. |
editorsPick | true when the business has the Editor's Pick badge. |
paymentMethods, socialMedia | The payment methods; the social links with their names. |
businessDetails | The page's detail lists with their titles, such as Products and Services or Languages Spoken. |
linkGroups | The Categories, Directories, and Landmarks links of the page. |
logo, image, media | The logo, the main image, and the photo gallery with captions. |
searchListing | The search card: the ad flag, headings, rating, phone, website, and best review. |
businessReviews | Each written review: ID, rating, title, text, author, date, sub-ratings such as food and service, and helpful count. |
FAQ
How many reviews can I get?
In the US there is no fixed limit. Set maxReviewsPerBusiness to 0 to get all
the reviews that Yellow Pages serves. In a sample of 200 businesses, 135 had no
reviews, and the most was 305. In the UK, Yell serves up to about 20 reviews per
business; businessReviewsTotal still reports the true count. In Canada,
yellowpages.ca serves every written review. Its star-only ratings count in
ratingCount, but the site does not serve them.
Why did I get fewer reviews than ratingCount?
maxReviewsPerBusiness is an upper limit, and it is 20 by default. Also, some
ratings exist only as counts. For example, ARS Rescue Rooter shows 113 ratings,
but Yellow Pages serves no reviews for it. The Yellow Pages app shows the same
empty list. businessReviewsTotal is the number that Yellow Pages serves.
Why do some reviews have no text?
They are star-only ratings. The Actor saves them with the reviews, so you get every rating that Yellow Pages serves.
Why do some businesses have no address or coordinates?
Some businesses go to their customers, such as plumbers. They hide their
address on Yellow Pages. For them, mappable is false and omitAddress is
Y or S. In a search for plumbers in Austin, 11 of 60 businesses were like
this. 9 had no coordinates, and 2 had the placeholder -10, -10. 5 had an
approximate point in assumedLat and assumedLon. The Actor keeps these values
as Yellow Pages sends them.
How many businesses can one search return?
Yellow Pages serves about 3,000 results for one search, even when it counts
more. To get more, split the area into ZIP codes or cities, or use more specific
search terms. Then remove the repeats with the ypid field.
Can I search outside the United States?
Yes, in the United Kingdom and Canada. Set Country to uk to search
yell.com, or to ca to search yellowpages.ca. No other country is covered yet.
With Country us, Yellow Pages covers the 50 states and Washington, DC only.
It has no Canada, Puerto Rico, or other US territories. Some places outside the
US stop the run with Yellow Pages cannot find the location, such as
Toronto, Canada. Others match a US town with the same name: Toronto, ON
searched Toronto, Ohio. The log shows the place it searched. For Canada, set
Country to ca.
What is lid?
A paid business has one listing for each category, such as "Plumbers" and
"Water Heaters". lid in a link picks one of these listings. Keep it in the
link, because the category fields come from that listing. A search sends it for
you. A link without lid gets the listing that Yellow Pages chooses.
What happens when I misspell the search term?
In our tests, Yellow Pages still returned results for "resturants" and "plumbr". It corrected "resturants" to "restaurants" and suggested "plumber" for "plumbr". The log shows the suggestion, so check it before a large run.
How do I find the link or listing ID?
Open the business on yellowpages.com. Copy the link from the address bar. The
listing ID is the number at the end of the link, and every record has it in
ypid.
Can I search and look up businesses in one run?
Yes. Set searchTerm with a location and businesses in the same input. The
dataset has the search results first, then your list.
Why do I see the same business twice?
One search saves each business once. A business can show twice when your
businesses list has it twice. It can also show twice when you join two runs.
Remove the repeats with the ypid field.
What happens if a business fails?
The Actor saves the other businesses. The log shows Failed to collect business
or does not exist on Yellow Pages with the listing ID. The run still ends as
succeeded. The last log line gives the number of saved and failed businesses.
A feature or field that I need is missing. What can I do?
Tell us in the Issues tab. Describe what you need and give an example business.
Where can I report a problem?
Open an issue in the Issues tab. Include the run ID and the input, so that we can reproduce it.
Similar Actors
- Yelp Business Scraper. Yelp businesses with ratings, hours, categories, attributes, photos, and reviews.
- Yelp Reviews Scraper. Yelp reviews and business details from business URLs, aliases, or business IDs.
- Google Maps Scraper. Google Maps places with more than 120 fields, emails, and social profiles.
- TripAdvisor Reviews. TripAdvisor reviews for restaurants, hotels, attractions, and cruises.
- Trustpilot Reviews Scraper. Trustpilot reviews and business profiles.