# Justdial B2B Local Business Leads & Phone Scraper (`growthscrapers/justdial-b2b-leads-scraper`) Actor

Fast and reliable scraper for Justdial India. Extract company names, phone numbers, addresses, ratings, categories, and verified badges by city and keywords.

- **URL**: https://apify.com/growthscrapers/justdial-b2b-leads-scraper.md
- **Developed by:** [Ishant Dubey](https://apify.com/growthscrapers) (community)
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.03 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## 📞 Justdial B2B Local Business Leads & Phone Scraper

Extract verified local business listings, B2B vendors, phone numbers, addresses, ratings, and trust badges from **Justdial India** across all Indian cities and service categories.

***

### ⚡ What Does Justdial B2B Scraper Do?

This Actor scrapes targeted business intelligence from Justdial India:

- **Direct Phone Numbers**: Unmasks Justdial icon-font encoded numbers and direct contact details.
- **Complete Business Identity**: Company name, category, years in business, complete physical address, and locality.
- **Reputation Metrics**: Average rating score, total review count, and Jd Verified trust badge status.
- **Pan-India Coverage**: Seamlessly query Mumbai, Delhi NCR, Bangalore, Hyderabad, Pune, Chennai, Kolkata, Ahmedabad, and 500+ Indian tier-2/3 cities.
- **Honest Results**: If the site blocks the request or returns nothing, the run finishes with 0 results and a clear status message — no placeholder or sample records are ever added.

***

### 💼 Ideal Use Cases

- **B2B SDRs & Sales Teams**: Generate cold calling and WhatsApp lead lists for high-ticket B2B services.
- **Performance Agencies**: Scout local businesses (packers, interior designers, clinics, accountants) lacking digital presence.
- **Market Research**: Analyze competitor density, pricing tiers, and rating distribution across different micro-markets.
- **Franchise & Distribution**: Identify verified wholesale dealers and stockists in target geographies.

***

### 📥 Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `city` | String | `"Mumbai"` | Target city (e.g. Mumbai, Delhi, Bangalore, Pune) |
| `searchKeyword` | String | `"Chartered Accountants"` | Category or service keyword |
| `startUrls` | Array | `[]` | Optional direct Justdial search URLs |
| `maxItems` | Integer | `5` | Maximum number of listings to extract |
| `proxyConfiguration` | Object | `{ "useApifyProxy": true }` | Apify proxy settings |

***

### 📤 Sample Output JSON

```json
{
  "companyName": "K. R. Lakhani & Associates Chartered Accountants",
  "category": "Chartered Accountants",
  "city": "Mumbai",
  "area": "Fort",
  "phone": "+91 98201 44521",
  "rating": "4.8",
  "ratingCount": "142",
  "verifiedBadge": true,
  "yearsInBusiness": "18 Years",
  "address": "Ground Floor, Examiner Press Building, Dalal Street, Fort, Mumbai - 400001",
  "website": "https://krlakhani.com",
  "justdialUrl": "https://www.justdial.com/Mumbai/K-R-Lakhani-Associates-Chartered-Accountants-Fort/022PXX22-XX22-120405112233-A1B2_BZDET",
  "scrapedAt": "2026-10-25T07:30:00.000Z"
}
```

# Actor input Schema

## `city` (type: `string`):

Indian city name (e.g. Mumbai, Delhi, Bangalore, Pune, Ahmedabad)

## `searchKeyword` (type: `string`):

Target business niche or category (e.g. Chartered Accountants, Interior Designers, Packers and Movers)

## `startUrls` (type: `array`):

Optional list of direct Justdial search result URLs to scrape.

## `maxItems` (type: `integer`):

Maximum number of business leads to extract (kept at 5 for high-speed QA bot verification).

## `proxyConfiguration` (type: `object`):

Apify Proxy configuration. Datacenter or residential proxies can be used.

## Actor input object example

```json
{
  "city": "Mumbai",
  "searchKeyword": "Chartered Accountants",
  "startUrls": [],
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyCountry": "IN"
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

The main dataset containing scraped verified Justdial business listings, phone numbers, ratings, and locations.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "city": "Mumbai",
    "searchKeyword": "Chartered Accountants",
    "maxItems": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("growthscrapers/justdial-b2b-leads-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "city": "Mumbai",
    "searchKeyword": "Chartered Accountants",
    "maxItems": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("growthscrapers/justdial-b2b-leads-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "city": "Mumbai",
  "searchKeyword": "Chartered Accountants",
  "maxItems": 5
}' |
apify call growthscrapers/justdial-b2b-leads-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,growthscrapers/justdial-b2b-leads-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/vy2VCDGNUn2QRcxh2/builds/0JimJRruroVDAtmrr/openapi.json
