Yellow Pages Canada

Each record is one business listing: name, phone, address, website, categories, rating, reviews, hours and contact details.

$2 per 1,000 records

You pay only for the records you get. Zero records cost zero. 2,500 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it

YellowPages.ca & PagesJaunes.ca businesses by category and city, province or all of Canada: phone, address, postal code, coordinates, website, rating, ad flag. Goes past the 2,100-result cap.

Ready-made, maintained by usPlaces, 42 fieldsv1.0

Data from yellowpages.ca

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Search wordsoptional
One category or keyword per line; each is searched in every place. Commas between them work too.
Example: Plumbers
Placesoptional
One place per line: a city with province, a province, or Canada. Commas between them work too.
Example: Toronto ON
Page addressesoptional
Optional. One search results or business page address per line. Commas between them work too.
Languageoptional
Choose English or French; categories and descriptions come in that language.
Most results per searchoptional
Highest number of businesses for each search word and place; 0 means all.
Example: 50
Split large searchesoptional
Turn on to get more than 2,100 results by splitting big searches.
Include adsoptional
Turn off to keep only regular listings and leave out paid ads.
Add business detailsoptional
Turn on to add hours, services, brands, languages, payment and photos.
Find emailsoptional
Turn on to look for emails and social profiles on each business website.

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 2,500 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/yellowpages-canada/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
2,500 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/yellowpages-canada/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"search_terms":["Plumbers"]},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

