Yellowpages Scraper: Search & Business Details avatar

Yellowpages Scraper: Search & Business Details

Pricing

from $0.70 / 1,000 search results

Go to Apify Store
Yellowpages Scraper: Search & Business Details

Yellowpages Scraper: Search & Business Details

Scrape Yellowpages.com businesses by keyword and location, or get full details by listing URL or ID. Names, phones, addresses, websites, ratings, reviews, photos and opening hours. Fast and browserless, proxies included, optional details enrichment for search results.

Pricing

from $0.70 / 1,000 search results

Rating

0.0

(0)

Developer

Vladimir Efimenco

Vladimir Efimenco

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Categories

Features

Limited permissions

Share

Yellowpages Scraper | Business Leads, Emails, Phones & Reviews

This Yellowpages scraper collects business data from yellowpages.com: names, phone numbers, emails, websites, addresses, opening hours, ratings, reviews and photos. Search any keyword in any US city or ZIP code, or paste Yellowpages listing links to get the full business profile. It is fast and browserless, and proxies are included.

If you need US business leads from the Yellow Pages directory, for example every dentist in Newark, DE or every plumber in Austin, TX, this Yellowpages scraper gives you a clean, ready-to-use dataset in minutes.

⚡ What you can do with it

  • Search Yellowpages by keyword and location, for example Dentist in Newark, DE or Plumber in 78701.
  • Run many keywords in one go, each in the same location.
  • Get up to 50 businesses per page, and as many pages as the search has.
  • Sort results by relevance, name or distance, and include or skip closed businesses.
  • Enrich every search result with full business details: emails, extra phone numbers, fax, all photos and up to 50 reviews.
  • Paste Yellowpages listing URLs or IDs to get complete business profiles.
  • Export to JSON, CSV, Excel or HTML, or connect the data to your CRM, Google Sheets or AI agent.

🎯 Who uses it

  • Lead generation and B2B sales: build lists of local businesses with phones, emails and websites.
  • Marketing agencies: find businesses by niche and city for outreach and local SEO.
  • Market research: count and compare businesses by category, city, rating or years in business.
  • Reputation monitoring: track Yellowpages ratings and reviews, plus TripAdvisor ratings where available.
  • Data and AI teams: feed structured US business directory data into apps, databases and AI agents.

🔧 Input

The Yellowpages scraper has two modes. Pick one with the mode field.

🔍 Search mode

Finds businesses by keyword and location, like the search box on yellowpages.com.

FieldDescription
modeSEARCH
searchQueriesKeywords to search for, for example Dentist, Pizza, Auto Repair. Each keyword is a separate search
locationCity and state (Newark, DE) or a ZIP code (90217). Used for every keyword
maxPagesPages per keyword. One page has 50 businesses. The search stops earlier when there are no more results
sortrelevance (default), name or distance
includeClosedAlso return businesses that are currently closed. Default true
enrichDetailsAdds full business details to every result: emails, extra phones and fax, all photos and up to 50 reviews. Each listing is opened individually and its details are saved in the same row. Available on paid plans
{
"mode": "SEARCH",
"searchQueries": ["Dentist", "Orthodontist"],
"location": "Newark, DE",
"maxPages": 3,
"sort": "relevance",
"includeClosed": false,
"enrichDetails": true
}

📇 Listings mode

Gets the full business profile for each Yellowpages listing you provide.

FieldDescription
modeLISTINGS
listingsYellowpages listing URLs or listing IDs, one per line

Both formats work, and you can mix them:

  • https://www.yellowpages.com/van-nuys-ca/mip/contractors-inc-541885348
  • 541885348
{
"mode": "LISTINGS",
"listings": [
"https://www.yellowpages.com/van-nuys-ca/mip/contractors-inc-541885348",
"6663016"
]
}

Links that are not from yellowpages.com are skipped with a warning in the log. Duplicates are removed automatically.

📊 Output

