# Indian Suppliers Price List: TradeIndia, ExportersIndia USD/MT (`rich_minds/india-b2b-suppliers-ai`) Actor

First 25 supplier listings free. Indian suppliers price list in USD per tonne — pay per qualified supplier listing: TradeIndia + ExportersIndia sellers, MOQ, badges, AI RFQ question. IndiaMART alternative: the same listings from both sites. Free demo on any plan; MCP-ready for AI agents.

- **URL**: https://apify.com/rich_minds/india-b2b-suppliers-ai.md
- **Developed by:** [Rich Minds](https://apify.com/rich_minds) (community)
- **Categories:** E-commerce, Business, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 qualified supplier listing (rules only)s

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

## Indian Suppliers Price List: TradeIndia, ExportersIndia USD/MT

**What Indian sellers ask per tonne for your product — refreshed for you every month.**

⚡ First **25 supplier listings free** · 💵 **$0.002** per qualified supplier listing · 🤖 AI on by default: **≈ $0.011** per listing incl. ≈ $0.0022 tokens (measured with Gemini) · ⏱️ 100 basmati listings in 4 s

![Basmati sellers ranked: price in USD per tonne, MOQ, years, AI buyer note](https://api.apify.com/v2/key-value-stores/XNY6iMiH9dIGDMddS/records/shortlist.svg)

> Click **Try it** — six sample basmati listings, free. Then type your products and press Start: a live read,
> any Apify plan.
> → [What a run costs](#-pricing--what-a-run-really-costs) · [What the AI adds](#-what-the-ai-tier-adds) · [Run it monthly](#-run-it-monthly)

### ⚡ At a glance

| | |
|---|---|
| **What you get** | One row per listing: seller, state, price as listed and in USD per tonne, MOQ, badges, inquiry link, RFQ question |
| **You provide** | Products (basmati rice, turmeric, cashew …) or HS codes, optionally Indian states |
| **Typical run** | Basmati rice, both sites: 100 listings read → 89 priced and qualified in 4 s (measured 2026-11-22) |
| **Cost of that run** | First run: 25 free, then 64 × $0.002 = $0.13 rules only · ≈ $0.77 with the AI · a repeat run: $0.18 · ≈ $1.00 |
| **IndiaMART** | Not read by default (its robots.txt); **Store fallback** adds it on your account, capped |
| **Keys / setup** | Starter plan and up: Apify's model access, no key (not measured there yet) · Free plan: your own Gemini / Groq key — a free key read 6 of 6 on the AI example (2026-11-22) |
| **Which plan** | Any plan: live search, demo, your own rows ([list template](https://api.apify.com/v2/key-value-stores/XNY6iMiH9dIGDMddS/records/list-template.json)); the e-mail digest: a plan that runs Store Actors |

### 🎯 What this Actor does

- **Comparable prices** — "Rs 110 - Rs 150 Per Kilogram" or "Rs 2,300 per 25 kg bag" become one USD-per-tonne
  column at the day's ECB rate (or EUR, GBP, AED per tonne, INR per kg).
- **Only priced rows billed** — "Get latest price" rows are dropped free; a range keeps both ends.
- **Two marketplaces, one sheet** — TradeIndia and ExportersIndia, deduplicated, grouped per seller.
- **Seller context** — MOQ in tonnes, years, GST badges, the inquiry form; never a phone number.

#### 📈 India wholesale price in USD, per product

The India wholesale price USD per tonne: each product's median, low and high (basmati rice, 2026-11-22: median
971 USD/MT, band 486–1,800).

### 🚀 How to use it

1. **Click Try it** — six sample basmati listings, free.
2. **Type your products** in **Products** — a basket of 3 in one run (it replaces the sample and starts the live
   read), optionally Indian states and a brief for the AI — or only the brief: its products are searched.
3. **Press Start** — best first; the **Price sheet** view compares USD per tonne.
4. **Schedule it monthly** with **E-mail me** — each listing returns with its current price after 30 days.

![RFQ sheet — whom to ask, the RFQ question and the listing link](https://api.apify.com/v2/key-value-stores/XNY6iMiH9dIGDMddS/records/outreach.svg)

📚 **Learn more:** [Tutorial — build an Indian suppliers price list in USD per tonne](https://api.apify.com/v2/key-value-stores/XNY6iMiH9dIGDMddS/records/tutorial.html)

### 🆚 Why not run a TradeIndia supplier scraper yourself?

| | haketa/tradeindia-scraper ($0.004 a row) | The sites by hand (free) | **This Actor** |
|---|---|---|---|
| **Prices** | rupee text in mixed units | rupees per kg, quintal or bag | one USD-per-tonne column, range kept |
| **Your time per 100 listings** | 100 unit conversions | ≈ 4 category pages + 100 unit conversions | one ranked run, RFQ question written |
| **Same 100 listings, all in (list price, no free tier)** | $0.40 for 100 unsorted rows | $0 + your time | $0.20 rules only — same as scrapesage · ≈ $1.12 with the AI · junk costs $0 |

#### vs other Indian B2B marketplace scrapers on the Store

Read 2026-11-22, 100 listings at list price: rel8ble/tradeindia-scraper $0.0007 a row ($0.07, TradeIndia only) ·
cprussin/tradeindia-suppliers $0.003 ($0.30, INR per unit) · silentflow/tradeindia-scraper $0.00395 + $0.005 a start
($0.40, has e-mail / phone) — none in USD per tonne.

#### 🔁 Why not IndiaMART? This IndiaMART alternative

IndiaMART's robots.txt disallows our crawler, so this IndiaMART alternative reads the same supplier listings from
TradeIndia and ExportersIndia. Its preset adds IndiaMART via the Store fallback (thirdwatch/indiamart-supplier-scraper
on your account, capped at $0.10).

### 💵 Pricing — what a run really costs

| Event | When it is charged | Price |
|---|---|---|
| `free-tier` | your first 25 qualified supplier listings | **$0.00** |
| `qualified-supplier-listing-basic` | AI off, or its call failed — row, USD per tonne, flags, score, rule RFQ question | **$0.002** |
| `qualified-supplier-listing-ai` | AI answered — plus product match, buyer note, RFQ question | **$0.009** |
| `digest-delivered` | a run's digest of new listings reached your e-mail or chat; first 2 free | **$0.01** |

**Never charged:** listings without a price (default), below `minScore`, outside your states, duplicates, listings
delivered before; reading the marketplaces.

**How that compares** — $0.002 here is the Store median of $0.002 for this search, but only per qualified supplier
listing — one replaces ≈ 1.12 scanned: $0.0018 per raw-row equivalent, already in USD per tonne.

**Worked example** — basmati rice (2026-11-22): 100 read → 89 qualified. First run, after the 25 free: rules only
64 × $0.002 = $0.13; AI on 64 × $0.009 + 89 × ≈ $0.0022 tokens = ≈ $0.77. A repeat run, 89 listings: $0.18 · ≈ $1.00.

**At volume** — a sourcing agent, 10 products monthly (≈ 890 listings, list price): ≈ $1.78 rules only, ≈ $10 with the AI.
The spices basket preset (3 products, 120 qualified, 2026-11-22): first run $0.19 · ≈ $1.12 with the AI.

**AI tier, all in:** ≈ $0.0112 per listing = $0.009 + ≈ $0.0022 tokens (1,243 in / 197 out,
google:gemini-3.5-flash-lite, own key, 2026-11-22).

### 🤖 What the AI tier adds

One listing (brief: *1121 basmati, sella or steam, for a Gulf importer*), AI **off**:

```json
{"name": "Sample Agro Exports (demo)", "productTitle": "1121 Steam Basmati Rice", "priceUsdPerMt": 917.13,
 "ruleScore": 90, "label": "hot", "productMatch": "exact", "assessedBy": "rules",
 "generatedText": "Hello — we are pricing basmati rice for export: is your listed 85 INR (Approx.) ex-works or FOB an Indian port, and what would you quote per tonne for your minimum of 25 tonne?"}
```

AI **on** (own-key run of the AI example, 2026-11-22, `aiModel` verbatim):

```json
{"name": "Sample Agro Exports (demo)", "score": 95, "label": "hot", "productMatch": "exact", "assessedBy": "ai",
 "aiModel": "google:gemini-3.5-flash-lite",
 "summary": "The price of 917.13 USD per MT is in line with the median, backed by 18 years in business, GST verification, and APEDA certification.",
 "generatedText": "What is your FOB price per metric tonne for 1121 Steam Basmati Rice at your 25 tonne MOQ, and can you provide 25 kg private label bags with a 5 kg sample?"}
```

It also filters: "Sona Masoori Rice" under basmati is `productMatch: different`, capped at 40. ≈ 4 minutes saved
per listing (on 6 sample listings, 2026-11-22).

### ⚙️ Input

| Field | What it does | Default |
|---|---|---|
| Products (`products`) | one per line; typing one starts the live read | `["basmati rice"]` in the form |
| What do you need? (`goalDescription`) | brief for the AI; alone, its products are searched | empty |
| E-mail me (`notifyEmail`) | the digest of new listings | empty |
| Minimum score (`minScore`) | rows below it are dropped, never charged | 30 |
| Max qualified (`maxQualified`) | cap for a 3-product basket: ≤ $2.25 with AI | 250 |
| AI assessment (`enableAi`) | product match, buyer note, RFQ question | on |
| Indian states (`states`) | only these states | empty = all India |
| Only listings with a price (`priceRequired`) | drops "Get latest price" rows | on |
| Price column currency (`targetCurrency`) | adds `priceConverted` (per tonne; INR per kg) | `USD` |
| Listings per product per site (`maxPerSite`) | read size — affects what you pay | 50 |

Also: `hsCodes`, `sites`, `useStoreFallback`, `targetFlags`, `sendAlertsTo` (Slack, Teams, Discord, Telegram); API
only: `suppressionList`, `allowList`, `webhookSecret`, `maxDiscoveryChargeUsd`.

<details><summary>Flags</summary>

`no_price` · `price_range` · `masked_phone` · `new_seller` (< 2 years) · `verified` · `price_outlier`
(outside 0.5×–2× the product's median) · `bag_size_unknown`.

</details>

### 📤 Output

A TradeIndia row (live run 2026-11-22, trimmed):

```json
{"name": "SHREE KRISHNA RICE MILLS", "state": "Haryana", "site": "tradeindia", "productTitle": "1121 Raw Basmati Rice",
 "price": "1135 USD ($) (Approx.)", "priceUsdPerMt": 1135.0, "productMedianUsdPerMt": 971.08, "moqTonnes": 25,
 "contactRouteType": "inquiry form on the listing", "score": 90, "label": "hot", "dedupeKey": "tradeindia:5370739"}
```

Sort by `score`; `ruleScore` is the rule part, `fitScore` the AI's — trend on `ruleScore`. **Upsert key:**
`dedupeKey` (`site:listingId`, stable). Views: **Shortlist**, **Price sheet**, **RFQ sheet**, **Score breakdown**,
**Export**. `OUTPUT` holds `ok`, `rows`, `refused[]`, `queries[]` (medians per product), `costUsd`.

Found it useful? A review on the Store helps others find it.

<details><summary>Every field</summary>

itemId, rowId, fetchedAt, dedupeKey, site, listingId · name, sellerKey, sellerUrl, city, state · productQuery,
productTitle, hsCode, description · price, priceMin, priceMax, priceCurrency, priceUnit, priceUsdPerMt,
priceUsdPerMtNote, productMedianUsdPerMt, fxRate, fxDate, priceConverted, priceConvertedCurrency, priceConvertedUnit ·
moq, moqUnit, moqTonnes, bagKg · gstVerified, gstin, yearsInBusiness, yearsInBusinessBasis, responseRate,
trustBadges, certifications · contactRoute, contactRouteType, nextStepActorUrl · flags, targetFlagsMatched · score,
ruleScore, fitScore, productMatch, label, assessedBy, aiModel · summary, scoreReasons, generatedText,
recommendedNextStep · chargedEvent, billedAs · url, sourceUrl, source, scrapedAt.

</details>

### 🔁 Run it monthly

1. Open the task your first live run's status links → **Schedule** monthly; add **E-mail me** or **Send alerts to**.
2. Keep `dedupeAcrossRuns` on: after `dedupeTtlDays` (30) a listing returns with its current price — a fresh list
   each month.
3. Rows into a webhook or Google Sheets — start from the [tracker sheet](https://api.apify.com/v2/key-value-stores/XNY6iMiH9dIGDMddS/records/tracker.csv).

#### 🎯 Try it for your niche

In **Start from a ready search** (live, AI off, measured 2026-11-22):

| Niche (preset) | Measured |
|---|---|
| Spices basket: cumin, black pepper, cardamom | 120 qualified, medians 2,571 / 7,013 / 26,435 USD/MT, 14 s |
| 1121 basmati, north: Haryana + Punjab | 21 qualified, median 923 USD/MT, 2 s |
| Turmeric | 83 qualified, median 1,969 USD/MT, 4 s |
| Cashew kernels | 78 qualified, median 8,956 USD/MT, 5 s |
| Onion from Maharashtra + Gujarat | 39 qualified, median 378 USD/MT, 3 s |
| IndiaMART alternative: turmeric + IndiaMART (Store fallback) | turmeric rows + IndiaMART, capped $0.10 (not measured yet) |

### 🔌 Integrations, automation and API

#### Run outcomes — what your integration sees

<details><summary>The table</summary>

| Outcome | Run status | Dataset | `OUTPUT` | Charged? |
|---|---|---|---|---|
| Free demo | SUCCEEDED | samples | `mode: demo` | no |
| Success | SUCCEEDED | listings | `outcome: ok` | per listing |
| One site refused | SUCCEEDED | the other site's rows | `refused[]` | per listing |
| Nothing matched | SUCCEEDED | empty | `outcome: empty` | no — not by us |
| Every site refused | FAILED | empty | `ok: false`, `outcome: source_failed` (`failOnSourceError`) | no |
| Source partial | SUCCEEDED | rows read | `sourceStatus.partial` | per listing |
| Invalid input | FAILED | empty | read `statusMessage` | no |
| AI unavailable | SUCCEEDED | rule rows | `aiError` | basic price |

```bash
## IndiaMART via the Store fallback, capped: {"products":["turmeric"],"useStoreFallback":true,"maxDiscoveryChargeUsd":0.5}
```

</details>

#### Which call runs what

| API call | `OUTPUT.mode` | Charged? |
|---|---|---|
| `{}` (Apify's daily test, an agent's first call) | `demo` | no |
| `{"states": ["Kerala"]}` alone — nothing to search | `demo` | no |
| `{"products": ["turmeric"]}` | `live` | per listing |
| `{"goalDescription": "W320 cashew"}` alone — its products are searched | `live` | per listing |
| `{"sourceMode": "list", "itemsList": [your rows]}` | `list` | per listing |
| `{"sourceMode": "dataset", "datasetId": "…"}` | `dataset` | per listing |

The form's sample rows plus typed products run `live` (`autoSwitchToLive`, on by default; `false` keeps the demo).

- **Webhook** — `webhookUrl` POSTs each row as `supplier_listing.qualified` with `runId` (batches: `supplier_listings.qualified`); retried once on 429 / 5xx, failed rows re-POSTed next run; `webhookSecret` signs it.
- **Which delivery field wins** — every URL is posted once; `webhookUrl` gets the rows, the others the digest.
- **[API reference](https://api.apify.com/v2/key-value-stores/XNY6iMiH9dIGDMddS/records/api-reference.md)** — one full row, every `OUTPUT` key, payloads, run time per mode.

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("rich_minds/india-b2b-suppliers-ai").call(
    run_input={
        # free first call instead: {} (the demo) or {"sourceMode": "list", "itemsList": [your rows]}
        "products": ["1121 basmati rice", "turmeric"], "states": ["Haryana", "Punjab"],
        "goalDescription": "1121 sella for a Gulf importer", "maxQualified": 20,
        # the mode you send runs; autoSwitchToLive acts on the Console form only
    },
    timeout_secs=620,  # FAQ own-key row: 240 + 18.6 s each × 20 listings = 612 s
    # build="0.1.5",  # pin a tested build
)
if run["status"] != "SUCCEEDED":
    raise RuntimeError(run["status"], run.get("statusMessage"))
rec = client.key_value_store(run["defaultKeyValueStoreId"]).get_record("OUTPUT")
out = rec["value"] if rec else {}
if not out.get("ok", True) or out.get("sourceError"):
    raise RuntimeError(out.get("outcome"), out.get("sourceError"))
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["name"], item["priceUsdPerMt"], item["score"], item["label"], item["url"])
```

<details><summary>JavaScript</summary>

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });
const run = await client.actor('rich_minds/india-b2b-suppliers-ai').call({
    // free first call instead: {} or { sourceMode: 'list', itemsList: [your rows] }
    products: ['cashew'], maxQualified: 20,
}, { timeout: 620 /* FAQ own-key row: 240 + 18.6 s each × 20; build: '0.1.5' */ });
const out = (await client.keyValueStore(run.defaultKeyValueStoreId).getRecord('OUTPUT'))?.value ?? {};
if (run.status !== 'SUCCEEDED' || out.ok === false || out.sourceError) throw new Error(out.outcome ?? run.status);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.map((i) => [i.name, i.priceUsdPerMt, i.score, i.label, i.url]));
```

</details>

**MCP** for AI agents: `{"mcpServers": {"apify": {"url": "https://mcp.apify.com/?actors=rich_minds/india-b2b-suppliers-ai"}}}`

**Minimal agent input:**

```json
{"products": ["turmeric"], "maxPerSite": 20, "maxQualified": 20, "enableAi": false, "dedupeAcrossRuns": false}
```

Your own rows, any plan:

```json
{"sourceMode": "list", "itemsList": [{"name": "Seller", "url": "https://…", "price": "Rs 110 Per Kilogram"}]}
```

#### List-mode rows — what a pasted record needs

<details><summary>The table</summary>

| Field | Needed? | What it enables |
|---|---|---|
| `name` | required (or `companyName`) | the row |
| `url` | required (or `listingUrl`) | the link, the dedupe key |
| `price` | optional — "Rs 110 Per Kilogram" | USD per tonne |
| `productTitle`, `city`, `state`, `moq`, `site` | optional | filters, median, score |

</details>

### 👥 Who is it for?

| You are… | You run it to… | Start with |
|---|---|---|
| An importer pricing a product | the supplier-side price band before an RFQ | 1121 basmati, Haryana + Punjab |
| A sourcing agent | a basket of sellers with prices | Spices basket |
| An export-service seller | an Indian manufacturers list, RFQ via the marketplace form | Turmeric |

### 🧠 How the AI works

- **One listing at a time**: parsed price, the product's median, MOQ, years, badges — never a phone.
- **Model:** `anthropic/claude-haiku-4.5` via Apify's model access (not measured yet — the figures here are Gemini,
  own key); own key: your provider's model.
- **Grounding:** text naming a price, MOQ or certificate the listing lacks is dropped.
- **Fallback:** a failed call keeps the rule score and RFQ question, at the $0.002 basic price.

### 🔒 Data, compliance and limits

- Public category pages only: robots.txt honoured, ≥ 1 s between requests, no sign-in, no personal phone numbers.
- Marketplace pages carry ToS risk: check each site's terms; handle named contacts under DPDP and GDPR.

### ❓ FAQ

**How much will one run cost me?** The basmati run: first run $0.13 rules only, ≈ $0.77 with the AI; a repeat run
$0.18 · ≈ $1.00.

**What does "first 25 free" cover?** Your first 25 qualified listings, once per Apify account. Without model access
or a key, rule-only rows use them down to 5, kept for your first AI-assessed listings.

**Why pay when TradeIndia category pages and ExportersIndia category pages are free?** For one seller, use them.
For a price list, 100 listings mean ≈ 4 category pages and 100 conversions from rupees per kg, quintal or bag. Here
it is one ranked run in USD per tonne, with outlier flags, a monthly schedule and an API.

**Is this legal?** It reads only public category pages under robots.txt, ≥ 1 s apart, no login or captcha. You
stay responsible under each site's terms, India's DPDP Act and GDPR.

**Is there a basmati rice price per ton I can trust?** The median is the supplier-side ask, not a transaction price
— use it to sanity-check quotes.

**Can I get an ExportersIndia supplier list as a sheet?** Yes — with TradeIndia's, in one CSV / Excel file.

**Can I build an Indian manufacturers list?** Yes — the RFQ sheet view: seller, city, state, badges, inquiry form,
RFQ question; the sites hide e-mail and phone.

**Does it build India B2B suppliers lists beyond agri?** Any product the sites file as a category; USD per tonne
needs a kg / quintal / tonne / bag price.

**Is it an IndiaMART alternative?** Yes, for the supplier-side price: the same listings from TradeIndia and
ExportersIndia; its preset adds IndiaMART via the Store fallback, capped at $0.10.

**Which Apify plan do I need?** Any plan. The AI needs Apify's model access (Starter and up) or your own key.

**How long does a run take?** 4 s per product live; AI ≈ 3.3–6.2 s per listing (gemini-3.5-flash-lite, own Gemini
key, 2026-11-22; a free key ≈ 10–18 a minute). Worst case, a slow own key: ≈ 35 min per 100 listings.

| Mode | Measured | `timeoutSecs` |
|---|---|---|
| Free demo | 0.7 s | 120 |
| Live, 1 product × 2 sites × 50 | 4 s (2026-11-22) | 300 |
| AI, own key | ≈ 3.3–6.2 s per listing (google:gemini-3.5-flash-lite, 2026-11-22) | 240 + 18.6 s each |
| AI via Apify's model access | not measured yet | 240 + 18.6 s each |

**What if nothing matches?** 0 rows, nothing charged; the status names a product with no category page.

**What does "qualified" mean?** It carries a price and passed your filters and `minScore`.

**Will I be charged for the same listing twice?** No — adding a product keeps the memory; after 30 days a listing
returns with its new price, charged again.

**How do I send the openers safely?** By hand, via the listing's "Send Inquiry" form, a few a day from an
established account; no links or off-platform IDs in the first message.

### 🧩 More Actors from the same developer

- **[APEDA Registered Exporters & MPEDA](https://apify.com/rich_minds/india-exporter-registries-ai)** — is the seller
  a registered exporter? Each row's `nextStepActorUrl` opens it prefilled.
- **[OFAC Sanctions Screening](https://apify.com/rich_minds/counterparty-check-ai)** — screen a supplier before paying.
- **[1688 Supplier Finder](https://apify.com/rich_minds/1688-supplier-finder-ai)** — the same product's price from Chinese factories, to compare with India.
- **[Spice Association Members](https://apify.com/rich_minds/trade-association-members-ai)** — the buyers to sell to once you know the Indian price.

### 🆘 Support

Something wrong? Open an issue on the Actor's page — buyer requests ship first.

### 📝 Changelog

- **0.1.5** (2026-11-23) — More Actors: the newest related tools linked, each in this page's words.
- **0.1.4** (2026-11-22) — a spice basket in one run; up to 250 listings.
- **0.1.3** (2026-11-22) — rows without a price are no longer charged; inquiry link, registration check, your currency.

# Actor input Schema

## `preset` (type: `string`):

Pick a ready search and press Start: it replaces the sample search below (the untouched sample counts as empty) and runs the live read of TradeIndia and ExportersIndia — any Apify plan; a value you typed yourself always wins. The status names what ran. <b>Custom</b> = fill the fields yourself.

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

One product per line: <i>basmati rice</i>, <i>turmeric</i>, <i>cashew</i>. Typing your own replaces the free demo's sample and starts the live read of TradeIndia and ExportersIndia. Affects what you pay: up to 2 × <code>maxPerSite</code> listings scored per product. Plan: every Apify plan — this Actor reads the sites itself; rows you have run in list mode.

## `goalDescription` (type: `string`):

Grade, quantity, packing, destination — e.g. <i>1121 sella basmati, 2–4 containers a month, private label, for a Gulf importer</i>. The AI checks every listing against it. Empty: the product match still runs, the buyer note and RFQ question stay generic. Products empty: the products named here are searched.

## `notifyEmail` (type: `string`):

After every run with new supplier listings, the digest (top 10 with links) is e-mailed here — schedule it monthly: each listing returns with its current price after 30 days (every week, only newly listed sellers). Sent by Apify's send-mail Actor (a plan that runs Store Actors); any plan: a Slack / Teams webhook. Not sent for the demo.

## `minScore` (type: `integer`):

The field that decides what you pay: supplier listings scoring below this are discarded and <b>not charged</b>. 30 keeps nearly every listing with a price or a badge (a long supplier list); 60 keeps priced, verified sellers with an MOQ only.

## `maxQualified` (type: `integer`):

Hard cap on results and on what <b>this Actor</b> charges. Sized for a 3-product basket (3 × 2 sites × 50 = 300 scanned): at most $2.25 with AI on, $0.50 with AI off, before your 25 free. Best-scoring listings first. Affects what you pay.

## `enableAi` (type: `boolean`):

Product match, a buyer note on the price, an RFQ question. <b>On = $0.009 per qualified supplier listing + AI tokens (≈ 1,243 in / 197 out, Gemini); off = $0.002</b> — also when the AI call fails. Runs on Apify model access (Starter and up; not measured there yet) or your own Gemini / Groq key.

## `states` (type: `array`):

Keep sellers in these states only (case-insensitive, e.g. Haryana, Punjab). Free filter — dropped listings are never charged. Empty = all of India.

## `priceRequired` (type: `boolean`):

On (default): listings that show no price ('Get latest price') are dropped before scoring — free, never charged; the status and OUTPUT.queries say how many of the listings read carried a price. Off: they stay, with price null (never 0) and the <code>no_price</code> flag, charged like any qualified listing.

## `targetCurrency` (type: `string`):

Adds <code>priceConverted</code> next to <code>priceUsdPerMt</code>, in the currency and unit you pick, at the same ECB rate of the run (AED at its fixed USD peg 3.6725). INR is per kg for domestic buyers, every other currency per tonne. Free — changes nothing you pay.

## `hsCodes` (type: `array`):

HS codes of 4+ digits (1006, 0910.30, 0801.32). A code the built-in table knows becomes a product search (1006.30.20 → basmati rice); another is reported in OUTPUT.hsUnmapped. Affects what you pay like a product. Plan: works on every Apify plan — this Actor reads the sites itself; rows you already have run in list mode.

## `targetFlags` (type: `array`):

Only deliver supplier listings that have at least one of these flags, and rank those with more of them higher. Leave empty to keep everything. An API call passes the flag names from the README's flag table, e.g. <code>verified</code>; an unknown name stops the run at once with the list of valid ones.

## `suppressionList` (type: `array`):

Names, URLs or ids to never output. Suppressed supplier listings are skipped before any processing and never charged.

## `allowList` (type: `array`):

Names, URLs or ids no free rule may drop (a supplier listing a rule skipped as off-type last run — see <code>OUTPUT.skips</code> for the names). They still need to pass <code>minScore</code>.

## `llmProvider` (type: `string`):

<b>Apify (no keys)</b> — the AI runs through Apify's built-in OpenRouter proxy; tokens are billed to your Apify account at OpenRouter's rates (Apify's model access: not measured on the platform yet). <b>My own key</b> — your OpenAI / Anthropic / Gemini / Groq key instead. A free-tier key: 6 of 6 AI checks per run on the 6-listing AI example (google:gemini-3.5-flash-lite, 2026-11-22), ≈ 3.3–6.2 s per listing (measured 2026-11-22, ≈ 10–18 a minute) — size <code>timeoutSecs</code> from the slowest: ≈ 490 s for 50 listings. On a large backfill expect 1–3 AI checks per run: 2 calls at a time, one after a 429, the 3 borderline listings retried one by one, the rest keep their rule score; a paid Groq / Gemini key (billing on) assesses every supplier listing.

## `llmModel` (type: `string`):

Leave empty for the default (<code>anthropic/claude-haiku-4.5</code>). Apify mode takes an OpenRouter slug such as <code>openai/gpt-4.1-mini</code>; own-key mode takes <code>provider:model</code>, e.g. <code>anthropic:claude-haiku-4-5-20251001</code>.

## `llmApiKey` (type: `string`):

Required when <b>AI model access</b> is <i>My own API key</i>. Stored encrypted by Apify, never logged.

## `aiCandidateMultiplier` (type: `integer`):

API only — hidden on the form. How many of the best rule-scored supplier listings get the AI pass, as a multiple of <b>Max qualified</b>. Higher = more thorough, slower, more tokens.

## `sendAlertsTo` (type: `string`):

Paste one or more URLs, one per line — the service is detected from the address: a Slack or Discord channel webhook, a Teams Workflows or Google Chat space webhook, your Telegram bot's send link (<code>https://api.telegram.org/bot\<token>/sendMessage?chat_id=@yourchannel</code>) or any other https URL (Zapier, Make, n8n, your CRM), which gets the supplier listings as JSON. After every run with at least one new supplier listing, the digest (how many are new, the top 10 with links) is posted there. Never sent for the free demo. Headers, batching and signing: <i>Delivery details (advanced)</i>.

## `dedupeAcrossRuns` (type: `boolean`):

Remembers every supplier listing you were charged for (in a named key-value store on your account) and skips it in future runs.

## `dedupeTtlDays` (type: `integer`):

How long a delivered supplier listing stays remembered. 30 (default) = a monthly price check delivers each listing again with its current price — charged again as a new supplier listing. 0 = never deliver or charge it again.

## `historyDatasetName` (type: `string`):

Optional. Type a name (e.g. <code>india-b2b-suppliers-ai-seen-log</code>) and every run appends its new supplier listings with the date to that named dataset on your account — one list across months to connect to Google Sheets or your BI tool once. Empty = off. Costs nothing extra.

## `sites` (type: `array`):

Empty (default) = every marketplace this run can read: TradeIndia and ExportersIndia, read by this Actor itself (robots.txt honoured, ≥ 1 s between requests, no sign-in), plus <b>IndiaMART</b> when <code>useStoreFallback</code> is on (its robots.txt disallows our crawler). Pick one to read only that site.

## `maxPerSite` (type: `integer`):

How many listings are read per product on each marketplace (TradeIndia 28 a page + its city pages; ExportersIndia ≈ 90 on its page). Affects what you pay: 3 products × 2 sites × 50 ≈ 300 listings scored, of which you pay only for the qualified ones (≤ <code>maxQualified</code>).

## `useStoreFallback` (type: `boolean`):

Off by default. On: a site that refuses this run — and IndiaMART — is read by a Store Actor on <b>your</b> account (haketa/tradeindia-scraper, thirdwatch/indiamart-supplier-scraper, crawloop/exportersindia-scraper), billed by that Actor and capped by <code>maxDiscoveryChargeUsd</code> ($0.50 default). Needs a plan that runs Store Actors. Affects what you pay.

## `maxDiscoveryChargeUsd` (type: `number`):

Caps only the Store fallback — the Store Actor that runs on your account when <code>useStoreFallback</code> is on (or <code>ownSource</code> is off); the built-in reader costs nothing extra. Default $0.50 for an API call that leaves it out. Affects what you pay.

## `sourceMode` (type: `string`):

<code>{}</code> over the API runs the free demo — nothing charged; the mode that runs = <code>sourceMode</code>, except <code>{}</code> = the free demo. <b>live</b> (default) — this Actor reads TradeIndia and ExportersIndia itself, on every plan. <b>dataset</b> — an existing Apify dataset of listings. <b>list</b> — listings you paste in (normalised and scored). The mode you choose always runs as chosen; only the untouched sample records next to a product you typed on the Console form switch to the live search.

## `autoSwitchToLive` (type: `boolean`):

On (default, Console runs only): search terms typed next to the untouched sample records start the live search (spend-capped; <code>OUTPUT.switchedToLive</code> names them). Off: the mode you send is the mode that runs — the sample stays the free demo and the status names the terms it did not search. Over the API the mode you send is always the mode that runs.

## `failOnSourceError` (type: `boolean`):

API only — hidden on the form. Off (default): a run in which no source answered (both sites refused) ends with <code>OUTPUT.ok: false</code>. On: the same run ends FAILED with the same message, so a schedule's or an API pipeline's failed-run alert fires. Turn it on for every schedule.

## `datasetId` (type: `string`):

Only for <b>dataset</b> mode. Pick the dataset so the Actor is granted read access to it.

## `itemsList` (type: `array`):

Only for <b>list</b> mode. JSON array of objects. Required on every row: <code>name</code> (the seller) and <code>url</code> (the listing); optional: <code>productTitle</code>, <code>price</code> ('Rs 100 - Rs 120 Per Kilogram'), <code>city</code>, <code>state</code>, <code>moq</code> and the other fields of the README's <i>List-mode rows</i> table — a row missing a required field is skipped and counted in the status.

## `discoveryActorId` (type: `string`):

Only used with <code>useStoreFallback</code> when the built-in reader is off (<code>ownSource</code> false): the Store Actor run on your account instead.

## `discoveryInput` (type: `object`):

Extra input passed as-is to the opt-in Store fallback Actor (only with <code>useStoreFallback</code>). The fallback needs a plan that runs Store Actors — on a plan that cannot, it is skipped and the built-in reader's rows are kept (or paste rows into <code>itemsList</code>).

## `maxToProcess` (type: `integer`):

Upper bound on how many supplier listings are scored in one run (controls run time). Default = 3 × max qualified.

## `webhookUrl` (type: `string`):

Qualified supplier listings are POSTed here as JSON (Zapier, Make, n8n, your CRM). For Google Sheets / Slack you can also use Apify's built-in Integrations tab. Stored encrypted — Zapier / Make hook URLs carry their secret in the path.

## `webhookHeaders` (type: `object`):

Extra HTTP headers for the webhook, e.g. <code>{"Authorization": "Bearer …"}</code>. Stored encrypted by Apify, never logged.

## `webhookBatchSize` (type: `integer`):

API only — hidden on the form. 1 = one POST per supplier listing the moment it is ready. Higher = one POST per N supplier listings.

## `webhookSecret` (type: `string`):

Any random string. Every webhook POST then carries <code>X-Signature: sha256=\<HMAC-SHA256 of the raw body with this secret></code>, so your endpoint can verify it came from this Actor. Stored encrypted by Apify, never logged.

## `dedupeStoreName` (type: `string`):

API only — hidden on the form. Key-value store used for cross-run memory. Left at the default, the memory is kept per search (source and search terms): rewording <code>goalDescription</code> keeps it, so a scheduled run never re-delivers what you already have, and another search starts its own list. Running it for several clients on one account, type one name per client.

## `discoveryTimeoutSecs` (type: `integer`):

API only — hidden on the form. How long the source Store Actor may run before its partial results are used — never more than 60 % of the run's time left, so the AI, the charges and the digest keep the rest. Raise it (and the run timeout) when the status says the source stopped early.

## `slackWebhookUrl` (type: `string`):

API only — hidden on the form, where <code>sendAlertsTo</code> takes it. Slack incoming-webhook URL for the digest.

## `discordWebhookUrl` (type: `string`):

API only — hidden on the form, where <code>sendAlertsTo</code> takes it. Discord channel webhook URL for the digest.

## `teamsWebhookUrl` (type: `string`):

API only — hidden on the form, where <code>sendAlertsTo</code> takes it. Teams Workflows webhook URL for the digest.

## `googleChatWebhookUrl` (type: `string`):

API only — hidden on the form, where <code>sendAlertsTo</code> takes it. Google Chat space webhook URL for the digest.

## `telegramUrl` (type: `string`):

API only — hidden on the form, where <code>sendAlertsTo</code> takes it. The bot's sendMessage link with its chat_id.

## `ownSource` (type: `boolean`):

API only. true (default): this Actor reads TradeIndia and ExportersIndia itself. false: the Store fallback Actor (discoveryActorId) runs on your account instead.

## Actor input object example

```json
{
  "preset": "custom",
  "products": [
    "basmati rice"
  ],
  "minScore": 30,
  "maxQualified": 250,
  "enableAi": true,
  "priceRequired": true,
  "targetCurrency": "USD",
  "llmProvider": "apify",
  "aiCandidateMultiplier": 2,
  "dedupeAcrossRuns": true,
  "dedupeTtlDays": 30,
  "historyDatasetName": "",
  "sites": [],
  "maxPerSite": 50,
  "useStoreFallback": false,
  "maxDiscoveryChargeUsd": 0.5,
  "sourceMode": "list",
  "autoSwitchToLive": true,
  "failOnSourceError": false,
  "itemsList": [
    {
      "name": "Sample Agro Exports (demo)",
      "site": "tradeindia",
      "url": "https://www.tradeindia.com/manufacturers/1121-basmati-rice.html",
      "productTitle": "1121 Steam Basmati Rice",
      "productQuery": "basmati rice",
      "city": "Karnal",
      "state": "Haryana",
      "price": "85 INR (Approx.)",
      "priceUnitText": "Kilograms/Kilograms",
      "moq": "25 Ton",
      "yearsInBusiness": 18,
      "yearsInBusinessBasis": "established",
      "gstVerified": true,
      "trustBadges": [
        "TI Verified",
        "Trust Stamp"
      ],
      "certifications": [
        "FSSAI",
        "APEDA"
      ],
      "maskedPhone": true,
      "description": "Average grain length 8.35 mm. Package Size - 25 Kg. Moisture 12 % max.",
      "sourceUrl": "https://www.tradeindia.com/manufacturers/basmati-rice.html",
      "listingId": "900001",
      "sellerUrl": "https://example.com/sample/seller/sample-agro-exports"
    },
    {
      "name": "Demo Rice Mills Pvt Ltd (demo)",
      "site": "tradeindia",
      "url": "https://www.tradeindia.com/manufacturers/sella-basmati-rice.html",
      "productTitle": "1121 Golden Sella Basmati Rice",
      "productQuery": "basmati rice",
      "city": "Amritsar",
      "state": "Punjab",
      "price": "1,050 USD ($) (Approx.)",
      "priceUnitText": "Metric Ton/Metric Tons",
      "moq": "26 Metric Ton",
      "yearsInBusiness": 22,
      "yearsInBusinessBasis": "established",
      "gstVerified": false,
      "trustBadges": [
        "Trust Stamp"
      ],
      "certifications": [
        "ISO 22000",
        "HALAL"
      ],
      "maskedPhone": true,
      "description": "Golden sella, 1121 variety, 50 Kg PP bags, FOB Mundra.",
      "sourceUrl": "https://www.tradeindia.com/manufacturers/basmati-rice.html",
      "listingId": "900002",
      "sellerUrl": "https://example.com/sample/seller/demo-rice-mills-pvt-ltd"
    },
    {
      "name": "Example Foods (demo)",
      "site": "exportersindia",
      "url": "https://example.com/sample/exportersindia/1509-basmati-rice-long-grain-900003",
      "productTitle": "1509 Basmati Rice - Long Grain",
      "productQuery": "basmati rice",
      "city": "Mumbai",
      "state": "Maharashtra",
      "price": "Rs 70 - Rs 95 Per Kilogram",
      "moq": "100 Kilogram",
      "yearsInBusiness": 1,
      "yearsInBusinessBasis": "member since",
      "gstVerified": true,
      "trustBadges": [
        "GST"
      ],
      "certifications": [],
      "description": "Variety: 1509; Packaging Type: PP Bag; Shelf Life: 12 Months",
      "sourceUrl": "https://www.exportersindia.com/indian-suppliers/basmati-rice.htm",
      "listingId": "900003",
      "sellerUrl": "https://example.com/sample/seller/example-foods"
    },
    {
      "name": "Sample Overseas (demo)",
      "site": "tradeindia",
      "url": "https://www.tradeindia.com/manufacturers/pusa-basmati-rice.html",
      "productTitle": "Pusa Basmati Rice",
      "productQuery": "basmati rice",
      "city": "Delhi",
      "state": "Delhi",
      "price": "Get Latest Price",
      "priceUnitText": "Kilograms/Kilograms",
      "moq": "10 Ton",
      "yearsInBusiness": 7,
      "yearsInBusinessBasis": "established",
      "gstVerified": null,
      "trustBadges": [],
      "certifications": [],
      "maskedPhone": true,
      "description": "Pusa basmati, raw and sella.",
      "sourceUrl": "https://www.tradeindia.com/manufacturers/basmati-rice.html",
      "listingId": "900004",
      "sellerUrl": "https://example.com/sample/seller/sample-overseas"
    },
    {
      "name": "Demo Grain Traders (demo)",
      "site": "exportersindia",
      "url": "https://example.com/sample/exportersindia/basmati-rice-25-kg-bag-900005",
      "productTitle": "Basmati Rice 25 Kg Bag",
      "productQuery": "basmati rice",
      "city": "Ahmedabad",
      "state": "Gujarat",
      "price": "Rs 2,300 Per Bag",
      "moq": "40 Bag",
      "yearsInBusiness": 3,
      "yearsInBusinessBasis": "member since",
      "gstVerified": true,
      "trustBadges": [
        "GST",
        "Verified"
      ],
      "certifications": [],
      "description": "Packaging Size: 25 Kg; Variety: Traditional Basmati",
      "sourceUrl": "https://www.exportersindia.com/indian-suppliers/basmati-rice.htm",
      "listingId": "900005",
      "sellerUrl": "https://example.com/sample/seller/demo-grain-traders"
    },
    {
      "name": "Example Sona Masoori Suppliers (demo)",
      "site": "exportersindia",
      "url": "https://example.com/sample/exportersindia/sona-masoori-rice-900006",
      "productTitle": "Sona Masoori Rice",
      "productQuery": "basmati rice",
      "city": "Hyderabad",
      "state": "Telangana",
      "price": "Rs 38 Per Kilogram",
      "moq": "5 Ton",
      "yearsInBusiness": 2,
      "yearsInBusinessBasis": "member since",
      "gstVerified": true,
      "trustBadges": [
        "GST"
      ],
      "certifications": [],
      "description": "Sona Masoori raw rice, 26 Kg bags.",
      "sourceUrl": "https://www.exportersindia.com/indian-suppliers/basmati-rice.htm",
      "listingId": "900006",
      "sellerUrl": "https://example.com/sample/seller/example-sona-masoori-suppliers"
    }
  ],
  "discoveryActorId": "haketa/tradeindia-scraper",
  "webhookBatchSize": 1,
  "dedupeStoreName": "india-b2b-suppliers-ai-seen",
  "discoveryTimeoutSecs": 3600,
  "ownSource": true
}
```

# Actor output Schema

## `qualified` (type: `string`):

All qualified supplier listings as JSON, best-scoring first.

## `sheet` (type: `string`):

The same supplier listings as a spreadsheet.

## `runSummary` (type: `string`):

JSON record with the funnel (loaded -> filtered -> AI-assessed -> qualified), per-reason skip counts, charged events by type, free-tier supplier listings used and remaining, whether a budget limit was reached, webhook delivery counts and the dedupe store size.

# 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 = {
    "products": [
        "basmati rice"
    ],
    "minScore": 30,
    "maxPerSite": 50,
    "sourceMode": "list",
    "itemsList": [
        {
            "name": "Sample Agro Exports (demo)",
            "site": "tradeindia",
            "url": "https://www.tradeindia.com/manufacturers/1121-basmati-rice.html",
            "productTitle": "1121 Steam Basmati Rice",
            "productQuery": "basmati rice",
            "city": "Karnal",
            "state": "Haryana",
            "price": "85 INR (Approx.)",
            "priceUnitText": "Kilograms/Kilograms",
            "moq": "25 Ton",
            "yearsInBusiness": 18,
            "yearsInBusinessBasis": "established",
            "gstVerified": true,
            "trustBadges": [
                "TI Verified",
                "Trust Stamp"
            ],
            "certifications": [
                "FSSAI",
                "APEDA"
            ],
            "maskedPhone": true,
            "description": "Average grain length 8.35 mm. Package Size - 25 Kg. Moisture 12 % max.",
            "sourceUrl": "https://www.tradeindia.com/manufacturers/basmati-rice.html",
            "listingId": "900001",
            "sellerUrl": "https://example.com/sample/seller/sample-agro-exports"
        },
        {
            "name": "Demo Rice Mills Pvt Ltd (demo)",
            "site": "tradeindia",
            "url": "https://www.tradeindia.com/manufacturers/sella-basmati-rice.html",
            "productTitle": "1121 Golden Sella Basmati Rice",
            "productQuery": "basmati rice",
            "city": "Amritsar",
            "state": "Punjab",
            "price": "1,050 USD ($) (Approx.)",
            "priceUnitText": "Metric Ton/Metric Tons",
            "moq": "26 Metric Ton",
            "yearsInBusiness": 22,
            "yearsInBusinessBasis": "established",
            "gstVerified": false,
            "trustBadges": [
                "Trust Stamp"
            ],
            "certifications": [
                "ISO 22000",
                "HALAL"
            ],
            "maskedPhone": true,
            "description": "Golden sella, 1121 variety, 50 Kg PP bags, FOB Mundra.",
            "sourceUrl": "https://www.tradeindia.com/manufacturers/basmati-rice.html",
            "listingId": "900002",
            "sellerUrl": "https://example.com/sample/seller/demo-rice-mills-pvt-ltd"
        },
        {
            "name": "Example Foods (demo)",
            "site": "exportersindia",
            "url": "https://example.com/sample/exportersindia/1509-basmati-rice-long-grain-900003",
            "productTitle": "1509 Basmati Rice - Long Grain",
            "productQuery": "basmati rice",
            "city": "Mumbai",
            "state": "Maharashtra",
            "price": "Rs 70 - Rs 95 Per Kilogram",
            "moq": "100 Kilogram",
            "yearsInBusiness": 1,
            "yearsInBusinessBasis": "member since",
            "gstVerified": true,
            "trustBadges": [
                "GST"
            ],
            "certifications": [],
            "description": "Variety: 1509; Packaging Type: PP Bag; Shelf Life: 12 Months",
            "sourceUrl": "https://www.exportersindia.com/indian-suppliers/basmati-rice.htm",
            "listingId": "900003",
            "sellerUrl": "https://example.com/sample/seller/example-foods"
        },
        {
            "name": "Sample Overseas (demo)",
            "site": "tradeindia",
            "url": "https://www.tradeindia.com/manufacturers/pusa-basmati-rice.html",
            "productTitle": "Pusa Basmati Rice",
            "productQuery": "basmati rice",
            "city": "Delhi",
            "state": "Delhi",
            "price": "Get Latest Price",
            "priceUnitText": "Kilograms/Kilograms",
            "moq": "10 Ton",
            "yearsInBusiness": 7,
            "yearsInBusinessBasis": "established",
            "gstVerified": null,
            "trustBadges": [],
            "certifications": [],
            "maskedPhone": true,
            "description": "Pusa basmati, raw and sella.",
            "sourceUrl": "https://www.tradeindia.com/manufacturers/basmati-rice.html",
            "listingId": "900004",
            "sellerUrl": "https://example.com/sample/seller/sample-overseas"
        },
        {
            "name": "Demo Grain Traders (demo)",
            "site": "exportersindia",
            "url": "https://example.com/sample/exportersindia/basmati-rice-25-kg-bag-900005",
            "productTitle": "Basmati Rice 25 Kg Bag",
            "productQuery": "basmati rice",
            "city": "Ahmedabad",
            "state": "Gujarat",
            "price": "Rs 2,300 Per Bag",
            "moq": "40 Bag",
            "yearsInBusiness": 3,
            "yearsInBusinessBasis": "member since",
            "gstVerified": true,
            "trustBadges": [
                "GST",
                "Verified"
            ],
            "certifications": [],
            "description": "Packaging Size: 25 Kg; Variety: Traditional Basmati",
            "sourceUrl": "https://www.exportersindia.com/indian-suppliers/basmati-rice.htm",
            "listingId": "900005",
            "sellerUrl": "https://example.com/sample/seller/demo-grain-traders"
        },
        {
            "name": "Example Sona Masoori Suppliers (demo)",
            "site": "exportersindia",
            "url": "https://example.com/sample/exportersindia/sona-masoori-rice-900006",
            "productTitle": "Sona Masoori Rice",
            "productQuery": "basmati rice",
            "city": "Hyderabad",
            "state": "Telangana",
            "price": "Rs 38 Per Kilogram",
            "moq": "5 Ton",
            "yearsInBusiness": 2,
            "yearsInBusinessBasis": "member since",
            "gstVerified": true,
            "trustBadges": [
                "GST"
            ],
            "certifications": [],
            "description": "Sona Masoori raw rice, 26 Kg bags.",
            "sourceUrl": "https://www.exportersindia.com/indian-suppliers/basmati-rice.htm",
            "listingId": "900006",
            "sellerUrl": "https://example.com/sample/seller/example-sona-masoori-suppliers"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("rich_minds/india-b2b-suppliers-ai").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 = {
    "products": ["basmati rice"],
    "minScore": 30,
    "maxPerSite": 50,
    "sourceMode": "list",
    "itemsList": [
        {
            "name": "Sample Agro Exports (demo)",
            "site": "tradeindia",
            "url": "https://www.tradeindia.com/manufacturers/1121-basmati-rice.html",
            "productTitle": "1121 Steam Basmati Rice",
            "productQuery": "basmati rice",
            "city": "Karnal",
            "state": "Haryana",
            "price": "85 INR (Approx.)",
            "priceUnitText": "Kilograms/Kilograms",
            "moq": "25 Ton",
            "yearsInBusiness": 18,
            "yearsInBusinessBasis": "established",
            "gstVerified": True,
            "trustBadges": [
                "TI Verified",
                "Trust Stamp",
            ],
            "certifications": [
                "FSSAI",
                "APEDA",
            ],
            "maskedPhone": True,
            "description": "Average grain length 8.35 mm. Package Size - 25 Kg. Moisture 12 % max.",
            "sourceUrl": "https://www.tradeindia.com/manufacturers/basmati-rice.html",
            "listingId": "900001",
            "sellerUrl": "https://example.com/sample/seller/sample-agro-exports",
        },
        {
            "name": "Demo Rice Mills Pvt Ltd (demo)",
            "site": "tradeindia",
            "url": "https://www.tradeindia.com/manufacturers/sella-basmati-rice.html",
            "productTitle": "1121 Golden Sella Basmati Rice",
            "productQuery": "basmati rice",
            "city": "Amritsar",
            "state": "Punjab",
            "price": "1,050 USD ($) (Approx.)",
            "priceUnitText": "Metric Ton/Metric Tons",
            "moq": "26 Metric Ton",
            "yearsInBusiness": 22,
            "yearsInBusinessBasis": "established",
            "gstVerified": False,
            "trustBadges": ["Trust Stamp"],
            "certifications": [
                "ISO 22000",
                "HALAL",
            ],
            "maskedPhone": True,
            "description": "Golden sella, 1121 variety, 50 Kg PP bags, FOB Mundra.",
            "sourceUrl": "https://www.tradeindia.com/manufacturers/basmati-rice.html",
            "listingId": "900002",
            "sellerUrl": "https://example.com/sample/seller/demo-rice-mills-pvt-ltd",
        },
        {
            "name": "Example Foods (demo)",
            "site": "exportersindia",
            "url": "https://example.com/sample/exportersindia/1509-basmati-rice-long-grain-900003",
            "productTitle": "1509 Basmati Rice - Long Grain",
            "productQuery": "basmati rice",
            "city": "Mumbai",
            "state": "Maharashtra",
            "price": "Rs 70 - Rs 95 Per Kilogram",
            "moq": "100 Kilogram",
            "yearsInBusiness": 1,
            "yearsInBusinessBasis": "member since",
            "gstVerified": True,
            "trustBadges": ["GST"],
            "certifications": [],
            "description": "Variety: 1509; Packaging Type: PP Bag; Shelf Life: 12 Months",
            "sourceUrl": "https://www.exportersindia.com/indian-suppliers/basmati-rice.htm",
            "listingId": "900003",
            "sellerUrl": "https://example.com/sample/seller/example-foods",
        },
        {
            "name": "Sample Overseas (demo)",
            "site": "tradeindia",
            "url": "https://www.tradeindia.com/manufacturers/pusa-basmati-rice.html",
            "productTitle": "Pusa Basmati Rice",
            "productQuery": "basmati rice",
            "city": "Delhi",
            "state": "Delhi",
            "price": "Get Latest Price",
            "priceUnitText": "Kilograms/Kilograms",
            "moq": "10 Ton",
            "yearsInBusiness": 7,
            "yearsInBusinessBasis": "established",
            "gstVerified": None,
            "trustBadges": [],
            "certifications": [],
            "maskedPhone": True,
            "description": "Pusa basmati, raw and sella.",
            "sourceUrl": "https://www.tradeindia.com/manufacturers/basmati-rice.html",
            "listingId": "900004",
            "sellerUrl": "https://example.com/sample/seller/sample-overseas",
        },
        {
            "name": "Demo Grain Traders (demo)",
            "site": "exportersindia",
            "url": "https://example.com/sample/exportersindia/basmati-rice-25-kg-bag-900005",
            "productTitle": "Basmati Rice 25 Kg Bag",
            "productQuery": "basmati rice",
            "city": "Ahmedabad",
            "state": "Gujarat",
            "price": "Rs 2,300 Per Bag",
            "moq": "40 Bag",
            "yearsInBusiness": 3,
            "yearsInBusinessBasis": "member since",
            "gstVerified": True,
            "trustBadges": [
                "GST",
                "Verified",
            ],
            "certifications": [],
            "description": "Packaging Size: 25 Kg; Variety: Traditional Basmati",
            "sourceUrl": "https://www.exportersindia.com/indian-suppliers/basmati-rice.htm",
            "listingId": "900005",
            "sellerUrl": "https://example.com/sample/seller/demo-grain-traders",
        },
        {
            "name": "Example Sona Masoori Suppliers (demo)",
            "site": "exportersindia",
            "url": "https://example.com/sample/exportersindia/sona-masoori-rice-900006",
            "productTitle": "Sona Masoori Rice",
            "productQuery": "basmati rice",
            "city": "Hyderabad",
            "state": "Telangana",
            "price": "Rs 38 Per Kilogram",
            "moq": "5 Ton",
            "yearsInBusiness": 2,
            "yearsInBusinessBasis": "member since",
            "gstVerified": True,
            "trustBadges": ["GST"],
            "certifications": [],
            "description": "Sona Masoori raw rice, 26 Kg bags.",
            "sourceUrl": "https://www.exportersindia.com/indian-suppliers/basmati-rice.htm",
            "listingId": "900006",
            "sellerUrl": "https://example.com/sample/seller/example-sona-masoori-suppliers",
        },
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("rich_minds/india-b2b-suppliers-ai").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 '{
  "products": [
    "basmati rice"
  ],
  "minScore": 30,
  "maxPerSite": 50,
  "sourceMode": "list",
  "itemsList": [
    {
      "name": "Sample Agro Exports (demo)",
      "site": "tradeindia",
      "url": "https://www.tradeindia.com/manufacturers/1121-basmati-rice.html",
      "productTitle": "1121 Steam Basmati Rice",
      "productQuery": "basmati rice",
      "city": "Karnal",
      "state": "Haryana",
      "price": "85 INR (Approx.)",
      "priceUnitText": "Kilograms/Kilograms",
      "moq": "25 Ton",
      "yearsInBusiness": 18,
      "yearsInBusinessBasis": "established",
      "gstVerified": true,
      "trustBadges": [
        "TI Verified",
        "Trust Stamp"
      ],
      "certifications": [
        "FSSAI",
        "APEDA"
      ],
      "maskedPhone": true,
      "description": "Average grain length 8.35 mm. Package Size - 25 Kg. Moisture 12 % max.",
      "sourceUrl": "https://www.tradeindia.com/manufacturers/basmati-rice.html",
      "listingId": "900001",
      "sellerUrl": "https://example.com/sample/seller/sample-agro-exports"
    },
    {
      "name": "Demo Rice Mills Pvt Ltd (demo)",
      "site": "tradeindia",
      "url": "https://www.tradeindia.com/manufacturers/sella-basmati-rice.html",
      "productTitle": "1121 Golden Sella Basmati Rice",
      "productQuery": "basmati rice",
      "city": "Amritsar",
      "state": "Punjab",
      "price": "1,050 USD ($) (Approx.)",
      "priceUnitText": "Metric Ton/Metric Tons",
      "moq": "26 Metric Ton",
      "yearsInBusiness": 22,
      "yearsInBusinessBasis": "established",
      "gstVerified": false,
      "trustBadges": [
        "Trust Stamp"
      ],
      "certifications": [
        "ISO 22000",
        "HALAL"
      ],
      "maskedPhone": true,
      "description": "Golden sella, 1121 variety, 50 Kg PP bags, FOB Mundra.",
      "sourceUrl": "https://www.tradeindia.com/manufacturers/basmati-rice.html",
      "listingId": "900002",
      "sellerUrl": "https://example.com/sample/seller/demo-rice-mills-pvt-ltd"
    },
    {
      "name": "Example Foods (demo)",
      "site": "exportersindia",
      "url": "https://example.com/sample/exportersindia/1509-basmati-rice-long-grain-900003",
      "productTitle": "1509 Basmati Rice - Long Grain",
      "productQuery": "basmati rice",
      "city": "Mumbai",
      "state": "Maharashtra",
      "price": "Rs 70 - Rs 95 Per Kilogram",
      "moq": "100 Kilogram",
      "yearsInBusiness": 1,
      "yearsInBusinessBasis": "member since",
      "gstVerified": true,
      "trustBadges": [
        "GST"
      ],
      "certifications": [],
      "description": "Variety: 1509; Packaging Type: PP Bag; Shelf Life: 12 Months",
      "sourceUrl": "https://www.exportersindia.com/indian-suppliers/basmati-rice.htm",
      "listingId": "900003",
      "sellerUrl": "https://example.com/sample/seller/example-foods"
    },
    {
      "name": "Sample Overseas (demo)",
      "site": "tradeindia",
      "url": "https://www.tradeindia.com/manufacturers/pusa-basmati-rice.html",
      "productTitle": "Pusa Basmati Rice",
      "productQuery": "basmati rice",
      "city": "Delhi",
      "state": "Delhi",
      "price": "Get Latest Price",
      "priceUnitText": "Kilograms/Kilograms",
      "moq": "10 Ton",
      "yearsInBusiness": 7,
      "yearsInBusinessBasis": "established",
      "gstVerified": null,
      "trustBadges": [],
      "certifications": [],
      "maskedPhone": true,
      "description": "Pusa basmati, raw and sella.",
      "sourceUrl": "https://www.tradeindia.com/manufacturers/basmati-rice.html",
      "listingId": "900004",
      "sellerUrl": "https://example.com/sample/seller/sample-overseas"
    },
    {
      "name": "Demo Grain Traders (demo)",
      "site": "exportersindia",
      "url": "https://example.com/sample/exportersindia/basmati-rice-25-kg-bag-900005",
      "productTitle": "Basmati Rice 25 Kg Bag",
      "productQuery": "basmati rice",
      "city": "Ahmedabad",
      "state": "Gujarat",
      "price": "Rs 2,300 Per Bag",
      "moq": "40 Bag",
      "yearsInBusiness": 3,
      "yearsInBusinessBasis": "member since",
      "gstVerified": true,
      "trustBadges": [
        "GST",
        "Verified"
      ],
      "certifications": [],
      "description": "Packaging Size: 25 Kg; Variety: Traditional Basmati",
      "sourceUrl": "https://www.exportersindia.com/indian-suppliers/basmati-rice.htm",
      "listingId": "900005",
      "sellerUrl": "https://example.com/sample/seller/demo-grain-traders"
    },
    {
      "name": "Example Sona Masoori Suppliers (demo)",
      "site": "exportersindia",
      "url": "https://example.com/sample/exportersindia/sona-masoori-rice-900006",
      "productTitle": "Sona Masoori Rice",
      "productQuery": "basmati rice",
      "city": "Hyderabad",
      "state": "Telangana",
      "price": "Rs 38 Per Kilogram",
      "moq": "5 Ton",
      "yearsInBusiness": 2,
      "yearsInBusinessBasis": "member since",
      "gstVerified": true,
      "trustBadges": [
        "GST"
      ],
      "certifications": [],
      "description": "Sona Masoori raw rice, 26 Kg bags.",
      "sourceUrl": "https://www.exportersindia.com/indian-suppliers/basmati-rice.htm",
      "listingId": "900006",
      "sellerUrl": "https://example.com/sample/seller/example-sona-masoori-suppliers"
    }
  ]
}' |
apify call rich_minds/india-b2b-suppliers-ai --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rich_minds/india-b2b-suppliers-ai"
        }
    }
}
```

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/5PPL8719wbDiXLq9u/builds/MP2aOTkHkaMsTfW9K/openapi.json
