Pricing
from $10.00 / 1,000 results
Go to Apify Store
Pricing
from $10.00 / 1,000 results
Rating
0.0
(0)
Developer
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
4 days ago
Last modified
Categories
Share
Yellow Pages Scraper (Apify Actor)
Scrapes business listings from yellowpages.com. Self-contained Apify actor โ no paid SDKs, no external services. Routes all traffic through Apify Proxy.
Operations
| Operation | Required input | Optional input | What you get |
|---|---|---|---|
scrape_search | query | location, maxPages | One row per business listing in the search results |
scrape_pages | urls (list) | โ | One row per business detail page (name, categories, rating, phone, address, hoursโฆ) |
Quick start
In the Apify console, set your input to:
{"operation":"scrape_search","query":"plumbers","location":"New York, NY","maxPages":1,"proxyConfiguration":{"useApifyProxy":true,"apifyProxyGroups":["RESIDENTIAL"],"apifyProxyCountry":"US"}}
Run it. Each item lands in the actor's default dataset.
A run with maxPages: 1 returns ~30 listings. Each row looks like:
{"@type":"LocalBusiness","name":"ABC Plumbing","address":{"streetAddress":"...","addressLocality":"New York","postalCode":"10001"},"telephone":"(212) 555-0100","aggregateRating":{"ratingValue":"4.5","reviewCount":"32"}}
Input fields
| Field | Type | Used by | Description |
|---|---|---|---|
operation | enum | all | scrape_search or scrape_pages |
query | string | scrape_search | Search term, e.g. "plumbers" |
location | string | scrape_search | Geo filter, e.g. "New York, NY" |
maxPages | int | scrape_search | Max pagination depth. Empty = scrape all |
urls | list[string] | scrape_pages | Direct business-detail URLs |
maxItems | int | all | Hard cap on dataset rows (0 = no cap) |
cookies | string | all (optional) | Raw Cookie: header from a real browser. Only needed if the site is in challenge mode for your IP โ see "Notes on blocking" below |
proxyConfiguration | proxy editor | all | Apify Proxy config |
