# JustDial Leads Extractor (`scrapeai/justdial-business-lead-extractor`) Actor

Scrape business listings from Justdial.com using a location and search term. Extract business names, categories, addresses, phone numbers, ratings, reviews, websites, operating hours, and other publicly available business details for lead generation, market research, and local business analysis.

- **URL**: https://apify.com/scrapeai/justdial-business-lead-extractor.md
- **Developed by:** [ScrapeAI](https://apify.com/scrapeai) (community)
- **Categories:** Lead generation, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 90.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 Leads Extractor

### Features

- **Complete Business Information** — Extract business names, unique IDs, business types, and category classifications.
- **Location & Address Data** — Capture latitude, longitude, city, locality, area, pincode, and detailed addresses.
- **Contact Information** — Collect phone numbers, WhatsApp numbers, websites, email addresses, and contact preferences when available.
- **Ratings & Reviews** — Extract overall ratings, review counts, rating breakdowns, and available rating tags.
- **Operating Hours** — Capture business hours, operating schedules, and current open or closed status.
- **Business Categories** — Extract primary categories, business verticals, category hierarchies, and related tags.
- **Images & Media** — Collect thumbnails, business photos, logos, image URLs, and available image metadata.
- **SEO & Business Metadata** — Extract establishment year, services, amenities, website information, and other available business attributes.
- **Payment & Verification** — Capture payment options, verification status, trust indicators, and credibility information when available.
- **Response Analytics** — Collect lead response rates, enquiry counts, response times, and engagement metrics when available.
- **Search & Performance Data** — Extract ranking position, search visibility, listing information, and available performance indicators.
- **Structured Business Data** — Organize ratings, addresses, timings, contact details, and business highlights into clean, structured records.

### Input Example

```json
{
    "location": "ahmedabad",
    "maxItems": 100
}
```

#### Output Example

```json
{
 "name": "The Chawla Enterprises",
 "docid": "011PXX11.XX11.250312155043.P4A7",
 "compRating": "4.9",
 "totalReviews": "10 Ratings",
 "verified": "1",
 "VNumber": "08861153948",
 "wpnumber": [],
 "weburl": "https://wa.me/message/AEKMD64ZHPJCK1",
 "NewAddress": "The Chawla Enterprises, Old Lajpat Rai Market, Delhi - 110006 (Near  Lal Qila Metro Station Gate No 2)",
 "area": "The Chawla Enterprises Old Lajpat Rai Market",
 "city": "delhi",
 "pincode": "110006",
 "lat": "28.6578297",
 "lon": "77.2358884",
 "distance": "",
 "businessType": "Electronic Goods Showrooms, LED TV Repair & Services",
 "vertical_name": "other",
 "opstring_status": "<span class=\"font14 fw400 els color339\">Opens at </span><span class=\"font14 fw400 color111\">11:00 AM</span>",
 "opstring_timing": "11:00 am - 8:00 pm",
 "thumbnail": "https://content.jdmagicbox.com/v2/comp/delhi/a7/011pxx11.xx11.250312155043.p4a7/catalogue/the-chawla-enterprises-old-lajpat-rai-market-delhi-lcd-tv-dealers-m7cfndas1p-250.jpg",
 "dimages": [
   "https://content.jdmagicbox.com/v2/comp/delhi/a7/011pxx11.xx11.250312155043.p4a7/catalogue/the-chawla-enterprises-old-lajpat-rai-market-delhi-lcd-tv-dealers-m7cfndas1p.jpg",
   "https://content.jdmagicbox.com/v2/comp/delhi/a7/011pxx11.xx11.250312155043.p4a7/catalogue/the-chawla-enterprises-old-lajpat-rai-market-delhi-lcd-tv-dealers-evdftr9545.jpg",
   "https://content.jdmagicbox.com/v2/comp/delhi/a7/011pxx11.xx11.250312155043.p4a7/catalogue/the-chawla-enterprises-old-lajpat-rai-market-delhi-lcd-tv-dealers-t3fwe2p9xg.jpg",
   "https://content.jdmagicbox.com/v2/comp/delhi/a7/011pxx11.xx11.250312155043.p4a7/catalogue/the-chawla-enterprises-old-lajpat-rai-market-delhi-lcd-tv-dealers-0plq25dsie.jpg",
   "https://content.jdmagicbox.com/v2/comp/delhi/a7/011pxx11.xx11.250312155043.p4a7/catalogue/the-chawla-enterprises-old-lajpat-rai-market-delhi-lcd-tv-dealers-gnhqgfsnhe.jpg"
 ],
 "photocnt": "86",
 "totJdReviews": "10",
 "guarantee": "",
 "paidStatus": 1,
 "cancall": 1,
 "services": "",
 "amenities": "Quick Visit, Seating Area, WiFi",
 "established_year": "1968",
 "experience": "<span class=\"font14 fw400 color111\">57 Years in Business</span>",
 "category": "LCD TV Dealers",
 "nwtaglin": [
   "LCD TV Dealers",
   "Electronic Goods Showrooms"
 ],
 "tags": [
   {
     "tag_name": "Most searched",
     "bg_colour": "#5271dd",
     "txt_colour": "#FFFFFF",
     "tag_image": "https://akam.cdn.jdmagicbox.com/images/icontent/newwap/web2022/topsearch.svg"
   }
 ],
 "response_rate": {
   "lead": "2093",
   "lead_resp": "1724",
   "avg_resp_time_sec": "",
   "tformat": "",
   "color": "#339D3A",
   "lead_txt": "2093 people recently enquired",
   "resp_txt": ""
 },
 "checkin_image": "https://content2.jdmagicbox.com/checkin/delhi/011PXX11.XX11.250312155043.P4A7.jpg",
 "shared_url": "https://www.justdial.com/DT-23BTWVYPNW9",
 "discount_offer": "",
 "top_categories": [
   {
     "catname": "Electronic Goods Showrooms",
     "catid": 10185144,
     "ncatid": 10185144,
     "url": "/Delhi/Electronic-Goods-Showrooms/nct-10185144"
   },
   {
     "catname": "LED TV Repair & Services",
     "catid": 10934448,
     "ncatid": 10934448,
     "url": "/Delhi/LED-TV-Repair-Services/nct-10934448"
   },
   {
     "catname": "LED TV Dealers",
     "catid": 10808495,
     "ncatid": 10808495,
     "url": "/Delhi/LED-TV-Dealers/nct-10808495"
   }
 ],
 "rate_color": "#007A0C",
 "video": "1",
 "scd": "23BTWVYPNW9",
 "card_info": [
   {
     "t": "rating",
     "d": [
       {
         "tag_key": "rating",
         "tagText": "4.9",
         "desc": "",
         "icon": "",
         "link": "",
         "html": 0,
         "bg": "#007A0C"
       },
       {
         "tag_key": "reviews",
         "tagText": "10 Ratings",
         "desc": "",
         "icon": "",
         "link": "",
         "html": 0
       },
       {
         "tag_key": "trust",
         "tagText": "",
         "desc": "",
         "icon": "https://akam.cdn.jdmagicbox.com/images/icontent/newwap/web2022/trust_2x.gif",
         "link": "",
         "html": 0
       },
       {
         "tag_key": "verified",
         "tagText": "",
         "desc": "",
         "icon": "https://akam.cdn.jdmagicbox.com/images/icontent/newwap/web2022/verified_2x.gif",
         "link": "",
         "html": 0
       },
       {
         "tag_key": "tag",
         "tagText": "",
         "desc": "",
         "icon": "https://akam.cdn.jdmagicbox.com/images/icontent/newwap/web2022/topsearch.svg",
         "link": "",
         "html": 0
       }
     ]
   },
   {
     "t": "address",
     "d": [
       {
         "tag_key": "address",
         "tagText": "The Chawla Enterprises Old Lajpat Rai Market, Delhi",
         "desc": "",
         "icon": "https://akam.cdn.jdmagicbox.com/images/icontent/newwap/web2022/results_locat_icon.svg",
         "link": "",
         "html": 0
       }
     ]
   },
   {
     "t": "tags",
     "d": [
       {
         "tag_key": "nwtaglin",
         "tagText": "",
         "desc": "",
         "icon": "",
         "link": "",
         "html": 0,
         "data": [
           "LCD TV Dealers",
           "Electronic Goods Showrooms"
         ]
       }
     ]
   }
 ],
 "loccity": "Delhi",
 "opennow": 0,
 "isAd": false,
 "success": true
}
```

# Actor input Schema

## `location` (type: `string`):

City or location to search in

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

Maximum number of items to scrape

## `search` (type: `string`):

Business type or search term to look for

## `headless` (type: `boolean`):

Run browser in headless mode (no visible UI). Set to false for debugging.

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

Optionally, use Apify Proxy or custom HTTP proxy to avoid IP address-based blocking.

## Actor input object example

```json
{
  "location": "Mumbai",
  "maxItems": 100,
  "search": "restaurants",
  "headless": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "IN"
  }
}
```

# Actor output Schema

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

Structured records produced by this Actor.

# 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 = {
    "location": "Mumbai",
    "maxItems": 100,
    "search": "restaurants",
    "headless": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapeai/justdial-business-lead-extractor").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 = {
    "location": "Mumbai",
    "maxItems": 100,
    "search": "restaurants",
    "headless": True,
}

# Run the Actor and wait for it to finish
run = client.actor("scrapeai/justdial-business-lead-extractor").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 '{
  "location": "Mumbai",
  "maxItems": 100,
  "search": "restaurants",
  "headless": true
}' |
apify call scrapeai/justdial-business-lead-extractor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapeai/justdial-business-lead-extractor"
        }
    }
}
```

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/4vGcHFovXROqrISwk/builds/gPaNydcpZhXHcXLnr/openapi.json
