# Mandi Traders List — Clean, Dedupe & Score Your APMC File (`rich_minds/apmc-traders-ai`) Actor

First 25 traders free. Mandi traders list from your RTI copy of APMC licence holders — a commission agents list cleaner, pay per qualified trader: licences checked, duplicates merged, scored 0–100, optional AI note in English or 5 Indian languages.

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

## Pricing

from $2.20 / 1,000 qualified trader (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

## Mandi Traders List — Clean, Dedupe & Score Your APMC File

**Your RTI mandi list, turned into licensed traders by commodity — on every new copy.**

⚡ First **25 traders free** · 💵 **$0.0022** per qualified trader (≈ ₹0.18) · 🤖 AI optional, on by default: from **$0.009**, ≈ $0.012 all in · ⏱️ ≈ 5 s AI off · AI ≈ 6 s a trader on Apify Starter

![One row per licensed trader — licence type, mandi, state, commodities, status, validity, score and why it fits](https://api.apify.com/v2/key-value-stores/njwT6DItkh3PL1oQs/records/shortlist.svg)

> **Try it in 30 seconds.** Click **Try it** — a free, fictional 24-row list runs. Then add your list's link or
> paste the table, and press Start.
> **AI:** runs on Apify Starter and up, or free with your own Gemini key — otherwise you get the rules row at $0.0022.
> **No list yet?** → [Get your list in 30 days](#-get-your-list-in-30-days) — the RTI text is ready to send.
> → [What a run costs](#-pricing--what-a-run-really-costs) · [What the AI adds](#-what-the-ai-tier-adds) · [Run it on every new copy](#-run-it-on-every-new-copy)

> **हिंदी / मराठी:** अपनी RTI मंडी सूची डालें — लाइसेंसधारी व्यापारी; पहले 25 मुफ़्त।

### ⚡ At a glance

| | |
|---|---|
| **What you get** | One row per licensed trader, commission agent (arhtiya), processor or exporter: licence, mandi, commodities, validity, score |
| **You provide** | Any copy of the list — RTI is the freshest; a bought one is checked |
| **Output** | A ranked sheet plus a digest of what is new |
| **Typical run** | 2,000-row list → ≈ 300 traders (estimate) |
| **Cost of that run** | ≈ ₹51 ($0.61) rules only · ≈ ₹284 ($3.38) with the AI, tokens incl. (after the 25 free) |
| **Free tier** | your first 25 qualified traders per Apify account |
| **Keys / setup** | Apify Starter and up: no key · Free plan: 5 trial verdicts, then your Gemini key — own free key ≈ 31 s a trader, up to 16 traders a run AI-checked (measured 2026-11-24/25) |
| **Which plan** | Demo, files, rows ([template](https://api.apify.com/v2/key-value-stores/njwT6DItkh3PL1oQs/records/list-template.json)): any plan · e-mail digest: a plan that runs Store Actors |

### 🎯 What this Actor does

A licensee list arrives with Marathi headers, Devanagari digits, duplicates and hamals. This APMC traders list tool
does the Excel work; you pay only for traders that pass your filters:

- **Any header language** — English, Hindi, Marathi, Kannada, Telugu, Punjabi.
- **One row per licence** — merged by licence no. + mandi (or a near-identical name), the latest validity kept.
- **Normalised** — `कांदा` = onion, `अडते` = commission agent, `2026-27` / `आजीवन` → validity and days left.
- **Safe** — Aadhaar, PAN, bank and GSTIN columns dropped at read; contacts only when you say so.

#### 📋 APMC licence holders and commission agents list

### 🚀 How to use it

1. **Click `Try it`** — 24 rows read → 3 labour licences dropped → 3 duplicates merged → 18 licensees → 14 qualified
   traders.
2. **Add your list** — Excel, CSV or a text PDF: a link, a pasted table or **Your files in Apify Storage** (a scan
   cannot be read yet).
3. **Set your filters** — commodities, states, licence types — and press **Start**.
4. **Run it on every new copy** — the saved task charges only new licensees.

![Outreach view — mandi, commodities, pitch and next step per trader](https://api.apify.com/v2/key-value-stores/njwT6DItkh3PL1oQs/records/outreach.svg)

📚 Learn more: [step-by-step tutorial](https://api.apify.com/v2/key-value-stores/njwT6DItkh3PL1oQs/records/tutorial.html)

### 📨 Get your list in 30 days

No site publishes the names — ask under the RTI Act:

1. **Copy the request** — [English + हिंदी text](https://api.apify.com/v2/key-value-stores/njwT6DItkh3PL1oQs/records/rti-request.md):
   every licence holder with licence no., type, mandi, commodities and validity, **in Excel / CSV (soft copy,
   Section 7(9))**.
2. **Send it** to the APMC's or board's Public Information Officer — fee ₹10, copies ₹2 a page.
3. **Wait up to 30 days** (the legal deadline — file two months before the harvest), then upload the reply.

### 📂 Works with your mandi board's licence register

#### MSAMB licence register · बाजार समिती परवानाधारक यादी

Ask the APMC or MSAMB Pune PIO for the Excel; `परवाना क्रमांक`, `बाजार समिती`, `शेतमाल`, `वैधता` are read.

#### MP Mandi Board RTI copy · मंडी व्यापारी सूची (Hindi, XLSX)

One sheet per mandi — read as one list.

#### Karnataka APMC, Telangana APMC, Punjab Mandi Board (English)

CSV, Excel or a text PDF. Another board? See Support.

### 🆚 Why this instead of cleaning the RTI copy in Excel?

| | Excel by hand | [signalloom/lead-list-cleaner](https://apify.com/signalloom/lead-list-cleaner) · [opendatadesk/lead-list-cleaner](https://apify.com/opendatadesk/lead-list-cleaner) | **This Actor** |
|---|---|---|---|
| **Needs** | your copy | your copy as a CSV | your RTI copy (₹10 + ₹2 a page) |
| **Your time per 100 traders** | ≈ 4 h (estimate) | ≈ 3 h, no Indic headers | ≈ 10 min to read 100 ranked rows |
| **Same 100 traders, all in (list price, no free tier)** | free + your hours | $0.67–1.00 for the ≈ 670 raw rows behind them | **$0.22** rules only · **$1.20** with the AI memo |

### 💵 Pricing — what a run really costs

| Event | When it is charged | Price |
|---|---|---|
| `free-tier` | your first 25 qualified traders, any tier | **$0.00** |
| `qualified-trader-basic` | AI off — cleaned row, rule score and text | **$0.0022** (≈ ₹0.18) |
| `qualified-trader-ai` | AI on — plus fit score, pitch, red flags, a question | **$0.009** (≈ ₹0.76) |
| `digest-delivered` | a digest of new traders reached your e-mail or chat; first 4 free | **$0.02** |

**Never charged:** labour licences, duplicates, filtered or expired rows, repeats, refused files.

**Your first run, worked out** — 60 traders − 25 free = 35 billed: AI off 35 × $0.0022 = $0.08 · AI on (Starter)
35 × $0.009 = $0.32 + ≈ $0.18 tokens · Free plan, AI on: 5 trial AI verdicts among the free, 35 × $0.0022 = $0.08.

**Worked example** — 300 traders: **≈ ₹51 ($0.61) rules · ≈ ₹284 ($3.38) AI**. 300 − 25 free = 275 billed:
275 × $0.0022 = $0.61 · 275 × $0.009 + 300 × ≈ $0.0030 tokens = $3.38.

**How that compares:** $0.0022 is 1.47× the $0.0015 Store median (two lead-list cleaners, one e-mail list cleaner)
and 1.5–2.2× a raw cleaned row, but one qualified trader replaces ≈ 6.7 raw rows — $0.0003 per raw-row equivalent.

**AI tier, all in:** ≈ $0.012 per trader ($0.009 + ≈ $0.0024–0.0030 tokens: 1,358–1,643 in + 207–265 output tokens, measured
2026-11-25, google:gemini-3.5-flash-lite, own key).

### 🤖 What the AI tier adds

The same sample trader, AI **off**:

```json
{"traderName": "Warna Spice Exports", "licenceType": "exporter", "mandi": "Sangli", "score": 70,
 "buyerSegment": null, "redFlags": null, "questionToAsk": null}
```

AI **on** (real run 2026-11-25, a free Gemini key):

```json
{"traderName": "Warna Spice Exports", "score": 95, "aiModel": "google:gemini-3.5-flash-lite",
 "buyerSegment": "exporters and processors sourcing turmeric and raisins", "redFlags": [],
 "questionToAsk": "Are you currently exporting whole turmeric and raisins from your Sangli and Tasgaon facilities, and what are your minimum order quantities?",
 "scoreReasons": ["Licence type is exporter, directly matching export requirements"]}
```

Score 70 → 95: an exporter licence for an export goal, at a second yard too. `outputLanguage`: the pitch in हिंदी, मराठी
and 3 more.
That saves ≈ 6 min a trader, based on our estimate of reading a licence row and writing a fit note and opener by hand.

### ⚙️ Input

| Field | Default | What it does |
|---|---|---|
| `preset` | `custom` | A ready filter set for 6 niches |
| `fileUrls` / `keyValueStoreId` / `pastedTable` | — | Share or download links · a store in Apify Storage · a pasted table |
| `goalDescription` | — | What you buy or sell; its commodity words filter when `commodities` is empty |
| `commodities` / `states` / `mandis` | — | `onion` = `kanda` = `कांदा` · ISO codes or names · mandis in any script |
| `licenceTypes` | — | trader, commission agent (arhtiya), processor, exporter … 9 types |
| `includeContacts` / `requireEmail` | `false` / `false` | Phone, e-mail, WhatsApp link from your file · only rows with an e-mail |
| `minScore` / `maxQualified` / `maxDiscoveryChargeUsd` / `enableAi` | `0` / `500` / `5` / `true` | Below it = not charged · row cap · most one run charges ($) · AI |
| `outputLanguage` | `en` | AI pitch, question and next step in Hindi, Marathi, Telugu, Kannada or Punjabi |
| `notifyEmail` / `sourceMode` | — / `files` | The digest by e-mail · files · JSON rows (`list`) · a dataset |

API only: `minValidityDays`, `includeExpired` (presets
set them), `allowList`, `fileState` / `fileMandi` / `fileDistrict` (one office's place), `listAsOf` (your copy's issue date).

### 📤 Output

One item per qualified trader. Sort on `score`; trend and threshold across runs on `ruleScore`.

```json
{"traderName": "क्षितिज कांदा ट्रेडर्स", "mandi": "Lasalgaon", "commodities": ["onion"], "validUntil": "2027-03-31",
 "licenceStatus": "active", "score": 60, "dedupeKey": "lic:LSL/T/2019/0142|lasalgaon"}
```

`label` ∈ hot · warm · cold — `assessedBy` ∈ ai · sample · rules — `licenceStatus` ∈ active · expiring · expired ·
lifetime · cancelled · suspended · unknown — `licenceType` ∈ trader · commission_agent · processor · exporter ·
retailer · broker · warehouse · unified · other.

**More fields:** `name`, `rowType`, `url` (a web search, not the firm's page), `contactRoute`,
`fitScore`, `fitReason`, `recommendedNextStep`, `generatedText` (= `pitchAngle`),
`traderNameLatin`, `alsoKnownAs`, `licenceNumberRaw`, `licenceTypeRaw`, `mandiLatin`, `otherMandis`, `district`,
`stateName`, `commodityGroups`, `commoditiesRaw`, `daysToExpiry`, `missingFields`, `targetFlagsMatched`, `sourceUrl`,
`sourceFile`, `sourceRows`, `fetchedAt`, `chargedEvent`, `billedAs`.

**Upsert key:** `dedupeKey` (licence no. + mandi), stable across runs and files; `itemId` is its hash; `rowId` is per file. Views: Shortlist, Licence validity, Outreach, Score breakdown, Export.

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

### 🔁 Run it on every new copy

1. Fill **E-mail me the cleaned list** (`notifyEmail`) — the digest of new traders lands in your inbox.
2. Open the task the first real run saves (`OUTPUT.scheduleTaskUrl`) → **Schedule** (weekly, or when a copy lands).
3. **Never output the same trader twice** is on there, on schedules and with an e-mail set: a trader is charged
   once ([tracker sheet](https://api.apify.com/v2/key-value-stores/njwT6DItkh3PL1oQs/records/tracker.csv)).
   States, licence types or target flags start a new memory; `dedupeStoreName` names a separate memory.

A new copy: ≈ 20–60 new licensees ≈ $0.04–0.13 rules / $0.24–0.72 AI, tokens incl.

#### 🎯 Try it for your niche — onion traders Lasalgaon, chilli traders Guntur Khammam

Pick one in **Start from a ready search** (counts from the free sample):

| Niche | Filters | Preset |
|---|---|---|
| Onion traders Lasalgaon / Nashik | onion, MH, 30 days valid (3 qualified) | `onion-lasalgaon` |
| Chilli traders Guntur Khammam, Byadgi | chilli, TG / KA / AP (2 qualified) | `chilli-telangana-karnataka` |
| Turmeric traders | turmeric, TG / MH (2 qualified) | `turmeric-sourcing` |
| A spice exporter's set | 4 spices, 4 states (4 qualified) | `spice-exporter-set` |
| Compliance or a lender's check | expired, expiring, missing licence no. (7 qualified) | `expiring-licences` |
| Processors & exporters | processor + exporter licences (4 qualified) | `processors-exporters` |

### 🔌 Integrations, automation and API

<details><summary>Run outcomes</summary>

| Outcome | Status | `OUTPUT` | Charged? |
|---|---|---|---|
| Free demo | SUCCEEDED | `demo: true` | no |
| Success / nothing matched | SUCCEEDED | `outcome: ok` / `empty` | per row |
| A file refused | SUCCEEDED | `ok: false`, `refused[]` | per row |
| No file readable | SUCCEEDED (FAILED with `failOnSourceError`) | `outcome: files_refused` | no |
| Invalid input / source failed | FAILED | `outcome: source_failed` | no |
| Run time limit hit in the AI pass | SUCCEEDED | `run budget` | basic price |
| AI unavailable | SUCCEEDED | `aiError` | basic price |

</details>

- **Webhook** (`webhookUrl`): per row `{"event": "trader.qualified", "trader": {…}, "runId": "…"}`, or batched
  (`webhookBatchSize`: `traders.qualified`, `"traders": […]`); a 429 / 5xx is retried once, failed rows are re-sent first next run;
  `webhookSecret` adds `X-Signature: sha256=<HMAC-SHA256 of the raw body>`.
- **Send alerts to** (`sendAlertsTo`): the digest in Slack, Teams, Discord or Google Chat. Every URL is posted once:
  `webhookUrl` gets rows, the alert fields and `notifyEmail` the digest ([API reference](https://api.apify.com/v2/key-value-stores/njwT6DItkh3PL1oQs/records/api-reference.md)).
- **WhatsApp**: `whatsappLink` opens the chat with the pitch typed.
- **Zoho CRM / Sheets / n8n**: upsert on `dedupeKey` (Make / Zapier "create or update"), note = `pitchAngle`.

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("rich_minds/apmc-traders-ai").call(
    run_input={  # free: {} or {"sourceMode": "list", ...}; autoSwitchToLive is Console-only
        "keyValueStoreId": "<storeId>", "commodities": ["onion"], "maxQualified": 500, "maxDiscoveryChargeUsd": 5,
    },
    timeout_secs=3600,  # FAQ: run-time table; build="0.2.5" pins a build
)
rec = client.key_value_store(run["defaultKeyValueStoreId"]).get_record("OUTPUT")
out = rec["value"] if rec else {}
if out.get("sourceError"):
    raise RuntimeError(out.get("outcome"), out.get("refused"), out["sourceError"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["name"], item["score"], item["url"])  # url = a web search, not the site
```

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });
const run = await client.actor('rich_minds/apmc-traders-ai').call({
    keyValueStoreId: '<storeId>', commodities: ['chilli'], maxQualified: 500, maxDiscoveryChargeUsd: 5,
}, { timeout: 3600 /* , build: '0.2.5' */ }); // free: {} (the demo)
if (run.status !== 'SUCCEEDED') throw new Error(`${run.status}: ${run.statusMessage}`);
const rec = await client.keyValueStore(run.defaultKeyValueStoreId).getRecord('OUTPUT');
if (rec && rec.value.sourceError) throw new Error(rec.value.sourceError);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.map((i) => [i.name, i.score, i.url])); // url = a web search, not the site
```

**MCP** — `https://mcp.apify.com/?actors=rich_minds/apmc-traders-ai`. **Minimal agent input:**

```json
{"keyValueStoreId": "<storeId>", "commodities": ["turmeric"], "maxDiscoveryChargeUsd": 1}
```

**Which call runs what** (`OUTPUT.mode`) — over the API, a schedule or a task the `sourceMode` you send decides; the
Console form also switches the sample + a file:

| Input | API, schedule, task | Console form |
|---|---|---|
| `{}` / the untouched sample | `demo` | `demo` |
| the sample + a file, table or store | `demo` | `files` |
| `sourceMode: "files"` + a file, table or store | `files` | `files` |
| `"list"` + `itemsList` · `"dataset"` + `datasetId` | `list` · `dataset` | same |
| a Console input saved as a task | `sourceMode` as saved | — |

<details><summary>List-mode rows</summary>

| Field | Needed? | Enables |
|---|---|---|
| `traderName` | required (or `licenceNumber`) | the row, the merge key |
| `mandi`, `district` or `state` | one required | place filters |
| `licenceType`, `commodities` | optional | filters, score |
| `validUntil`, `validFrom`, `status` | optional | validity as issued in your copy |
| `subYard`, `address`, `pincode`, `phone`, `email`, `contactPerson` | optional | detail; contacts with `includeContacts` |

</details>

### 👥 Who is it for — agri traders India buyers and sellers

| You are… | You run it to… | Start with |
|---|---|---|
| An agri exporter | find onion, chilli or turmeric traders with a valid licence | `onion-lasalgaon` |
| An input or service seller | list a mandi's processors and exporters | `processors-exporters` |
| Board / compliance staff | see licences expiring this quarter | `expiring-licences` |
| A lender or credit team | check borrowers' licences monthly on a schedule | `expiring-licences` |

### 🧠 How the AI works

- **Grounded** — the model sees only the licence facts and your goal; a red flag names the facts that clash.
- **Model** — `anthropic/claude-haiku-4.5` via Apify's model access; with your own key `google:gemini-3.5-flash-lite`
  (`llmModel`). A model error keeps the rule score (basic price).

### 🔒 Data, compliance and limits

Upload only lists you may lawfully use; nothing is stored or resold. Limits:
50 MB and 300 PDF pages a file, 200,000 rows a run (unmeasured at 256 MB; use 1 GB); no scanned PDFs yet.

### ❓ FAQ

**How do I find agri traders India-wide without a list?** Send the RTI request above.

**How do I check mandi trader licence status?** Use the `expiring-licences` preset: status and days left.

**How do I analyse my MSAMB traders list?** Upload the Excel the office sent — Marathi headers are read as they are.

**Can it clean an arhtiya list?** Yes — `आढ़तिया` = `अडते` = commission agent.

**How long does a run take?** Pass the `timeoutSecs` of your slowest mode:

| Mode | Measured time | `timeoutSecs` |
|---|---|---|
| Free demo · your files, rules only | 0.4 s · < 1 s for 5 files | 300 |
| AI via Apify | ≈ 6 s a trader, 8 at a time (not measured on the platform yet) | 900 per 300 traders |
| AI, your own key | ≈ 1.0–31.4 s per trader (≈ 2–60 a minute), free google:gemini-3.5-flash-lite key, 2026-11-24 / 11-25; 50 traders ≈ 1750 s | 3600 |

Worst case ≈ 52 min per 100; an own key assesses what the time limit fits (≈ 107); a rate limit may leave a few rule-scored.

**Am I charged twice when I add a commodity?** No — a commodity or mandi edit keeps the memory.

**Do rule-scored traders use my free ones?** Yes; if the AI could not run at all, 20 go to rule rows, 5 wait for AI.

**हिंदी मंडी व्यापारी सूची?** हाँ, सीधे पढ़ी जाती है।

**How do I send the openers safely?** At the yard or by phone first — the next step says where; a few a day.

**Is this legal?** An RTI reply is public; personal data in it falls under India's DPDP Act 2023, so contacts
leave the run only with `includeContacts`.

### 🧩 More Actors from the same developer

- **[APEDA Registered Exporters & MPEDA](https://apify.com/rich_minds/india-exporter-registries-ai)** — exporters who buy from your traders.
- **[Customs Broker India Directory](https://apify.com/rich_minds/customs-broker-directory-ai)** — the broker for your shipment.
- **[Indian Suppliers Price List](https://apify.com/rich_minds/india-b2b-suppliers-ai)** — prices per tonne before you call.

### 🆘 Support

Open an issue with an unknown header row (never the data) — it is added first.

### 📝 Changelog

**Coming next:** 2026-12-15 — the ~300 largest APMCs in the mandi alias table.

- **Deprecated:** `generatedText` (alias of `pitchAngle`) — removed in 0.3, 2027-03-01.
- **0.2.5** (2026-11-25) — Store listing and README wording updated so the Actor is easier to find and understand.
- **0.2.4** (2026-11-25) — AI pitch in 5 Indian languages; saved tasks deliver only new traders; own-key AI fits the
  time limit.
- **0.2.3** (2026-11-25) — The board registers read (MSAMB, MP, Karnataka, Telangana, Punjab), each with where to get it.
- **0.2.2** (2026-11-25) — Share links and pasted tables; a ready RTI request.

# Actor input Schema

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

Pick a ready filter set and press Start: it replaces the sample search's filters (the untouched prefill counts as empty) — commodities, states, licence types, validity; a value you typed always wins. Without a file it filters the free sample; with your list's link it filters your list. <b>Custom</b> = fill the fields yourself.

## `fileUrls` (type: `array`):

Your APMC / mandi-board licensee list (RTI reply or purchased): CSV, XLSX, XLS, text PDF or zip, headers in 6 Indian languages. <b>A scanned printout cannot be read yet</b> — ask the office for the Excel / CSV file. <b>A Google Drive, Sheets, Dropbox or OneDrive share link works.</b> Any Apify plan. Government-site links are refused.

## `keyValueStoreId` (type: `string`):

Upload your list to Apify (Console → Storage → Key-value stores → create → upload the file) and pick the store here: every CSV / XLSX / XLS / PDF / zip record in it is read. A private record link above cannot be read by a public Actor — pick its store here instead. Any plan.

## `pastedTable` (type: `string`):

No file link? Copy the rows from Excel, Google Sheets or a web page and paste them here, header row first — tab, comma or semicolon separated. Read exactly like a file; 20 rows are enough to see the result. Any plan — no Store Actor runs, so a plan that cannot run Store Actors reads it too.

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

One or two sentences, e.g. <i>We export onion and dry chilli and want traders and commission agents with a valid licence</i>. The AI scores every trader against it; with <b>Commodities</b> empty, the commodity words in it become the commodity filter.

## `commodities` (type: `array`):

Keep only traders of these commodities, in English or a local name — <code>onion</code> = <code>kanda</code> = <code>कांदा</code> = <code>pyaz</code>, <code>chilli</code> = <code>mirchi</code> = <code>మిర్చి</code>. A trader with no commodity in the list is kept and flagged. Empty = the commodity words of your goal, else all. API: <code>commodityMatch</code> <code>group</code> also keeps the same commodity group.

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

The field that decides what you pay: traders scoring below this are dropped and <b>not charged</b>. 0 keeps every trader that passes your filters; 40 keeps warm and hot only, 70 hot only. The score: commodity +30, licence type +20, validity up to +20, place +5–10, complete row +10.

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

Hard cap on results and on what this Actor charges — worst case for 500 traders: $4.50 with AI on ($1.10 off), plus ≈ $1.20 of AI tokens. Best-scoring first; the rest are counted, not charged. <b>Affects what you pay.</b>

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

Stops delivering before this run's charges pass this amount — the traders after it are counted, not charged. No source Actor runs, so this is the whole bill apart from AI tokens. <b>Affects what you pay.</b>

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

Adds what rules cannot: the buyer segment the trader serves, red flags on the row, the question for the first call, a fit score with reasons and a pitch in English (licence facts only, never contacts). <b>On = $0.009 per qualified trader + ≈ $0.0024–0.0030 tokens; off = $0.0022.</b> Your first 5 traders get live AI verdicts on any plan; every one with Apify model access (not measured on the platform yet) or a paid own key.

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

Keep only traders of these states. Empty = all. API: ISO 3166-2:IN codes (<code>MH</code>, <code>TG</code> …) or state names in English or local script.

## `mandis` (type: `array`):

Keep only these mandis — matched on the cleaned English name, case- and accent-insensitive: <code>Lasalgaon</code> = <code>लासलगाव</code> = <code>Lasalgaon APMC</code>. Empty = all.

## `licenceTypes` (type: `array`):

Keep only these licence types. Labour licences (hamal, tulawati, palledar) are always dropped free — they are individual workers, not trading firms. Empty = all trading types.

## `commodityMatch` (type: `string`):

API only — hidden on the form. <code>exact</code> (default): only traders of your commodities. <code>group</code>: also traders of the same commodity group (turmeric → any spice trader) at +15 instead of +30.

## `minValidityDays` (type: `integer`):

API only — hidden on the form (the form keeps 25 fields); the README input table names it. Drop licences that expire in fewer days than this, counted from today (the onion and chilli presets set 30 on the form). 0 = keep every valid licence. A licence with no validity date is kept and flagged.

## `includeExpired` (type: `boolean`):

API only — hidden on the form (the form keeps 25 fields); the README input table names it. On: expired, cancelled and suspended licences stay in the list (score −20, flagged) — the compliance or lender's check; the <b>Compliance: expired & expiring licences</b> preset sets it on the form. Off: they are dropped and never charged.

## `expiringWithinDays` (type: `integer`):

API only — hidden on the form. A licence that expires within this many days gets the status <code>expiring</code>.

## `asOfDate` (type: `string`):

API only — hidden on the form. The date validity is measured against (YYYY-MM-DD). Empty = today (India time).

## `listAsOf` (type: `string`):

API only — hidden on the form (the form keeps 25 fields); the README input table names it. The date the list was issued or bought (YYYY-MM-DD) — shown on every row as <code>listAsOf</code>, so an old copy is visible in the sheet.

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

Only deliver traders that carry at least one of these flags — e.g. <b>expiring</b> for a renewal list, <b>missing licence number</b> for a data-quality check. Empty = keep everything. An API call passes the flag names (<code>expiring</code>, <code>missingLicenceNumber</code> works too); an unknown name stops the run with the valid ones.

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

API only — hidden on the form. Firm names, licence numbers or ids never to output; skipped before any processing and never charged.

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

API only — hidden on the form. Firm names, licence numbers or ids no goal filter may drop (they still need to pass <code>minScore</code>).

## `includeContacts` (type: `boolean`):

Output <code>phone</code>, <code>email</code>, <code>contactPerson</code> and a <code>whatsappLink</code> (wa.me with the pitch prefilled) only when your file carries them. Turn on only if you hold the right to use these contact details (for example, you obtained the list lawfully for this purpose). The Actor never looks up contacts on the web. Aadhaar, PAN, GSTIN and bank columns are always dropped, on or off. Off: the Outreach view says where and when to meet each trader at the yard instead.

## `requireEmail` (type: `boolean`):

On: keep only traders whose row in your file carries an e-mail — the rest are dropped, never charged, and counted in <code>OUTPUT.dropped.no_email</code>. Needs <b>Include contacts from my file</b> on. Off (default): every trader that passes your filters.

## `columnMap` (type: `object`):

API / JSON tab only — hidden on the form (the form keeps 25 fields). Point a field at a header of your file: <code>{"traderName": "Naam", "licenceNumber": "Regd No"}</code>. It overrides the automatic mapping for the fields it names. Keys: traderName, licenceNumber, licenceType, mandi, subYard, district, state, commodities, validUntil, validFrom, status, address, pincode, phone, email, contactPerson. A refused file lists its headers in OUTPUT.queries\[].headers.

## `recordKeys` (type: `array`):

Only these records of <i>Your files in Apify Storage</i>, e.g. <code>licensees-xlsx</code>. Empty = every record whose type or key looks like CSV, XLSX, XLS, PDF or zip (INPUT / OUTPUT and JSON records are skipped).

## `sheetName` (type: `string`):

API only — hidden on the form. Read only this sheet. Empty = every sheet with a header row (board lists often hold one sheet per mandi).

## `dateOrder` (type: `string`):

API only — hidden on the form. How to read <code>03/04/2026</code>-style dates: <code>auto</code> (default, day first unless a date proves otherwise), <code>DMY</code>, <code>MDY</code> or <code>YMD</code>.

## `fileState` (type: `string`):

API only — hidden on the form (the form keeps 25 fields); the README input table names it. For a list (Excel, CSV or text PDF) that names its state only in the title — one office's RTI reply: that state (name or code), filled in where a row has none, so the filters and the score see it.

## `fileMandi` (type: `string`):

API only — hidden on the form (the form keeps 25 fields); the README input table names it. For a list (Excel, CSV or text PDF) that names its mandi only in the title — one office's RTI reply: that mandi, filled in where a row has none, so the filters and the score see it.

## `fileDistrict` (type: `string`):

API only — hidden on the form (the form keeps 25 fields); the README input table names it. For a list (Excel, CSV or text PDF) that names its district only in the title — one office's RTI reply: that district, filled in where a row has none, so the filters and the score see it.

## `outputLanguage` (type: `string`):

The language the AI writes the pitch (also typed into the WhatsApp link), the question to ask and the next step in — for field staff who call the trader at the yard. Firm names, mandis and commodity words stay as published; the other fields stay in English. AI on only.

## `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. <b>My own key</b> — your Gemini key: measured ≈ 1.0–31.4 s per trader with a free google:gemini-3.5-flash-lite key (1.0 s 2026-11-24, 31.4 s 2026-11-25), so 50 traders need a ≈ 1750 s timeout (sized from the slowest); OpenAI, Anthropic and Groq keys are accepted but untested. On a free-tier key expect 11–16 AI checks per run (measured 2026-11-24/25: every trader of those runs); a large backfill can hit its rate limit, and the traders it skips keep their rule score; a paid Groq / Gemini key (billing on) assesses every trader (as many as the run's time limit fits).

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

API only — hidden on the form. 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 traders 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 traders as JSON. After every run with at least one new trader, 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>.

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

After every run with new traders, the digest (top 10 with their licence and mandi) is e-mailed here. Sent by Apify's send-mail Actor, so it needs a plan that runs Store Actors; on any plan use a Slack / Teams / Discord webhook (Send alerts to). Never sent for the free demo.

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

On: a trader (licence number + mandi) already delivered in an earlier run is not delivered or charged again — upload next quarter's RTI copy and pay only for new licensees. <b>Switched on by itself</b> in the task a run saves for scheduling, on scheduled runs and whenever an e-mail or alert destination is set (untick it there to get the whole list each time). Adding or removing a commodity or a mandi keeps the memory; changing the states, licence types, target flags or the source mode starts a new one; <code>dedupeStoreName</code> names a separate memory. Off (default for a one-off run): every run returns the whole cleaned list.

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

API only — hidden on the form. How long a delivered trader stays remembered. 0 = never deliver or charge it again. A number of days lets a trader that comes back on a later copy reach you again after that many days — charged again as a new trader. Adding or removing a commodity or a mandi keeps the memory; changing the states, licence types, target flags or the source mode starts a new one; set <code>dedupeStoreName</code> to keep one memory per client.

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

API only — hidden on the form. Optional. Type a name (e.g. <code>apmc-traders-ai-seen-log</code>) and every run appends its new traders 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.

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

<code>{}</code> over the API runs the free demo — nothing charged; any link in <code>fileUrls</code> runs your list. <b>files</b> — your list files or a pasted table (any plan). <b>list</b> — licensee rows pasted as JSON into <i>Licensee rows</i> (the free sample is prefilled). <b>dataset</b> — an Apify dataset of licensee rows. The mode you choose runs as chosen; only the untouched sample next to a file link or a pasted table on the Console form switches to your files.

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

API only — hidden on the form. On (default, Console runs only): a file link, a pasted table or a store typed next to the untouched sample rows switches the run to your files (<code>OUTPUT.switchedToLive</code> names the field). Off: the mode you send is the mode that runs. Over the API, a schedule or a task the <code>sourceMode</code> you send always decides.

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

API only — hidden on the form. Off (default): a run whose files could all not be read ends with 0 rows and <code>OUTPUT.ok: false</code> (the refused files listed). On: the run ends FAILED with the same message, so a schedule's or an API pipeline's failed-run alert fires.

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

Only for <b>dataset</b> mode: a dataset whose items are licensee rows (an earlier run of this Actor, or your own import) — read through the same column mapping.

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

Only for <b>list</b> mode. Licensee rows as JSON objects, keyed by the headers of your list in any of the six languages (README → List-mode rows). At least a firm name or a licence number and a mandi, district or state. The prefill is a free, fictional sample.

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

API only — hidden on the form. Upper bound on how many licensees are scored in one run. Default: all (200,000).

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

API only — hidden on the form. Qualified traders 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`):

API only — hidden on the form. 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 trader the moment it is ready. Higher = one POST per N traders.

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

API only — hidden on the form. 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: Adding or removing a commodity or a mandi keeps the memory; changing the states, licence types, target flags or the source mode starts a new one. Rewording <code>goalDescription</code> keeps it too. Running it for several clients on one account, type one name per client.

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

API only — an alias of <code>sendAlertsTo</code> (prefer it: one field takes every service), hidden on the form. Slack incoming-webhook URL for the digest.

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

API only — an alias of <code>sendAlertsTo</code> (prefer it: one field takes every service), hidden on the form. Discord channel webhook URL for the digest.

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

API only — an alias of <code>sendAlertsTo</code> (prefer it: one field takes every service), hidden on the form. Teams Workflows webhook URL for the digest.

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

API only — an alias of <code>sendAlertsTo</code> (prefer it: one field takes every service), hidden on the form. Google Chat space webhook URL for the digest.

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

API only — an alias of <code>sendAlertsTo</code> (prefer it: one field takes every service), hidden on the form. The bot's sendMessage link with its chat_id.

## Actor input object example

```json
{
  "preset": "custom",
  "minScore": 0,
  "maxQualified": 500,
  "maxDiscoveryChargeUsd": 5,
  "enableAi": true,
  "commodityMatch": "exact",
  "minValidityDays": 0,
  "includeExpired": false,
  "expiringWithinDays": 90,
  "includeContacts": false,
  "requireEmail": false,
  "recordKeys": [],
  "dateOrder": "auto",
  "outputLanguage": "en",
  "llmProvider": "apify",
  "aiCandidateMultiplier": 2,
  "dedupeAcrossRuns": false,
  "dedupeTtlDays": 0,
  "historyDatasetName": "",
  "sourceMode": "list",
  "autoSwitchToLive": true,
  "failOnSourceError": false,
  "itemsList": [
    {
      "name": "Byadgi Kempu Menasu Traders",
      "Name of the Firm": "Byadgi Kempu Menasu Traders",
      "Lic No": "BYD/TRD/1456",
      "Licence Category": "Trader",
      "APMC / Market Yard": "Byadgi APMC",
      "Jilla": "Haveri",
      "State": "Karnataka",
      "Commodities": "Dry Chilli",
      "Valid Upto": "31-03-2027",
      "Aadhar No": "",
      "PAN No": "",
      "IFSC": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv"
    },
    {
      "name": "Hubli Varada Commission Agents",
      "Name of the Firm": "Hubli Varada Commission Agents",
      "Lic No": "HBL/CA/0789",
      "Licence Category": "Commission Agent",
      "APMC / Market Yard": "Hubballi (Amargol) Market Yard",
      "Jilla": "Dharwad",
      "State": "Karnataka",
      "Commodities": "Cotton, Groundnut, Dry Chilli",
      "Valid Upto": "30-09-2026",
      "Aadhar No": "",
      "PAN No": "",
      "IFSC": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv"
    },
    {
      "name": "Byadgi Kempu Menasu Traders",
      "Name of the Firm": "BYADGI KEMPU MENASU TRADERS",
      "Lic No": "BYD/TRD/ 1456",
      "Licence Category": "Traders",
      "APMC / Market Yard": "Byadgi",
      "Jilla": "Haveri",
      "State": "KA",
      "Commodities": "Chilli",
      "Valid Upto": "31-03-2027",
      "Aadhar No": "",
      "PAN No": "",
      "IFSC": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv"
    },
    {
      "name": "Indur Pasupu Traders",
      "Name of the Firm": "Indur Pasupu Traders",
      "Lic No": "NZB/T/2023/331",
      "Licence Category": "Trader",
      "APMC / Market Yard": "Nizamabad",
      "Jilla": "Nizamabad",
      "State": "Telangana",
      "Commodities": "Turmeric (Pasupu), Maize",
      "Valid Upto": "31/12/2027",
      "Email": "sales@indur-pasupu.example.com",
      "Aadhar No": "",
      "PAN No": "",
      "IFSC": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv"
    },
    {
      "name": "Kakatiya Mirapa Agencies",
      "Name of the Firm": "Kakatiya Mirapa Agencies",
      "Lic No": "WGL/CA/2022/120",
      "Licence Category": "Commission Agent",
      "APMC / Market Yard": "Enumamula Market Yard, Warangal",
      "Jilla": "Hanumakonda",
      "State": "Telangana",
      "Commodities": "Chillies",
      "Valid Upto": "15-02-2027",
      "Aadhar No": "",
      "PAN No": "",
      "IFSC": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv"
    },
    {
      "name": "Doaba Arhti House",
      "Name of the Firm": "Doaba Arhti House",
      "Lic No": "KHN/A/2020/77",
      "Licence Category": "Arhtiya",
      "APMC / Market Yard": "Khanna Mandi",
      "Jilla": "Ludhiana",
      "State": "Punjab",
      "Commodities": "Wheat, Paddy",
      "Valid Upto": "31-03-2027",
      "Aadhar No": "",
      "PAN No": "",
      "IFSC": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv"
    },
    {
      "name": "Satluj Grain Traders",
      "Name of the Firm": "Satluj Grain Traders",
      "Licence Category": "Trader",
      "APMC / Market Yard": "Khanna",
      "State": "Punjab",
      "Commodities": "Wheat",
      "Aadhar No": "",
      "PAN No": "",
      "IFSC": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv"
    },
    {
      "Lic No": "KHN/H/2021/15",
      "Licence Category": "Palledar",
      "APMC / Market Yard": "Khanna",
      "Jilla": "Ludhiana",
      "State": "Punjab",
      "Valid Upto": "31-03-2027",
      "Aadhar No": "",
      "PAN No": "",
      "IFSC": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv"
    },
    {
      "name": "क्षितिज कांदा ट्रेडर्स",
      "परवाना क्रमांक": "LSL/T/2019/0142",
      "व्यापाऱ्याचे / फर्मचे नाव": "क्षितिज कांदा ट्रेडर्स",
      "परवाना प्रकार": "व्यापारी",
      "बाजार समिती": "लासलगाव",
      "जिल्हा": "नाशिक",
      "शेतमाल": "कांदा",
      "परवाना दिनांक": "01/04/2019",
      "वैधता दिनांक": "31/03/2027",
      "पत्ता": "गाळा क्र. 14, नमुना मार्केट यार्ड, लासलगाव",
      "पॅन क्रमांक": "",
      "आधार क्रमांक": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
    },
    {
      "name": "Pratham Godavari Commission Agency",
      "परवाना क्रमांक": "LSL/CA/2021/0033",
      "व्यापाऱ्याचे / फर्मचे नाव": "Pratham Godavari Commission Agency",
      "परवाना प्रकार": "अडते",
      "बाजार समिती": "लासलगाव",
      "जिल्हा": "नाशिक",
      "शेतमाल": "कांदा, बटाटा",
      "परवाना दिनांक": "15/06/2021",
      "वैधता दिनांक": "14/06/2026",
      "पत्ता": "गाळा क्र. 3, नमुना मार्केट यार्ड, लासलगाव",
      "पॅन क्रमांक": "",
      "आधार क्रमांक": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
    },
    {
      "name": "सह्याद्री पठार ॲग्रो",
      "परवाना क्रमांक": "LSL/T/2020/0219",
      "व्यापाऱ्याचे / फर्मचे नाव": "सह्याद्री पठार ॲग्रो",
      "परवाना प्रकार": "व्यापारी",
      "बाजार समिती": "लासलगाव बाजार समिती",
      "जिल्हा": "नाशिक",
      "शेतमाल": "कांदा, डाळिंब",
      "परवाना दिनांक": "10/01/2020",
      "वैधता दिनांक": "31/12/2026",
      "पॅन क्रमांक": "",
      "आधार क्रमांक": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
    },
    {
      "name": "Manjira Valley Pulses",
      "परवाना क्रमांक": "LTR/T/2022/1187",
      "व्यापाऱ्याचे / फर्मचे नाव": "Manjira Valley Pulses",
      "परवाना प्रकार": "व्यापारी",
      "बाजार समिती": "लातूर",
      "जिल्हा": "लातूर",
      "शेतमाल": "सोयाबीन, तूर",
      "परवाना दिनांक": "01/04/2022",
      "वैधता दिनांक": "31/03/2028",
      "पत्ता": "नमुना पेठ, लातूर",
      "पॅन क्रमांक": "",
      "आधार क्रमांक": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
    },
    {
      "name": "Terna Dal Udyog",
      "परवाना क्रमांक": "LTR/P/2023/0045",
      "व्यापाऱ्याचे / फर्मचे नाव": "Terna Dal Udyog",
      "परवाना प्रकार": "प्रक्रियादार",
      "बाजार समिती": "लातूर",
      "जिल्हा": "लातूर",
      "शेतमाल": "तूर, हरभरा",
      "परवाना दिनांक": "01/04/2023",
      "वैधता दिनांक": "31/03/2029",
      "पॅन क्रमांक": "",
      "आधार क्रमांक": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
    },
    {
      "name": "Manjira Valley Pulses",
      "परवाना क्रमांक": "LTR/T/२०२२/ ११८७",
      "व्यापाऱ्याचे / फर्मचे नाव": "Manjira Valley Pulses ",
      "परवाना प्रकार": "व्यापारी",
      "बाजार समिती": "लातूर",
      "जिल्हा": "लातूर",
      "शेतमाल": "सोयाबीन",
      "परवाना दिनांक": "01/04/2022",
      "वैधता दिनांक": "31/03/2028",
      "पॅन क्रमांक": "",
      "आधार क्रमांक": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
    },
    {
      "name": "Krishna Kath Haldi Traders",
      "परवाना क्रमांक": "SNG/T/2018/0560",
      "व्यापाऱ्याचे / फर्मचे नाव": "Krishna Kath Haldi Traders",
      "परवाना प्रकार": "व्यापारी",
      "बाजार समिती": "सांगली",
      "जिल्हा": "सांगली",
      "शेतमाल": "हळद",
      "परवाना दिनांक": "01/04/2018",
      "वैधता दिनांक": "31/03/2026",
      "पॅन क्रमांक": "",
      "आधार क्रमांक": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
    },
    {
      "name": "Warna Spice Exports",
      "परवाना क्रमांक": "SNG/EX/2024/0012",
      "व्यापाऱ्याचे / फर्मचे नाव": "Warna Spice Exports",
      "परवाना प्रकार": "निर्यातदार",
      "बाजार समिती": "सांगली",
      "जिल्हा": "सांगली",
      "शेतमाल": "हळद, बेदाणा",
      "परवाना दिनांक": "01/08/2024",
      "वैधता दिनांक": "31/07/2029",
      "पत्ता": "नमुना औद्योगिक वसाहत, सांगली",
      "पॅन क्रमांक": "",
      "आधार क्रमांक": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
    },
    {
      "परवाना क्रमांक": "SNG/H/2020/0911",
      "परवाना प्रकार": "हमाल",
      "बाजार समिती": "सांगली",
      "जिल्हा": "सांगली",
      "परवाना दिनांक": "01/04/2020",
      "वैधता दिनांक": "31/03/2027",
      "पॅन क्रमांक": "",
      "आधार क्रमांक": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
    },
    {
      "name": "Pratham Godavari Commission Agency",
      "व्यापाऱ्याचे / फर्मचे नाव": "M/s. Pratham Godavari Commision Agency",
      "परवाना प्रकार": "अडते",
      "बाजार समिती": "लासलगाव",
      "जिल्हा": "नाशिक",
      "शेतमाल": "कांदा",
      "पॅन क्रमांक": "",
      "आधार क्रमांक": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
    },
    {
      "name": "Narmada Tat Soya Traders",
      "फर्म का नाम": "Narmada Tat Soya Traders",
      "अनुज्ञप्ति क्रमांक": "IND/2023/T/0451",
      "अनुज्ञप्ति का प्रकार": "व्यापारी",
      "मंडी समिति": "इंदौर",
      "जिला": "इंदौर",
      "जिंस": "सोयाबीन, गेहूं",
      "वैधता": "2026-27",
      "पता": "नमूना अनाज मंडी, इंदौर",
      "आधार संख्या": "",
      "बैंक खाता संख्या": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/hindi-board-rti-copy.xlsx"
    },
    {
      "name": "मालवा किरण आढ़त",
      "फर्म का नाम": "मालवा किरण आढ़त",
      "अनुज्ञप्ति क्रमांक": "IND/2022/CA/0088",
      "अनुज्ञप्ति का प्रकार": "आढ़तिया",
      "मंडी समिति": "इंदौर",
      "जिला": "इंदौर",
      "जिंस": "गेहूं, चना",
      "वैधता": "31.03.2025",
      "आधार संख्या": "",
      "बैंक खाता संख्या": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/hindi-board-rti-copy.xlsx"
    },
    {
      "name": "Devgarh Food Processors",
      "फर्म का नाम": "Devgarh Food Processors",
      "अनुज्ञप्ति क्रमांक": "IND/2024/P/0019",
      "अनुज्ञप्ति का प्रकार": "प्रसंस्करणकर्ता",
      "मंडी समिति": "कृषि उपज मंडी समिति इंदौर",
      "जिला": "इंदौर",
      "जिंस": "गेहूं",
      "वैधता": "आजीवन",
      "आधार संख्या": "",
      "बैंक खाता संख्या": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/hindi-board-rti-copy.xlsx"
    },
    {
      "अनुज्ञप्ति क्रमांक": "IND/2021/W/0302",
      "अनुज्ञप्ति का प्रकार": "तुलावटी",
      "मंडी समिति": "इंदौर",
      "जिला": "इंदौर",
      "वैधता": "31.03.2027",
      "आधार संख्या": "",
      "बैंक खाता संख्या": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/hindi-board-rti-copy.xlsx"
    },
    {
      "name": "Warna Spice Exports",
      "Name of the Firm": "Warna Spice Exports",
      "Lic No": "SNG/EX/2024/0012",
      "Licence Category": "Exporter",
      "APMC / Market Yard": "Tasgaon",
      "Jilla": "Sangli",
      "State": "Maharashtra",
      "Commodities": "Raisin",
      "Valid Upto": "31-07-2029",
      "Aadhar No": "",
      "PAN No": "",
      "IFSC": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv"
    },
    {
      "name": "नमुना कृषी ट्रेडर्स",
      "परवाना क्रमांक": "NMN/T/2025/0007",
      "व्यापाऱ्याचे / फर्मचे नाव": "नमुना कृषी ट्रेडर्स",
      "परवाना प्रकार": "व्यापारी",
      "बाजार समिती": "नमुनागाव",
      "जिल्हा": "नाशिक",
      "शेतमाल": "कांदा, टोमॅटो",
      "परवाना दिनांक": "01/04/2025",
      "वैधता दिनांक": "31/03/2028",
      "पॅन क्रमांक": "",
      "आधार क्रमांक": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
    }
  ],
  "webhookBatchSize": 1,
  "dedupeStoreName": "apmc-traders-ai-seen"
}
```

# Actor output Schema

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

All qualified traders as JSON, best-scoring first.

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

The same traders 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 traders 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 = {
    "maxQualified": 500,
    "maxDiscoveryChargeUsd": 5,
    "sourceMode": "list",
    "itemsList": [
        {
            "name": "Byadgi Kempu Menasu Traders",
            "Name of the Firm": "Byadgi Kempu Menasu Traders",
            "Lic No": "BYD/TRD/1456",
            "Licence Category": "Trader",
            "APMC / Market Yard": "Byadgi APMC",
            "Jilla": "Haveri",
            "State": "Karnataka",
            "Commodities": "Dry Chilli",
            "Valid Upto": "31-03-2027",
            "Aadhar No": "",
            "PAN No": "",
            "IFSC": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv"
        },
        {
            "name": "Hubli Varada Commission Agents",
            "Name of the Firm": "Hubli Varada Commission Agents",
            "Lic No": "HBL/CA/0789",
            "Licence Category": "Commission Agent",
            "APMC / Market Yard": "Hubballi (Amargol) Market Yard",
            "Jilla": "Dharwad",
            "State": "Karnataka",
            "Commodities": "Cotton, Groundnut, Dry Chilli",
            "Valid Upto": "30-09-2026",
            "Aadhar No": "",
            "PAN No": "",
            "IFSC": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv"
        },
        {
            "name": "Byadgi Kempu Menasu Traders",
            "Name of the Firm": "BYADGI KEMPU MENASU TRADERS",
            "Lic No": "BYD/TRD/ 1456",
            "Licence Category": "Traders",
            "APMC / Market Yard": "Byadgi",
            "Jilla": "Haveri",
            "State": "KA",
            "Commodities": "Chilli",
            "Valid Upto": "31-03-2027",
            "Aadhar No": "",
            "PAN No": "",
            "IFSC": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv"
        },
        {
            "name": "Indur Pasupu Traders",
            "Name of the Firm": "Indur Pasupu Traders",
            "Lic No": "NZB/T/2023/331",
            "Licence Category": "Trader",
            "APMC / Market Yard": "Nizamabad",
            "Jilla": "Nizamabad",
            "State": "Telangana",
            "Commodities": "Turmeric (Pasupu), Maize",
            "Valid Upto": "31/12/2027",
            "Email": "sales@indur-pasupu.example.com",
            "Aadhar No": "",
            "PAN No": "",
            "IFSC": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv"
        },
        {
            "name": "Kakatiya Mirapa Agencies",
            "Name of the Firm": "Kakatiya Mirapa Agencies",
            "Lic No": "WGL/CA/2022/120",
            "Licence Category": "Commission Agent",
            "APMC / Market Yard": "Enumamula Market Yard, Warangal",
            "Jilla": "Hanumakonda",
            "State": "Telangana",
            "Commodities": "Chillies",
            "Valid Upto": "15-02-2027",
            "Aadhar No": "",
            "PAN No": "",
            "IFSC": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv"
        },
        {
            "name": "Doaba Arhti House",
            "Name of the Firm": "Doaba Arhti House",
            "Lic No": "KHN/A/2020/77",
            "Licence Category": "Arhtiya",
            "APMC / Market Yard": "Khanna Mandi",
            "Jilla": "Ludhiana",
            "State": "Punjab",
            "Commodities": "Wheat, Paddy",
            "Valid Upto": "31-03-2027",
            "Aadhar No": "",
            "PAN No": "",
            "IFSC": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv"
        },
        {
            "name": "Satluj Grain Traders",
            "Name of the Firm": "Satluj Grain Traders",
            "Licence Category": "Trader",
            "APMC / Market Yard": "Khanna",
            "State": "Punjab",
            "Commodities": "Wheat",
            "Aadhar No": "",
            "PAN No": "",
            "IFSC": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv"
        },
        {
            "Lic No": "KHN/H/2021/15",
            "Licence Category": "Palledar",
            "APMC / Market Yard": "Khanna",
            "Jilla": "Ludhiana",
            "State": "Punjab",
            "Valid Upto": "31-03-2027",
            "Aadhar No": "",
            "PAN No": "",
            "IFSC": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv"
        },
        {
            "name": "क्षितिज कांदा ट्रेडर्स",
            "परवाना क्रमांक": "LSL/T/2019/0142",
            "व्यापाऱ्याचे / फर्मचे नाव": "क्षितिज कांदा ट्रेडर्स",
            "परवाना प्रकार": "व्यापारी",
            "बाजार समिती": "लासलगाव",
            "जिल्हा": "नाशिक",
            "शेतमाल": "कांदा",
            "परवाना दिनांक": "01/04/2019",
            "वैधता दिनांक": "31/03/2027",
            "पत्ता": "गाळा क्र. 14, नमुना मार्केट यार्ड, लासलगाव",
            "पॅन क्रमांक": "",
            "आधार क्रमांक": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
        },
        {
            "name": "Pratham Godavari Commission Agency",
            "परवाना क्रमांक": "LSL/CA/2021/0033",
            "व्यापाऱ्याचे / फर्मचे नाव": "Pratham Godavari Commission Agency",
            "परवाना प्रकार": "अडते",
            "बाजार समिती": "लासलगाव",
            "जिल्हा": "नाशिक",
            "शेतमाल": "कांदा, बटाटा",
            "परवाना दिनांक": "15/06/2021",
            "वैधता दिनांक": "14/06/2026",
            "पत्ता": "गाळा क्र. 3, नमुना मार्केट यार्ड, लासलगाव",
            "पॅन क्रमांक": "",
            "आधार क्रमांक": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
        },
        {
            "name": "सह्याद्री पठार ॲग्रो",
            "परवाना क्रमांक": "LSL/T/2020/0219",
            "व्यापाऱ्याचे / फर्मचे नाव": "सह्याद्री पठार ॲग्रो",
            "परवाना प्रकार": "व्यापारी",
            "बाजार समिती": "लासलगाव बाजार समिती",
            "जिल्हा": "नाशिक",
            "शेतमाल": "कांदा, डाळिंब",
            "परवाना दिनांक": "10/01/2020",
            "वैधता दिनांक": "31/12/2026",
            "पॅन क्रमांक": "",
            "आधार क्रमांक": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
        },
        {
            "name": "Manjira Valley Pulses",
            "परवाना क्रमांक": "LTR/T/2022/1187",
            "व्यापाऱ्याचे / फर्मचे नाव": "Manjira Valley Pulses",
            "परवाना प्रकार": "व्यापारी",
            "बाजार समिती": "लातूर",
            "जिल्हा": "लातूर",
            "शेतमाल": "सोयाबीन, तूर",
            "परवाना दिनांक": "01/04/2022",
            "वैधता दिनांक": "31/03/2028",
            "पत्ता": "नमुना पेठ, लातूर",
            "पॅन क्रमांक": "",
            "आधार क्रमांक": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
        },
        {
            "name": "Terna Dal Udyog",
            "परवाना क्रमांक": "LTR/P/2023/0045",
            "व्यापाऱ्याचे / फर्मचे नाव": "Terna Dal Udyog",
            "परवाना प्रकार": "प्रक्रियादार",
            "बाजार समिती": "लातूर",
            "जिल्हा": "लातूर",
            "शेतमाल": "तूर, हरभरा",
            "परवाना दिनांक": "01/04/2023",
            "वैधता दिनांक": "31/03/2029",
            "पॅन क्रमांक": "",
            "आधार क्रमांक": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
        },
        {
            "name": "Manjira Valley Pulses",
            "परवाना क्रमांक": "LTR/T/२०२२/ ११८७",
            "व्यापाऱ्याचे / फर्मचे नाव": "Manjira Valley Pulses ",
            "परवाना प्रकार": "व्यापारी",
            "बाजार समिती": "लातूर",
            "जिल्हा": "लातूर",
            "शेतमाल": "सोयाबीन",
            "परवाना दिनांक": "01/04/2022",
            "वैधता दिनांक": "31/03/2028",
            "पॅन क्रमांक": "",
            "आधार क्रमांक": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
        },
        {
            "name": "Krishna Kath Haldi Traders",
            "परवाना क्रमांक": "SNG/T/2018/0560",
            "व्यापाऱ्याचे / फर्मचे नाव": "Krishna Kath Haldi Traders",
            "परवाना प्रकार": "व्यापारी",
            "बाजार समिती": "सांगली",
            "जिल्हा": "सांगली",
            "शेतमाल": "हळद",
            "परवाना दिनांक": "01/04/2018",
            "वैधता दिनांक": "31/03/2026",
            "पॅन क्रमांक": "",
            "आधार क्रमांक": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
        },
        {
            "name": "Warna Spice Exports",
            "परवाना क्रमांक": "SNG/EX/2024/0012",
            "व्यापाऱ्याचे / फर्मचे नाव": "Warna Spice Exports",
            "परवाना प्रकार": "निर्यातदार",
            "बाजार समिती": "सांगली",
            "जिल्हा": "सांगली",
            "शेतमाल": "हळद, बेदाणा",
            "परवाना दिनांक": "01/08/2024",
            "वैधता दिनांक": "31/07/2029",
            "पत्ता": "नमुना औद्योगिक वसाहत, सांगली",
            "पॅन क्रमांक": "",
            "आधार क्रमांक": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
        },
        {
            "परवाना क्रमांक": "SNG/H/2020/0911",
            "परवाना प्रकार": "हमाल",
            "बाजार समिती": "सांगली",
            "जिल्हा": "सांगली",
            "परवाना दिनांक": "01/04/2020",
            "वैधता दिनांक": "31/03/2027",
            "पॅन क्रमांक": "",
            "आधार क्रमांक": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
        },
        {
            "name": "Pratham Godavari Commission Agency",
            "व्यापाऱ्याचे / फर्मचे नाव": "M/s. Pratham Godavari Commision Agency",
            "परवाना प्रकार": "अडते",
            "बाजार समिती": "लासलगाव",
            "जिल्हा": "नाशिक",
            "शेतमाल": "कांदा",
            "पॅन क्रमांक": "",
            "आधार क्रमांक": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
        },
        {
            "name": "Narmada Tat Soya Traders",
            "फर्म का नाम": "Narmada Tat Soya Traders",
            "अनुज्ञप्ति क्रमांक": "IND/2023/T/0451",
            "अनुज्ञप्ति का प्रकार": "व्यापारी",
            "मंडी समिति": "इंदौर",
            "जिला": "इंदौर",
            "जिंस": "सोयाबीन, गेहूं",
            "वैधता": "2026-27",
            "पता": "नमूना अनाज मंडी, इंदौर",
            "आधार संख्या": "",
            "बैंक खाता संख्या": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/hindi-board-rti-copy.xlsx"
        },
        {
            "name": "मालवा किरण आढ़त",
            "फर्म का नाम": "मालवा किरण आढ़त",
            "अनुज्ञप्ति क्रमांक": "IND/2022/CA/0088",
            "अनुज्ञप्ति का प्रकार": "आढ़तिया",
            "मंडी समिति": "इंदौर",
            "जिला": "इंदौर",
            "जिंस": "गेहूं, चना",
            "वैधता": "31.03.2025",
            "आधार संख्या": "",
            "बैंक खाता संख्या": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/hindi-board-rti-copy.xlsx"
        },
        {
            "name": "Devgarh Food Processors",
            "फर्म का नाम": "Devgarh Food Processors",
            "अनुज्ञप्ति क्रमांक": "IND/2024/P/0019",
            "अनुज्ञप्ति का प्रकार": "प्रसंस्करणकर्ता",
            "मंडी समिति": "कृषि उपज मंडी समिति इंदौर",
            "जिला": "इंदौर",
            "जिंस": "गेहूं",
            "वैधता": "आजीवन",
            "आधार संख्या": "",
            "बैंक खाता संख्या": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/hindi-board-rti-copy.xlsx"
        },
        {
            "अनुज्ञप्ति क्रमांक": "IND/2021/W/0302",
            "अनुज्ञप्ति का प्रकार": "तुलावटी",
            "मंडी समिति": "इंदौर",
            "जिला": "इंदौर",
            "वैधता": "31.03.2027",
            "आधार संख्या": "",
            "बैंक खाता संख्या": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/hindi-board-rti-copy.xlsx"
        },
        {
            "name": "Warna Spice Exports",
            "Name of the Firm": "Warna Spice Exports",
            "Lic No": "SNG/EX/2024/0012",
            "Licence Category": "Exporter",
            "APMC / Market Yard": "Tasgaon",
            "Jilla": "Sangli",
            "State": "Maharashtra",
            "Commodities": "Raisin",
            "Valid Upto": "31-07-2029",
            "Aadhar No": "",
            "PAN No": "",
            "IFSC": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv"
        },
        {
            "name": "नमुना कृषी ट्रेडर्स",
            "परवाना क्रमांक": "NMN/T/2025/0007",
            "व्यापाऱ्याचे / फर्मचे नाव": "नमुना कृषी ट्रेडर्स",
            "परवाना प्रकार": "व्यापारी",
            "बाजार समिती": "नमुनागाव",
            "जिल्हा": "नाशिक",
            "शेतमाल": "कांदा, टोमॅटो",
            "परवाना दिनांक": "01/04/2025",
            "वैधता दिनांक": "31/03/2028",
            "पॅन क्रमांक": "",
            "आधार क्रमांक": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("rich_minds/apmc-traders-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 = {
    "maxQualified": 500,
    "maxDiscoveryChargeUsd": 5,
    "sourceMode": "list",
    "itemsList": [
        {
            "name": "Byadgi Kempu Menasu Traders",
            "Name of the Firm": "Byadgi Kempu Menasu Traders",
            "Lic No": "BYD/TRD/1456",
            "Licence Category": "Trader",
            "APMC / Market Yard": "Byadgi APMC",
            "Jilla": "Haveri",
            "State": "Karnataka",
            "Commodities": "Dry Chilli",
            "Valid Upto": "31-03-2027",
            "Aadhar No": "",
            "PAN No": "",
            "IFSC": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv",
        },
        {
            "name": "Hubli Varada Commission Agents",
            "Name of the Firm": "Hubli Varada Commission Agents",
            "Lic No": "HBL/CA/0789",
            "Licence Category": "Commission Agent",
            "APMC / Market Yard": "Hubballi (Amargol) Market Yard",
            "Jilla": "Dharwad",
            "State": "Karnataka",
            "Commodities": "Cotton, Groundnut, Dry Chilli",
            "Valid Upto": "30-09-2026",
            "Aadhar No": "",
            "PAN No": "",
            "IFSC": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv",
        },
        {
            "name": "Byadgi Kempu Menasu Traders",
            "Name of the Firm": "BYADGI KEMPU MENASU TRADERS",
            "Lic No": "BYD/TRD/ 1456",
            "Licence Category": "Traders",
            "APMC / Market Yard": "Byadgi",
            "Jilla": "Haveri",
            "State": "KA",
            "Commodities": "Chilli",
            "Valid Upto": "31-03-2027",
            "Aadhar No": "",
            "PAN No": "",
            "IFSC": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv",
        },
        {
            "name": "Indur Pasupu Traders",
            "Name of the Firm": "Indur Pasupu Traders",
            "Lic No": "NZB/T/2023/331",
            "Licence Category": "Trader",
            "APMC / Market Yard": "Nizamabad",
            "Jilla": "Nizamabad",
            "State": "Telangana",
            "Commodities": "Turmeric (Pasupu), Maize",
            "Valid Upto": "31/12/2027",
            "Email": "sales@indur-pasupu.example.com",
            "Aadhar No": "",
            "PAN No": "",
            "IFSC": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv",
        },
        {
            "name": "Kakatiya Mirapa Agencies",
            "Name of the Firm": "Kakatiya Mirapa Agencies",
            "Lic No": "WGL/CA/2022/120",
            "Licence Category": "Commission Agent",
            "APMC / Market Yard": "Enumamula Market Yard, Warangal",
            "Jilla": "Hanumakonda",
            "State": "Telangana",
            "Commodities": "Chillies",
            "Valid Upto": "15-02-2027",
            "Aadhar No": "",
            "PAN No": "",
            "IFSC": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv",
        },
        {
            "name": "Doaba Arhti House",
            "Name of the Firm": "Doaba Arhti House",
            "Lic No": "KHN/A/2020/77",
            "Licence Category": "Arhtiya",
            "APMC / Market Yard": "Khanna Mandi",
            "Jilla": "Ludhiana",
            "State": "Punjab",
            "Commodities": "Wheat, Paddy",
            "Valid Upto": "31-03-2027",
            "Aadhar No": "",
            "PAN No": "",
            "IFSC": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv",
        },
        {
            "name": "Satluj Grain Traders",
            "Name of the Firm": "Satluj Grain Traders",
            "Licence Category": "Trader",
            "APMC / Market Yard": "Khanna",
            "State": "Punjab",
            "Commodities": "Wheat",
            "Aadhar No": "",
            "PAN No": "",
            "IFSC": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv",
        },
        {
            "Lic No": "KHN/H/2021/15",
            "Licence Category": "Palledar",
            "APMC / Market Yard": "Khanna",
            "Jilla": "Ludhiana",
            "State": "Punjab",
            "Valid Upto": "31-03-2027",
            "Aadhar No": "",
            "PAN No": "",
            "IFSC": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv",
        },
        {
            "name": "क्षितिज कांदा ट्रेडर्स",
            "परवाना क्रमांक": "LSL/T/2019/0142",
            "व्यापाऱ्याचे / फर्मचे नाव": "क्षितिज कांदा ट्रेडर्स",
            "परवाना प्रकार": "व्यापारी",
            "बाजार समिती": "लासलगाव",
            "जिल्हा": "नाशिक",
            "शेतमाल": "कांदा",
            "परवाना दिनांक": "01/04/2019",
            "वैधता दिनांक": "31/03/2027",
            "पत्ता": "गाळा क्र. 14, नमुना मार्केट यार्ड, लासलगाव",
            "पॅन क्रमांक": "",
            "आधार क्रमांक": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv",
        },
        {
            "name": "Pratham Godavari Commission Agency",
            "परवाना क्रमांक": "LSL/CA/2021/0033",
            "व्यापाऱ्याचे / फर्मचे नाव": "Pratham Godavari Commission Agency",
            "परवाना प्रकार": "अडते",
            "बाजार समिती": "लासलगाव",
            "जिल्हा": "नाशिक",
            "शेतमाल": "कांदा, बटाटा",
            "परवाना दिनांक": "15/06/2021",
            "वैधता दिनांक": "14/06/2026",
            "पत्ता": "गाळा क्र. 3, नमुना मार्केट यार्ड, लासलगाव",
            "पॅन क्रमांक": "",
            "आधार क्रमांक": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv",
        },
        {
            "name": "सह्याद्री पठार ॲग्रो",
            "परवाना क्रमांक": "LSL/T/2020/0219",
            "व्यापाऱ्याचे / फर्मचे नाव": "सह्याद्री पठार ॲग्रो",
            "परवाना प्रकार": "व्यापारी",
            "बाजार समिती": "लासलगाव बाजार समिती",
            "जिल्हा": "नाशिक",
            "शेतमाल": "कांदा, डाळिंब",
            "परवाना दिनांक": "10/01/2020",
            "वैधता दिनांक": "31/12/2026",
            "पॅन क्रमांक": "",
            "आधार क्रमांक": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv",
        },
        {
            "name": "Manjira Valley Pulses",
            "परवाना क्रमांक": "LTR/T/2022/1187",
            "व्यापाऱ्याचे / फर्मचे नाव": "Manjira Valley Pulses",
            "परवाना प्रकार": "व्यापारी",
            "बाजार समिती": "लातूर",
            "जिल्हा": "लातूर",
            "शेतमाल": "सोयाबीन, तूर",
            "परवाना दिनांक": "01/04/2022",
            "वैधता दिनांक": "31/03/2028",
            "पत्ता": "नमुना पेठ, लातूर",
            "पॅन क्रमांक": "",
            "आधार क्रमांक": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv",
        },
        {
            "name": "Terna Dal Udyog",
            "परवाना क्रमांक": "LTR/P/2023/0045",
            "व्यापाऱ्याचे / फर्मचे नाव": "Terna Dal Udyog",
            "परवाना प्रकार": "प्रक्रियादार",
            "बाजार समिती": "लातूर",
            "जिल्हा": "लातूर",
            "शेतमाल": "तूर, हरभरा",
            "परवाना दिनांक": "01/04/2023",
            "वैधता दिनांक": "31/03/2029",
            "पॅन क्रमांक": "",
            "आधार क्रमांक": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv",
        },
        {
            "name": "Manjira Valley Pulses",
            "परवाना क्रमांक": "LTR/T/२०२२/ ११८७",
            "व्यापाऱ्याचे / फर्मचे नाव": "Manjira Valley Pulses ",
            "परवाना प्रकार": "व्यापारी",
            "बाजार समिती": "लातूर",
            "जिल्हा": "लातूर",
            "शेतमाल": "सोयाबीन",
            "परवाना दिनांक": "01/04/2022",
            "वैधता दिनांक": "31/03/2028",
            "पॅन क्रमांक": "",
            "आधार क्रमांक": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv",
        },
        {
            "name": "Krishna Kath Haldi Traders",
            "परवाना क्रमांक": "SNG/T/2018/0560",
            "व्यापाऱ्याचे / फर्मचे नाव": "Krishna Kath Haldi Traders",
            "परवाना प्रकार": "व्यापारी",
            "बाजार समिती": "सांगली",
            "जिल्हा": "सांगली",
            "शेतमाल": "हळद",
            "परवाना दिनांक": "01/04/2018",
            "वैधता दिनांक": "31/03/2026",
            "पॅन क्रमांक": "",
            "आधार क्रमांक": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv",
        },
        {
            "name": "Warna Spice Exports",
            "परवाना क्रमांक": "SNG/EX/2024/0012",
            "व्यापाऱ्याचे / फर्मचे नाव": "Warna Spice Exports",
            "परवाना प्रकार": "निर्यातदार",
            "बाजार समिती": "सांगली",
            "जिल्हा": "सांगली",
            "शेतमाल": "हळद, बेदाणा",
            "परवाना दिनांक": "01/08/2024",
            "वैधता दिनांक": "31/07/2029",
            "पत्ता": "नमुना औद्योगिक वसाहत, सांगली",
            "पॅन क्रमांक": "",
            "आधार क्रमांक": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv",
        },
        {
            "परवाना क्रमांक": "SNG/H/2020/0911",
            "परवाना प्रकार": "हमाल",
            "बाजार समिती": "सांगली",
            "जिल्हा": "सांगली",
            "परवाना दिनांक": "01/04/2020",
            "वैधता दिनांक": "31/03/2027",
            "पॅन क्रमांक": "",
            "आधार क्रमांक": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv",
        },
        {
            "name": "Pratham Godavari Commission Agency",
            "व्यापाऱ्याचे / फर्मचे नाव": "M/s. Pratham Godavari Commision Agency",
            "परवाना प्रकार": "अडते",
            "बाजार समिती": "लासलगाव",
            "जिल्हा": "नाशिक",
            "शेतमाल": "कांदा",
            "पॅन क्रमांक": "",
            "आधार क्रमांक": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv",
        },
        {
            "name": "Narmada Tat Soya Traders",
            "फर्म का नाम": "Narmada Tat Soya Traders",
            "अनुज्ञप्ति क्रमांक": "IND/2023/T/0451",
            "अनुज्ञप्ति का प्रकार": "व्यापारी",
            "मंडी समिति": "इंदौर",
            "जिला": "इंदौर",
            "जिंस": "सोयाबीन, गेहूं",
            "वैधता": "2026-27",
            "पता": "नमूना अनाज मंडी, इंदौर",
            "आधार संख्या": "",
            "बैंक खाता संख्या": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/hindi-board-rti-copy.xlsx",
        },
        {
            "name": "मालवा किरण आढ़त",
            "फर्म का नाम": "मालवा किरण आढ़त",
            "अनुज्ञप्ति क्रमांक": "IND/2022/CA/0088",
            "अनुज्ञप्ति का प्रकार": "आढ़तिया",
            "मंडी समिति": "इंदौर",
            "जिला": "इंदौर",
            "जिंस": "गेहूं, चना",
            "वैधता": "31.03.2025",
            "आधार संख्या": "",
            "बैंक खाता संख्या": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/hindi-board-rti-copy.xlsx",
        },
        {
            "name": "Devgarh Food Processors",
            "फर्म का नाम": "Devgarh Food Processors",
            "अनुज्ञप्ति क्रमांक": "IND/2024/P/0019",
            "अनुज्ञप्ति का प्रकार": "प्रसंस्करणकर्ता",
            "मंडी समिति": "कृषि उपज मंडी समिति इंदौर",
            "जिला": "इंदौर",
            "जिंस": "गेहूं",
            "वैधता": "आजीवन",
            "आधार संख्या": "",
            "बैंक खाता संख्या": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/hindi-board-rti-copy.xlsx",
        },
        {
            "अनुज्ञप्ति क्रमांक": "IND/2021/W/0302",
            "अनुज्ञप्ति का प्रकार": "तुलावटी",
            "मंडी समिति": "इंदौर",
            "जिला": "इंदौर",
            "वैधता": "31.03.2027",
            "आधार संख्या": "",
            "बैंक खाता संख्या": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/hindi-board-rti-copy.xlsx",
        },
        {
            "name": "Warna Spice Exports",
            "Name of the Firm": "Warna Spice Exports",
            "Lic No": "SNG/EX/2024/0012",
            "Licence Category": "Exporter",
            "APMC / Market Yard": "Tasgaon",
            "Jilla": "Sangli",
            "State": "Maharashtra",
            "Commodities": "Raisin",
            "Valid Upto": "31-07-2029",
            "Aadhar No": "",
            "PAN No": "",
            "IFSC": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv",
        },
        {
            "name": "नमुना कृषी ट्रेडर्स",
            "परवाना क्रमांक": "NMN/T/2025/0007",
            "व्यापाऱ्याचे / फर्मचे नाव": "नमुना कृषी ट्रेडर्स",
            "परवाना प्रकार": "व्यापारी",
            "बाजार समिती": "नमुनागाव",
            "जिल्हा": "नाशिक",
            "शेतमाल": "कांदा, टोमॅटो",
            "परवाना दिनांक": "01/04/2025",
            "वैधता दिनांक": "31/03/2028",
            "पॅन क्रमांक": "",
            "आधार क्रमांक": "",
            "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv",
        },
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("rich_minds/apmc-traders-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 '{
  "maxQualified": 500,
  "maxDiscoveryChargeUsd": 5,
  "sourceMode": "list",
  "itemsList": [
    {
      "name": "Byadgi Kempu Menasu Traders",
      "Name of the Firm": "Byadgi Kempu Menasu Traders",
      "Lic No": "BYD/TRD/1456",
      "Licence Category": "Trader",
      "APMC / Market Yard": "Byadgi APMC",
      "Jilla": "Haveri",
      "State": "Karnataka",
      "Commodities": "Dry Chilli",
      "Valid Upto": "31-03-2027",
      "Aadhar No": "",
      "PAN No": "",
      "IFSC": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv"
    },
    {
      "name": "Hubli Varada Commission Agents",
      "Name of the Firm": "Hubli Varada Commission Agents",
      "Lic No": "HBL/CA/0789",
      "Licence Category": "Commission Agent",
      "APMC / Market Yard": "Hubballi (Amargol) Market Yard",
      "Jilla": "Dharwad",
      "State": "Karnataka",
      "Commodities": "Cotton, Groundnut, Dry Chilli",
      "Valid Upto": "30-09-2026",
      "Aadhar No": "",
      "PAN No": "",
      "IFSC": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv"
    },
    {
      "name": "Byadgi Kempu Menasu Traders",
      "Name of the Firm": "BYADGI KEMPU MENASU TRADERS",
      "Lic No": "BYD/TRD/ 1456",
      "Licence Category": "Traders",
      "APMC / Market Yard": "Byadgi",
      "Jilla": "Haveri",
      "State": "KA",
      "Commodities": "Chilli",
      "Valid Upto": "31-03-2027",
      "Aadhar No": "",
      "PAN No": "",
      "IFSC": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv"
    },
    {
      "name": "Indur Pasupu Traders",
      "Name of the Firm": "Indur Pasupu Traders",
      "Lic No": "NZB/T/2023/331",
      "Licence Category": "Trader",
      "APMC / Market Yard": "Nizamabad",
      "Jilla": "Nizamabad",
      "State": "Telangana",
      "Commodities": "Turmeric (Pasupu), Maize",
      "Valid Upto": "31/12/2027",
      "Email": "sales@indur-pasupu.example.com",
      "Aadhar No": "",
      "PAN No": "",
      "IFSC": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv"
    },
    {
      "name": "Kakatiya Mirapa Agencies",
      "Name of the Firm": "Kakatiya Mirapa Agencies",
      "Lic No": "WGL/CA/2022/120",
      "Licence Category": "Commission Agent",
      "APMC / Market Yard": "Enumamula Market Yard, Warangal",
      "Jilla": "Hanumakonda",
      "State": "Telangana",
      "Commodities": "Chillies",
      "Valid Upto": "15-02-2027",
      "Aadhar No": "",
      "PAN No": "",
      "IFSC": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv"
    },
    {
      "name": "Doaba Arhti House",
      "Name of the Firm": "Doaba Arhti House",
      "Lic No": "KHN/A/2020/77",
      "Licence Category": "Arhtiya",
      "APMC / Market Yard": "Khanna Mandi",
      "Jilla": "Ludhiana",
      "State": "Punjab",
      "Commodities": "Wheat, Paddy",
      "Valid Upto": "31-03-2027",
      "Aadhar No": "",
      "PAN No": "",
      "IFSC": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv"
    },
    {
      "name": "Satluj Grain Traders",
      "Name of the Firm": "Satluj Grain Traders",
      "Licence Category": "Trader",
      "APMC / Market Yard": "Khanna",
      "State": "Punjab",
      "Commodities": "Wheat",
      "Aadhar No": "",
      "PAN No": "",
      "IFSC": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv"
    },
    {
      "Lic No": "KHN/H/2021/15",
      "Licence Category": "Palledar",
      "APMC / Market Yard": "Khanna",
      "Jilla": "Ludhiana",
      "State": "Punjab",
      "Valid Upto": "31-03-2027",
      "Aadhar No": "",
      "PAN No": "",
      "IFSC": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv"
    },
    {
      "name": "क्षितिज कांदा ट्रेडर्स",
      "परवाना क्रमांक": "LSL/T/2019/0142",
      "व्यापाऱ्याचे / फर्मचे नाव": "क्षितिज कांदा ट्रेडर्स",
      "परवाना प्रकार": "व्यापारी",
      "बाजार समिती": "लासलगाव",
      "जिल्हा": "नाशिक",
      "शेतमाल": "कांदा",
      "परवाना दिनांक": "01/04/2019",
      "वैधता दिनांक": "31/03/2027",
      "पत्ता": "गाळा क्र. 14, नमुना मार्केट यार्ड, लासलगाव",
      "पॅन क्रमांक": "",
      "आधार क्रमांक": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
    },
    {
      "name": "Pratham Godavari Commission Agency",
      "परवाना क्रमांक": "LSL/CA/2021/0033",
      "व्यापाऱ्याचे / फर्मचे नाव": "Pratham Godavari Commission Agency",
      "परवाना प्रकार": "अडते",
      "बाजार समिती": "लासलगाव",
      "जिल्हा": "नाशिक",
      "शेतमाल": "कांदा, बटाटा",
      "परवाना दिनांक": "15/06/2021",
      "वैधता दिनांक": "14/06/2026",
      "पत्ता": "गाळा क्र. 3, नमुना मार्केट यार्ड, लासलगाव",
      "पॅन क्रमांक": "",
      "आधार क्रमांक": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
    },
    {
      "name": "सह्याद्री पठार ॲग्रो",
      "परवाना क्रमांक": "LSL/T/2020/0219",
      "व्यापाऱ्याचे / फर्मचे नाव": "सह्याद्री पठार ॲग्रो",
      "परवाना प्रकार": "व्यापारी",
      "बाजार समिती": "लासलगाव बाजार समिती",
      "जिल्हा": "नाशिक",
      "शेतमाल": "कांदा, डाळिंब",
      "परवाना दिनांक": "10/01/2020",
      "वैधता दिनांक": "31/12/2026",
      "पॅन क्रमांक": "",
      "आधार क्रमांक": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
    },
    {
      "name": "Manjira Valley Pulses",
      "परवाना क्रमांक": "LTR/T/2022/1187",
      "व्यापाऱ्याचे / फर्मचे नाव": "Manjira Valley Pulses",
      "परवाना प्रकार": "व्यापारी",
      "बाजार समिती": "लातूर",
      "जिल्हा": "लातूर",
      "शेतमाल": "सोयाबीन, तूर",
      "परवाना दिनांक": "01/04/2022",
      "वैधता दिनांक": "31/03/2028",
      "पत्ता": "नमुना पेठ, लातूर",
      "पॅन क्रमांक": "",
      "आधार क्रमांक": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
    },
    {
      "name": "Terna Dal Udyog",
      "परवाना क्रमांक": "LTR/P/2023/0045",
      "व्यापाऱ्याचे / फर्मचे नाव": "Terna Dal Udyog",
      "परवाना प्रकार": "प्रक्रियादार",
      "बाजार समिती": "लातूर",
      "जिल्हा": "लातूर",
      "शेतमाल": "तूर, हरभरा",
      "परवाना दिनांक": "01/04/2023",
      "वैधता दिनांक": "31/03/2029",
      "पॅन क्रमांक": "",
      "आधार क्रमांक": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
    },
    {
      "name": "Manjira Valley Pulses",
      "परवाना क्रमांक": "LTR/T/२०२२/ ११८७",
      "व्यापाऱ्याचे / फर्मचे नाव": "Manjira Valley Pulses ",
      "परवाना प्रकार": "व्यापारी",
      "बाजार समिती": "लातूर",
      "जिल्हा": "लातूर",
      "शेतमाल": "सोयाबीन",
      "परवाना दिनांक": "01/04/2022",
      "वैधता दिनांक": "31/03/2028",
      "पॅन क्रमांक": "",
      "आधार क्रमांक": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
    },
    {
      "name": "Krishna Kath Haldi Traders",
      "परवाना क्रमांक": "SNG/T/2018/0560",
      "व्यापाऱ्याचे / फर्मचे नाव": "Krishna Kath Haldi Traders",
      "परवाना प्रकार": "व्यापारी",
      "बाजार समिती": "सांगली",
      "जिल्हा": "सांगली",
      "शेतमाल": "हळद",
      "परवाना दिनांक": "01/04/2018",
      "वैधता दिनांक": "31/03/2026",
      "पॅन क्रमांक": "",
      "आधार क्रमांक": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
    },
    {
      "name": "Warna Spice Exports",
      "परवाना क्रमांक": "SNG/EX/2024/0012",
      "व्यापाऱ्याचे / फर्मचे नाव": "Warna Spice Exports",
      "परवाना प्रकार": "निर्यातदार",
      "बाजार समिती": "सांगली",
      "जिल्हा": "सांगली",
      "शेतमाल": "हळद, बेदाणा",
      "परवाना दिनांक": "01/08/2024",
      "वैधता दिनांक": "31/07/2029",
      "पत्ता": "नमुना औद्योगिक वसाहत, सांगली",
      "पॅन क्रमांक": "",
      "आधार क्रमांक": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
    },
    {
      "परवाना क्रमांक": "SNG/H/2020/0911",
      "परवाना प्रकार": "हमाल",
      "बाजार समिती": "सांगली",
      "जिल्हा": "सांगली",
      "परवाना दिनांक": "01/04/2020",
      "वैधता दिनांक": "31/03/2027",
      "पॅन क्रमांक": "",
      "आधार क्रमांक": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
    },
    {
      "name": "Pratham Godavari Commission Agency",
      "व्यापाऱ्याचे / फर्मचे नाव": "M/s. Pratham Godavari Commision Agency",
      "परवाना प्रकार": "अडते",
      "बाजार समिती": "लासलगाव",
      "जिल्हा": "नाशिक",
      "शेतमाल": "कांदा",
      "पॅन क्रमांक": "",
      "आधार क्रमांक": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
    },
    {
      "name": "Narmada Tat Soya Traders",
      "फर्म का नाम": "Narmada Tat Soya Traders",
      "अनुज्ञप्ति क्रमांक": "IND/2023/T/0451",
      "अनुज्ञप्ति का प्रकार": "व्यापारी",
      "मंडी समिति": "इंदौर",
      "जिला": "इंदौर",
      "जिंस": "सोयाबीन, गेहूं",
      "वैधता": "2026-27",
      "पता": "नमूना अनाज मंडी, इंदौर",
      "आधार संख्या": "",
      "बैंक खाता संख्या": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/hindi-board-rti-copy.xlsx"
    },
    {
      "name": "मालवा किरण आढ़त",
      "फर्म का नाम": "मालवा किरण आढ़त",
      "अनुज्ञप्ति क्रमांक": "IND/2022/CA/0088",
      "अनुज्ञप्ति का प्रकार": "आढ़तिया",
      "मंडी समिति": "इंदौर",
      "जिला": "इंदौर",
      "जिंस": "गेहूं, चना",
      "वैधता": "31.03.2025",
      "आधार संख्या": "",
      "बैंक खाता संख्या": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/hindi-board-rti-copy.xlsx"
    },
    {
      "name": "Devgarh Food Processors",
      "फर्म का नाम": "Devgarh Food Processors",
      "अनुज्ञप्ति क्रमांक": "IND/2024/P/0019",
      "अनुज्ञप्ति का प्रकार": "प्रसंस्करणकर्ता",
      "मंडी समिति": "कृषि उपज मंडी समिति इंदौर",
      "जिला": "इंदौर",
      "जिंस": "गेहूं",
      "वैधता": "आजीवन",
      "आधार संख्या": "",
      "बैंक खाता संख्या": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/hindi-board-rti-copy.xlsx"
    },
    {
      "अनुज्ञप्ति क्रमांक": "IND/2021/W/0302",
      "अनुज्ञप्ति का प्रकार": "तुलावटी",
      "मंडी समिति": "इंदौर",
      "जिला": "इंदौर",
      "वैधता": "31.03.2027",
      "आधार संख्या": "",
      "बैंक खाता संख्या": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/hindi-board-rti-copy.xlsx"
    },
    {
      "name": "Warna Spice Exports",
      "Name of the Firm": "Warna Spice Exports",
      "Lic No": "SNG/EX/2024/0012",
      "Licence Category": "Exporter",
      "APMC / Market Yard": "Tasgaon",
      "Jilla": "Sangli",
      "State": "Maharashtra",
      "Commodities": "Raisin",
      "Valid Upto": "31-07-2029",
      "Aadhar No": "",
      "PAN No": "",
      "IFSC": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/english-headers-ka-tg-pb.csv"
    },
    {
      "name": "नमुना कृषी ट्रेडर्स",
      "परवाना क्रमांक": "NMN/T/2025/0007",
      "व्यापाऱ्याचे / फर्मचे नाव": "नमुना कृषी ट्रेडर्स",
      "परवाना प्रकार": "व्यापारी",
      "बाजार समिती": "नमुनागाव",
      "जिल्हा": "नाशिक",
      "शेतमाल": "कांदा, टोमॅटो",
      "परवाना दिनांक": "01/04/2025",
      "वैधता दिनांक": "31/03/2028",
      "पॅन क्रमांक": "",
      "आधार क्रमांक": "",
      "Source File": "https://github.com/richminds-apify/apmc-traders-ai/blob/main/samples/marathi-msamb-style.csv"
    }
  ]
}' |
apify call rich_minds/apmc-traders-ai --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rich_minds/apmc-traders-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/xBFX4QjMvNpGtlOs7/builds/pzh1R4yteL65UPLED/openapi.json
