dir.indiamart.com APIdir.indiamart.com ↗
Search IndiaMart B2B listings by city and category. Retrieve product specs, pricing, supplier GST numbers, IEC codes, and verification status via 3 endpoints.
curl -X GET 'https://api.parse.bot/scraper/7ada03a6-ee11-42f9-8c09-14c45da9d229/search_listings?city=ahmedabad&pages=1&category=ss-pipes' \ -H 'X-API-Key: $PARSE_API_KEY'
Search for listings in any city and category on IndiaMart directory. Returns paginated results with product and supplier summary information.
| Param | Type | Description |
|---|---|---|
| cityrequired | string | City name slug used in the IndiaMart directory URL path (e.g. ahmedabad, coimbatore, mumbai, delhi). |
| pages | integer | Number of pages to fetch. |
| categoryrequired | string | Category slug used in the IndiaMart directory URL path (e.g. ss-pipes, epoxy-flooring-services, steel-pipes). |
{
"type": "object",
"fields": {
"data": "array of listing objects with product_name, product_url, price_raw, price_inr, unit, supplier_name, supplier_url, location, supplier_rating, supplier_type, nature_of_business, years_in_business, gst_verified, contact_details"
},
"sample": {
"data": [
{
"unit": "Piece",
"location": "Rakhial, Ahmedabad",
"price_inr": 3800,
"price_raw": "₹ 3,800",
"product_url": "https://www.indiamart.com/proddetail/rose-gold-2857209256562.html",
"gst_verified": true,
"product_name": "Rose Gold",
"supplier_url": "https://www.rishabhsteelalloys.co.in/",
"supplier_name": "Rishabh Steel & Alloys",
"supplier_type": "IndiaMart Verified",
"contact_details": "Mobile available via button (needs login)",
"supplier_rating": "3.8",
"years_in_business": "8",
"nature_of_business": []
}
],
"status": "success"
}
}About the dir.indiamart.com API
The IndiaMart Directory API provides 3 endpoints for accessing B2B supplier and product data from dir.indiamart.com. Use search_listings to query any city-category combination and get paginated supplier summaries with pricing, then drill into individual records with get_product_details for specifications and images, or get_supplier_details for GST numbers, IEC codes, and business verification status.
What the API Covers
The API targets IndiaMart's directory of Indian B2B suppliers and products. It covers three layers of data: category-level search results browseable by city and product category, individual product pages with structured specifications and images, and supplier profile pages with regulatory and business identity fields. All three endpoints return structured JSON without requiring you to manage directory navigation yourself.
search_listings Endpoint
search_listings takes a required city slug (e.g. ahmedabad, coimbatore, mumbai) and a required category slug (e.g. ss-pipes, epoxy-flooring-services). An optional pages integer controls how many result pages are fetched. Each item in the returned array includes product_name, product_url, price_raw, price_inr, unit, supplier_name, supplier_url, and location — enough to build a price comparison table or supplier shortlist without additional calls.
get_product_details and get_supplier_details
get_product_details accepts a full IndiaMart product URL and returns product_name, price, currency, product_description, product_images (array of URLs), and a specifications object of key-value pairs. get_supplier_details accepts a supplier profile URL and returns gst_number, gst_registration_date, iec (Import Export Code), nature_of_business, ships_from, rating, and supplier_type (verification status). These fields are particularly useful for due diligence workflows where you need to verify a supplier's legal identity before engaging.
Pagination and Scope
Pagination in search_listings is controlled by the pages parameter. Coverage is limited to suppliers and products indexed in IndiaMart's city-category directory structure; only data accessible via a public product or supplier URL is returned. Contact details beyond what appears on public profile pages are not exposed.
- Build a price comparison tool for industrial materials by querying multiple
categoryslugs across Indian cities. - Automate supplier shortlisting by collecting
gst_numberandsupplier_typeverification status before vendor onboarding. - Monitor product listing prices in a specific category and city combination over time using
price_inrfromsearch_listings. - Enrich a procurement database with structured
specificationsandproduct_imagesfromget_product_details. - Validate Import Export eligibility by extracting
ieccodes from supplier profiles viaget_supplier_details. - Map B2B supplier density by city and category using
locationandsupplier_urlfields from paginated search results.
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does IndiaMart have an official developer API?+
What does get_supplier_details return beyond a company name?+
gst_number, gst_registration_date, iec (Import Export Code), nature_of_business, ships_from (registered address), rating, and supplier_type which reflects the supplier's verification tier on IndiaMart. Fields are returned as null when not present on the profile.Does the API return buyer reviews or product ratings?+
rating at the profile level but do not expose individual buyer reviews, review counts, or per-product ratings. You can fork the API on Parse and revise it to add an endpoint targeting review sections of product or supplier pages.Are contact details like phone numbers or email addresses included?+
How does pagination work in search_listings?+
pages parameter is optional and controls how many sequential result pages are fetched for a given city and category combination. Omitting it fetches the default first page. There is no cursor or offset parameter; pages are fetched sequentially starting from page one.