# IndiaMART Scraper - $1.20 / 1000 Products (`scrapeunblocker/indiamart-scraper`) Actor

Scrape IndiaMART B2B listings and product pages: price per unit, minimum order, specifications, and the supplier's city, verification badges (TrustSEAL, GST, verified exporter), rating and company profile. No phone numbers or e-mails. $1.20 per 1000 products.

- **URL**: https://apify.com/scrapeunblocker/indiamart-scraper.md
- **Developed by:** [Scrapeunblocker](https://apify.com/scrapeunblocker) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

## IndiaMART Scraper

Scrape **IndiaMART** (indiamart.com), India's largest B2B marketplace, as clean JSON. Get **search results** or **product pages**: every listing comes with the price in rupees and the **unit** it is quoted per (per Kg, per Piece...), the **minimum order quantity**, category, specifications, image and brochure, and the **supplier**: company name, **city and state**, business type, **verified exporter, TrustSEAL, GST and IEC badges**, supplier rating and rating count, years on IndiaMART and export markets. Product pages add the full specification table, description, delivery and packaging details, production capacity, and the supplier's **company profile** (year established, employees, turnover band, legal status, top export countries).

Supplier phone numbers, e-mails, people's names and street addresses are never returned - business data only.

### Features

- **Search mode** - listings for each search term from IndiaMART's export catalogue (verified exporters), up to 20 per term.
- **Product mode** - one product page per input (`products`: product id or `/proddetail/` link) with the supplier profile.
- **Price per unit and MOQ** - `price`, `priceText`, `unit` and `minOrderQuantity`; `price` is null when the supplier quotes on request.
- **Supplier badges and rating** - TrustSEAL, GST, IEC, verified exporter, rating and rating count.
- **Many inputs per run** - search terms or products in parallel.

### Use cases

- **Supplier sourcing in India** - verified manufacturers and exporters for a product, with city, badges and ratings.
- **B2B price benchmarks** - price per unit and minimum order across suppliers.
- **Company profiling** - year established, size, turnover band and export markets of a supplier.

### Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `mode` | string | `search` | `search` or `product`. |
| `queries` | array | `steel pipe` | Search terms or IndiaMART search links (search mode). |
| `products` | array | - | IndiaMART product ids (`2854548650133`) or product links (product mode). |
| `maxResults` | integer | `20` | Listings per search term (1-20). |
| `concurrency` | integer | `3` | Inputs processed at the same time (1-5). |

#### Example input

```json
{
  "mode": "search",
  "queries": ["cotton t shirt", "solar panel", "basmati rice"],
  "maxResults": 20
}
```

### Output

One dataset item per product, with the input it came from. A search item:

```json
{
  "mode": "search",
  "input": "steel pipe",
  "position": 1,
  "productId": "2854548650133",
  "title": "Round Stainless Steel 347H Pipes",
  "url": "https://www.indiamart.com/proddetail/stainless-steel-347h-pipes-2854548650133.html",
  "hasProductPage": true,
  "price": 210,
  "priceText": "₹ 210/Kg",
  "currency": "INR",
  "unit": "Kg",
  "minOrderQuantity": null,
  "category": "347 Stainless Steel Pipe",
  "specifications": [{ "name": "Shape", "value": "Round" }],
  "image": "https://5.imimg.com/data5/SELLER/Default/2024/10/457674165/.../stainless-steel-347h-welded-tubes-500x500.jpg",
  "supplier": {
    "id": "21573024",
    "name": "Skyland Metal And Alloys Inc",
    "city": "Mumbai",
    "state": "Maharashtra",
    "businessType": "Wholesaler",
    "verifiedExporter": true,
    "trustSeal": true,
    "gstVerified": true,
    "iecVerified": true,
    "rating": 4.2,
    "ratingCount": 174,
    "memberSince": "11 yrs",
    "exportsTo": ["United States Of America", "Saudi Arabia", "United Arab Emirates"]
  },
  "moreFromSupplier": [{ "productId": "20902625630", "title": "Skyland Stainless Steel 304 Pipe, Size: 1/2 Inch", "price": 300, "unit": "Kg" }]
}
```

A product-mode item adds `description`, the full `specifications`, `parentCategory`, `deliveryTime`, `packagingDetails`, `productionCapacity`, `portOfDispatch`, `paymentTerms`, `images`, `brochureUrl` and the supplier's `yearEstablished`, `employees`, `annualTurnover`, `legalStatus` and `topExportCountries`.

### Pricing

**$1.20 per 1000 products** (pay per result). A search term or product that returns nothing (no match, an unknown product, a product without an IndiaMART page) is listed in the `ERRORS` record of the key-value store and is not charged.

### Notes

- IndiaMART shows visitors outside India its export catalogue, and a visitor who is not signed in sees 2 pages of 10 listings, so a search returns up to 20 products, all from verified exporters. Use more specific terms to reach more suppliers.
- A listing with `hasProductPage: false` links to the supplier's own catalogue page; product mode works for listings with an IndiaMART product page.

Powered by [ScrapeUnblocker](https://www.scrapeunblocker.com).

# Actor input Schema

## `mode` (type: `string`):

Search: listings for each search term (IndiaMART's export catalogue, up to 20 per term). Product: one product page each, with full specifications and the supplier's company profile.

## `queries` (type: `array`):

Used when What to scrape = Search. What to search, e.g. steel pipe, cotton t shirt, solar panel. An IndiaMART search link also works. One per line.

## `products` (type: `array`):

Used when What to scrape = Product. IndiaMART product ids (2854548650133) or product links (https://www.indiamart.com/proddetail/...-2854548650133.html). One per line.

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

Upper limit of listings for each search term (1-20; IndiaMART shows a visitor who is not signed in 2 pages of 10).

## `concurrency` (type: `integer`):

How many search terms or products to process at the same time (1-5).

## Actor input object example

```json
{
  "mode": "search",
  "queries": [
    "steel pipe"
  ],
  "maxResults": 10,
  "concurrency": 3
}
```

# Actor output Schema

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

One item per product with the input it came from, its supplier and, in search mode, its position

## `listings` (type: `string`):

Per search term: total results, pages fetched and products collected

## `errors` (type: `string`):

Inputs that returned no products (no match, unknown product, blocked), with the reason (not billed)

# 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 = {
    "queries": [
        "steel pipe"
    ],
    "maxResults": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapeunblocker/indiamart-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 = {
    "queries": ["steel pipe"],
    "maxResults": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("scrapeunblocker/indiamart-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 '{
  "queries": [
    "steel pipe"
  ],
  "maxResults": 10
}' |
apify call scrapeunblocker/indiamart-scraper --silent --output-dataset

```

## MCP server setup

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