Yellow Pages Scraper API
for businesses, phones, and hours
Search Yellow Pages and get local business listings as clean JSON. One request returns each business with phone, website, categories, rating, hours, and a review snippet, for any keyword and location, with proxies handled for you.
of requests succeed
median response
95% finish faster
per 1k business searches at volume
Yellow Pages buries contact data in the markup. Your parser shouldn't care.
- Phone and website behind redirects
- Hours and categories in mixed shapes
- Trust badges scattered around the card
- Proxies and captchas at scale
- Re-parse listings after each redesign
One GET Request. That's the whole integration.
Start with just a query. Add more parameters when your use case needs them.
curl -G 'https://api.hasdata.com/scrape/yellowpages/search' \
--data-urlencode 'keyword=Plumbers' \
--data-urlencode 'location=New York, NY' \
--data-urlencode 'sort=default' \
--header 'x-api-key: <YOUR_API_KEY>' \
--header 'Content-Type: application/json'keyword * Search Querylocation * Locationsort Sort Bypage Pagedomain Domaincurl -G 'https://api.hasdata.com/scrape/yellowpages/place' \
--data-urlencode 'url=https://www.yellowpages.com/kings-county-ny/mip/aladdin-plumbing-corp-548289617' \
--header 'x-api-key: <YOUR_API_KEY>' \
--header 'Content-Type: application/json'url * URLEvery business, one predictable schema
Each listing comes back with the same keys, phone, website, categories, hours, and rating. Map the fields once and forget about it.
[
{
"position": 1,
"title": "Roto-Rooter Plumbing & Water Cleanup",
"phone": "(877) 215-0209",
"website": "https://www.rotorooter.com/chicago/",
"url": "https://www.yellowpages.com/nationwide/mip/roto-rooter-plumbing",
"categories": ["Plumbers", "Water Damage Restoration"],
"rating": 4.81,
"reviews": 272,
"openState": "open 24 hours",
"workingHours": ["Mo-Su"],
"reviewText": "We were having problems with a clogged sewer line. Roto-Rooter came out same day...",
"badges": ["91 Years in Business"],
"country": "US"
}
]position numberRank within the search results
title stringBusiness name
phone / website stringContact number and site, resolved past redirects
url stringYellow Pages profile page
categories string[]Service categories the business is listed under
rating / reviews numberAverage rating and review count
openState / workingHours string / string[]Current open status and hours
badges string[]Trust badges like years in business
// From the place endpoint: full profile and reviews for one business by URL.
[
{
"author": "Bill T.",
"text": "We were having problems with a clogged sewer line. They came out same day and fixed it...",
"date": "2019-12-18",
"helpfulCount": 0,
"ratings": { "overall": 5, "expertise": 5, "professionalism": 5, "promptness": 5 }
}
]author stringReviewer name
text stringThe review body
date stringWhen the review was left
helpfulCount numberHelpful votes on the review
ratings objectSub-scores: overall, expertise, professionalism, promptness
// From the place endpoint: the business's full description and category list.
{
"generalInfo": "Roto-Rooter offers an ever-expanding variety of plumbing and drain services for homes and businesses...",
"categories": "Plumbers, Plumbing-Drain & Sewer Cleaning, Sewer Contractors",
"otherLink": "https://www.rotorooter.com/chicago/"
}generalInfo stringThe business's about text
categories stringEvery category the business is listed under
otherLink stringAdditional link the profile lists
An all-in-one scraping service
Every feature you need to collect data from thousands to millions of requests.
Discover similar
scrapers and APIs
to expand your projects.
Yellow Pages Scraper
Local Business Data • $0.07 / 1k Rows
Google Maps Search API
Local Market Research • $0.37 / 1k Request
Fits right into your stack.
Works with the tools you already use.
View Documentation ->Teams that deleted their scraper
Now it's the part of the pipeline they don't think about
HasData delivers exactly what we need: speed and comprehensive search features. It's the fastest API we've used in this space. Plus, their customer support is fantastic.
We rely on HasData for search performance data and broader scraping needs. Their APIs deliver highly structured data that integrates directly into our platforms.
Great web scraping API which is incredibly easy to use. It requires minimal effort to get up and running, and the documentation is very clear and helpful.
I needed to scrape some information they didn't already support, and they wrote the code for me right away, which was super nice of them.
We were particularly impressed with how easily we could integrate HasData into our existing workflow.
Plans that get cheaper at scale
Fixed price, fixed volume, no surprises at the end of the month. Upgrade when you need more.
Free
Startup
Business
RecommendedEnterprise
Monthly business search volume
Start with 100 free business searches. No credit card required.
Questions, answered
Both. The search endpoint takes a keyword and location and returns matching businesses. The place endpoint takes a Yellow Pages URL and returns one business in full. Same field names, so you can mix them in one pipeline.
Business name, phone, website resolved past its redirect, categories, rating, review count, open status, hours, a review snippet, and trust badges. Enough to build a clean lead list without a second pass.
Per successful request, whether it's a search page or a single business. A failed request costs nothing.
Yes, a one-time trial of 100 business searches with every field included. No credit card required. When you're done testing, pick a plan that fits your volume.
One business search costs 10 credits. The unit price drops with volume, from about $2.45 down to $0.75 per 1,000 searches. Need more than the top plan covers? We'll set a custom rate.
No. Requests run on HasData's infrastructure, so there's nothing to provision or maintain. You're responsible for using the results in line with each target site's terms and applicable law.
Yes, you can cancel your subscription at any time from your dashboard in a few seconds. Once cancelled, there are no recurring payments.
Your first business search
is minutes away
100 business searches free · no credit card