# IndiaMART Supplier Scraper: Products, Prices and Suppliers (`santamaria-automations/indiamart-supplier-scraper`) Actor

Get product listings from IndiaMART category pages: product, price, unit, specs, supplier name, city, GST and TrustSEAL badges, member years, rating and response rate. No login needed.

- **URL**: https://apify.com/santamaria-automations/indiamart-supplier-scraper.md
- **Developed by:** [NanoScrape](https://apify.com/santamaria-automations) (community)
- **Categories:** E-commerce, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 indiamart listing scrapeds

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

## IndiaMART Supplier Scraper

Get product and supplier listings from [IndiaMART](https://dir.indiamart.com/) category pages. Give the address of a category page, such as LED lights, and the actor returns one record per product card: product name and link, price with unit and currency, image, specifications, supplier company name and page, city and state, GST and TrustSEAL badges, years as a member, rating, rating count and response rate. No login and no API key are needed.

### What you get

- One record per product card on a category page. A page shows about 28 main cards, and each card also lists more products from the same supplier. Those extra products come as their own records, marked `is_primary: false`.
- City versions of a category in one run. Add `cities` and each category page is also read for those cities, which list different suppliers.
- Each product once per run, even if it shows up on more than one page.
- A run that is interrupted continues where it stopped. Records already delivered are not delivered or charged again.
- You pay only for records that were saved to the dataset.

### Use with AI agents (MCP)

Connect this actor to any MCP-compatible AI client, such as Claude Desktop, Cursor, VS Code, LangChain or LlamaIndex.

**MCP server URL:**

```
https://mcp.apify.com?tools=santamaria-automations/indiamart-supplier-scraper
```

**Example prompt once connected:**

> "Use `indiamart-supplier-scraper` to list 50 LED light products from IndiaMART with price, unit, supplier name and city as a CSV."

### Data extracted

| Field | Example |
|-------|---------|
| `id` | `"11389562697"` |
| `name` | `"Pure White & Warm White Led Indoor Light, 5 W"` |
| `generic_name` | `"Indoor Led Light"` |
| `url` | `"https://www.indiamart.com/proddetail/indoor-led-light-11389562697.html"` |
| `is_primary`, `parent_product_id`, `position` | `true`, `null`, `1` |
| `price_text` | `"₹ 500/Piece"` |
| `price`, `price_max` | `500`, `null` |
| `price_currency`, `price_unit` | `"INR"`, `"Piece"` |
| `image_url`, `image_count` | Main image, `2` |
| `catalogue_pdf_url` | Catalogue PDF, when the supplier added one |
| `specs` | `[{"name": "Wattage", "value": "5 W"}]` |
| `supplier_name` | `"Led Lighting World"` |
| `supplier_id`, `supplier_url` | `"2965142"`, `"https://www.indiamart.com/ledlightingworld/"` |
| `city`, `state`, `country` | `"Ahmedabad"`, `"Gujarat"`, `"India"` |
| `phone` | Only when the page prints it as plain text |
| `supplier_badge` | `"star"` or `"leader"` |
| `trust_seal`, `gst_verified`, `has_gst` | `true`, `true`, `true` |
| `member_years` | `15` |
| `rating`, `rating_count` | `4.1`, `70` |
| `response_rate_percent` | `83` |
| `source_flags` | Further flags from the page data |
| `category_name`, `category_slug`, `category_total_results` | `"LED Lights"`, `"led-lights"`, `112056` |
| `city_filter` | City slug for city versions of a category |
| `source_url`, `page`, `scraped_at` | The page the row came from, `1`, time of the read |

Fields that a page does not show are returned empty (`null`).

### Pricing

Pay-per-event pricing. You pay only for records that were saved to the dataset.

| Event | Price |
|-------|-------|
| Actor start (`actor-start`) | $0.001 |
| Listing scraped (`indiamart-listing-result`) | $2.00 / 1,000 |

The start event is charged once per run, together with the first saved record. A run that returns nothing is not charged. If you set a maximum cost per run, the actor stops before it goes over that limit.

### Input

| Field | Type | Description | Default |
|-------|------|-------------|---------|
| `startUrls` | string\[] | Category pages, for example `https://dir.indiamart.com/impcat/led-lights.html`. City versions such as `https://dir.indiamart.com/mumbai/led-lights.html` work too. | none |
| `categorySlugs` | string\[] | Category names as they appear in the address, for example `led-lights`. An alternative to `startUrls`. | none |
| `cities` | string\[] | Optional city names such as `mumbai`. Each category page is also read for those cities. | none |
| `maxResults` | integer | Most records to return for each page address. 0 uses 50. | `50` |

At least one of `startUrls` or `categorySlugs` is required.

### Usage examples

#### 50 LED light products

```json
{
  "startUrls": ["https://dir.indiamart.com/impcat/led-lights.html"],
  "maxResults": 50
}
```

#### One category in two cities

```json
{
  "categorySlugs": ["led-lights"],
  "cities": ["mumbai", "delhi"],
  "maxResults": 100
}
```

#### Two page addresses

```json
{
  "startUrls": [
    "https://dir.indiamart.com/impcat/led-lights.html",
    "https://dir.indiamart.com/mumbai/led-lights.html"
  ],
  "maxResults": 30
}
```

### Output

Results are saved to the default dataset. Export them as JSON, CSV or Excel, or read them through the API.

Sample record:

```json
{
  "id": "11389562697",
  "name": "Pure White & Warm White Led Indoor Light, 5 W",
  "url": "https://www.indiamart.com/proddetail/indoor-led-light-11389562697.html",
  "is_primary": true,
  "price_text": "₹ 500/Piece",
  "price": 500,
  "price_currency": "INR",
  "price_unit": "Piece",
  "specs": [{"name": "Wattage", "value": "5 W"}],
  "supplier_name": "Led Lighting World",
  "city": "Ahmedabad",
  "state": "Gujarat",
  "supplier_badge": "star",
  "trust_seal": true,
  "gst_verified": true,
  "member_years": 15,
  "rating": 4.1,
  "rating_count": 70,
  "response_rate_percent": 83
}
```

### Limitations

- The site shows the first page of a category (about 28 main cards, plus the extra products listed under them) to visitors who are not signed in. Further results need a sign in, so this actor reads one page per address. To get more records for a category, add `cities` or more category addresses.
- Phone numbers are returned only when the page prints them as plain text. Most are behind a click and come back empty.
- Only category pages are supported. Search result pages and single product pages are not.
- The actor follows the site's robots.txt. An address the file does not allow is skipped and the run says so.
- Prices are shown as the supplier wrote them. Some products show no price, and then `price` is empty.
- The site changes its page layout from time to time. If a page can no longer be read, the run fails with a clear message and nothing is charged.

### FAQ

**Which pages should I use?**
Category pages with an address like `https://dir.indiamart.com/impcat/led-lights.html`. You can find the address by searching a category on the site and copying the page address.

**How many records can I get for one category?**
About 100 per page address, because each of the 28 main cards lists a few more products from the same supplier. For more, add cities or further category addresses.

**What does a run cost?**
The start price plus the price per 1,000 records in the table above. A run of 50 records costs a few cents.

**What status does a run end with?**
The run status says how many records were delivered. If the site refuses every request, the run fails and nothing is charged. If a page does not exist or has no listings, the run ends normally and says so.

**Can I get the contact details of suppliers?**
The actor returns what the category page shows: company name, page, city, badges, rating and response rate. Phone numbers appear only when the page prints them as plain text.

# Actor input Schema

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

IndiaMART category pages, for example https://dir.indiamart.com/impcat/led-lights.html. City versions such as https://dir.indiamart.com/mumbai/led-lights.html work too.

## `categorySlugs` (type: `array`):

Category names as they appear in the address, for example led-lights for https://dir.indiamart.com/impcat/led-lights.html. An alternative to startUrls.

## `cities` (type: `array`):

Optional city names such as mumbai or delhi. Each category page is then also read in its city version, which lists different suppliers.

## `maxResults` (type: `integer`):

Most records to return for each category page address. 0 or empty uses 50.

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

Connection settings. The default works for most runs; the actor chooses the level it needs.

## Actor input object example

```json
{
  "startUrls": [
    "https://dir.indiamart.com/impcat/led-lights.html"
  ],
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `defaultDataset` (type: `string`):

Dataset with one record per product card

# 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 = {
    "startUrls": [
        "https://dir.indiamart.com/impcat/led-lights.html"
    ],
    "maxResults": 50,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("santamaria-automations/indiamart-supplier-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 = {
    "startUrls": ["https://dir.indiamart.com/impcat/led-lights.html"],
    "maxResults": 50,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("santamaria-automations/indiamart-supplier-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 '{
  "startUrls": [
    "https://dir.indiamart.com/impcat/led-lights.html"
  ],
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call santamaria-automations/indiamart-supplier-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,santamaria-automations/indiamart-supplier-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/mS7w7PdsvU1M6QaX6/builds/RcgJk77Ga3yfiTfCo/openapi.json
