Mandi Traders List — Clean, Dedupe & Score Your APMC File on the Apify Store →
Tutorial for the Apify blog guest program, dev.to, Medium and Hashnode (canonical link: the Store page https://apify.com/rich_minds/apmc-traders-ai). Written by /actor-implement, refreshed by /actor-marketing on 2026-11-25 with the measured numbers of the 0.2.4 runs. The owner publishes it and records the URL in brief.json → marketing.links. Disclosure line for the published version: "I built this Actor."
An agri exporter who wants the onion traders of Lasalgaon, the chilli commission agents of Khammam or the turmeric traders of Sangli needs the mandi's licensee list. Every Agricultural Produce Market Committee (APMC) keeps one — each trader, commission agent (arhtiya), processor and exporter that may buy in the yard holds a licence. But nobody publishes it in a usable form. eNAM shows how many traders a mandi has, not who they are. The register sits with each market committee or its state board (MSAMB in Maharashtra, the MP Mandi Board, Karnataka's APMCs, the Punjab Mandi Board…).
So the list comes one of three ways: an RTI reply (₹10 fee, ₹2 a page), a data seller, or a contact at the board. And what arrives looks like this:
परवाना क्रमांक, बाजार समिती, शेतमाल, वैधता);LTR/T/२०२२/ ११८७);31-03-2027, 2026-27 or आजीवन (lifetime);Cleaning a district list of 2,000 rows by hand takes days — our estimate is roughly 4 hours per 100 usable traders.
Mandi Traders List — Clean, Dedupe & Score Your APMC File reads the copy as it is and returns one row per licence:
कांदा = onion, अडते = commission agent, 2026-27 → a validity date and days left.includeContacts.Open the Store page and click Try it. The form is pre-filled with a free, fictional 24-row list in English, Marathi and Hindi. Press Start. The real demo run reports: 24 rows read → 3 labour licences dropped → 3 duplicates merged → 18 licensees → 14 qualified traders. The demo costs nothing.
The README carries a ready RTI request in English and हिंदी. Ask the APMC's or board's Public Information Officer for every licence holder with licence no., type, mandi, commodities and validity, as Excel / CSV (Section 7(9)). The legal deadline is 30 days, so file two months before the harvest you are buying for.
Three ways, all on any Apify plan:
keyValueStoreId);fileUrls);pastedTable).A scanned PDF cannot be read yet — the run says so and charges nothing.
Pick a ready search in Start from a ready search — onion-lasalgaon, chilli-telangana-karnataka, turmeric-sourcing, spice-exporter-set, processors-exporters or expiring-licences — or set your own filters: commodities onion, chilli, turmeric, states MH, TG, licence types trader / commission agent / exporter, and Licence valid for at least 30 days.
Best first: licence no., type, mandi, district, state, commodities, validity, days left, score and why it fits. One output row from the sample:
{"traderName": "क्षितिज कांदा ट्रेडर्स", "mandi": "Lasalgaon", "commodities": ["onion"], "validUntil": "2027-03-31",
"licenceStatus": "active", "score": 60, "dedupeKey": "lic:LSL/T/2019/0142|lasalgaon"}
Export to Excel, CSV or Google Sheets from the run's Export button.
With AI assessment on, each trader that passed your filters is read against your goal ("we export turmeric and raisins") — from the licence facts only. The same sample trader, measured on 2026-11-25 with a free Gemini key:
The pitch and question can come in Hindi, Marathi, Telugu, Kannada or Punjabi (outputLanguage).
Pay per qualified trader; the first 25 per Apify account are free.
A 2,000-row district list typically ends as ≈ 300 traders after your filters (an estimate — your copy decides). 300 − 25 free = 275 billed: 275 × $0.0022 = $0.61 rules only, or 275 × $0.009 + 300 × ≈ $0.0030 tokens = $3.38 with the AI. Labour licences, duplicates, expired licences and filtered rows cost nothing, and Max spend for this run caps the bill.
Every real run saves its search as a task (OUTPUT.scheduleTaskUrl). Open it and click Schedule, or start it when next quarter's copy arrives. With Never output the same trader twice on, a trader is charged once — a new copy typically adds 20–60 new licensees. Add E-mail me the cleaned list for a digest, or Send alerts to for Slack, Teams, Discord or Google Chat.
From Python:
from apify_client import ApifyClient
client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("rich_minds/apmc-traders-ai").call(run_input={
"keyValueStoreId": "<storeId>", "commodities": ["onion"], "states": ["MH"],
"dedupeAcrossRuns": True, "maxDiscoveryChargeUsd": 5}, timeout_secs=3600)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item["traderName"], item["licenceType"], item["mandi"], item["validUntil"], item["score"])
Or from an AI agent over MCP: https://mcp.apify.com/?actors=rich_minds/apmc-traders-ai.
An RTI reply is a public record. Personal data inside it falls under India's DPDP Act 2023, which is why identity numbers are dropped at read and contacts leave the run only on request. Upload only lists you may lawfully use; the Actor stores and resells nothing.
Try it free: https://apify.com/rich_minds/apmc-traders-ai — and if it saved you an afternoon in Excel, a review on the Store helps the next exporter find it.
Mandi Traders List — Clean, Dedupe & Score Your APMC File on the Apify Store →