YellowPages.ca Scraper - Canadian Business Leads
Pricing
from $1.75 / 1,000 business saveds
YellowPages.ca Scraper - Canadian Business Leads
Extract Canadian business data from YellowPages.ca by category and city: name, phone, address, postal code, coordinates, categories, rating, reviews, hours, services and photos. Sort, paginate and deduplicate, with full detail pages. Pay only for businesses saved.
Pricing
from $1.75 / 1,000 business saveds
Rating
0.0
(0)
Developer
DataScraperES
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
7 days ago
Last modified
Categories
Features
Share
Turn a category and a Canadian city into structured business records from YellowPages.ca and PagesJaunes.ca. Each row carries the phone, full address, coordinates, categories, rating, review count, opening hours, services offered and photo gallery, so the dataset is ready for lead lists, CRM imports or local-market analysis.
What this Actor does
The Actor reads the public Canadian Yellow Pages directory by business category and location, walks the result pages, deduplicates businesses by their Yellow Pages id and then loads each business page to add the details that the result list does not show: daily opening hours, the services offered list, the full description and the photo gallery. English uses yellowpages.ca, French uses pagesjaunes.ca.
You can start from search terms plus locations, from specific Yellow Pages search or business URLs, or from both in the same run.
Use cases
- Build a Canadian B2B lead list for one trade and several cities (plumbers, dentists, HVAC, restaurants).
- Audit a local market: how many competitors exist, their categories, ratings and review counts.
- Enrich a CRM with phone numbers, postal codes and coordinates for Canadian businesses.
- Track how a category or city listing changes over time by scheduling repeated runs.
How to use
- Open the Actor in Apify Console.
- Enter at least one search term and one location, for example
plumbersandToronto, ON. - Click Start and open the Dataset when the run finishes.
Input
Only one start type is required: search terms + locations, or start URLs, or both.
| Field | Required | Description |
|---|---|---|
searchTerms | with locations | Business categories or keywords, as typed on the site. Every term is combined with every location. |
locations | with terms | Canadian city, optionally with the province: Toronto, ON. |
startUrls | optional | YellowPages.ca or PagesJaunes.ca search pages and business pages. |
maxResults | no | Unique businesses to save (default 100, maximum 5000). The run stops there. |
maxPagesPerSearch | no | Result pages per term and location (default 3, maximum 20). Each page holds about 35 businesses. |
sortBy | no | relevance (default), name, distance, rating or reviews. |
language | no | en for yellowpages.ca, fr for pagesjaunes.ca. |
includeDetails | no | Load each business page for hours, services, description and photos (default on). |
maxConcurrency | no | Pages requested at the same time (default 4, maximum 8). |
{"searchTerms": ["plumbers", "dentists"],"locations": ["Toronto, ON", "Mississauga, ON"],"startUrls": [],"maxResults": 150,"maxPagesPerSearch": 3,"sortBy": "rating","language": "en","includeDetails": true,"maxConcurrency": 4}
Output
Results are stored in the default Dataset, one row per unique business. Formats: JSON, CSV, Excel and XML from the Console export.
{"businessId": "101902936","name": "Drain King Plumbers","url": "https://www.yellowpages.ca/bus/Ontario/North-York/Drain-King-Plumbers/101902936.html","phone": "+16473622109","phones": ["+16473622109"],"street": "100 Saint Regis Crescent","city": "North York","province": "ON","postalCode": "M3J 1Y8","country": "CA","latitude": 43.7550621,"longitude": -79.4822464,"categories": ["Plumbers & Plumbing Contractors", "Sewer Line Inspection"],"primaryCategory": "Plumbers & Plumbing Contractors","rating": 5.0,"reviewCount": 8,"hours": [{ "days": ["Monday"], "opens": "00:00", "closes": "23:59" }],"services": ["Plumbing Repairs", "Pipe Replacement", "Drain Cleaning"],"description": "Drain King Plumbers is a locally-owned, 24/7 full-service plumbing and drain company.","teaser": "Premium plumbing and drain services in the Greater Toronto Area.","photoCount": 11,"photos": ["https://ssmscdn.yp.ca/image/resize/.../photo-1.jpg"],"isAd": false,"searchTerm": "plumbers","location": "Toronto ON","language": "en","detailLoaded": true,"scrapedAt": "2026-11-18T12:30:00+00:00"}
A run also writes a SUMMARY record in the key-value store with the counters used for the run: searches, pages read, businesses saved, detail pages loaded, duplicates, not-found items, failed requests, token refreshes and transferred bytes.
Check SUMMARY.status before using the export. completed means the run finished within its configured limits. partial means some requests or writes failed after results were saved. stopped means an interruption ended collection, and limit_reached means the spending limit was reached. For delivery_uncertain, inspect the Dataset and run charges. The corresponding count is null when the Actor cannot confirm it.
Pricing
Pay per event: one business event for each unique business saved to the dataset. Duplicates, skipped pages, failed requests and the run start are not charged, and there is no start fee or minimum.
| Apify discount tier | Per business | Per 1,000 businesses |
|---|---|---|
| FREE | $0.0025 | $2.50 |
| BRONZE | $0.00225 | $2.25 |
| SILVER | $0.002 | $2.00 |
| GOLD | $0.00175 | $1.75 |
The price that applies to your account is shown on the Actor page under Pricing. A 100-business run costs $0.25 or less.
Related Actors
| Actor | Best for |
|---|---|
| Google Maps Business Scraper | $1 per 1,000 | Adding Google Maps ratings, review counts and coordinates to the same businesses. |
| Website Email Scraper - Emails & Social Profiles | Turning the websites in your export into public emails and social profiles. |
| Bulk Domain Rating Checker | Scoring lead websites before you prioritise your outreach list. |
Limits and data quality
- Coverage is directory-driven. YellowPages.ca repeats paid and featured listings across result pages, so a search usually yields fewer unique businesses than
maxResults. The Actor stops a search when the directory repeats a result page instead of asking for the same page again. - Business website and email are not included because the directory does not publish them reliably on the pages this Actor reads. Phone, address, coordinates, hours, services and photos are.
hours,services,descriptionandphotosneedincludeDetails. Turning it off returns list-level fields only and is much faster and lighter.- Network access is handled by the Actor. No network settings are exposed or needed: the Actor manages its own connections and repeat attempts.
- Large runs are limited by the source, not only by
maxResults. Very broad categories in large cities can return several hundred unique businesses; narrow trades may return a few dozen. - The site can throttle a very long run. If it starts refusing page after page, the Actor stops after a short streak of failures and keeps the businesses already saved, with a message explaining it. You can start a new run later. If Apify restarts a run after delivery began, the Actor keeps the existing results and stops to avoid sending them again.
- Result pages change over time, so page composition can differ between runs. Businesses are deduplicated by their Yellow Pages id inside one run.
Frequently asked questions
Why did I get fewer businesses than maxResults?
Two reasons: the source repeated the same businesses across pages, or the category in that city simply does not have more unique entries. Lower maxResults, add more locations or use broader search terms.
Do I need to configure anything for the network?
No. The Actor manages network access and repeat attempts internally; there is nothing to set up.
Is PagesJaunes.ca supported?
Yes. Set language to fr, or pass a pagesjaunes.ca URL in startUrls. A start URL always keeps its own host.
Are emails or websites included?
No. The directory pages used by this Actor do not publish a reliable business website or inbox. The dataset documents what is available: phone, address, postal code, coordinates, categories, rating, review count, hours, services, description and photos.
Can I run specific business pages?
Yes. Put business URLs such as /bus/Ontario/Toronto/Example/123456.html in startUrls and set maxResults to the number of pages you want to read.
Why did the Actor stop at a repeated page?
The directory returned a page with the same business IDs again. The Actor stops that search instead of fetching identical pages, and the summary counts the duplicates.
Responsible use
You are responsible for using the data lawfully. Respect the YellowPages.ca and PagesJaunes.ca terms of service, Canada's anti-spam and privacy law (including CASL and PIPEDA) when you contact businesses, and any contractual obligations of your organisation. This Actor reads publicly listed business information; it does not collect consumer data.
Support
Open an issue in the Issues tab of this Actor with the input you used and the run ID, and describe what you expected instead.
Python, JavaScript and cURL examples, sample input and CSV: YellowPages.ca scraper examples on GitHub.