# Justdial Business Scraper - India Local Business Leads (`amitaviv/justdial-business-scraper`) Actor

Scrape Justdial businesses by category and city, area or pincode, or from Justdial URLs: name, published phone and WhatsApp, address, pincode, coordinates, rating, year established, opening hours, website. Only businesses in the city you searched. No proxy setup. Only-new monitoring.

- **URL**: https://apify.com/amitaviv/justdial-business-scraper.md
- **Developed by:** [Amit Aviv](https://apify.com/amitaviv) (community)
- **Categories:** Lead generation
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 93.3% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.80 / 1,000 businesses

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Business Scraper - India Local Business Leads

Get Indian businesses from [Justdial](https://www.justdial.com) by category or keyword and city or area, or from Justdial URLs you paste. You get businesses in the city you searched: the ones Justdial pads its lists with from other cities are skipped and not charged. Each record has the phone and WhatsApp numbers Justdial publishes for the business, the full address with pincode and map coordinates, rating, year established, opening hours for each day, website and categories. You pay only for businesses delivered, you don't need to set up a proxy, and a run that delivers nothing because of an error ends as Failed, not as an empty success.

### What you get

- **Contact:** phone numbers as Justdial publishes them for the business, WhatsApp number, website, social media links.
- **Location:** full address, building, street, landmark, area, city, state, pincode, latitude and longitude, whether the business is in the city you searched, and its distance from the centre of the searched area or city.
- **Reputation:** Justdial rating, number of ratings, Justdial "Verified" and "Trust" badges, labels such as "Top rated".
- **Business profile:** main category and every category the business is listed in, year established and years in business, opening hours for each weekday, open now, services, amenities, payment modes, employee band and turnover band when the business gives them, number of photos, main photo.
- **Context:** the search term and location that found the business, its position in the results, its Justdial page.
- One record per business, as JSON, CSV or Excel, or through the API.
- A run summary (`OUTPUT_SUMMARY` in the run's key-value store), kept up to date while the run works. It shows what was requested, delivered and charged, how many businesses Justdial reports for each search and how many it lets you page through, how many were skipped and why, which inputs failed or were ignored and why, and why the run stopped.

**What it does not return:** reviews and reviewer names, the names of owners or contact persons, e-mail addresses, and anything behind a Justdial login. For many free listings Justdial asks the visitor for their own mobile number before it connects them; the actor does not output a number for those businesses (`numberOnRequest: true`). Turn on **Skip businesses without a published number** to leave them out and not pay for them.

### How to use

1. Type what you are looking for into **Categories or keywords**, the way you would on Justdial: `Dentists`, `Plumbers`, `Interior Designers`, `Cake Shops`.
2. Put a city into **Cities or areas** (`Mumbai`, `Pune`, `Bangalore`), an area and a city (`Andheri West, Mumbai`), or a pincode and a city (`400053, Mumbai`). Capitalisation doesn't matter (`pune` works). Each term is searched in each location.
3. Or paste Justdial URLs into **Justdial URLs**: search pages (`https://www.justdial.com/Pune/Plumbers/nct-10378025`) or business pages (URLs ending in `_BZDET`).
4. Set **Max businesses per search**. For an area search, set **Max distance** too (for example 3 km) if you want only businesses near that area. Press Start.

### Input

| Field | Type | Default | What it does |
|---|---|---|---|
| `searchTerms` | list of text | none | Categories or keywords. Each one is searched in each location. |
| `locations` | list of text | none | `City`, `Area, City` or `Pincode, City`, in any capitalisation. Needed when `searchTerms` is used. |
| `startUrls` | list of URLs | none | Justdial search pages or business pages. Entries from other sites are ignored and listed in the summary. |
| `maxItemsPerQuery` | number | 100 | Stop each search (term × location, or URL) after this many businesses. |
| `onlyInSearchedCity` | yes/no | yes | Skip, and don't charge, businesses Justdial lists in another city. Other names of a city count as the same (Bangalore / Bengaluru, Gurgaon / Gurugram). A business whose city is not given is kept. Turn it off to get every business Justdial lists; `inSearchedCity` then tells them apart. |
| `maxDistanceKm` | number | none | Skip, and don't charge, businesses whose map pin is farther than this from the centre Justdial gives for the searched area or city (`distanceKm`). Businesses without a pin are kept. |
| `skipNumberOnRequest` | yes/no | no | Leave out, and don't charge, businesses without a published phone or WhatsApp number: those for which Justdial withholds the number (`numberOnRequest: true`) and those whose page shows none. A search can then deliver far fewer businesses. Pasted business URLs are always delivered. |
| `onlyNew` | yes/no | no | Monitoring: return and charge only businesses that earlier runs have not delivered for the same search. See "Monitoring". |
| `monitorKey` | text | empty | Name of the monitor memory, to keep two schedules apart. |

```json
{
  "searchTerms": ["Interior Designers"],
  "locations": ["Andheri West, Mumbai"],
  "maxItemsPerQuery": 300,
  "maxDistanceKm": 5
}
```

### Example result

This record is from run `bFBvlQKMReKCSNUk2` on 2026-10-24 ("Cake Shops" in "Koramangala, Bangalore"), with the per-day hours list shortened. `state`, the order of `categories`, `inSearchedCity` and `distanceKm` are shown as version 0.1.13 writes them (the run was made on 0.1.5; the distance is from the centre Justdial gave for Koramangala in the same search on 2026-10-24):

```json
{
  "id": "080PXX80.XX80.160721184649.H5I9",
  "name": "Cake Town Cafe",
  "primaryCategory": "Cake Shops",
  "categories": ["Cake Shops", "Bakeries", "Fruit Wholesalers", "Fruit Vendors", "Chocolate Wholesalers", "Chocolate Retailers", "Pastry Shops", "Chocolate Manufacturers", "Cake Delivery Services", "Cake Retailers"],
  "phone": "+917947063017",
  "phones": ["+917947063017"],
  "whatsapp": "+919986133222",
  "numberOnRequest": false,
  "website": null,
  "address": "NO 18, 17-1, NO 18, 17-1, Behind HDFC Bank, Ambali Pura, Koramangala, Bangalore-560034, Karnataka",
  "building": "NO 18,17-1",
  "street": "Ambali Pura",
  "landmark": "Behind HDFC Bank",
  "area": "Koramangala",
  "city": "Bangalore",
  "state": "Karnataka",
  "pincode": "560034",
  "latitude": 12.932375,
  "longitude": 77.623637,
  "inSearchedCity": true,
  "distanceKm": 0.1,
  "rating": 4.2,
  "ratingCount": 2604,
  "yearEstablished": 2016,
  "yearsInBusiness": 10,
  "jdVerified": true,
  "jdTrusted": false,
  "tags": ["Top rated", "Trending"],
  "openNow": true,
  "openingHoursText": "Mon - Sun :- 9:00 am - 11:30 pm",
  "openingHours": [{"day": "Monday", "hours": "9:00 am - 11:30 pm"}, {"day": "Tuesday", "hours": "9:00 am - 11:30 pm"}],
  "services": ["In Store Collect", "No Contact Delivery", "Shop In Store"],
  "amenities": ["Wheel Chair Accessible Entrance And Exit"],
  "paymentModes": ["UPI", "Visa / Master Card / Rupay", "Cash"],
  "employees": null,
  "annualTurnover": null,
  "accreditations": null,
  "socialLinks": null,
  "photoCount": 96,
  "imageUrl": "https://content.jdmagicbox.com/v2/comp/bangalore/i9/080pxx80.xx80.160721184649.h5i9/catalogue/cake-town-cafe-sarjapur-road-bangalore-customised-cake-retailers-1fie2vdqet.jpg",
  "permanentlyClosed": false,
  "justdialUrl": "https://www.justdial.com/Bangalore/Cake-Town-Cafe-Behind-Hdfc-Bank-Koramangala/080PXX80-XX80-160721184649-H5I9_BZDET",
  "searchTerm": "Cake Shops",
  "searchLocation": "Koramangala, Bangalore",
  "position": 2,
  "detailsFetched": true,
  "scrapedAt": "2026-10-24T10:33:46.633Z"
}
```

| Field | Meaning |
|---|---|
| `id` | Justdial's business id. It stays the same between runs. |
| `phone`, `phones` | The numbers Justdial shows for the business, written as `+91…`. For many listings this is a Justdial call-forwarding number that rings the business. The actor never builds or guesses a number. |
| `whatsapp` | The number behind the WhatsApp button on the business's Justdial page. |
| `numberOnRequest` | `true` when Justdial asks the visitor for their own mobile number before connecting them. `phone`, `phones` and `whatsapp` are then empty, because an anonymous visitor is not shown a number. It follows the answer of Justdial's mobile site, which the actor reads: for some businesses the desktop page asks for your number even though the mobile site shows it (1 of 6 records checked on 2026-10-24), and the actor then outputs that number with `numberOnRequest: false`. |
| `yearEstablished` | The year established as given on Justdial. `yearsInBusiness` is the current year minus that year. |
| `openingHours` | One entry per weekday. `openingHoursText` is Justdial's own summary of the hours. |
| `inSearchedCity` | `true` when Justdial lists the business in the city you searched (or under another name of it), `false` when in another city, `null` when the city is not given or for a pasted business URL. |
| `distanceKm` | Distance from the business's map pin to the centre Justdial gives for the searched area or city. |
| `socialLinks` | The business's social media pages. Links that name or may name a private person are left out: personal LinkedIn profiles, Facebook profile and share links, and Facebook or Instagram names shaped like a person's (`first.last.123`). |
| `jdVerified`, `jdTrusted` | Justdial's "Verified" and "Trust" badges. |
| `detailsFetched` | `true` when the business page was read. When it is `false`, only the search-result fields are filled (hours, WhatsApp, payment modes and the full address parts are missing). |
| `searchTerm`, `searchLocation`, `position` | Which search found the business and where it ranked. |

When Justdial doesn't provide a field for a business, the field is `null`. Fields are never left out.

### Pricing

You pay per event: for what is delivered, not for time, memory or proxy traffic.

| Event | Free | Bronze | Silver | Gold and above |
|---|---|---|---|---|
| Actor start (once per run) | $0.003 | $0.003 | $0.003 | $0.003 |
| Business delivered | $0.0072 | $0.006 | $0.0054 | $0.0048 |

Worked example: 1 search with 200 businesses on Bronze costs 200 × $0.006 + $0.003 = **$1.203**. On the Free plan the same search costs 200 × $0.0072 + $0.003 = $1.443. A scheduled monitoring run that finds 3 new businesses costs 3 × $0.006 + $0.003 = $0.021 on Bronze. A run that finds nothing new costs $0.003.

- Businesses the options skip (other cities, `maxDistanceKm`, `skipNumberOnRequest`) are not charged.
- A business found by two of your searches in the same run is delivered and charged once.
- The actor respects the maximum total charge you set for a run. It stops before going over, keeps what was already delivered, and says so in the status message. In run `ncMHIMuikI2bYkFh1`, a limit of $0.033 (start + 5 businesses) delivered exactly 5.

### Reliability and failure behaviour

| What happened | Run status | Status message (real examples) |
|---|---|---|
| Businesses delivered | Succeeded | `Scraped 300 businesses from 1 query` |
| Justdial has no businesses for your search | Succeeded | `0 results: Justdial has no businesses for this query` |
| Justdial matched your term to a category of another name | Succeeded | `Scraped 5 businesses from 1 query — Justdial searched "Xqzvbnmkw Plorft" as its category "Portable Toilet Dealers"` (see Limits) |
| Businesses found, but your options skipped all of them | Succeeded | `0 new businesses delivered — 3 businesses already delivered by earlier runs; Justdial searched "Piano Tuners" as its category "Piano Tuner Dealers"; 51 businesses Justdial lists in other cities skipped (onlyInSearchedCity)` (run `fTVNQ8AxI0lwpiF0C`, a monitoring run whose 3 Pune businesses had been delivered before) |
| Some entries worked, some failed | Succeeded | `Scraped 6 businesses from 3 queries — 1 of 3 queries failed (""Dentists" in Xyzabad": Justdial does not know the city "Xyzabad" (it suggests Mumbai); …)` |
| Nothing delivered because Justdial blocked every attempt | **Failed** | `No businesses delivered: Justdial blocked every attempt; try again later. No results were charged (the start fee applies).` |
| Input the actor cannot use | **Failed**, in about 1 second | `Nothing to do: the input has no "searchTerms". Add at least one entry to "searchTerms", e.g. …` |
| Maximum charge reached | Succeeded | `Scraped 5 businesses from 1 query — stopped at the maximum charge set for this run` |
| Run timeout close | Succeeded | `Scraped 10 businesses from 1 query — stopped just before the run timeout; raise the timeout to get the rest` |
| Your own proxy does not answer | **Failed** | `No businesses delivered: could not connect through your own proxy (network error (ECONNREFUSED), 10 attempts); check "proxyUrls" or remove it to use the default proxy. …` |

- Justdial filters automated traffic. The actor sends its requests through Apify's Indian residential proxy, and you don't pay extra for that. It keeps 10 proxy sessions, each with its own address and cookies, like 10 browsers. When Justdial refuses a request, the actor asks again, up to 9 more times within about 30 s, and replaces any session that keeps getting refused. In run `ifDdEcYJoiOyYnv6b`, Justdial refused 25 of 355 requests at first. All 25 were answered on a later attempt, so all 300 businesses were delivered with their business pages. In run `bxvtF0khP44xmlro5` (2026-10-24) it refused 14 of 237 and all 200 businesses were delivered. Refusals vary by hour: once, on an earlier version that gave up after 7 attempts, a search lost its remaining pages (run `EKiZ8B2RzAmjCqMI7`, reported as a failed query in the status message).
- If a single business page cannot be read, the business is still delivered with its search-result fields and `detailsFetched: false`, and the status message says how many were affected. If most business pages of a results page are refused, that page is not delivered and not charged.
- Results are saved one results page at a time. If a run is aborted, times out or is resurrected, it keeps what it already delivered and never delivers or charges the same business twice. `OUTPUT_SUMMARY` is rewritten after every results page that delivered businesses, so an aborted run still has one (run `8FzOGuSyZHTHNQErJ`, aborted after 40 businesses).

### Limits

- **About 100 businesses per city-wide search.** Justdial reports many more (for example "18.4k results" for dentists in Bangalore), but it only lets a visitor page through about 100 for a whole city. An area search lets you page through more (228 dentists for Andheri West, Mumbai; 248 for HSR Layout, Bangalore), but beyond the first 100 or so Justdial pads the list with businesses far away. Measured on 2026-10-24: of the 228 dentists listed for Andheri West, 102 were in Mumbai and 126 in Thane, Navi Mumbai, Kalyan or Palghar; only 12 were within 3 km of Andheri West and 57 within 10 km. For "Piano Tuners" in Pune, 51 of the 54 listed were in other cities and states. That is why `onlyInSearchedCity` is on by default (run `BECMlK6vEe07IDyjx` delivered the 102 Mumbai dentists and skipped 126; `d5YAunM4pgHpGRCpr` delivered the 3 piano tuners in Pune). For businesses near an area, add `maxDistanceKm`: `PfpXdV1bFxJ6I4ZNa` delivered 15 dentists within 3 km of HSR Layout and skipped 95 farther away. The status message tells you when a search hit the 100 limit and how many businesses were skipped.
- **Speed:** about 25 to 80 businesses per minute, including their business pages, depending on how often Justdial refuses requests at that hour. Run `6U7bOZcLduko2WgbE` delivered 50 in 116 s, `dNvIMG5ZCEKRc6nTt` 50 in 92 s, `uizzu2nWAhi2VSId6` 50 in 70 s, `ifDdEcYJoiOyYnv6b` 300 in 233 s. Searches where many businesses are skipped are slower, because their results pages are read too (their business pages are not): `OPr7AVXBMugtanKrz` read 420 to deliver 20 within 3 km, in 240 s; `BECMlK6vEe07IDyjx` read 228 and delivered 102 in 147 s.
- **City and area names:** any capitalisation works: Justdial accepts only its own spelling (`Pune`, `Hsr Layout`), so the actor writes names that way and, if Justdial still redirects to a different spelling of the same place, asks again in that spelling (run `uv5hfwPKjgKABYed2`: `pune` delivered 5). `searchLocation` shows the spelling used. If Justdial doesn't know a city, that search fails with a message that says so. If it doesn't know an area, it searches the whole city, and the status message says so.
- **Keywords Justdial does not know:** Justdial matches a keyword it does not know, or a misspelt one, to the category it finds closest, so the search can return businesses of another category, and they are delivered and charged. In runs `2Krx2hoi8vnhNHLRX` and `NdeJIaDuVpaLte0aJ`, "Xqzvbnmkw Plorft" in Pune returned 5 portable-toilet and septic-tank businesses. The status message names the category Justdial searched when it differs from your term (`Justdial searched "Xqzvbnmkw Plorft" as its category "Portable Toilet Dealers"`), and `OUTPUT_SUMMARY` has it as `categoryName` and `categoryId` for each search. Try a new term with a small maximum first and check `primaryCategory` in the results. Only a term Justdial matches to nothing ends with "0 results".
- **Result order:** Justdial changes the order of results between visits. With a maximum below a search's total, two runs can return different businesses.
- **Numbers withheld by Justdial.** Paid listings, which Justdial shows first, publish their numbers. For many free listings Justdial asks the visitor for their own mobile number first, and the actor outputs no number (`numberOnRequest: true`). How often depends on the search: 0 of 10 dentists in Andheri West (run `SmyrNP1G7N9b2GuL9`), 36 of 54 piano tuners in Pune (`lcpBZ5ECXCHeDj62u`), 46 of 50 cake shops in Koramangala (`bFBvlQKMReKCSNUk2`). With **Skip businesses without a published number** on, run `CZeKd1xN6g8yhqk1P` read all 54 piano tuners in Pune and delivered and charged the 15 with a phone or WhatsApp number. It skipped 36 whose number Justdial withholds and 3 whose page showed none.
- **Filtered search URLs:** Justdial filters in a pasted URL (`-att-…` in the path or `?filters=`) are not applied; the whole category is searched and the run summary says so.
- **Very short run timeouts:** the first results page with its business pages takes about 20-40 s through the proxy. A run with a 40 s timeout (`6twWwCzgec5iiBQFg`) delivered nothing and ended as Failed. Keep the timeout at a few minutes or more.
- Fields are filled only when the business provides them. In run `ifDdEcYJoiOyYnv6b` (300 interior designers), these fields were filled: opening hours, pincode, coordinates, rating and WhatsApp 300 of 300; phone 298; year established 293; payment modes 181; employee band 134; website 109.

### Monitoring: only new businesses

1. Turn on **Only new businesses** and set **Max businesses per search** above the number Justdial lets you page through (for example 1000), so the first run reads the whole list.
2. Save the input as a task and schedule it (for example weekly).
3. The first run delivers everything it finds. Each later run delivers and charges only businesses it has not delivered before for the same search. A run with nothing new ends as Succeeded with `0 new businesses…`, says how many businesses earlier runs already delivered, and costs only the start event.

Verified on 2026-10-20: run `ceXXpzcZXmTzyBqAN` delivered 100 pet shops in Nagpur. The run `DGumDF98ciMPZ8ibo` started right after it, with the same input, delivered and charged 0.

The memory is a key-value store named `justdial-business-scraper-monitor` in your own account. It holds one record per search and monitor name, with at most 10,000 ids each. Delete the store or change **Monitor name** to start over. Justdial shuffles the order of results, so a monitoring search with a maximum below its total keeps delivering businesses it has not shown you before. That is why the first step above says to read the whole list.

### FAQ

**Do I need a proxy?** No. The actor uses Apify's Indian residential proxy by itself, and the cost is included in the price per business. If you pass Apify Proxy settings through the API, they are replaced by that proxy, because Justdial refuses other Apify addresses (run `uVUW9hZyRT2reElG9` with `{ "useApifyProxy": true }` delivered normally). Your own proxy URLs (`proxyUrls`) are used as given.

**Why are there fewer businesses than Justdial's count?** Justdial lets you page through about 100 businesses for a whole city, even when it reports thousands, and many of the ones it lists are in other cities, which the actor skips by default (see Limits). `OUTPUT_SUMMARY` shows, for each search, the count Justdial reports, how many it lets you page through, and how many were skipped and why.

**Are the phone numbers real?** They are the numbers Justdial shows for the business. Many are Justdial call-forwarding numbers that ring the business. The actor doesn't decode hidden numbers or invent any, and it outputs no number where Justdial asks the visitor for their own number first.

**Can I run it from code?** Yes: through the Apify API, the Apify clients for JavaScript and Python, or Make, Zapier and n8n. The Output tab shows the URLs.

**What happens when Justdial changes?** Runs fail with a message instead of returning empty data. Please report the run id under Issues.

### Legal and responsible use

This actor collects business listing data that Justdial shows publicly to any visitor without a login. It does not return reviews, reviewer names, owners' or contact persons' names, or e-mail addresses. Many Justdial listings belong to sole traders: their published business phone or WhatsApp number may also identify a person.

You are responsible for how you use the data. Respect Justdial's terms of use, copyright and database rights, and data-protection law, such as India's Digital Personal Data Protection Act 2023 and the GDPR where it applies. Respect India's rules on unsolicited commercial communication (TRAI's DND / TCCCPR rules): don't call or message numbers for marketing without a lawful basis and consent where it is required. If you are unsure, ask a lawyer before you build on the data.

### Changelog

- 0.1.16 (2026-10-24): the status message names the category Justdial searched when it differs from your term (an unknown or misspelt keyword is matched to the closest category), and `OUTPUT_SUMMARY` has it as `categoryName`; a monitoring run with nothing new says how many businesses earlier runs already delivered; README: speed figures, unknown keywords, what `numberOnRequest` follows. Test runs: `uizzu2nWAhi2VSId6` (example input, 50 in 70 s), `dmiesot0ZI0e3hh79` (5), `NdeJIaDuVpaLte0aJ` (unknown keyword), `fTVNQ8AxI0lwpiF0C` (monitoring, nothing new).

- 0.1.15 (2026-10-24): README wording only.

- 0.1.14 (2026-10-24): login links (`instagram.com/accounts/login`) no longer listed as social links.

- 0.1.13 (2026-10-24): businesses Justdial lists in other cities are skipped and not charged by default (`onlyInSearchedCity`); new fields `inSearchedCity` and `distanceKm` and option `maxDistanceKm`; city and area names in any capitalisation (before, `pune` silently returned 0); an area Justdial doesn't know is reported; more personal social links left out (Facebook and Instagram names shaped like a person's, Facebook share links); social links normalised; categories from the business page; state names capitalised; pasted business URLs always delivered with `skipNumberOnRequest`; pincodes typed as numbers accepted; clearer messages for timeouts, filtered-out results and a failing own proxy; `OUTPUT_SUMMARY` written during the run. Test runs (0.1.10 to 0.1.13): `qcJjMAHv2wv6DEUpo` (default input), `uv5hfwPKjgKABYed2` (lowercase city), `BECMlK6vEe07IDyjx` (228 read, 102 delivered), `PfpXdV1bFxJ6I4ZNa` (max distance), `oo7Jxb4XqbnTnuzBu` (Gurugram), `e2UWYNK7yNKTe8SrW` / `m8ocuzVnmue4CKWOu` (monitoring).

- 0.1.9 (2026-10-24): README only.

- 0.1.8 (2026-10-24): `numberOnRequest` field, and the option to skip businesses without a published number; Apify Proxy settings in the input are replaced by the Indian residential proxy; more retries with short waits; rating counts such as "4.1k", employee and turnover bands and toll-free numbers read correctly; personal social profiles (LinkedIn /in/, Facebook profile pages) left out; malformed URLs ignored instead of failing the run; filtered search URLs noted. Test runs: `BnbSccQmgBwpOVy6j` (default input), `bxvtF0khP44xmlro5` (200 businesses, 0.1.7), `CZeKd1xN6g8yhqk1P` (skip option), `PHGjdYAnTuT5P4t9N` (URLs), `ggll1h09S3slDKMzi` (maximum charge below one business).

- 0.1 (2026-10-20): first version. Test runs: `tigCAosTHz6ElXRpj` (default input, 10 businesses), `ifDdEcYJoiOyYnv6b` (300 businesses), `ceXXpzcZXmTzyBqAN` / `DGumDF98ciMPZ8ibo` (monitoring), `ZkSuWnBAHcCGOuw6X` (URLs and an unknown city), `ncMHIMuikI2bYkFh1` (maximum charge), `HFZ4RQRv1d9xqsVoD` (no results), `OsdCR4kty7jwH17Us` (bad input).

# Actor input Schema

## `searchTerms` (type: `array`):

What to search for, as you would type it on Justdial, e.g. Dentists, Plumbers, Interior Designers, Cake Shops. Each term is searched in each entry of locations.

## `locations` (type: `array`):

A city (Mumbai, Delhi, Bangalore, Hyderabad, Pune, Chennai, Kolkata…), "Area, City" (e.g. Andheri West, Mumbai) or "Pincode, City" (e.g. 400053, Mumbai). Any capitalisation works. Justdial lets a visitor page through about 100 businesses for a city-wide search and more for an area, but beyond the first 100 or so it pads the list with businesses far away: see onlyInSearchedCity and maxDistanceKm.

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

Optional, instead of or besides the search above: Justdial search pages (https://www.justdial.com/Mumbai/Dentists/nct-10156331, or …/Dentists-in-Andheri-West) or business pages (URLs ending in \_BZDET). Other URLs are ignored and listed in the run summary.

## `maxItemsPerQuery` (type: `integer`):

Stop each search (term × location, or URL) after this many businesses. Default 100.

## `onlyInSearchedCity` (type: `boolean`):

On (default): businesses Justdial lists in another city are skipped and not charged (Justdial pads many searches with them: in a test, 51 of 54 piano tuners found for Pune were in other cities). Other names of a city count as the same (Bangalore / Bengaluru, Gurgaon / Gurugram). A business whose city is not given is kept. Off: every business Justdial lists is delivered; the field inSearchedCity tells them apart.

## `maxDistanceKm` (type: `integer`):

Optional. Skip, and do not charge for, businesses whose map pin is farther than this from the centre Justdial gives for the searched area or city (field distanceKm). Useful for area searches: of 228 dentists listed for Andheri West, Mumbai, 12 were within 3 km and 57 within 10 km. Businesses without a map pin are kept. Empty or 0: no limit.

## `skipNumberOnRequest` (type: `boolean`):

Off (default): businesses are delivered whether or not Justdial publishes a number for them. On: businesses without a published phone or WhatsApp number are skipped and not charged: those for which Justdial withholds the number (it asks the visitor for their own mobile number first; output field numberOnRequest) and those whose Justdial page shows none. Many free listings are like that, so a search can deliver far fewer businesses. Pasted business URLs are always delivered.

## `onlyNew` (type: `boolean`):

Off (default): every run delivers the businesses it finds. On: return and charge only businesses that earlier runs of this actor in your account have not delivered for the same search, for scheduled monitoring of new listings. The memory is a key-value store named justdial-business-scraper-monitor in your account; delete it to start over.

## `monitorKey` (type: `string`):

Only with onlyNew. A free name for the monitor memory, e.g. pune-weekly. Runs with the same search and the same monitor name share one memory; give two schedules different names to keep them apart.

## Actor input object example

```json
{
  "searchTerms": [
    "Dentists"
  ],
  "locations": [
    "Andheri West, Mumbai"
  ],
  "maxItemsPerQuery": 10,
  "onlyInSearchedCity": true,
  "skipNumberOnRequest": false,
  "onlyNew": false
}
```

# Actor output Schema

## `results` (type: `string`):

All delivered businesses as JSON, one object per business. Fields: id, name, primaryCategory, categories, phone, phones, whatsapp, numberOnRequest, website, address, building, street, landmark, area, city, state, pincode, latitude, longitude, inSearchedCity, distanceKm, rating, ratingCount, yearEstablished, yearsInBusiness, jdVerified, jdTrusted, tags, openNow, openingHoursText, openingHours, services, amenities, paymentModes, employees, annualTurnover, accreditations, socialLinks, photoCount, imageUrl, permanentlyClosed, justdialUrl, searchTerm, searchLocation, position, detailsFetched, scrapedAt. A value Justdial does not give is null.

## `resultsCsv` (type: `string`):

All delivered businesses as a CSV file, one row per business, same fields as the JSON output (lists are flattened into columns).

## `summary` (type: `string`):

JSON record OUTPUT_SUMMARY, kept current while the run works: what was requested, delivered and charged; per search the place as Justdial spells it, the count Justdial reports, how many it lets a visitor page through, and how many businesses the options skipped (other cities, distance, withheld numbers); which inputs failed or were ignored and why; why the run stopped.

# 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 = {
    "searchTerms": [
        "Dentists"
    ],
    "locations": [
        "Andheri West, Mumbai"
    ],
    "maxItemsPerQuery": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("amitaviv/justdial-business-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 = {
    "searchTerms": ["Dentists"],
    "locations": ["Andheri West, Mumbai"],
    "maxItemsPerQuery": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("amitaviv/justdial-business-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 '{
  "searchTerms": [
    "Dentists"
  ],
  "locations": [
    "Andheri West, Mumbai"
  ],
  "maxItemsPerQuery": 10
}' |
apify call amitaviv/justdial-business-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,amitaviv/justdial-business-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/BFfDaeeDr2a88Tki5/builds/NAbRRW1ICm0L6ubrc/openapi.json
