YP Business Directories Scraper — 136 Country Yellow Pages avatar

YP Business Directories Scraper — 136 Country Yellow Pages

Pricing

from $0.20 / 1,000 results

Go to Apify Store
YP Business Directories Scraper — 136 Country Yellow Pages

YP Business Directories Scraper — 136 Country Yellow Pages

136 country Yellow Pages directories, one Actor — Woomar's YP network (businesslist.*, *yp.com, *yello.*, yelu.*). Seven tasks: search, category, city, company profiles, category tree, city list, auto from a link. Profiles add hours, manager, products, reviews. Verified, phone, no-website filters.

Pricing

from $0.20 / 1,000 results

Rating

0.0

(0)

Developer

Hamza Abbad

Hamza Abbad

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

8 days ago

Last modified

Features

Limited permissions

Share

YP Business Directories Scraper

Companies from Woomar's YP network — YP for Yellow Pages: 136 country business directories run by one operator, under names that follow a handful of patterns (businesslist.co.ke, japanyello.com, polandyp.com, yelu.in). One input covers all of them. Name a keyword, or paste a link from the directory you picked — a category, a city, a company, the category tree or the city list — and the same dataset comes back: contacts, addresses, opening hours, coordinates, categories, pictures, products and reviews.

The network is operated by Woomar (woomar.com) — Global Business Directory LLC, Casper, Wyoming, United States — which describes itself as running country-focused business networks, listing services for business owners and Data Hubs for market research across 130+ countries. This Actor reads the public side of those networks; the paid Data Hub subscriptions are a different product.

What you can scrape

Two ways in: name a keyword (the search), or paste a link from the directory you picked. The Actor recognises the page and runs the matching task.

Starting pointWhat you get
A keyword searchOne row per company matching the words, optionally in one city — the directory's own search, not a filtered guess
A company's pageThat one company in full: contacts, hours, manager, employees, description, categories, pictures, products with prices, reviews
A category pageOne row per company in that category — name, address, phone, badges, map coordinates, picture count, link
A category page narrowed to a cityThe same company rows, for that city only
A city pageThe same company rows, for that city only
The category directoryOne row per category, with the group it sits under and how many companies it holds
The city listOne row per city, with how many companies it holds

A page number inside a pasted link is honoured, so a long listing can be read a slice at a time: paste /category/general-business/2 with Maximum pages per list at 4 and the run reads pages 2-5. A search is the one task with no link to paste — the words are not part of any page address — so put them in Search keywords and the country in Country.

Countries covered

Every directory the network runs, linked to its own website. The Country list carries the same entries; a country name or a hostname works in the input too.

Africa — Algeria, Benin, Botswana, Cameroon, Chad, Djibouti, DR Congo, Ethiopia, Gabon, Ghana, Ivory Coast, Kenya, Lesotho, Libya, Madagascar, Malawi, Mali, Mauritania, Mauritius, Morocco, Mozambique, Namibia, Niger, Nigeria, Rwanda, Senegal, Seychelles, South Africa, Sudan, Tanzania, Togo, Tunisia, Uganda, Zambia, Zimbabwe

Asia — Armenia, Azerbaijan, Bangladesh, Brunei, Cambodia, China, Georgia, Hong Kong, India, Indonesia, Japan, Kazakhstan, Kyrgyzstan, Laos, Malaysia, Maldives, Myanmar, Nepal, Pakistan, Philippines, Singapore, South Korea, Sri Lanka, Taiwan, Thailand, Uzbekistan, Vietnam

Europe — Albania, Austria, Belarus, Belgium, Croatia, Cyprus, Estonia, Finland, Iceland, Ireland, Lithuania, Luxembourg, Malta, Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Sweden, Switzerland, Turkey, United Kingdom

Middle East — Bahrain, Egypt, Emirates, Iran, Israel, Jordan, Kuwait, Lebanon, Oman, Qatar, Saudi Arabia, Syria, Yemen

North America — Bahamas, Barbados, Belize, Cayman Islands, Costa Rica, Cuba, Dominican Republic, El Salvador, Grenada, Guadeloupe, Guatemala, Honduras, Jamaica, Martinique, Mexico, Nicaragua, Panama, Puerto Rico, Saint Lucia, Trinidad and Tobago

South America — Argentina, Bolivia, Brazil, Chile, Colombia, Ecuador, Guyana, Paraguay, Peru, Suriname, Uruguay, Venezuela

Australia — Australia, Fiji, New Zealand, Papua New Guinea

USA — Florida

Why this Actor

  • All 136 directories, one Actor. No other Actor on Apify covers this network beyond a handful of countries — most of them by hand, one website per Actor. Here the country is a dropdown: the same input and the same row shape work for every one of them.
  • Seven tasks, not one. Keyword search, category sweep, city sweep, a list of company profiles, the category tree, the city list, and a pasted link that the Actor recognises and routes itself.
  • Two levels of detail. Listing rows are quick to collect at scale; full profiles add opening hours, manager, employees, description, website, photo gallery, products with prices and reviews. You choose per run.
  • Lead-grade filters. Keep only verified businesses, only ones with a phone number, or only the ones with no website at all — a ready shortlist for outreach.
  • Long listings, a slice at a time. A link that starts at page 2 continues from page 2 for maxPages pages, so a 3,000-company category can be read across several runs without re-reading page 1.
  • The directory's own index, if you want to plan. Its category tree and city list come back as rows with their sizes, so a sweep is planned from the site's numbers instead of a guess.
  • Duplicate-free and bounded. A company filed under several categories is reported once; a run returns a useful sample quickly (200 rows) and sweeps a whole directory only when asked (0).
  • Honest failures. A link the Actor does not collect is refused with a sentence saying what to paste instead; a country or category that matches nothing fails with the real list rather than an empty dataset. Masked phone numbers are emitted as published, flagged phoneMasked, never reconstructed.

Quick start

  1. Pick the directory in Country — Kenya — www.businesslist.co.ke.
  2. Choose Search — companies matching a keyword under What to scrape, and type the trade in Search keywords — hotel, hardware, printing.
  3. Press Start.

The dataset fills with one row per company the directory's own search returns. When you already have a page open, paste its address into URL instead — a category, a city, a company or the directory itself — and the Actor follows the link, reading the country from its hostname.

Tutorial: a real workflow

Say you are building a supplier list for one trade in one country, then want to see the same trade across a region, and finally a handful of the companies in full.

1. Search one country

{ "startMode": "search", "country": "Kenya", "searchQuery": "hotel" }

One row per hotel the directory's own search returns, in its own order, with the contacts and the map it prints on the card:

{
"recordType": "companyCard",
"companyId": 103441,
"name": "Batton Contractors Ltd.",
"city": "Nairobi",
"country": "Kenya",
"phone": "+254-202420234",
"hasWebsite": true,
"url": "https://www.businesslist.co.ke/company/103441/Batton_Contractors_Ltd"
}

Add "city": "Nairobi" to keep it local. A keyword that matches exactly one company comes back as that company's full profile.

2. Keep the search local to one city

{ "startMode": "search", "country": "Kenya", "searchQuery": "hotel", "city": "Nairobi" }

Add a city and the directory itself narrows the answer, so the rows are the city's own matches rather than a list filtered afterwards.

3. Read a category instead, when the trade is the filter

{ "pageUrl": "https://www.businesslist.co.ke/category/general-business" }

For a trade the search phrases badly — printing, plumbing, freight — a category is the cleaner scope: one row per company listed under it, with the badges the card prints. The link's own country is what the run reads, and this directory files 17,107 companies under General Business across 856 pages.

{
"recordType": "companyCard",
"companyId": 103441,
"name": "Batton Contractors Ltd.",
"city": "Nairobi",
"phone": "+254-202420234",
"verified": true,
"yearsInBusiness": 21,
"establishedYear": 2005,
"sourceCategory": "General Business",
"sourcePage": 1,
"url": "https://www.businesslist.co.ke/company/103441/batton-contractors"
}

Paste a category page already narrowed to a city and the same rows come back for that city only. A page number carried by the link picks the slice, so a sweep can be split across runs.

4. Fetch the ones worth a call in full

{ "includeDetails": true }

With the same search or category scope, every company is read from its own page as well. That is where a profile's own fields appear — hours, manager, website, products, reviews:

{
"recordType": "companyProfile",
"companyId": 103441,
"name": "Batton Contractors Ltd.",
"city": "Nairobi",
"country": "Kenya",
"phone": "+254-202420234",
"websiteUrl": "http://www.battoncontractors.co.ke/",
"manager": "Tom Msando.",
"employees": "1-5",
"establishedYear": 2005,
"address": "P.O. Box: 52806-00200 Nairobi City Square., Kenya",
"openingHours": [
{ "day": "Monday", "hours": "8:00am-6:00pm" },
{ "day": "Saturday", "hours": "9:00am-1:00pm" },
{ "day": "Sunday", "hours": "Closed" }
],
"categories": ["General Business"]
}

5. Re-read one company later

{ "startMode": "company", "companyUrls": ["https://www.businesslist.co.ke/company/103441"] }

A profile link is enough and names its own country. Bare ids work too when Country says which directory they belong to — {"companyUrls": ["103441"], "country": "Kenya"} — which is the shape a previous run's companyId column has.

6. Plan the next sweep from the directory's own index

{ "startMode": "categories", "country": "Kenya" }
{ "recordType": "category", "categoryId": 1455, "name": "General Business",
"group": "Business services", "count": 3117,
"url": "https://www.businesslist.co.ke/category/general-business" }

cities does the same for the city list. Every label, slug and id here can be pasted straight into Categories, or into City when it is a city, to scope a companies run.

7. Sweep a whole directory

{ "startMode": "companies", "country": "Kenya", "maxItems": 0, "maxPages": 0 }

Every company that directory lists, one row each, deduplicated across its categories. Leaving Fetch full profiles off is what keeps a sweep like this quick; with it on, every company is also read from its own page.

Input

Field (key)What it doesDefault
URL (pageUrl)A link from any directory in the network, when you already have one. Leave it empty to run one of the tasks instead.a category link
Country (country)The one directory this run reads — every country the network covers, with its hostname. Required unless the URL or the profile links name the country.Kenya
Search keywords (searchQuery)What you are looking for: one keyword or phrase, sent to that directory's own search.—
City (city)Optional, one city: keeps a search local, narrows a category listing, or is what the Location task reads.—
What to scrape (startMode)auto — from the pasted URL — or an explicit task: search, companies, location, company, categories, cities.auto
Categories (categories)Companies runs only: labels, URL slugs or ids. Empty takes the link's category, or every category.from the link
Company links or ids (companyUrls)Company task, required: profile links, or ids together with Country.—
Fetch full profiles (includeDetails)Read every company from its own page — hours, manager, website, pictures, products, reviews. One more page per company.false
Verified listings only (verifiedOnly)Keep the companies the directory marks as verified.false
Only listings with a phone number (withPhoneOnly)Drop companies that publish no phone.false
Only listings with no website (withoutWebsiteOnly)Keep companies with no website at all — the outreach shortlist.false
Maximum rows (maxItems)Row cap for the whole run; 0 collects everything.200
Maximum pages per list (maxPages)Page cap for each category or city listing; 0 pages every list to its end.0
Delay between pages (requestDelayMs)Pause between two pages, in milliseconds.250
Retries per page (maxRequestRetries)Retries before a page that fails is given up on.4
Proxy configuration (proxyConfiguration)Optional. A refused request is retried through Apify Proxy on its own; this field pins a proxy for the whole run.none
Debug: include raw source record (debugIncludeRaw)Adds the parsed source record to each row.false

The tasks below auto exist for runs with no link to paste; they take their scope from these fields instead.

The three filters cut the bill, not just the noise. They decide on each company before its own page is opened, because the listing already says whether it is verified, has a phone and has a website — so a filtered-out lead costs nothing extra. The run's message reports how many rows the filters dropped, so a sweep never looks mysteriously small.

Output

One row kind per run. recordType tells them apart, and the dataset has a view per kind. Everything the run already knows — which directory it read, which task it ran — is in the input, not repeated on every row; a row carries what varies between rows.

Companies

ColumnWhat it holds
name, companyId, urlIdentity, and the id that re-reads the profile
address, city, countryWhere the company is; the country is the directory's own when the card prints none
phone, phoneMaskedThe published number — masked form kept, digit for digit, when the site hides part of it
hasEmailWhether the listing offers an enquiry form
hasWebsite, websiteUrlWhether the company has a website, and — on profile rows — the address itself
latitude, longitudeCoordinates when the listing publishes them
verified, membership, badgesDirectory badges: verified, paid membership, years listed, years trading
yearsWithUs, yearsInBusiness, establishedYearThe badge's year counts, and the establishment year
rating, reviewsCount, questionsCountPublished reviews and visitor questions, with the profile's average
imageUrl, photosCount, imageUrlsThe lead picture (previewed in the Console), how many there are, and the whole gallery on profile rows
productsCount, productsThe products and services a profile lists, with their prices
reviews, questionsRatings, authors, dates, bodies, and the owner's replies
openingHoursOne entry per published day, hours exactly as printed
manager, employees, descriptionCompany facts from the profile
categories, categorySlugs, keywordsWhat the company is listed under, and the keywords it chose
claimed, registeredAt, lastUpdatedAtWhen the listing was registered and last checked
sourceCategory, sourcePageWhich category and which listing page produced the row — empty for a search or a single listing
recordType, scrapedAtRow kind, and when the row was built

Categories

ColumnWhat it holds
name, categoryId, urlThe category and the link to its listing
groupThe heading it sits under in that directory
countHow many companies the directory counts in it
recordType, scrapedAtRow kind, and when the row was built

Cities

ColumnWhat it holds
name, cityId, urlThe city and the link to its listing
countHow many companies the directory counts there
recordType, scrapedAtRow kind, and when the row was built

Notes and limits

  • A search is a search, not a filter. Your keywords go to the directory's own search and what it lists comes back, in its order. Nothing is matched afterwards, so a word the directory indexes differently can return companies whose name never spells it.
  • A directory that refuses a request is retried from another address, by itself. Some of the network's hosts challenge certain networks with a "checking your browser" page instead of the listing. The Actor notices that it was refused rather than answered, switches that directory to Apify Proxy and carries on, so no run needs a proxy set up in advance and no country has to be avoided.
  • Four directories publish no keyword search. DR Congo, Iceland, Laos and Lithuania answer no search page at all; a category, a city, a company or their own index still works there, and a search on those four is refused with a message saying so rather than returning an empty dataset.
  • A search has no link to share. The words are not part of the page address, so a search cannot be replayed by pasting a link the way a category or a city can: the keyword and the country are the resume point.
  • A busy directory answers slowly, once. When too many searches arrive in a short time the directory replies with an empty page instead of an error. The Actor asks again, and only an empty answer the second time is treated as no results.
  • Each directory has its own ids, categories and cities. companyId is unique within the directory the run read, and category slugs differ between countries (General_business, general-business, Negocio_General) — a name the directory does not publish is reported in the run's status message, not fatal.
  • Bounded by default. A run stops at 200 rows unless you set Maximum rows to 0. Every page of each list is read by default; Maximum pages per list keeps a broad sweep short.
  • One row kind per run. A companies run returns cards, or profiles when Fetch full profiles is on — never both, except that a company whose profile could not be read falls back to its card.
  • Phones are as published. Some listings hide part of the number. The Actor keeps the masked form and flags it (phoneMasked: true) rather than guessing the missing digits.
  • No e-mail addresses. The directories gate them behind a sign-in wall, so the row reports whether an enquiry form exists (hasEmail) and nothing more.
  • A listing card says a website exists without printing it. The card marks the site but carries no link to the address, so card rows set hasWebsite and leave websiteUrl empty; profile rows carry the address itself, so turn Fetch full profiles on when you need the URLs.
  • The card's country is the directory's when it prints none. The Spanish-language directories end the address at the city; the row then carries the country of the directory it came from.
  • Ratings are the sites' own. rating is 0 when a profile has no review yet — that is the published figure, not a missing value.
  • Pictures are full-size originals, deduplicated — the small thumbnails are dropped. imageUrl is the first of them, so a dataset previews in the Console; cards carry no picture, so it is empty there.
  • Duplicate-free across categories. A company filed under several categories is reported once; sourceCategory names the category that produced the row.
  • Nothing to sign in to. Every directory in the network is public, and no account is needed.
  • Failure over silence. A link the Actor does not collect is refused with a sentence saying what to paste instead, an unknown country or category names the real values, and a run that finds nothing for the scope it was given fails with the reason.

FAQ

Do I need an account on the sites? No. Every directory in the network is public and the Actor needs no credentials.

Where do I start? With whatever you already have: a keyword and a country, or a page you are looking at — a category, a city, a company, the directory itself. Paste the page's address into URL, or fill the fields of the matching task under What to scrape.

Which countries are covered? All 136 linked under Countries covered, each on its own website. A country name, a hostname or the list entry works in the input.

Why did I only get 200 rows? Because that is the default cap. Set Maximum rows to 0 to collect everything.

Why is websiteUrl empty on some rows? Because that row is a listing card: the card says the company has a website (hasWebsite: true) without printing the address. Turn Fetch full profiles on to read the URL from the company's own page.

Why is part of a phone number hidden? Because the directory publishes it that way for some listings. The Actor keeps it exactly and flags it instead of inventing the missing digits.

Why does a row carry the directory's country rather than the company's? Because that card prints no country of its own, and the directory lists companies of its own country. A profile row carries the country from the address.

Can I collect a whole country? Yes — choose the country, leave Maximum rows at 0, and the run reads every listing it has. A run reads one directory, so the network is covered country by country.

Why was the link I pasted refused? Because it is not a page one of the network's directories serves (the sign-in page, the Data Hub, an article, or another site entirely). The message says which page to paste instead.

What if I have no link to paste? Choose the task that matches what you have under What to scrape and fill its fields — a keyword, a category, a city, or the ids from an earlier run.

Contact

Bug reports, feature requests, or a custom scraper for a site not yet covered? Open an issue on the Actor's Apify Console page or message the maintainer directly there.