# Indiamart (m.indiamart.com) — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Search for products on IndiaMART Export and retrieve detailed information including product specifications and seller profiles. Access comprehensive seller data to evaluate vendors and make informed purchasing decisions.

**Category:** Business Directories | **Website:** [m.indiamart.com/](https://m.indiamart.com/) | **Docs:** [parse.bot/marketplace/d95d7c9b-f754-475d-83ec-4ba7a32f56a3/m-indiamart-com-api](https://parse.bot/marketplace/d95d7c9b-f754-475d-83ec-4ba7a32f56a3/m-indiamart-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-m-indiamart-com-api-d95d7c9b/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_product_details

Fetch full details for a single product by its numeric ID. Returns title, price, specifications table, company name, and product images. The product_id comes from search_products results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `product_id` | string | Yes | Numeric product ID from search_products results (e.g. '26019737973') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-m-indiamart-com-api-d95d7c9b/get_product_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"product_id":"<string>"}'
```

### get_seller_profile

Fetch a seller's company profile including location, ratings, verification badges, business details, and export history. Accepts the company slug from the URL path (e.g. 'veer-handircrafts') or a numeric company ID which redirects to the slug.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `company_slug` | string | Yes | Company slug as it appears in the URL path (e.g. 'veer-handircrafts'). Can also be a numeric company ID. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-m-indiamart-com-api-d95d7c9b/get_seller_profile \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"company_slug":"<string>"}'
```

### search_products

Full-text search across IndiaMART Export product listings. Returns up to 10 products per query with pricing, seller info, and ratings. No pagination — each call yields one page of results for the given keyword.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search keyword for products (e.g. 'textile', 'steel pipe', 'cotton fabric') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-m-indiamart-com-api-d95d7c9b/search_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```
