YellowPages.ca Scraper | With Numbers | $4 / 1k avatar
YellowPages.ca Scraper | With Numbers | $4 / 1k

Pricing

Pay per event

Go to Apify Store
YellowPages.ca Scraper | With Numbers | $4 / 1k

YellowPages.ca Scraper | With Numbers | $4 / 1k

Developed by

Fatih Tahta

Fatih Tahta

Maintained by Community

Extract clean, structured Canada business data right from YellowPages.ca. It grabs every visible listing to deliver names, phone numbers, websites, ratings, addresses, hours and more. Ideal for sales, market mapping or local competitor research.

0.0 (0)

Pricing

Pay per event

1

2

2

Last modified

2 days ago

YellowPages.ca Scraper | With Numbers | $3.99 / 1k

Slug: fatihtahta/yellowpages-canada-scraper Price: $3.99 per 1,000 saved listings

Extract clean, structured Canadian business data right from YellowPages.ca. This actor targets search results pages,, grabs every visible listing to deliver names, phone numbers, websites, ratings, addresses, hours, categories, and more.

Point it at any YellowPages search URL (e.g., “Plumbers in Vancouver”) and get a CRM-ready dataset for sales, market mapping or local competitor research.


💡 Why Scrape YellowPages.ca?

YellowPages.ca is one of Canada’s largest business directories. Scraping it helps you:

  • Outbound & Lead Gen – Build phone-ready lists (direct numbers + websites) for local outreach.
  • Market Mapping – Snapshot businesses by city/region/category with ratings and open/closed status.
  • Competitive Intel – Track ads/placements, categories, and review highlights across a niche.
  • Local SEO – Benchmark listings, categories, and star counts per area.

🚀 Features

  • 📞 With Numbers (Phones included) Pulls phone numbers straight from listing cards (with smart fallbacks).

  • 🔗 Real Website Links (no bridge redirects) Automatically unwraps YP’s /gourl?...&redirect= to the actual merchant domain.

  • 🧠 Hybrid Extraction (JSON-LD + DOM) Combines structured data with visible extras like open status, categories, ratings, best review, booking links, ads flag, and more.

  • ➡️ Full Pagination Follows Next links; if missing, auto-increments /search/si/<page>/... for deep coverage.

  • 🧰 Output That’s Easy to Use Download JSON, CSV, Excel, or HTML—clean field naming, normalized URLs.

  • 🛡️ Resilience Built-In Uses sessions, modern headers, and (if available) Apify proxy configuration to minimize soft blocks.


📊 What Data Do You Get?

Each dataset item typically includes:

Identity & Source

  • source (jsonld | dom | jsonld+dom)
  • sourceUrl (the SERP page that yielded the item)
  • id, types[] (from JSON-LD when available)

Business

  • name
  • detailUrl (YellowPages listing URL)
  • logo, hasGalleryBadge
  • category, categoryUrl, moreCategoriesUrl
  • features, promo

Contacts (“With Numbers”)

  • contacts.phone
  • contacts.website (real merchant URL, de-bridged)
  • contacts.bookingUrl (CTA or hidden mirror)
  • contacts.messageModalUrl
  • contacts.hasOnlineShopping (boolean)

Location

  • address.streetAddress, address.addressLocality, address.addressRegion, address.postalCode, address.addressCountry
  • geo.latitude, geo.longitude (when present)
  • directionsUrl

Status & Ratings

  • openStatus (visible “Open now / Closed” text)
  • openHoursUrl
  • ratings.ypStars (0–5 as integer), ratings.ypCount, ratings.tripAdvisorCount

Best Review (teaser)

  • bestReview.author, bestReview.avatar, bestReview.text, bestReview.url

Placement / Analytics

  • isAd, productType, pinNumber, indexOnPage
  • analytics.listingId, analytics.geoTier (in|out|dir), analytics.proximity, analytics.pageNum

📖 How to Use

  1. Open YellowPages.ca Scraper | With Numbers | $3.99 / 1k in Apify and click Try actor.
  2. In Input, paste a YellowPages.ca search URL (example below).
  3. Optionally set maxResults (defaults to 50,000).
  4. Click Start.
  5. Download results from Storage → Dataset as JSON/CSV/Excel/HTML.

Tip: Start with a smaller maxResults to QA your targeting, then scale.


📥 Input Configuration

  • targetUrl (string, required) — Any YellowPages.ca SERP URL. Example: https://www.yellowpages.ca/search/si/1/Car+Repair/Toronto+ON
  • maxResults (number, optional; default 50000) — Hard stop on saved items (min 1, max 1,000,000).

🧪 Example Input

{
"targetUrl": "https://www.yellowpages.ca/search/si/1/Plumber/Vancouver+BC",
"maxResults": 1200
}

📦 Example Output Item

{
"source": "jsonld+dom",
"name": "CityPipe Plumbing & Heating",
"detailUrl": "https://www.yellowpages.ca/bus/British-Columbia/Vancouver/CityPipe-Plumbing-Heating/1234567.html",
"logo": "https://www.yellowpages.ca/.../logo.png",
"hasGalleryBadge": true,
"address": {
"streetAddress": "1234 Main St",
"addressLocality": "Vancouver",
"addressRegion": "BC",
"postalCode": "V5K 0A1",
"addressCountry": "CA"
},
"geo": { "latitude": 49.2827, "longitude": -123.1207 },
"directionsUrl": "https://www.yellowpages.ca/.../directions",
"category": "Plumbers & Plumbing Contractors",
"categoryUrl": "https://www.yellowpages.ca/search/si/1/Plumbers/Vancouver+BC",
"openStatus": "Open until 6:00 pm",
"openHoursUrl": "https://www.yellowpages.ca/.../hours",
"ratings": { "ypStars": 4, "ypCount": 15, "tripAdvisorCount": 0 },
"bestReview": {
"author": "Sarah M.",
"avatar": "https://www.yellowpages.ca/.../avatar.jpg",
"text": "Fast same-day service and fair pricing.",
"url": "https://www.yellowpages.ca/.../reviews"
},
"contacts": {
"phone": "(604) 555-0123",
"website": "https://www.citypipe.ca",
"bookingUrl": "https://www.citypipe.ca/book",
"messageModalUrl": "https://www.yellowpages.ca/.../contact",
"hasOnlineShopping": false
},
"isAd": false,
"productType": "Free",
"indexOnPage": 3,
"analytics": {
"listingId": "987654321",
"geoTier": "in",
"proximity": 1.2,
"pageNum": 1
},
"sourceUrl": "https://www.yellowpages.ca/search/si/1/Plumber/Vancouver+BC"
}

🧠 Implementation Notes (under the hood)

  • Uses CheerioCrawler for speed and robustness.
  • Extracts from <script type="application/ld+json"> + visible DOM card elements.
  • Website links are de-redirected (unwraps YP bridge URLs).
  • Pagination auto-follows Next; if absent, increments /search/si/<page>/....
  • Optional proxy configuration is supported via Apify platform.

💰 Pricing

$3.99 per 1,000 saved listings. You only pay for results successfully saved to the dataset. Example: 7,500 listings → (7,500 / 1,000) * $3.99 = $29.93.


This actor collects publicly available business information from YellowPages.ca. Your dataset may include personal data (e.g., names). Ensure you have a lawful basis to process it (GDPR/CCPA, etc.), comply with applicable terms and policies, and respect local regulations for outreach.


❓ Support

Questions, ideas, or custom fields needed? Open an issue on the actor’s Issues tab in Apify Console—handled around the clock.

Happy scraping, Fatih