# IndiaMart Unlimited Search Scraper (`codingfrontend/indiamart-unlimited-search-scraper`) Actor

A robust, high-performance utility designed for developer automation, data integration, and AI training. Features built-in captcha bypass, headful/headless browser execution, and proxy support to scrape IndiaMart data seamlessly, reliably, and at scale.

- **URL**: https://apify.com/codingfrontend/indiamart-unlimited-search-scraper.md
- **Developed by:** [Coding Frontned](https://apify.com/codingfrontend) (community)
- **Categories:** Developer tools, Automation, E-commerce
- **Security:** Limited permissions
- **Stats:** 237 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.99 / 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

## IndiaMart Unlimited Product Search Scraper

Scrape B2B product listings and supplier data from IndiaMart.com with configurable API pagination. Each query is bounded to 1–1,000 requested results so runs remain predictable and cost-controlled.

### Features

- **Configurable deep pagination** — request up to 1,000 results per query
- **Multi-query search** — run multiple search queries in a single actor run
- **Location filtering** — narrow results to specific cities (e.g. Chennai, Mumbai, Delhi)
- **Price filtering** — filter by minimum and maximum price range
- **Cloud-ready** — runs on Apify with scheduling, proxy rotation, and webhook support

### Use Cases

- Large-scale B2B supplier discovery across Indian markets
- Comprehensive market research for product sourcing and manufacturing
- Price intelligence and competitive benchmarking for procurement
- Building complete IndiaMart product databases for specific categories
- Lead generation at scale for exporters, importers, and wholesale buyers

### Input

| Field | Type | Default | Required | Description |
|-------|------|---------|----------|-------------|
| `searchQueries` | array | `—` | ✓ | List of product search queries (e.g. \["laptops", "industrial motors"]). |
| `location` | string | `""` | | City name to filter results (e.g. 'Chennai', 'Mumbai'). Leave empty for nationwide. |
| `maxResultsPerQuery` | integer | `50` | | Requested maximum per query (1–1,000). A valid search can naturally return fewer. |
| `minPrice` | number | `—` | | Minimum price filter in INR (optional). |
| `maxPrice` | number | `—` | | Maximum price filter in INR (optional). |
| `proxyConfiguration` | object | `{}` | | Optional Apify or custom proxy settings for the API requests. |

Up to 20 unique queries can be submitted per run. Duplicate queries are normalized case-insensitively before requests are made.

### Output

Each scraped item includes:

| Field | Description |
|-------|-------------|
| `productName` | Product name |
| `companyName` | Company name |
| `price` | Current price as displayed on the site |
| `moq` | Moq |
| `location` | Job or listing location (city or remote flag) |
| `productDescription` | Product description |
| `specifications` | Technical specifications as key-value pairs |
| `images` | Array of all image URLs for this item |
| `phone` | Business or public contact phone number |
| `companyDetails` | Company details |
| `companyUrl` | URL to the company's profile page |
| `category` | Primary product or content category |
| `businessType` | Business type |
| `verification` | Verification |
| `metadata` | Metadata |
| `additionalFields` | Additional fields |
| `searchQuery` | Search query |
| `locationFilter` | Location filter |
| `scrapedAt` | Timestamp when this item was scraped (ISO 8601) |
| `source` | Source |

#### Sample Output

```json
{
  "productName": "productName_value",
  "companyName": "companyName_value",
  "price": "$49.99",
  "moq": "moq_value",
  "location": "New York, NY",
  "productDescription": "productDescription_value",
  "specifications": ["RAM==8 GB"],
  "images": ["https://cdn.example.com/image1.jpg"]
}
```

### Notes

- **Proxy**: The public API can work without a proxy. Configure an Apify or custom proxy only when your network requires it.
- **Reliability**: Transient API failures receive at most three attempts with a short backoff. Permanent or exhausted failures stop the run instead of triggering an unbounded fallback scan.
- **Result limits**: `maxResultsPerQuery` is a ceiling, not a completeness guarantee. A valid short or empty source response succeeds and is described in `OUTPUT`.
- **Data quality**: Rows are compacted, type-checked, deduplicated within and across queries, and written only after validation.
- **Run summary**: The `OUTPUT` key-value record reports unique item counts, skipped cross-query duplicates, per-query timings, and sanitized failure details.
- **Scheduling**: Use Apify Scheduler to run this actor on a recurring basis for a consistently fresh dataset

# Changelog

This Actor's version history is a separate document: https://apify.com/codingfrontend/indiamart-unlimited-search-scraper/changelog.md

# Actor input Schema

## `searchQueries` (type: `array`):

List of search queries to scrape products for from IndiaMart.

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

Location to filter search results (city name). Leave empty for nationwide search.

## `maxResultsPerQuery` (type: `integer`):

Maximum number of products to scrape per search query.

## `minPrice` (type: `integer`):

Minimum price filter (optional).

## `maxPrice` (type: `integer`):

Maximum price filter (optional).

## `onlyWithPrice` (type: `boolean`):

Only return products that have a listed price.

## `onlyVerifiedSuppliers` (type: `boolean`):

Only return products from suppliers with verified GST, mobile, or email.

## `onlyTrustSeal` (type: `boolean`):

Only return products from IndiaMART TrustSEAL certified suppliers.

## `minRating` (type: `number`):

Filter suppliers with rating at or above this score (1 to 5).

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

Optional Apify or custom proxy configuration. Direct requests are used by default.

## Actor input object example

```json
{
  "searchQueries": [
    "laptop"
  ],
  "location": "Chennai",
  "maxResultsPerQuery": 50,
  "onlyWithPrice": false,
  "onlyVerifiedSuppliers": false,
  "onlyTrustSeal": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

No description

## `keyValueStore` (type: `string`):

No description

# 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 = {
    "searchQueries": [
        "laptop"
    ],
    "location": "Chennai",
    "maxResultsPerQuery": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("codingfrontend/indiamart-unlimited-search-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 = {
    "searchQueries": ["laptop"],
    "location": "Chennai",
    "maxResultsPerQuery": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("codingfrontend/indiamart-unlimited-search-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 '{
  "searchQueries": [
    "laptop"
  ],
  "location": "Chennai",
  "maxResultsPerQuery": 50
}' |
apify call codingfrontend/indiamart-unlimited-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,codingfrontend/indiamart-unlimited-search-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/RUjdEOfdbangagEOJ/builds/FdxSHngepvSJxcNDY/openapi.json
