Yellow Pages avatar
Yellow Pages
Try for free

7 days trial then $30.00/month - No credit card required now

View all Actors
Yellow Pages

Yellow Pages

mcdowell/yellow-pages
Try for free

7 days trial then $30.00/month - No credit card required now

Scrape Yellow Pages for addresses, categories, names and phone numbers from listings

Yellow Pages Scraper

This scraper allows you to search records by using search queries with location or by using a list of urls.

Input

Sample Input

1{
2    "search": "Mechanic",
3    "location": "New York",
4    "maxItems": 100,
5    "proxyConfiguration": { "useApifyProxy": false }
6}

You can configure the actor to get a overview of the search results which extracts the data availale on the yellow pages search results page. A sample of the output can be found below

Output

Simple Output

Output is stored as an object with the following structure.

1{
2	"url": "https://www.yellowpages.com/new-york-ny/mip/tow-always-daily-14340018",
3	"name": "Tow Always Daily",
4	"address": "93 E 42nd StNew York, NY 10017",
5	"phone": "(212) 792-9113",
6	"website": "http://towing.com",
7	"categories": [
8		"Auto Repair & Service",
9		"Towing",
10		"Automobile Body Repairing & Painting"
11	]
12}

Detailed Output

Using the optional filter "detailedInfo": false, you can configure the actor to get more detailed information about the businesses by checking every business that appears for detailed information.

1{
2	"categories": [
3		"Auto Repair & Service",
4		"Tire Dealers"
5	],
6	"reviews": [
7		{
8			"author": "David W.",
9			"datePosted": "12/01/2022",
10			"rating": 5,
11			"reviewText": "Great Service Highly Recommended!!!"
12		},
13		{
14			"author": "Tomas A.",
15			"datePosted": "10/30/2022",
16			"rating": 5,
17			"reviewText": "Thank you for all your excellent services. Thanks a lot."
18		}
19	],
20	"paymentAccepted": "amex, discover, master card, visa",
21	"website": "http://www.firestonecompleteautocare.com/repair/services.jsp?lw_cmp=IYP_YPC_NPLL_Service",
22	"phone": "(800) 364-4314",
23	"rating": 0,
24	"url": "https://www.yellowpages.com/nationwide/mip/firestone-complete-auto-care-497692017?lid=1001662607171",
25	"name": "Firestone Complete Auto Care",
26	"address": "",
27	"openingHours": [
28		"Mo-Fr 07:00-19:00",
29		"Sa 07:00-18:00",
30		"Su 09:00-17:00"
31	]
32}
Developer
Maintained by Community
Actor metrics
  • 30 monthly users
  • 97.2% runs succeeded
  • Created in Dec 2022
  • Modified 5 months ago
Categories