The Yellowpages scraper saves results to two datasets:

  • Search results (default dataset): one row per business found in Search mode.
  • Business details (listings dataset): one row per listing in Listings mode.

Both datasets use the same field names and share listing_id, so you can join them easily. Every row has the same columns, and a field that a business does not have is null. The data is flat where possible, so it works well in Excel, CSV and Google Sheets.

🏢 Business and contacts

FieldDescription
listing_idYellowpages listing ID, the number at the end of the listing URL
listing_urlYellowpages listing page
nameBusiness name
primary_category, categoriesMain category and all categories
phone, phone_internationalMain phone, for example (302) 489-4058 and +13024894058
email, emailsMain email and all emails
additional_phones, fax_numbersExtra phone numbers and fax numbers. Details only
website, additional_urlsBusiness website and all website links
social_networksFacebook, Instagram, Yelp, X and other profile links
also_known_asOther names of the business. Details only

📍 Location

FieldDescription
address, city, state, zipAddress parts
full_addressStreet, city, state and ZIP in one line
latitude, longitudeCoordinates
neighborhoodsNeighborhoods. Details only
location_descriptionHow to find the place, for example the building name
distance_milesDistance from the searched location. Search mode only
timezoneBusiness timezone

⭐ Ratings and reviews

FieldDescription
average_rating, rating_countYellowpages rating (0 to 5) and number of ratings
average_rating_preciseRating with two decimals. Details only
review_count, last_review_dateNumber of written reviews and date of the latest one. Details only
rating_5_stars ... rating_1_starsNumber of ratings per star. Details only
rating_attribute_scoresAverage score per aspect, for example Food 4.5, Service 5. Details only
review_snippetsShort reviews shown in search results
reviewsUp to 50 full reviews with rating, title, text, date, aspect scores and author. Details only

🕒 Hours

FieldDescription
hours_textOpening hours as text
hours_monday ... hours_sundayHours per day, for example 08:00-17:00 or Closed
open_now, open_24_hoursOpen at scrape time, open 24 hours
hoursFull opening hours data as published by Yellowpages

📝 About the business

FieldDescription
description, sloganBusiness description and slogan
year_establishedYear the business was founded
payment_methodsAccepted payments, for example AMEX, VISA, CASH
languages_spokenLanguages spoken
price_rangePrice range, for example $$ or $35-$300
products, services, specialties, cuisinesWhat the business sells or offers
brands, brands_servicedBrands sold or serviced
insurance_acceptedAccepted insurance plans
amenities, business_features, parkingAmenities, features like Take Out, and parking options
ownership, service_areaOwnership (for example Locally Owned) and cities served
emergency_service, free_estimates, licensed, insured, wheelchair_accessibleYes/no attributes
accreditations, associationsAccreditations and professional associations. Details only
bbb_grade, bbb_accredited, bbb_urlBetter Business Bureau grade, accreditation and profile
special_offer, discounts, business_historyOffers and business history
is_claimed, has_coupon, listing_typeClaimed by the owner, has a coupon, advertiser or free listing
vertical, category_path, primary_collectionIndustry and category hierarchy
other_attributesOther attributes that depend on the category, for example towing for auto repair or good_for_kids for restaurants

📸 Photos and social stats

FieldDescription
image_urlMain image
imagesImage links. With details: all business photos
photo_count, cover_image_urlTotal number of photos and the cover image. Details only
facebook_likes, facebook_checkinsFacebook stats

🦉 TripAdvisor

Yellowpages shows TripAdvisor data for many restaurants and hotels. When it is there, you get it too.

FieldDescription
tripadvisor_rating, tripadvisor_review_count, tripadvisor_urlTripAdvisor rating, number of reviews and page link
tripadvisor_photo_count, tripadvisor_photos_urlNumber of TripAdvisor photos and photos page
tripadvisor_category_ratings, tripadvisor_good_forRatings per aspect and "good for" tags
tripadvisor_room_count, tripadvisor_price_min, tripadvisor_price_maxRooms and price range (hotels)
tripadvisor_reviews, tripadvisor_photosLatest TripAdvisor reviews with owner responses, and photo links. Details only

