![Yellow Pages avatar](https://images.apifyusercontent.com/xd4TH0NaAxHDqgnhih8uU1cYdXKkrc9trFxyFESNzVI/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9QeUV1TjNDYUg5bmNaS0NYNS9oR1QyQW1aZU4yemRjb1dkTi1ZZWxsb3dfUGFnZXMtbG9nby04NUE0RUFEMDhCLXNlZWtsb2dvLmNvbS5wbmc.webp)
Yellow Pages
Try for free
7 days trial then $30.00/month - No credit card required now
View all Actors![Yellow Pages](https://images.apifyusercontent.com/xd4TH0NaAxHDqgnhih8uU1cYdXKkrc9trFxyFESNzVI/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9QeUV1TjNDYUg5bmNaS0NYNS9oR1QyQW1aZU4yemRjb1dkTi1ZZWxsb3dfUGFnZXMtbG9nby04NUE0RUFEMDhCLXNlZWtsb2dvLmNvbS5wbmc.webp)
![Yellow Pages](https://images.apifyusercontent.com/xd4TH0NaAxHDqgnhih8uU1cYdXKkrc9trFxyFESNzVI/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9QeUV1TjNDYUg5bmNaS0NYNS9oR1QyQW1aZU4yemRjb1dkTi1ZZWxsb3dfUGFnZXMtbG9nby04NUE0RUFEMDhCLXNlZWtsb2dvLmNvbS5wbmc.webp)
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
The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more
1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7 "search": "Mechanic",
8 "location": "New York",
9 "maxItems": 100,
10 "proxyConfiguration": {
11 "useApifyProxy": false
12 }
13}
14EOF
15
16# Run the Actor using an HTTP API
17# See the full API reference at https://docs.apify.com/api/v2
18curl "https://api.apify.com/v2/acts/mcdowell~yellow-pages/runs?token=$API_TOKEN" \
19 -X POST \
20 -d @input.json \
21 -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
- 17 monthly users
- 2 stars
- 95.7% runs succeeded
- Created in Dec 2022
- Modified 9 months ago
Categories