YellowPagesPK Business Directory & Lead Finder
Browse Pakistan's YellowPagesPK.com directory by business category, run a keyword search, or fetch full profiles by listing URL. Get business names, addresses, cities, phone numbers, emails, websites, ratings, and claimed status.
Open in Apify Store$0.99 / 1K on Free
Short answer
YellowPagesPK Business Directory & Lead Finder is an Apify Store Actor that returns 10 published output fields, including name, category, city, country. It lists $0.99 per 1,000 results on the Free plan (pay per event), $0.49 on the Business plan. It takes 12 input settings; one is required (mode). Last updated Oct 29, 2026.
From the public Store listing and published build schema, synced 2026-11-12.What it returns
10 fields from the published dataset schema. Export as JSON, CSV or Excel, or read the dataset through the Apify API.
namecategorycitycountryaddressphoneemailwebsiteratingsourceUrl
Input
| Setting | Type | Required | Default | What it does |
|---|---|---|---|---|
| mode | string | Yes | byCategory | How to find businesses: browse a category archive, browse a city archive, run the site's keyword search, or open specific listing URLs. |
| categories | array | No | – | One or more categories to browse (mode=byCategory), or exact category filters (other modes). In byCategory, Restaurant is used when the field is omitted; select additional categories to broaden the run, or leave the selection empty to crawl the entire directory (2,198 listings). |
| cities | array | No | [] | One or more location terms to browse (mode=byCity). In other modes the same selection acts as an exact location filter. Leave empty to skip city browsing/filtering. All 65 published location terms are listed, including provinces and countries. |
| searchQuery | string | No | – | What to search for (mode=search), e.g. a service, business name or city. The site's own relevance-ranked search is used, so 'restaurant lahore' narrows results well. |
| listingUrls | array | No | [] | YellowPagesPK.com business listing URLs to open directly (mode=byUrls). Non-YellowPagesPK hosts are rejected. |
| minRating | integer | No | 0 | Only keep businesses rated at least this many stars (0-5). 0 disables the filter. Businesses without a published rating are excluded when this is above 0. Profile enrichment turns on automatically when the selected mode's fast path has no ratings. |
| onlyClaimed | boolean | No | false | Only keep listings claimed and verified by their owner on YellowPagesPK.com. Profile enrichment turns on automatically when the selected path has no claim badges. |
| onlyWithEmail | boolean | No | false | Only keep businesses with a published email. Turns on profile enrichment automatically. |
| onlyWithWebsite | boolean | No | false | Only keep businesses with a published website. Turns on profile enrichment automatically. |
| onlyWithPhone | boolean | No | false | Only keep businesses with a published phone number. Turns on profile enrichment automatically. |
Show the other 2 settings
| Setting | Type | Required | Default | What it does |
|---|---|---|---|---|
| fetchDetails | boolean | No | true | Open each listing page for description, email, website, hours, social links, gallery and coordinates (one extra request per business). Turn off for the cheapest list: category/city archives keep card fields, while search and whole-directory REST runs return name, category, city, description and date |
| maxItems | integer | No | 30 | Maximum number of business records to return. The directory currently contains 2,198 listings. |
Example input
Built from the input form's published example values and defaults.
{
"mode": "byCategory",
"categories": [
"restaurant"
],
"cities": [],
"searchQuery": "Lahore",
"listingUrls": [],
"minRating": 0,
"onlyClaimed": false,
"onlyWithEmail": false,
"onlyWithWebsite": false,
"onlyWithPhone": false,
"fetchDetails": false,
"maxItems": 2
} Run it from code or an AI agent
The same run through the Apify API, with the example input. You need an Apify API token; the run is billed to your account at the Store price.
Python
from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run_input = {
"mode": "byCategory",
"categories": [
"restaurant"
],
"cities": [],
"searchQuery": "Lahore",
"listingUrls": [],
"minRating": 0,
"onlyClaimed": False,
"onlyWithEmail": False,
"onlyWithWebsite": False,
"onlyWithPhone": False,
"fetchDetails": False,
"maxItems": 2
}
run = client.actor("dataspryva/yellowpagespk-business-directory-and-lead-finder").call(run_input=run_input)
if run is None:
raise RuntimeError("The Actor run was not found.")
for item in client.dataset(run.default_dataset_id).iterate_items():
print(item) pip install apify-client
JavaScript
import { ApifyClient } from "apify-client";
const client = new ApifyClient({ token: "<YOUR_APIFY_TOKEN>" });
const input = {
"mode": "byCategory",
"categories": [
"restaurant"
],
"cities": [],
"searchQuery": "Lahore",
"listingUrls": [],
"minRating": 0,
"onlyClaimed": false,
"onlyWithEmail": false,
"onlyWithWebsite": false,
"onlyWithPhone": false,
"fetchDetails": false,
"maxItems": 2
};
const run = await client.actor("dataspryva/yellowpagespk-business-directory-and-lead-finder").call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items); npm install apify-client
cURL
curl -X POST "https://api.apify.com/v2/actors/dataspryva~yellowpagespk-business-directory-and-lead-finder/run-sync-get-dataset-items" -H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" -d '{"mode":"byCategory","categories":["restaurant"],"cities":[],"searchQuery":"Lahore","listingUrls":[],"minRating":0,"onlyClaimed":false,"onlyWithEmail":false,"onlyWithWebsite":false,"onlyWithPhone":false,"fetchDetails":false,"maxItems":2}' Waits for the run and returns the dataset items (runs over 300 seconds return HTTP 408; start an async run instead).
MCP (AI agents)
{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com?tools=dataspryva/yellowpagespk-business-directory-and-lead-finder",
"headers": {
"Authorization": "Bearer <YOUR_APIFY_TOKEN>"
}
}
}
} Adds this Actor as a tool in an MCP client that takes a remote server URL (Cursor, VS Code, Claude Code) through Apify's hosted MCP server. OAuth sign-in also works without the header. Clients that only start local servers can wrap the URL with npx mcp-remote.
What a run costs
The result rate falls on higher Apify plans. Each figure is the published per-result rate times the number of results.
| Apify plan | Per 1,000 | 10,000 results | 100,000 results |
|---|---|---|---|
| Free plan | $0.99 | $9.90 | $99 |
| Starter plan | $0.82 | $8.20 | $82 |
| Scale plan | $0.66 | $6.60 | $66 |
| Business plan | $0.49 | $4.90 | $49 |
- Every run also has a start event, charged per GB of memory (minimum one): $0.10 on Free, $0.03 on Business. At its default memory of 4 GB a run starts at $0.40 on Free. Fewer, larger runs keep this small.
- The Free plan includes $5 of monthly usage (Apify pricing, checked 2026-11-11); at the Free rate that covers at most about 5,050 results, less start events and platform usage.
- Worked example: 10,000 results in one run on the Free plan cost $10.30 ($9.90 for results + $0.40 start), plus Apify platform usage (compute), billed separately by Apify.
- Pay per event. Platform usage (compute) is billed by Apify on top of the event prices. Compare other tools in the cost estimator.
What people use it for
- find businesses
- research business contact details
Similar Actors
2GIS Business Directory Extractor for CIS & Middle East
Search 2GIS for businesses by category and city across Russia, the UAE, Kazakhstan and the wider CIS, and get name, address, rating, hours,…
Google Maps Business Lead & Email Finder
Find business leads on Google Maps by category, keyword, or location and collect name, address, phone, website, rating, review count, and…
Google Maps Business Lead Finder with Email & Social Links
Search Google Maps by business type and location and get back listing details enriched with email addresses and social profiles pulled from each…
GOC Optician & Optometrist Register Scraper
Search the General Optical Council's Specialist Register (str.optical.org) for UK optometrists, dispensing opticians, students and optical…
B2B Lead Discovery by Job Title & Location
Find public LinkedIn profiles by job title, location, or company using cookieless web search. Returns names, best-effort titles and companies,…
Bing Maps Local Business Finder
Find restaurants, shops, hotels, and other local businesses on Bing Maps by keyword and city, or by a precise latitude/longitude and radius, with…
Questions people ask
How much does YellowPagesPK Business Directory & Lead Finder cost?
The published result rate depends on your Apify plan: $0.99 per 1,000 on Free, $0.82 per 1,000 on Starter, $0.66 per 1,000 on Scale, $0.49 per 1,000 on Business. So 10,000 results cost about $9.90 on the Free plan and $4.90 on Business, plus a start fee of $0.10 per run per GB of memory on Free. Platform usage is billed separately.
What data does YellowPagesPK Business Directory & Lead Finder return?
Its published output schema lists 10 fields: name, category, city, country, address, phone, email, website, rating, sourceUrl. A listed field is not guaranteed to be filled in every row.
What input does YellowPagesPK Business Directory & Lead Finder need?
Required: mode. Optional settings include categories, cities, searchQuery, listingUrls, minRating, onlyClaimed.
How do I run YellowPagesPK Business Directory & Lead Finder from Python or the API?
Use the Apify API client: in Python, ApifyClient(token).actor("dataspryva/yellowpagespk-business-directory-and-lead-finder").call(run_input=...), then read the run's default dataset (run.default_dataset_id); in JavaScript the same call is client.actor("dataspryva/yellowpagespk-business-directory-and-lead-finder").call(input). Without a client, POST the input JSON to https://api.apify.com/v2/actors/dataspryva~yellowpagespk-business-directory-and-lead-finder/run-sync-get-dataset-items with your API token. Ready-to-paste code with the example input is on this page.
Sources
- YellowPagesPK Business Directory & Lead Finder on Apify Store
- Published build with input and output schema (JSON)
Cite this page
Scraper Finder. "YellowPagesPK Business Directory & Lead Finder." https://scraperfinder.com/catalogue/yellowpagespk-business-directory-and-lead-finder/ (data checked 2026-11-12).
Run YellowPagesPK Business Directory & Lead Finder
$0.99 per 1,000 results. Paste the example input above, set your target query, then export the dataset.