🔎 Search context

FieldDescription
search_query, search_locationKeyword and location the business was found with
search_page, search_positionResults page and position in the results
details_enrichedtrue when full details were added
inputListing URL or ID as you provided it. Listings mode only
scraped_atScrape time, UTC

"Details only" fields are filled in Listings mode, and in Search mode when enrichDetails is on.

📋 Example output

Search mode, shortened:

{
"listing_id": "4170712",
"listing_url": "https://www.yellowpages.com/newark-de/mip/honig-gordon-c-dmd-4170712",
"name": "Honig Gordon C DMD",
"primary_category": "Dentists",
"categories": ["Dentists", "Orthodontists"],
"phone": "(302) 489-4058",
"phone_international": "+13024894058",
"website": "https://honigorthodontics.com",
"full_address": "2707 Kirkwood Highway, Newark, DE 19711",
"latitude": 39.709347,
"longitude": -75.6819,
"average_rating": 5.0,
"rating_count": 2,
"year_established": 1985,
"languages_spoken": ["English", "Spanish"],
"payment_methods": ["AMEX", "DISCOVER", "VISA", "FINANCING AVAILABLE", "MASTERCARD"],
"hours_monday": "08:00-17:00",
"hours_friday": "08:00-13:00",
"is_claimed": true,
"products": ["Fluoride Treatments", "Dentures", "Braces", "Dental Implants"],
"insurance_accepted": ["Delta Dental Premier", "Delta Dental PPO"],
"ownership": ["Locally Owned"],
"social_networks": ["https://www.facebook.com/HonigOrtho/"],
"free_estimates": true,
"distance_miles": 4.22,
"details_enriched": false,
"search_query": "Dentist",
"search_location": "Newark, DE",
"search_page": 1,
"search_position": 1
}

Listings mode (full business details), shortened:

{
"listing_id": "6663016",
"listing_url": "https://www.yellowpages.com/miami-fl/mip/andiamo-6663016",
"name": "Andiamo!",
"primary_category": "Pizza",
"phone": "(305) 762-5751",
"email": "info@andiamopizza.com",
"fax_numbers": ["(305) 762-7770"],
"website": "http://www.andiamopizza.com/pizza_menu.htm",
"social_networks": ["https://instagram.com/andiamopizzamiami", "https://www.yelp.com/biz/andiamo-miami-2"],
"full_address": "5600 Biscayne Blvd, Miami, FL 33137",
"neighborhoods": ["Upper Eastside", "Bayshore"],
"also_known_as": ["Andiamo! Brick Oven Pizza"],
"average_rating_precise": 4.71,
"review_count": 7,
"rating_5_stars": 5,
"rating_4_stars": 2,
"rating_attribute_scores": { "Atmosphere": 5.0, "Food": 5.0, "Service": 5.0 },
"reviews": [
{
"rating": 5,
"title": "Yummy!!!",
"text": "This pizza was awesome!! You gotta try the breadsticks too!! I'd definitively eat here again!",
"date": "2013-07-29",
"author_name": "Alex B.",
"author_review_count": 79
}
],
"cuisines": ["Pizza", "Italian"],
"hours_text": "Mon - Thu 11:30 am - 10:00 pm, Fri 11:00 am - 11:00 pm, Sat 11:30 am - 11:00 pm, Sun 11:30 am - 10:00 pm",
"tripadvisor_rating": 4.5,
"tripadvisor_review_count": 291,
"tripadvisor_good_for": ["Large groups", "Dining on a budget"],
"input": "https://www.yellowpages.com/miami-fl/mip/andiamo-6663016"
}

🐍 Use the Yellowpages scraper via API

You can run this Yellowpages scraper from your own code with the Apify API. Get your API token in Apify Console > Settings > API & Integrations.

Python

