Indiamart Product Scraper
Pricing
$4.99/month + usage
Indiamart Product Scraper
This Apify actor retrieves product and supplier data through the IndiaMart search API. Search by query and city to collect structured product information including name, price, company, contact details, and location. Perfect for B2B lead generation, market research, and sourcing products from India.
Pricing
$4.99/month + usage
Rating
5.0
(2)
Developer

ScrapeAI
Actor stats
0
Bookmarked
14
Total users
5
Monthly active users
2 months ago
Last modified
Categories
Share
๐ง IndiaMart Product Scraper - API Based
This Apify actor retrieves product and supplier data through the IndiaMart search API. Search by query and city to collect structured product information including name, price, company, contact details, and location. Perfect for B2B lead generation, market research, and sourcing products from India.
โ Use Cases
- ๐ Generate supplier leads from India's largest B2B marketplace
- ๐ฌ Build contact lists for B2B outreach campaigns
- ๐๏ธ Conduct market research by product and location
- ๐งญ Find suppliers and manufacturers in specific cities
- ๐ Gather structured product data from IndiaMart
๐ฅ Input Configuration
You can customize the actor using the following input fields:
{"query": "shower partition","city": "Mumbai","maxPages": 10}
๐งพ Fields Explained
| Field | Type | Description |
|---|---|---|
query | string | Search query for IndiaMart products (e.g., "shower partition", "steel pipes", "organic food") |
city | string | Filter by city (e.g., "Mumbai", "Delhi", "Chennai"). Leave empty for all India. |
maxPages | number | Maximum number of pages to scrape (max 100) |
๐ค Output
The actor returns a dataset containing structured product records from IndiaMart. Each record includes comprehensive details about the product and supplier, suitable for lead generation, analytics, and market research.
๐งฉ Sample Output
{"productId": "12345678","productName": "Shower Glass Partition","companyName": "ABC Glass Works","price": "15000","priceRange": "15000 - 25000","unit": "Per Piece","city": "Mumbai","state": "Maharashtra","country": "India","imageUrl": "https://example.com/image.jpg","productUrl": "https://dir.indiamart.com/product/...","supplierUrl": "https://www.indiamart.com/company/...","contact": {"phone": "+91-9876543210","email": "sales@example.com"},"description": "High quality tempered glass shower partition...","category": "Bathroom Accessories","mcatId": "42582","catId": "637","gstNumber": "27XXXXX1234X1ZX","verified": true,"indiamartUrl": "https://dir.indiamart.com/product/..."}
๐ Output Fields
| Field | Type | Description |
|---|---|---|
productId | string | Unique IndiaMart product identifier |
productName | string | Product name |
companyName | string | Supplier company name |
price | string/number | Product price |
priceRange | string | Price range if applicable |
unit | string | Price unit (per piece, per kg, etc.) |
city | string | Supplier city |
state | string | Supplier state |
country | string | Country (India) |
imageUrl | string | Product image URL |
productUrl | string | URL to product page |
supplierUrl | string | URL to supplier page |
contact | object | Contact info (phone, email) |
description | string | Product description |
category | string | Product category |
gstNumber | string | Supplier GST number |
verified | boolean | Whether supplier is verified |
indiamartUrl | string | Direct link to IndiaMart listing |
๐ Data Source
- โ Data fetched exclusively via IndiaMart search API (HTTP GET requests)
- โ No HTML scraping or DOM parsing
- โ Product and supplier information directly from IndiaMart
- โ Automatic deduplication
๐ Proxy Configuration
This actor uses standard HTTP headers with optional proxy support for:
- Avoiding IP-based rate limiting or bans
- Accessing location-specific data
- Ensuring stable data retrieval at scale
Configure proxy settings in Apify:
{"useApifyProxy": true,"apifyProxyGroups": ["RESIDENTIAL"],"apifyProxyCountry": "IN"}
๐ How to Use
- Open the actor in Apify Console
- Click "Try actor" or create a new task
- Enter your search query (e.g., "shower partition")
- Optionally filter by city (e.g., "Mumbai")
- Run the actor
- Download results in JSON, CSV, or Excel format
โ๏ธ Advanced Input Example
{"query": "steel pipes","city": "Chennai","maxPages": 20}
๐ ๏ธ Tech Stack
- Apify SDK โ actor orchestration and data handling
- Node.js 18+ โ runtime environment with native fetch API
- IndiaMart Search API โ exclusive data source for product information
๐ Data Processing Features
- โ Automatic duplicate detection using Product IDs
- โ City-based filtering
- โ Structured data parsing and normalization
- โ Comprehensive logging and error handling
- โ Schema validation for all output records
๐ง Local Development
Installation
$npm install
Running the Actor
$npm start
Validation
Validate all generated datasets against the schema:
$node validate-datasets.js
Code Quality
Format code:
$npm run format
Check linting:
$npm run lint
๐ Project Structure
.โโโ .actor/ # Actor configurationโ โโโ actor.json # Actor metadataโ โโโ input_schema.json # Input parameters schemaโ โโโ dataset_schema.json # Output dataset schemaโ โโโ input.json # Default inputโ โโโ input-local.json # Local development inputโ โโโ input-production.json # Production inputโโโ src/โ โโโ main.js # Main actor scriptโโโ storage/โ โโโ datasets/default/ # Generated datasetsโโโ package.json # Dependenciesโโโ validate-datasets.js # Dataset validatorโโโ README.md # This file
๐ค Support
For issues, questions, or feature requests, please refer to the Apify documentation or contact support.