Discover/IndiaMart API
live

IndiaMart 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.

Endpoint health
verified 4d ago
get_product_details
get_supplier_details
search_listings
3/3 passing latest checkself-healing
Endpoints
3
Updated
5d ago

What is the IndiaMart 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.

Try it
City name slug used to scope the search results (e.g. ahmedabad, coimbatore, mumbai, delhi).
Number of pages to fetch.
Category slug used as the search term (e.g. ss-pipes, epoxy-flooring-services, steel-pipes). Hyphens are converted to spaces for the search query.
api.parse.bot/scraper/7ada03a6-ee11-42f9-8c09-14c45da9d229/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
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'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace dir-indiamart-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: IndiaMart SDK — search suppliers, inspect products, verify vendors."""
from parse_apis.IndiaMart_Scraper_API import IndiaMart, NotFound

client = IndiaMart()

# Search for stainless steel pipe suppliers in Ahmedabad
for listing in client.listings.search(city="ahmedabad", category="ss-pipes", limit=5):
    print(listing.product_name, listing.price_inr, listing.supplier_name, listing.location)

# Drill into the first listing's product details
listing = client.listings.search(city="coimbatore", category="led-lights", limit=1).first()
if listing:
    product = client.products.get(url=listing.product_url)
    print(product.product_name, product.price, product.currency)
    if product.product_images:
        print("Images:", len(product.product_images))

# Get supplier factsheet with typed error handling
if listing and listing.supplier_url:
    try:
        supplier = client.suppliers.get(url=listing.supplier_url)
        print(supplier.nature_of_business, supplier.gst_number, supplier.ships_from)
    except NotFound as exc:
        print(f"Supplier not found: {exc}")

print("exercised: listings.search / products.get / suppliers.get")
All endpoints · 3 totalmissing one? ·

Search for listings by category on the IndiaMart export directory. Returns product and supplier summary information for the specified product category, optionally scoped to a city. Each page returns up to ~10 listings from verified exporters. Deduplicates across pages by product URL.

Input
ParamTypeDescription
cityrequiredstringCity name slug used to scope the search results (e.g. ahmedabad, coimbatore, mumbai, delhi).
pagesintegerNumber of pages to fetch.
categoryrequiredstringCategory slug used as the search term (e.g. ss-pipes, epoxy-flooring-services, steel-pipes). Hyphens are converted to spaces for the search query.
Response
{
  "type": "object",
  "fields": {
    "items": "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": {
      "items": [
        {
          "unit": "Piece",
          "location": "USA, Nepal, Sri Lanka, Saudi Arabia, Bangladesh",
          "price_inr": 400,
          "price_raw": "₹400/Piece",
          "product_url": "https://export.indiamart.com/products/?id=2859228478673",
          "gst_verified": true,
          "product_name": "SS 304 Seamless Pipes India",
          "supplier_url": "https://export.indiamart.com/company/180258510",
          "supplier_name": "Jayant Rajendra Metal",
          "supplier_type": "Verified Exporter",
          "contact_details": "Gated (Login Required)",
          "supplier_rating": "4.9",
          "years_in_business": "2",
          "nature_of_business": [
            "Retailer"
          ]
        }
      ]
    },
    "status": "success"
  }
}

About the IndiaMart API

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.

Reliability & maintenanceVerified

The IndiaMart API is a managed, monitored endpoint for dir.indiamart.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when dir.indiamart.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official dir.indiamart.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
4d ago
Latest check
3/3 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a price comparison tool for industrial materials by querying multiple category slugs across Indian cities.
  • Automate supplier shortlisting by collecting gst_number and supplier_type verification status before vendor onboarding.
  • Monitor product listing prices in a specific category and city combination over time using price_inr from search_listings.
  • Enrich a procurement database with structured specifications and product_images from get_product_details.
  • Validate Import Export eligibility by extracting iec codes from supplier profiles via get_supplier_details.
  • Map B2B supplier density by city and category using location and supplier_url fields from paginated search results.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 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.

Frequently asked questions
Does IndiaMart have an official developer API?+
IndiaMart does offer a lead management API for registered sellers (documented at developer.indiamart.com), but it is scoped to managing inbound buyer inquiries for your own account — it does not provide directory search, product details, or supplier factsheets for arbitrary listings. This Parse API covers those directory-facing use cases.
What does get_supplier_details return beyond a company name?+
It returns regulatory and identity fields: 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?+
Not currently. The endpoints return supplier 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?+
Contact details such as phone numbers and email addresses are not returned. IndiaMart gates direct contact information behind logged-in buyer flows. The API covers publicly accessible fields: pricing, specifications, images, and supplier identity/regulatory data. You can fork the API on Parse and revise it to attempt extraction of any contact data that does appear in public page content.
How does pagination work in search_listings?+
The 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.
Page content last updated . Spec covers 3 endpoints from dir.indiamart.com.
Related APIs in B2b DirectorySee all →