from apify_client import ApifyClient
client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("mof1re/yellowpages-scraper").call(
run_input={
"mode": "SEARCH",
"searchQueries": ["Plumber"],
"location": "Austin, TX",
"maxPages": 2,
}
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item["name"], item["phone"], item["website"])

JavaScript

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });
const run = await client.actor('mof1re/yellowpages-scraper').call({
mode: 'SEARCH',
searchQueries: ['Pizza', 'Hotel'],
location: 'Miami, FL',
enrichDetails: true,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => console.log(item.name, item.email, item.average_rating));

cURL (runs the scraper and returns the search results in one call)

curl -X POST "https://api.apify.com/v2/acts/mof1re~yellowpages-scraper/run-sync-get-dataset-items?token=<YOUR_API_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"mode": "SEARCH", "searchQueries": ["Dentist"], "location": "Newark, DE"}'

🤖 Use with AI agents (MCP)

Connect the Yellowpages scraper to Claude, ChatGPT, Cursor, VS Code or any other MCP client through the Apify MCP server. Your AI agent can then find local businesses on its own, for example: "Find 50 roofing companies in Denver, CO with their phone numbers and websites."

Hosted server (recommended). Add this server URL to your MCP client:

https://mcp.apify.com?tools=mof1re/yellowpages-scraper

On first connection your browser opens so you can sign in to Apify. If your client does not support sign-in, add your API token as a header:

{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com?tools=mof1re/yellowpages-scraper",
"headers": {
"Authorization": "Bearer <YOUR_API_TOKEN>"
}
}
}
}

Local server. Runs on your machine with npx:

{
"mcpServers": {
"apify": {
"command": "npx",
"args": ["-y", "@apify/actors-mcp-server", "--tools", "mof1re/yellowpages-scraper"],
"env": {
"APIFY_TOKEN": "<YOUR_API_TOKEN>"
}
}
}
}

The scraper shows up in your agent as the tool mof1re--yellowpages-scraper. Ready-made configs for each client are in the Apify MCP configurator.

❓ FAQ

Is this the same as Yellow Pages? Yes. The data comes from yellowpages.com, the US Yellow Pages business directory.

Can I get business emails? Yes. Emails come with the full business details, so use Listings mode or turn on enrichDetails in Search mode. Many businesses publish an email, but not all of them do.

How many results can I get? Each page has 50 businesses. Set maxPages as high as you need, and the scraper stops on its own when a search has no more results.

How do I find a listing ID? It is the number at the end of the listing link. In https://www.yellowpages.com/van-nuys-ca/mip/contractors-inc-541885348 the ID is 541885348. You can also paste the whole link.

What is the difference between search results and full details? Search results already include contacts, address, hours, ratings and attributes. Full details add emails, extra phones and fax, all photos, up to 50 reviews, star breakdown, neighborhoods and TripAdvisor reviews.

Do I need my own proxies? No, they are built in.

How fresh is the data? Every run reads Yellowpages live, so you get what the site shows at that moment.

💳 Pricing

Pay per result. You are charged for businesses saved to the dataset, not for requests or pages. There are three result types, priced separately:

  • Search result: a business from Search mode.
  • Search result with details: a business from Search mode with enrichDetails on. Each business is opened individually to collect its details.
  • Business details: a business from Listings mode.

See the Pricing tab for current prices.

⚠️ Limits

Free Apify planPaid Apify plan
Keyword searches5 per dayUnlimited
Pages per keyword1 (50 businesses)Unlimited
Enrich with detailsNot availableAvailable
Listings mode10 listings per day, 1 per runUnlimited
  • If a free account sends more keywords than are left for the day, the scraper uses the first ones and tells you in the log and run status which keywords were skipped.
  • Daily limits reset at midnight UTC.
  • If you set a maximum cost per run, the scraper stops when it is reached and keeps everything collected so far.
  • The data is what yellowpages.com shows publicly at the time of the run.

🔗 See also

More scrapers by the same author, see all actors: