Yellow Pages Ghana Scraper - Ghana Business Directory avatar

Yellow Pages Ghana Scraper - Ghana Business Directory

Pricing

from $3.00 / 1,000 results

Go to Apify Store
Yellow Pages Ghana Scraper - Ghana Business Directory

Yellow Pages Ghana Scraper - Ghana Business Directory

Scrape Yellow Pages Ghana, a free business directory covering 34,000+ Ghanaian businesses. Search by keyword and/or location, or fetch profiles by URL. Get names, addresses, categories, and source links.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

Scrape Yellow Pages Ghana (yellowpages.com.gh) — a free business directory covering 34,000+ Ghanaian businesses. Search by keyword and/or location, or fetch full business profiles by direct URL, and get names, addresses, categories, and source links. No login, no cookies, no API key required.

Data Source & Usage Notes

Read this before running a large job.

  • No login required for search. The source is a modern server-rendered directory with no account wall on search or business profile pages.
  • Phone numbers are not included. Yellow Pages Ghana gates real phone numbers behind an interactive "Show phone numbers" challenge (a Cloudflare Turnstile CAPTCHA) on both search-result cards and business profile pages — only a masked placeholder (e.g. 026 XXX XXXX) is ever present in the page's HTML. This is not something a zero-cost automated scraper can solve, so the field is omitted rather than emitted as a fake/masked value. If you need a specific business's phone number, visit its sourceUrl directly and click "Show number" yourself.
  • Conservative by design. The actor only ever uses Apify's free datacenter (AUTO) proxy group — never a paid residential proxy.
  • Not affiliated with Yellow Pages Ghana. This is an independent third-party tool using the source's own public, no-login search.

What this actor does

  • Two modes: search (keyword and/or location) and detail (direct business profile URLs)
  • Combine keyword + location for precise local searches (e.g. "restaurant" in "Accra"), or search either alone
  • Sort by relevance (the site's own order) or name (A-Z)
  • Full business profiles (fetchDetails: true or mode: "detail") — confirmed address and the full category list for a business, both parsed from the profile page
  • Empty fields are omitted — you only ever see fields that were actually found for a business

Output per business

  • businessId, name, sourceUrl — canonical Yellow Pages Ghana profile URL
  • category — primary category, categories[] — full category list (profile fetched only)
  • website — the business's own website domain, when the listing shows one (search results only)
  • searchQuery, searchLocation — the search parameters used
  • address, city, country (always "Ghana")
  • recordType: "business", scrapedAt

Input

FieldTypeDefaultDescription
modestringsearchsearch or detail
querystringrestaurantmode=search — business type/keyword/name
locationstringAccramode=search — city/town, optional
sortBystringrelevancerelevance / name
fetchDetailsbooleanfalseAlso visit each result's profile page for confirmed address + full category list
businessUrlsarraymode=detail — direct profile URLs
maxItemsint20Hard cap (1–1000)

Example: search by keyword and location

{
"mode": "search",
"query": "hotel",
"location": "Kumasi",
"maxItems": 25
}

Example: browse a location with no keyword

{
"mode": "search",
"query": "",
"location": "Tema",
"maxItems": 50
}

Example: fetch business profiles by URL

{
"mode": "detail",
"businessUrls": [
{ "url": "https://yellowpages.com.gh/business/4-aces-restaurant-434568" }
]
}

Use cases

  • Market research — find every business of a given type in a Ghanaian city
  • Lead generation — build a list of business names, categories, and addresses for outreach (phone lookup done manually per the note above)
  • Company existence verification — confirm a business is listed and see its stated category and location
  • Local competitor analysis — see what's already operating in a given city/category

FAQ

What's the data source? Yellow Pages Ghana's own free public business directory at yellowpages.com.gh. This actor is an independent third-party tool and is not affiliated with Yellow Pages Ghana.

Why isn't there a phone number field? The source gates real phone numbers behind an interactive CAPTCHA challenge on every page that would show one — there's no way to extract a real number without solving that challenge, which this actor does not do (see Data Source & Usage Notes above). Visit the business's sourceUrl and click "Show number" to get it manually.

Why did my run return 0 results? The query genuinely has no match, or the keyword is too narrow. Try a broader keyword or drop the location filter.

How fresh is the data? Real-time — the search reflects the directory's database as of the moment of the search.