Yellow Pages Canada Business Leads Scraper avatar

Yellow Pages Canada Business Leads Scraper

Pricing

from $17.00 / 1,000 results

Go to Apify Store
Yellow Pages Canada Business Leads Scraper

Yellow Pages Canada Business Leads Scraper

Scrape Canadian business listings from Yellow Pages by keyword and city or province. Get business name, phone, website, full address and category as clean leads. Export to JSON, CSV or Excel.

Pricing

from $17.00 / 1,000 results

Rating

0.0

(0)

Developer

Scrapers Lat

Scrapers Lat

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

13 days ago

Last modified

Share

Yellow Pages Canada Business Leads Scraper

Yellow Pages Canada Business Leads Scraper

Here is one real result, with every field the actor returns:

{
"businessName": "El Gourmet Express Inc",
"phone": "416-628-3202",
"email": null,
"website": "https://elgourmet.ca/",
"address": "820 Church St, Toronto, ON M4W 2M9",
"street": "820 Church St",
"city": "Toronto",
"province": "ON",
"postalCode": "M4W 2M9",
"category": "Restaurants",
"categories": ["Restaurants"],
"rating": 4.5,
"reviewCount": 7,
"openStatus": "Open until 9:00 pm",
"url": "https://www.yellowpages.ca/bus/Ontario/Toronto/El-Gourmet-Express-Inc/104582462.html?what=Restaurants&where=Toronto+ON&useContext=true",
"source": "YellowPages.ca",
"observedAt": "2026-08-10T14:28:58.851Z"
}

The most complete Yellow Pages Canada scraper available. It returns every field the listing exposes for each business, plus parsed address parts (street, city, province, postalCode), ratings, and an optional paid contact-email add-on, and gives you keyword and location filters to target exactly the leads you need.

📥 Input · 📤 Output · 💰 Pricing · ▶️ Examples

Apify Coverage Output Billing

Table of contents

What it does

The actor searches Yellow Pages Canada (yellowpages.ca) for a keyword in a city or province, paginates through the matching business listings, and writes one normalized record per business to the run's dataset. Each Canadian address is parsed into street, city, province, and postalCode, the website redirect wrapper is resolved to the real business URL, and missing values are returned as null so you never get invented data.

An optional paid add-on (enrichContacts) attempts to find a public business contact email and contact person for results that have no email. It is off by default and billed separately (see Billing and limits).

Quickstart

Open the actor, paste this into the input, and press Run. It returns the 10 first restaurant leads in Toronto.

{
"maxBusinesses": 10,
"keyword": "restaurant",
"city": "Toronto ON",
"enrichContacts": false,
"enrichContactsMax": 50
}

Both keyword and city are required. Set keyword to a category (for example dentist, plumber, lawyer) and city to a location string that includes the province code (for example Vancouver BC).

Input reference

FieldTypeRequiredDefaultDescription
keywordstringyesrestaurantWhat to search for, for example restaurant, dentist, plumber, lawyer, or hair salon.
citystringyesToronto ONWhere to search, for example Toronto ON, Vancouver BC, Montreal QC, or Calgary AB. Include the two-letter province code.
maxBusinessesintegerno10Maximum number of businesses to collect. Free Apify plans are capped at 10 per run.
enrichContactsbooleannofalseOptional paid add-on. For each result without an email, attempt to find a public business contact email and a contact person's name. Billed per attempt, plus an extra charge only when an email is found.
enrichContactsMaxintegerno50Cap how many results the add-on tries to enrich, to control add-on cost. Free Apify accounts are capped at 3.

Output reference

One dataset item per business. Types: string, number, string[], or null when the source value is absent.

FieldTypeDescription
businessNamestringBusiness name, with the listing rank prefix stripped.
phonestringBusiness phone number, or null.
emailstringBase email from the listing. Almost always null; use the contact enrichment add-on to find one.
websitestringBusiness website, resolved from the Yellow Pages redirect wrapper, or null.
addressstringFull single-line address as shown on the listing.
streetstringStreet part parsed from the address.
citystringCity part parsed from the address.
provincestringTwo-letter province code parsed from the address (for example ON, BC, QC).
postalCodestringCanadian postal code parsed from the address.
categorystringPrimary category the business is listed under.
categoriesstring[]All categories the business is listed under, or null.
ratingnumberStar rating from 1 to 5, or null when unrated.
reviewCountnumberNumber of reviews backing the rating, or null.
openStatusstringOpen/closed indicator shown on the card, for example Open until 9:00 pm, or null.
urlstringFull URL of the business listing on Yellow Pages Canada.
sourcestringData source, always YellowPages.ca.
observedAtstringISO 8601 timestamp of when the record was collected.
enrichedEmailstringContact email found by the paid add-on, or null. Present only when enrichContacts is enabled.
enrichedContactNamestringContact person name found by the add-on, or null.
enrichedJobTitlestringContact job title found by the add-on, or null.
enrichedEmailStatusstringDeliverability status of the enriched email, or null.
enrichedSourcestringSource URL the enriched contact was found on, or null.
enrichedConfidencenumberConfidence score for the enriched contact, or null.
errorstringPresent only on a failed run: a single item with a populated error field is written instead.