search_termslist
Categories or keywords, exactly as you would type them on YellowPages.ca, e.g. "Plumbers", "Dentists", "Restaurants", "Roofing contractors". Every term is searched in every location.
example: Plumbers
locationslist
A city with its province ("Toronto ON", "Laval, QC"), a province ("Ontario", "BC") or "Canada" for the whole country.
example: Toronto ON
start_urlslist
Optional. Search results pages (https://www.yellowpages.ca/search/si/1/Plumbers/Toronto+ON — filters and sort order in the URL are kept) or business pages (https://www.yellowpages.ca/bus/…/123456.html).
sitetext
English (YellowPages.ca) or French (PagesJaunes.ca) for search terms + locations. Same businesses; categories, descriptions and opening-status text come in the chosen language.
default: enone of: en, fr
max_items_per_searchnumber
Limit for each search term × location. 0 = everything the site lists.
default: 100example: 50
split_large_searchesyes/no
The site shows at most 2,100 results for any one search. When a search has more (e.g. "Restaurants" in "Ontario") and your per-search limit is above 2,100, this API splits it by city, postal area and sort order to maximize coverage.
default: true
include_adsyes/no
Paid ads repeat on many pages; they are always de-duplicated and flagged with isAd. Turn off to keep only organic results (an advertiser still appears if it also has an organic listing).
default: true
include_detailsyes/no
Opens each business page for opening hours, services offered, brands, specialties, languages spoken, payment methods, social media profiles and photos. One extra page per business.
default: false
enrich_contactsyes/no
Visits each business's own website (home page, then its contact page) and collects email addresses and social links. The directory itself does not publish emails.
default: false

What's in each record

42 fields: 31 here, 11 technical ones under Technical details.

Basics

  • Business name

    The name of the business.

    Example Drain King Plumbers

  • Categories

    The kinds of business the listing is filed under.

    Example Plumbers & Plumbing Contractors, Sewer Contractors

  • Rating

    Average review score, as a number.

    Example 5

  • Number of reviews

    How many reviews the business has.

    Example 8

  • Paid ad

    Yes if the listing appeared as a paid ad.

    Example Yes

  • Open now

    Whether the business is open, as shown on the listing.

    Example Open 24 hours

  • Opening hours

    Opening and closing times for each day.

    Example 1 item: Day: Monday · Opens: 00:00 · Closes: 23:59

  • Services

    Services the business offers.

    Example Plumbing Repairs, Drain Cleaning

  • Specialties

    Areas the business specializes in.

    Example Emergency Plumbing Service, Residential

  • Brands

    Brands the business sells or works with.

    Example Moen, American Standard

  • Languages spoken

    Languages staff can speak with customers.

    Example English

  • Description

    The business's own text about itself.

    Example Drain King Plumbers is a locally-owned, 24/7 full-service plumbing and drain company…

  • Business type

    The main kind of business, such as Plumber.

    Example Plumber

Prices

  • Payment methods

    Ways customers can pay.

    Example American Express, Cash

Location

  • Street

    Street number and name of the business.

    Example 100 Saint Regis Crescent

  • City

    The city where the business is.

    Example North York

  • Province

    Two-letter province code, such as ON.

    Example ON

  • Postal code

    The Canadian postal code of the business.

    Example M3J 1Y8

  • Postal area

    First three characters of the postal code.

    Example M3J

  • Latitude

    Map latitude of the business.

    Example 43.755062

  • Longitude

    Map longitude of the business.

    Example -79.482246

  • Full address

    Street, city, province and postal code together.

    Example 100 Saint Regis Crescent, North York, ON M3J 1Y8

  • Distance

    Distance from the searched place, in kilometres.

    Example 14.3

  • Website

    The business's own website.

    Example drainkingplumbers.ca

  • Listing page

    The business's page in the directory.

    Example yellowpages.ca/bus/Ontario/North-York/Drain-King-Plumbers/101902936.html

  • Social profiles

    Social media profiles shown on the directory listing.

    Example Facebook: https://www.facebook.com/drainkingplumbers/ · Twitter: http://twitter.com/drainkingGTA

  • Website social profiles

    Social media profiles found on the business's website.

    Example Facebook: https://www.facebook.com/drainkingplumbers

Contact details

  • Phone

    The business phone number.

    Example 647-362-••••

  • Emails

    Email addresses found on the business's website.

    Example i•••@drainkingplumbers.ca

Pictures and media

  • Business logo

    The logo picture shown on the listing.

    Example Open the image

  • Photos

    Photos from the business listing.

    Example https://ssmscdn.yp.ca/image/resize/…/drain-king-plumbers-1.jpg

Technical detailsField names and types for developers, and the 11 fields hidden above

Hidden by default

These 11 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.

  • Search words searchTermThe category or keyword that found this business.
  • Searched place searchLocationThe place searched to find this business.
  • Listing ID listingIdThe directory's internal number for this listing.
  • Services list servicesTextServices offered, written as one comma-separated line.
  • Site language siteLanguage version of the directory used: en or fr.
  • Results page pageWhich page of search results the business appeared on.
  • Position positionThe business's place in the search results.
  • Search page sourceUrlThe search results page where the business was found.
  • Collected on scrapedAtDate and time the record was collected.
  • Details included detailsFetchedYes if extra details from the business page were added.
  • Website check websiteStatusResult of visiting the business's website, such as ok.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 1 sample record carry the field.

Field nameTypeShown on this page asFilled
logoUrlimage linkBusiness logo1 of 1
nametextBusiness name1 of 1
phonetextPhone1 of 1
websitelinkWebsite1 of 1
streettextStreet1 of 1
citytextCity1 of 1
provincetextProvince1 of 1
postalCodetextPostal code1 of 1
categorieslistCategories1 of 1
ratingnumberRating1 of 1
reviewCountnumberNumber of reviews1 of 1
isAdyes or noPaid ad1 of 1
ypUrllinkListing page1 of 1
emailslistEmails1 of 1
socialsgroup of valuesSocial profiles1 of 1
websiteSocialsgroup of valuesWebsite social profiles1 of 1
fsatextPostal area1 of 1
latnumberLatitude1 of 1
lngnumberLongitude1 of 1
searchTermtextSearch words (hidden)1 of 1
searchLocationtextSearched place (hidden)1 of 1
openStatustextOpen now1 of 1
openingHourslistOpening hours1 of 1
servicesOfferedlistServices1 of 1
specialtieslistSpecialties1 of 1
brandsCarriedlistBrands1 of 1
languagesSpokenlistLanguages spoken1 of 1
paymentMethodslistPayment methods1 of 1
descriptiontextDescription1 of 1
listingIdtextListing ID (hidden)1 of 1
fullAddresstextFull address1 of 1
businessTypetextBusiness type1 of 1
servicesTexttextServices list (hidden)1 of 1
distanceKmnumberDistance1 of 1
sitetextSite language (hidden)1 of 1
pagenumberResults page (hidden)1 of 1
positionnumberPosition (hidden)1 of 1
sourceUrllinkSearch page (hidden)1 of 1
scrapedAtdate and timeCollected on (hidden)1 of 1
imageslistPhotos1 of 1
detailsFetchedyes or noDetails included (hidden)1 of 1
websiteStatustextWebsite check (hidden)1 of 1

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordBusiness nameCategoriesRatingNumber of reviewsPaid adOpen nowOpening hoursServicesSpecialtiesBrandsLanguages spokenDescriptionBusiness typePayment methodsStreetCityProvincePostal codePostal areaLatitudeLongitudeFull addressDistanceWebsiteListing pageSocial profilesWebsite social profilesPhoneEmailsBusiness logoPhotos
1Drain King PlumbersPlumbers & Plumbing Contractors, Sewer Contractors58YesOpen 24 hours1 item: Day: Monday · Opens: 00:00 · Closes: 23:59Plumbing Repairs, Drain Cleaning, Camera InspectionEmergency Plumbing Service, Residential, CommercialMoen, American Standard, GroheEnglishDrain King Plumbers is a locally-owned, 24/7 full-service plumbing and drain company…PlumberAmerican Express, Cash, Cheque, Mastercard100 Saint Regis CrescentNorth YorkONM3J 1Y8M3J43.755062-79.482246100 Saint Regis Crescent, North York, ON M3J 1Y814.3drainkingplumbers.cayellowpages.ca/bus/Ontario/North-York/Drain-King-Plumbers/101902936.htmlFacebook: https://www.facebook.com/drainkingplumbers/ · Twitter: http://twitter.com/drainkingGTAFacebook: https://www.facebook.com/drainkingplumbers647-362-••••i•••@drainkingplumbers.cassmscdn.yp.ca/image/resize/%E2%80%A6/yp-serp-thumbnail/1.jpghttps://ssmscdn.yp.ca/image/resize/…/drain-king-plumbers-1.jpg

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.

Version history

A run uses the live version unless the request names another one with version.