YellowPages Canada Business Scraper
Pricing
from $1.50 / 1,000 business scrapeds
YellowPages Canada Business Scraper
Get Canadian business leads from the YellowPages.ca directory: names, phone numbers, addresses, websites, ratings and categories for any city and business type. Batch many searches in one run or call it as a fast HTTP API. Pay only per business.
Pricing
from $1.50 / 1,000 business scrapeds
Rating
0.0
(0)
Developer
Automation Lab
Maintained by CommunityActor stats
0
Bookmarked
32
Total users
4
Monthly active users
10 days ago
Last modified
Categories
Features
Share
Extract business listings from YellowPages.ca — Canada's largest business directory. Get contact details, ratings, addresses, and categories for any city and business type without coding or API access.
Next step: enrich Canadian local business lead lists
Use YellowPages Canada Business Scraper as a Canadian local business lead source. When listings include websites, enrich those domains with Website Contact Finder, then clean discovered emails with Bulk Email MX Verifier or Bulk SMTP Email Verifier before CRM or outreach upload.
Build a cold-outreach lead workflow on Apify
Use this actor as one step in a scrape → enrich → verify → export workflow:
- Source B2B accounts or contacts with LinkedIn Company Employees Scraper, LinkedIn Company Scraper, Clutch.co Scraper, Yellow Pages Scraper, YellowPages Canada Business Scraper, or Substack Scraper.
- Find public contact signals with Website Contact Finder or Social Media Profile Finder when you have company domains/websites.
- Clean the list before outreach with Bulk Email MX Verifier for fast syntax/MX/disposable/role-risk screening, then Bulk SMTP Email Verifier when you need deeper mailbox and catch-all checks.
- Export to your outreach stack as CSV/Excel/JSON for Instantly, HubSpot, Salesforce, Pipedrive, Airtable, Make, Zapier, or n8n.
Use only public/business contact data and comply with CAN-SPAM, GDPR, and your outreach platform's rules. Prefer company emails over personal addresses, filter role-based/risky emails when needed, and do not send to invalid or unverified addresses.
📋 What does it do?
YellowPages Canada Business Scraper fetches search results from yellowpages.ca and extracts structured business data. For any search query (e.g. "dentist", "roofing contractor") and Canadian location (e.g. "Toronto ON", "Calgary AB"), the actor returns:
- Business name and direct YellowPages listing URL
- Phone number (extracted directly from the page, no click required)
- Full address (street, city, province, postal code)
- Star rating and review count
- Business description
- Categories (e.g. Restaurants, Italian Restaurants)
- Website URL
- Sponsored vs organic indicator
Pagination is handled automatically — you set a per-search result limit and the actor pages through results until it hits your target count. You can also submit multiple query/location pairs in searches and receive one consolidated dataset; every record keeps its source searchQuery and location.
👥 Who is it for?
Sales and business development teams who prospect Canadian leads by industry and geography — search "accountant" in "Vancouver BC" and get a phone-ready list in minutes.
Marketing and advertising agencies that need to audit their clients' local directory presence or benchmark competitors across Canadian cities.
Recruiters and staffing firms looking for companies hiring in specific sectors — scrape industry keywords by province to build employer contact lists.
Data analysts and researchers studying Canadian business density, service coverage, or local market composition by city and category.
Real estate and franchise professionals evaluating commercial opportunity by identifying concentrations or gaps in local business categories.
🏆 Why use this actor?
- No API key or YellowPages account required — runs against the public search interface
- Phone numbers included — extracted from
data-phoneattributes without simulating clicks - Schema.org structured data — addresses parsed field-by-field (street, city, province, postal code) for clean CSV exports
- Canadian-specific — covers all 10 provinces and 3 territories; supports French and English search queries
- Pagination handled automatically — set your limit and let the actor collect results across multiple pages
- Multiple markets in one run — batch query/location pairs into one source-labelled export
- Filter ads — toggle to exclude sponsored listings and get only organic results
- Cost-effective — HTTP + Cheerio architecture (no browser), so runs are fast and cheap
📊 Data extraction table
| Field | Description | Example |
|---|---|---|
name | Business name | "La Bella Trattoria" |
url | YellowPages listing URL | "https://www.yellowpages.ca/bus/..." |
listingId | YP internal listing ID | "2088985" |
phone | Phone number | "416-800-2993" |
streetAddress | Street address | "1975A Queen St E" |
city | City | "Toronto" |
province | Province abbreviation | "ON" |
postalCode | Postal code | "M4L 1J1" |
fullAddress | Full formatted address | "1975A Queen St E, Toronto, ON M4L 1J1" |
rating | Star rating (1–5) | 4.5 |
reviewCount | Number of YP reviews | 23 |
description | Business description | "Experience authentic Italian cuisine..." |
categories | Business categories | ["Restaurants", "Italian Restaurants"] |
website | Business website URL | "https://labella.ca/" |
isAd | Whether listing is sponsored | false |
searchQuery | Query used for this result | "restaurant" |
location | Location used for this result | "Toronto ON" |
💰 Pricing — How much does it cost to scrape YellowPages Canada businesses?
Each run charges two types of events:
| Event | Cost (BRONZE tier) |
|---|---|
| Run start | $0.009 per run |
| Per business extracted | $0.0025 per listing |
Example costs:
- 50 businesses: ~$0.135
- 200 businesses: ~$0.509
- 1,000 businesses: ~$2.509
Volume discounts apply automatically as your Apify usage grows. PLATINUM and DIAMOND tiers (high-volume users) pay as little as $0.001 per listing.
From December 5, 2026 the price moves to Apify's standard plan curve: $0.0025 per listing on the FREE and Starter (BRONZE) plans, $0.00225 on SILVER, and $0.002 on GOLD and above, with a flat $0.009 run start on every plan. Starter-plan prices stay the same.
Free plan: Apify's free plan's monthly credit covers roughly 1,500 businesses at the FREE-tier price of $0.003 per listing.
🚀 How to use it
- Open the actor on the Apify platform and click Try for free
- Enter one search using
searchQueryandlocation, or add query/location pairs undersearches - Use Canadian locations such as
Vancouver BC,Calgary AB, orMontreal QC - Set your result limit —
maxResultsapplies to each search unless that batch entry overrides it (default: 50) - Click Run and wait for results (typically 5–30 seconds for 50 results)
- Download results in CSV, JSON, Excel, or XML from the dataset tab
⚙️ Input parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
searches | array | none | Optional { searchQuery, location, maxResults? } pairs. When present, these replace the single-search fields. |
searchQuery | string | restaurant | Business type or keyword for legacy single-search runs |
location | string | Toronto ON | City and province for legacy single-search runs |
maxResults | integer | 50 | Maximum listings per search; each batch entry can override it |
includeAds | boolean | true | Include sponsored/ad listings in results |
maxRequestRetries | integer | 3 | Retry attempts for failed requests. Temporary challenges, 5xx answers and timeouts always get at least 8 retries per page |
proxyConfiguration | object | none | Optional proxy settings for high-volume scraping |
Location format: Use the city name followed by the two-letter province code with a space — "Toronto ON", "Edmonton AB", "Winnipeg MB". Accented characters work too: "Montréal QC" or "Quebec QC".
📦 Output example
{"name": "La Sala Restaurant","url": "https://www.yellowpages.ca/bus/Ontario/Toronto/La-Sala-Restaurant/2088985.html","listingId": "2088985","phone": "416-800-2993","streetAddress": "1975A Queen St E","city": "Toronto","province": "ON","postalCode": "M4L 1J1","fullAddress": "1975A Queen St E, Toronto, ON M4L 1J1","rating": 5,"reviewCount": 1,"description": "Experience authentic Italian cuisine at La Sala Restaurant. Fresh ingredients, handcrafted dishes, and a warm atmosphere await.","categories": ["Restaurants", "Italian Restaurants"],"website": "https://www.lasalaristorante.com/","isAd": true,"searchQuery": "restaurant","location": "Toronto ON"}
Reliability and diagnostics
YellowPages.ca often answers a page with a temporary access challenge (HTTP 202), a 502/504 or a slow response. Each page retries these with a fresh request identity at least 8 times (more if you raise maxRequestRetries), which clears them in our tests, so large jobs of several hundred listings finish. If one page still keeps failing, the actor keeps every row already collected, moves on to your next search, and the run's status message says exactly what happened, e.g. Got 385 of 400 businesses: YellowPages.ca kept refusing "restaurant" in Toronto ON (page 12); run again to continue. A run fails only when nothing at all could be collected. An explicit YellowPages no-match message is a legitimate empty result.
Every run ends with a status message that compares what you asked for with what you got: Got 100 of 100 businesses., or Got 43 of 200 businesses: YellowPages.ca has no more listings for "dentist" in Gander NL. You are charged only for listings saved to the dataset, and the run stops cleanly when it reaches your spending limit.
Failed operations send sanitized diagnostic input, exceptions, and Actor/build/run IDs to our private GlitchTip service for repair. Secret fields and URL query strings are removed, and reports are retained for 30 days.
💡 Tips for best results
Use specific search queries for better data quality. Searching "plumber" returns plumbing companies; searching "emergency plumber" may return fewer but more targeted results.
Combine markets in one job. Use searches to run several city/business-type pairs sequentially and export one dataset. The actor does not deduplicate across pairs, so a business found in two search contexts retains both useful source labels.
Filter ads for research use cases. Set includeAds: false to exclude sponsored listings if you only want organic directory entries.
Use exact province codes. YellowPages.ca uses standard two-letter codes: ON, BC, AB, QC, MB, SK, NS, NB, NL, PE, YT, NT, NU.
For French-language results in Quebec, use French search terms like "restaurant" or "plombier" with "Montreal QC" or "Quebec QC".
Scraping large datasets. For 500+ results, the actor paginates automatically. Set maxResults to your target and let it run — expect roughly 20–40 results per page depending on the search.
🔗 Integrations
Google Sheets via Apify webhooks: After each run, automatically push results to a Google Sheet using the Google Sheets integration. Use for sales teams that need fresh lead lists without logging into Apify.
CRM lead import (HubSpot / Salesforce): Export results as CSV and import directly into your CRM. The phone, fullAddress, name, and website fields map cleanly to standard CRM contact fields.
Make (Integromat) and Zapier: Trigger the actor on a schedule and route results to any app — Airtable, Notion, Slack notifications, or email — using Apify's native Make and Zapier integrations.
Airtable lead database: Use Apify's Airtable export actor to sync results into an Airtable base for your sales or research team.
Python/Node.js data pipelines: Pull results from the Apify dataset API and enrich them with additional sources (e.g. LinkedIn company data, Google Maps reviews) for more complete prospect profiles.
🤖 API usage
Node.js
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });const run = await client.actor('automation-lab/yellowpages-canada-scraper').call({searches: [{ searchQuery: 'restaurant', location: 'Toronto ON', maxResults: 50 },{ searchQuery: 'plumber', location: 'Vancouver BC', maxResults: 50 },],});const dataset = await client.dataset(run.defaultDatasetId).listItems();console.log(dataset.items);
Python
from apify_client import ApifyClientclient = ApifyClient('YOUR_API_TOKEN')run = client.actor('automation-lab/yellowpages-canada-scraper').call(run_input={'searchQuery': 'dentist','location': 'Vancouver BC','maxResults': 100,})for item in client.dataset(run['defaultDatasetId']).iterate_items():print(item['name'], item['phone'], item['fullAddress'])
cURL
curl -X POST \"https://api.apify.com/v2/acts/automation-lab~yellowpages-canada-scraper/runs?token=YOUR_API_TOKEN" \-H "Content-Type: application/json" \-d '{"searchQuery": "dentist","location": "Vancouver BC","maxResults": 100}'
🧠 Use with Claude and MCP
You can control this actor directly from Claude using the Apify MCP server.
Claude Code / CLI
$claude mcp add --transport http apify "https://mcp.apify.com?tools=automation-lab/yellowpages-canada-scraper"
Claude Desktop / Cursor / VS Code
Add to your MCP config file (~/.config/claude/claude_desktop_config.json on macOS):
{"mcpServers": {"apify": {"command": "npx","args": ["-y", "@apify/mcp-server"],"env": {"APIFY_TOKEN": "YOUR_TOKEN","APIFY_MCP_ACTOR_IDS": "automation-lab/yellowpages-canada-scraper"}}}}
Example prompts
- "Find all dentists in Calgary AB and export their phone numbers to a table"
- "Scrape 200 restaurants in Vancouver BC and show me which ones have ratings above 4 stars"
- "Get a list of plumbers in Toronto ON with their website URLs"
- "How many Italian restaurants are listed in Montreal QC on YellowPages Canada?"
🔒 Data handling, AI, retention, and support
This Actor uses deterministic HTTP and HTML parsing and does not send inputs or scraped data to an AI provider. It reads public YellowPages.ca business search results and writes only the documented business fields and source query/location to your Apify dataset. An optional proxy is used only when you explicitly configure one; your selected proxy provider can observe request metadata.
The Actor keeps no external cache or separate copy of your results. Runs, logs, and datasets follow your Apify account retention settings, and you can delete them through Apify Console or API controls. Do not put secrets in search fields; proxy credentials are not included in dataset records or normal logs.
For support, use the Issues tab on the Actor's Apify Store page. YellowPages and related marks belong to their respective owners; this independent Actor is not endorsed by or affiliated with YellowPages.ca.
⚖️ Legality — Is it legal to scrape YellowPages Canada?
This actor scrapes publicly available business directory data from YellowPages.ca — the same information anyone can view in a browser. The data consists of business names, contact details, and categories that businesses have voluntarily listed in a public directory.
Web scraping of public information is generally lawful in Canada and most jurisdictions. Scraping public data for research, analysis, or lead generation is a widely accepted practice. We recommend reviewing YellowPages.ca's terms of service for your specific use case, and ensuring your use of the data complies with Canadian privacy legislation (PIPEDA) if you process personal data.
This actor does not bypass authentication, access private data, or violate any access controls.
❓ FAQ
What locations does it support?
All Canadian cities and regions. Use the city name and two-letter province code: "Toronto ON", "Vancouver BC", "Calgary AB", "Montreal QC", "Ottawa ON", etc. Remote or smaller communities may return fewer results.
How many results per page does YellowPages.ca show?
Typically 20–40 organic listings per search page. The actor paginates automatically until your maxResults limit is reached.
Can I scrape multiple cities in one run?
Yes. Add one object per market to searches, for example [{ "searchQuery": "restaurant", "location": "Toronto ON", "maxResults": 50 }, { "searchQuery": "plumber", "location": "Vancouver BC", "maxResults": 50 }]. The top-level maxResults is the default per search, and an entry's maxResults overrides it.
Why am I getting fewer results than expected? YellowPages.ca may have fewer listings for your category in that city. Try a broader search term (e.g. "food" instead of "Thai restaurant") or check yellowpages.ca manually to confirm total result count.
I'm getting empty results or errors — what should I try?
First, verify your search works on yellowpages.ca in a browser using the same query and location. If the site is accessible but the actor fails, try increasing maxRequestRetries to 5 or enabling datacenter proxies via proxyConfiguration.
Does it scrape business detail pages? No — this actor scrapes the search results page only, which contains phone numbers, addresses, ratings, and categories without needing to visit each business's detail page. This keeps costs low.
Can I get email addresses?
YellowPages.ca does not publicly display email addresses on the search results page. Business websites (extracted in the website field) may have contact forms or email addresses.
Is the data always current? The actor fetches live data from yellowpages.ca at run time. However, individual business listings are only as up-to-date as YellowPages.ca's own index.
🔗 Related scrapers
- YellowPages US Scraper — Same format for the US market
- PagesJaunes France Business Scraper — French business directory (pagesjaunes.fr)
Server API
This Actor is also a Server Actor: send one quick search as an HTTP request and get the businesses back in the response, without starting a run. Copy the server URL from the actor's Server tab and authenticate with your Apify API token. Normal runs keep the full input, batch searches and dataset.
GET /search
Runs one YellowPages.ca search and returns up to 100 businesses (1–3 result pages).
| Query parameter | Required | Description |
|---|---|---|
query | yes | Business type or keyword, e.g. plumber |
location | yes | Canadian city and province, e.g. Toronto ON |
maxResults | no | 1–100, default 35 (one result page) |
includeAds | no | true (default) or false to drop sponsored listings |
Response 200: { "ok": true, "count": 35, "results": [ ... ] }. Each result has the same fields as a dataset row (see Output example).
Charge: one business-scraped event per returned business, at your plan's price. There is no run-start fee for server requests, and an error or empty answer is free.
Limits: 4 requests at once per server process, 90 seconds per request.
| Status | Code | Meaning | Retry? |
|---|---|---|---|
| 400 | INVALID_INPUT | Missing or empty query/location, maxResults outside 1–100, bad includeAds, or an unknown parameter | no |
| 404 | NO_RESULTS | YellowPages.ca lists no businesses for this query and location (free) | no |
| 404 / 405 | NOT_FOUND / METHOD_NOT_ALLOWED | Unknown path or wrong method | no |
| 502 | UPSTREAM_ERROR | YellowPages.ca kept refusing the search before any business was found (free) | yes |
| 413 | RESPONSE_TOO_LARGE | The answer exceeds 512 KB (not expected within 100 businesses) | no |
| 503 | OVERLOADED / SHUTTING_DOWN | The server process is busy or stopping | yes |
| 504 | TIMEOUT | The request ran past 90 seconds | yes |
If a later page is refused after some businesses were found, the response is 200 with the businesses found so far.
curl -s -H "Authorization: Bearer $APIFY_TOKEN" \"<server URL from the Server tab>/search?query=plumber&location=Toronto+ON&maxResults=35"