The enriched* fields are added only when the enrichContacts add-on is enabled.

Example output record

Real record from a live run (input {"keyword": "restaurant", "city": "Toronto ON", "maxBusinesses": 10}):

{
"businessName": "La Sala Restaurant",
"phone": "416-800-2993",
"email": null,
"website": "https://www.lasalaristorante.com/",
"address": "1975A Queen St E, Toronto, ON M4L 1J1",
"street": "1975A Queen St E",
"city": "Toronto",
"province": "ON",
"postalCode": "M4L 1J1",
"category": "Restaurants",
"categories": ["Restaurants"],
"rating": 4,
"reviewCount": 2,
"openStatus": "Opening at 5:00 pm",
"url": "https://www.yellowpages.ca/bus/Ontario/Toronto/La-Sala-Restaurant/2088985.html?what=Restaurants&where=Toronto+ON&useContext=true",
"source": "YellowPages.ca",
"observedAt": "2026-08-10T14:28:58.857Z"
}

Run via API and CLI

Start a run and wait for it to finish, then read the dataset. Replace <TOKEN> with your Apify API token.

Run synchronously and get dataset items in one call:

curl -X POST "https://api.apify.com/v2/acts/scrapers_lat~yellowpages-canada-scraper/run-sync-get-dataset-items?token=<TOKEN>" \
-H "Content-Type: application/json" \
-d '{"keyword":"restaurant","city":"Toronto ON","maxBusinesses":25}'

Start a run asynchronously:

curl -X POST "https://api.apify.com/v2/acts/scrapers_lat~yellowpages-canada-scraper/runs?token=<TOKEN>" \
-H "Content-Type: application/json" \
-d '{"keyword":"dentist","city":"Vancouver BC","maxBusinesses":100}'

Apify CLI:

apify call scrapers_lat/yellowpages-canada-scraper \
--input '{"keyword":"plumber","city":"Calgary AB"}'

Fetch results

Every run writes to a dataset. Fetch items as JSON, CSV, or Excel by changing format:

# JSON
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&clean=true&format=json"
# CSV
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&clean=true&format=csv"
# Paginate large datasets
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&offset=1000&limit=1000"

<DATASET_ID> is returned as defaultDatasetId in the run object. Use offset and limit to page through large result sets. clean=true drops empty and internal fields.

Billing and limits

  • Pay per result. You are charged per business record returned (result event). See the pricing tab for the current per-result price.
  • Contact enrichment add-on is billed separately: per attempt when enrichContacts is on, plus an extra charge only when an email is found.
  • No charge on failure. If a run errors, the actor writes a single item with a populated error field and does not charge for it. Empty runs cost nothing.
  • Spend cap respected. Set maxTotalChargeUsd on the run; once reached, the actor stops emitting and charging further billable results.
  • Free Apify plans are capped at 10 records per run (and 3 enrichment attempts). Upgrade for higher maxBusinesses.

FAQ and troubleshooting

A run returned only an error item. Why? Both keyword and city are required. If either is empty the actor writes a single item with a populated error field and does not charge. Provide both and re-run.

Why is website sometimes null? Not every listing publishes a website. When present, the actor resolves the Yellow Pages redirect link to the real business URL; when absent it returns null rather than inventing one.

Why is email null on most records? The listing pages rarely expose an email. Enable the enrichContacts add-on to search for a public business contact email and contact person; those values are returned in the enriched* fields.

How do I target a specific province? Put the province code in city, for example Halifax NS or Winnipeg MB. Address parsing fills province and postalCode on each record.

Is this an official Yellow Pages tool? No. This actor is independent and has no affiliation with Yellow Pages Canada. It reads only data that is publicly available on the site.

More scrapers at scrapers.lat

Built and maintained by scrapers.lat, where we publish scrapers for US and Latin American public platforms: company registries, government data, finance, e-commerce and more. Browse the catalog or request a custom scraper at scrapers.lat.


Independent tool, not affiliated with Yellow Pages Canada. Accesses only publicly available business listing data.