# Customs Broker India: Mumbai & Kolkata CB Licence Check (`rich_minds/customs-broker-directory-ai`) Actor

First 25 brokers free. Customs broker India check, pay per qualified broker: CHA (customs house agent) licence verification, suspended customs brokers and revocations from Mumbai (JNCH, Nhava Sheva) and Kolkata notices, with an AI hire check. No PAN, no persons. Free demo on any plan.

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

## Pricing

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

## Customs Broker India: Mumbai & Kolkata CB Licence Check

**Check a customs broker's licence before you hire — and watch for suspensions, Mumbai and Kolkata.**

⚡ First **25 brokers free** · 💵 **$0.005** a broker with a status (unknown status: free) · 🤖 AI hire check (optional, on by default): **$0.0126** all in · ⏱️ 3 licences: **13 s** AI off, + 7.4 s a broker AI on (measured 2026-11-24)

![Shortlist — one row per customs broker: status since when, hire check, the AI note](https://api.apify.com/v2/key-value-stores/lqxctLz8Obb2wPz6Q/records/shortlist.svg)

> **Try it in 30 seconds.** Click **Try it** — 5 real brokers, free. Then type a licence number or pick the years and
> press Start: a live read on **any Apify plan**.
> **AI:** Apify model access or your own key (a free Gemini key: 1–3 brokers a run) — otherwise the rules row at $0.005.
> → [What a run costs](#-pricing--what-a-run-really-costs) · [What the AI adds](#-what-the-ai-tier-adds) · [Run it weekly](#-run-it-weekly)

### ⚡ At a glance

| | |
|---|---|
| **What you get** | One row per customs broker (CHA): firm, CB licence no. and issuer, latest status since when, history |
| **Covers** | Mumbai (NCH, JNCH Nhava Sheva, ACC Sahar) and Kolkata. Not read yet: Delhi, Chennai, Mundra, Ahmedabad, Kochi, Visakhapatnam, Tuticorin, Bengaluru (never charged) |
| **Typical run** | 2026, both offices: 280 notices → **214 brokers** — 77 with a status (8 suspended, 2 revoked), 137 with change notices only — in 9.7 min (measured 2026-11-24) |
| **Cost of that run** | $0.21 rules only (42 × $0.005) · $0.62 with the AI hire check — the 137 unknown-status, 10 avoid-verdict and 25 free brokers cost nothing |
| **Keys / setup** | None for the rules row. AI: Apify model access on paid plans (no platform run of it yet), or your own Gemini / Groq key |
| **Works with** | Webhooks, Sheets, Slack, Teams, n8n, MCP / AI agents |

### 🎯 What this customs broker directory does

India publishes one notice per licence event, no CB register. This Actor merges them into **one row per broker**:
**the latest status with its date**, the history and **a hire check** (ok to engage · check first · avoid).

### 🚀 How to use it

1. **Click Try it** — the free demo.
2. **Pick the offices and years**, or type a firm / licence number.
3. **Press Start** — open the **Shortlist**, **Directory** or **Watch list** view.
4. **Schedule it weekly** — new suspensions by e-mail or chat.

#### CB licence status check before you hire

"Check these licence numbers" takes `11/2156`, `R-574/2021-CBS`, `U-19` or a CB code.

#### Watch list of suspended customs brokers

"Latest status is one of" = Suspended, Revoked → every suspended or revoked broker, with the order.

![Watch list — suspended brokers with the order and the next step](https://api.apify.com/v2/key-value-stores/lqxctLz8Obb2wPz6Q/records/watchlist.svg)

📚 **Learn more:** [Tutorial — check a customs broker in India before you hire](https://api.apify.com/v2/key-value-stores/lqxctLz8Obb2wPz6Q/records/tutorial.html)

### 🆚 Why this instead of CBLMS and the notice pages?

| Same 100 brokers | CBLMS / notice pages | Paid EXIM directory | US: scrapesage/customs-broker-forwarder-leads, scrapebench/us-customs-broker-registry-list | **This Actor** |
|---|---|---|---|---|
| **Your time** | ≈ 10 h (≈ 6 min a broker, on 5 sample brokers, 2026-11-24) | a lookup each | — | reading the Shortlist |
| **Suspensions** | one PDF per event; CBLMS: captcha, one at a time | ❌ no status | ❌ US only | ✅ with the order and its date, one sheet |
| **All in** | $0 — one broker at a time, no history | annual fee | $0.50–$0.80 for 100 unsorted US rows | **100 ranked, explained brokers** with status + hire check: $0.50 here · $1.26 with AI; 25 free, junk costs $0 |

CBLMS wins for one broker: the full register.

### 💵 Pricing — what a run really costs

| Event | When it is charged | Price |
|---|---|---|
| `free-tier` | your first 25 brokers, any tier | **$0.00** |
| `qualified-broker-basic` | AI off — licence, status, history, rule hire check | **$0.005** |
| `qualified-broker-ai` | AI on — plus the AI verdict, reasons, 3 questions | **$0.01** |

**Only brokers with a status are charged.** A broker whose only notices in the years read are change notices
(address, partners, security) has no status: delivered **free**, flagged `status_unknown` (`chargedEvent: none`,
`billedAs: free-status-unknown`), no free-tier unit used; `includeUnknownStatus: false` drops them. `maxQualified`
counts only brokers with a status. If a later run finds a status for one, it is delivered again and charged once.

**Never charged:** unknown-status brokers, avoid-verdict brokers you did not ask for, brokers outside your filters or below `minScore`,
brokers already delivered, the demo.

**Worked example** — 2026-11-24, 2026 notices of both offices: 214 brokers, 77 with a status, 137 unknown (free).
AI off: of the 77, 10 to avoid free, 25 free tier, 42 × $0.005 = **$0.21**. AI on: 42 × $0.01 + 77 × $0.0026 tokens
(unknown-status brokers are not AI-assessed) ≈ **$0.62**. The status says it: "67 brokers with a status charged · 137 with an
unknown status free … 10 to avoid not charged" (`OUTPUT.withStatusCharged` / `unknownStatusFree`).

**How that compares:** $0.005 is below the $0.0065 median of the two customs-broker Store Actors (US lists, $0.005–$0.008 a raw row); one row here replaces about 3 notices, ≈ $0.0017 per raw notice.

**AI tier, all in:** $0.0126 per broker = $0.01 + ≈ $0.0026 tokens (≈ 1,650 input + 190–240 output a broker, measured
2026-11-24 with an own gemini-3.5-flash-lite key, at anthropic/claude-haiku-4.5 rates).

### 🤖 What the AI tier adds

A real broker with three adjudication orders and no status notice, AI **off** (rules):

```json
{"name": "Future Impex (AI example) — 11/2395 (no status notice)", "hireVerdict": "check_first", "ruleScore": 30,
 "generatedText": "Check first: licence 11/2395 (Mumbai Zone I) no status notice, from 3 notices; an order-in-original, show cause notice or penalty within the years read."}
```

AI **on** — the own-key run of the AI example, 2026-11-24 (your Gemini key's default model):

```json
{
  "name": "Future Impex (AI example) — 11/2395 (no status notice)", "hireVerdict": "check_first", "fitScore": 50,
  "scoreReasons": ["Adjudication notice 44/2026-27 issued on 2026-09-28", "Adjudication notice 48/2026-27 issued on 2026-09-29"],
  "recommendedNextStep": "Read the adjudication notices and confirm current broker standing before proceeding.",
  "aiModel": "google:gemini-3.5-flash-lite"
}
```

The AI names the orders to read and what to ask — ≈ 6 min saved a broker (by hand vs the AI rows, on 5 sample
brokers, 2026-11-24).

### ⚙️ Input

The mode that runs = `sourceMode`, except `{}` = the free demo.

| Field | Default | What it does |
|---|---|---|
| `preset` | `custom` | A ready search, one click |
| `commissionerates` / `years` | both offices / last 2 years | `mumbai` (Zones I–III), `kolkata` · Mumbai 2021–2026, Kolkata 2018–2026 |
| `licenceNumbers` / `firmQuery` | — | Look-up (`11/2156`, a CB code) · firm name contains |
| `goalDescription` | `""` | What you hire for — the AI's 3 questions follow it |
| `statuses` / `targetFlags` / `suppressionList` | — | Latest status · flags · names to never output — free filters |
| `includeUnknownStatus` | `true` | Keep brokers with no status (change notices only) — free; off drops them |
| `minScore` / `maxQualified` | `0` / `100` | Below the score: never charged · hard cap on brokers with a status and spend (unknown-status ones come free on top) |
| `enableAi` | `true` | The AI hire check |
| `maxNotices` (API) | `1000` | Notice PDFs read per run — run time, not price |
| `notifyEmail` / `sendAlertsTo` | — | E-mail (a plan that runs Store Actors) / Slack · Teams · Telegram digest |
| `statusSinceDays` | `0` | Latest status issued in the last N days (0 = any) — free filter; 30 + Granted, Restored = new licences |

### 📤 Output

One row per broker (live run 2026-11-24, AI off):

```json
{"name": "PARIKH CLEARING AGENCY PVT LTD — CHA/ABD/R/2/93 (permitted other zone)",
 "dedupeKey": "ahmedabad:CHA/ABD/R/2/93", "licenceNumber": "CHA/ABD/R/2/93", "licenceIssuedBy": "Ahmedabad",
 "status": "permitted_other_zone", "statusSince": "2026-11-04", "hireVerdict": "check_first", "score": 60,
 "flags": ["parent_licence_unverified"],
 "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_258.pdf#page=1"}
```

| Field | What it is |
|---|---|
| `dedupeKey` | the upsert key — stable per broker across runs (issuer + licence); `itemId` = same value, `rowId` its hash |
| `url` | the broker's latest notice PDF; `name` is display only |
| `status` | `granted` · `permitted_other_zone` · `revalidated` · `restored` · `suspended` · `revoked` · `surrendered` · null = change notices only |
| `flags` → `status_unknown` | no status in the years read — delivered free: `chargedEvent: none`, `billedAs: free-status-unknown` |
| `hireVerdict` · `label` · `assessedBy` | `ok_to_engage` · `check_first` · `avoid` — `hot` · `warm` · `cold` — `ai` · `sample` · `rules` |

Also: `statusScope`, `localLicenceNumber`, `cbCode`, `commissionerate`, `commissionerates`, `address`,
`lastNoticeDate`, `lastNoticeUrl`, `sources`, `companyKey`, `hireQuestions`, `phone` / `email` / `website` (null in
0.1), `flags`, `summary`, `targetFlagsMatched`, `chargedEvent`, `billedAs`, `source`, `fetchedAt`, `checkedAt`, `auditTrail`.

Sort one run by `score`; trend across runs on `ruleScore`. `licenceValidUntil` is a date or null (wording in
`licenceValidUntilText`).

Views: **Shortlist**, **Directory**, **Watch list**, **Score breakdown**, **Export**.

Audit trail for an AEO file: `checkedAt` (the day of the read, UTC) and `auditTrail` ("checked on <date> against <N>
notices: <URLs>").

The key-value store keeps the digest, the report and `OUTPUT`; `RUN_SUMMARY` (alias) is removed in 0.3, 2027-01-31 —
read `OUTPUT`, same value.
Every field and flag: [API reference](https://api.apify.com/v2/key-value-stores/lqxctLz8Obb2wPz6Q/records/api-reference.md).

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

### 🔁 Run it weekly

1. Open the task a real run's status links → **Schedule**; add a Slack / Teams / Telegram link in **Send alerts to**.
2. Keep "Never output the same broker twice" on (`dedupeTtlDays` = 30). Rows to a sheet: the
   [tracker sheet](https://api.apify.com/v2/key-value-stores/lqxctLz8Obb2wPz6Q/records/tracker.csv).

2026 had 366 notices, ≈ 7 a week; a weekly run reads only the new ones in ≈ 1 minute.

#### 🎯 Try it for your niche

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

| Preset | What it returns |
|---|---|
| `nhava-sheva-2026` | JNCH customs broker list, 2026 Mumbai notices — 193 found (7 suspended), 10 min |
| `kolkata-2026` | Customs broker Kolkata list, 2026 — 21 found (1 suspended), 1 min |
| `kolkata-suspensions` | Kolkata suspensions & revocations 2024–2026 — 20 found, 4 min |
| `mumbai-suspensions` | Mumbai brokers suspended, revoked or surrendered 2024–2026 — 183 found (166 scans to check), 21 min |
| `hire-check` | 3 licence numbers — 2 of 3 found, 13 s cached, 2 min cold (local runs 2026-11-24) |
| `new-licences-30d` | Granted / restored in the last 30 days — 2 found (local run 2026-11-24, 2 min cached); for vendors |
| `aeo-audit-check` | 2 brokers on file, with the audit trail — 2 of 2 found, 27 s (local run 2026-11-24) |

### 🔌 Integrations, automation and API

#### Run outcomes — what your integration sees

| Outcome | Run status | `OUTPUT` | Charged? |
|---|---|---|---|
| Free demo | SUCCEEDED | `mode: demo` | no |
| Success | SUCCEEDED | `outcome: ok`, `rows`, `refused`, `queries` | per broker |
| Nothing matched | SUCCEEDED, 0 rows | `outcome: empty` | no |
| A licence number not found | SUCCEEDED | `queries[]`: `found: false`, `scope`, `note` | no |
| Nothing new — already delivered; `dedupeAcrossRuns: false` gets them again | SUCCEEDED, 0 rows | `outcome: empty`, `skippedAsDelivered` | no |
| Only unread offices | SUCCEEDED (FAILED with `failOnSourceError`) | `ok: false`, `outcome: not_covered` | no |
| Source failed | FAILED with `failOnSourceError`, else SUCCEEDED | `ok: false`, `outcome: source_failed` | no |
| Source partial | SUCCEEDED | `sourceStatus.partial` | per broker |
| Invalid input | FAILED | — | no |
| AI unavailable | SUCCEEDED | `aiError`, rule-scored rows | basic price |

<details><summary>Which call runs what — demo, live read or your own rows</summary>

| Input shape | `OUTPUT.mode` | Can it charge? |
|---|---|---|
| `{}` or the untouched form | `demo` | no |
| the sample + a search typed on the Console form | `live` | yes |
| that input in a schedule / API call | as `sourceMode` says — no auto-switch | if `live` |
| `"sourceMode": "live"` + a search field | `live` | yes |
| `"sourceMode": "list"` + `itemsList` | `list` | yes, no site read |
| `"sourceMode": "dataset"` + `datasetId` | `dataset` | yes, no site read |

</details>

<details><summary>List-mode rows — what a pasted record needs</summary>

| Field | Needed? | What it enables |
|---|---|---|
| `firmName` or `licenceNumber` | one of them | the title and key (`dedupeKey`) |
| `licenceIssuedBy` | optional | the key's issuer, `out_of_zone_licence` |
| `status`, `statusSince`, `statusHistory` | optional | the hire check (`statusSince` = the day the notice was issued) |
| `licenceValidUntil` / `licenceValidUntilText` | optional | the expiry date as issued, or its wording |
| `url`, `lastNoticeNo`, `notices`, `ports` | optional | carried to the row |

Start from the [ready template](https://api.apify.com/v2/key-value-stores/lqxctLz8Obb2wPz6Q/records/list-template.json).

</details>

- **Webhook** — `webhookUrl` POSTs `{"event": "broker.qualified", "broker": …, "runId": …}`, or with
  `webhookBatchSize` > 1 a batch body (`{"event": "brokers.qualified", "brokers": […], "runId": …}`); `webhookSecret`
  adds `X-Signature: sha256=<HMAC-SHA256 of the raw body>`. A 429 / 5xx is retried once, never failing the run; failed
  brokers go to `OUTPUT.webhook.failedKeys` and are re-POSTed first next run.
- **Which delivery field wins:** every URL is posted once; a per-service field (API only) wins for its service;
  `webhookUrl` gets the rows, the others the digest.

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("rich_minds/customs-broker-directory-ai").call(
    run_input={
        # free first call instead: {"sourceMode": "list"} with your rows, or {} (the demo)
        "commissionerates": ["mumbai", "kolkata"], "years": [2025, 2026], "statuses": ["suspended", "revoked"],
        "maxQualified": 500, "failOnSourceError": True,  # autoSwitchToLive: Console runs only
        "dedupeAcrossRuns": True,  # False delivers already-sent brokers again
    },
    timeout_secs=3600,
    # build="0.2.2",  # pin the build your pipeline was tested with
)
if run["status"] != "SUCCEEDED":
    raise RuntimeError(run.get("statusMessage"))
rec = client.key_value_store(run["defaultKeyValueStoreId"]).get_record("OUTPUT")
out = rec["value"] if rec else {}
if not out.get("ok", True):
    raise RuntimeError(out.get("outcome"), out.get("sourceError"))
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["dedupeKey"], item["url"], item["status"], item["hireVerdict"])
```

<details><summary>The same call in JavaScript</summary>

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

const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });
const run = await client.actor('rich_minds/customs-broker-directory-ai').call({
    commissionerates: ['mumbai', 'kolkata'], years: [2025, 2026], maxQualified: 500, dedupeAcrossRuns: true,
}, { timeout: 3600 /* , build: '0.2.2' */ });
if (run.status !== 'SUCCEEDED') throw new Error(run.statusMessage);
const rec = await client.keyValueStore(run.defaultKeyValueStoreId).getRecord('OUTPUT');
const out = rec ? rec.value : {};
if (out.ok === false) throw new Error(`${out.outcome}: ${out.sourceError}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.map((i) => [i.dedupeKey, i.url, i.status, i.hireVerdict]));
```

</details>

**MCP:** `{"mcpServers": {"apify": {"url": "https://mcp.apify.com/?actors=rich_minds/customs-broker-directory-ai"}}}`
— ask *"Is customs broker licence 11/1708 suspended?"* **Minimal agent input:**
`{"licenceNumbers": ["11/1708"], "commissionerates": ["mumbai", "kolkata"], "years": [2025, 2026], "maxQualified": 10, "dedupeAcrossRuns": false}`
— any plan, no site read: `{"sourceMode": "list", "itemsList": [{"licenceNumber": "11/1708"}]}`

### 👥 Who is it for?

| You are… | You run it to… | Start with |
|---|---|---|
| An exporter | check the broker you are about to hire | `hire-check` |
| An importer | shortlist licensed brokers at Mumbai | `nhava-sheva-2026` |
| A freight forwarder | watch suspended and revoked brokers | `mumbai-suspensions` |
| A vendor selling to brokers (software, insurance, bank guarantees) | get every new licence each week | `new-licences-30d` |
| An AEO applicant or auditor | show each broker was vetted, with the notices as evidence | `aeo-audit-check` |

### 🧠 How the AI works

`anthropic/claude-haiku-4.5` (Apify model access) or your key's model (Gemini: `google:gemini-3.5-flash-lite`) reads
one broker's redacted facts. Ungrounded text is dropped; a suspension is always "avoid"; a failed call keeps the rule
verdict at the basic price.

### 🔒 Data, compliance and limits

Public notices, robots.txt obeyed. **Never output or sent to the AI:** PANs, bank-guarantee numbers, persons' names,
phones, e-mails. Not a full register; ≈ 59 % of Mumbai PDFs are scans, read from their list subject.

### ❓ FAQ

**Is this a full CHA list Mumbai brokers work from?** No — every broker a Mumbai notice names since 2021.

**Is there a customs broker Kolkata list?** Yes — the `kolkata-2026` preset, or any year from 2018.

**How do I find a Nhava Sheva customs broker?** The `nhava-sheva-2026` preset, statuses granted / revalidated.

**How do I check customs broker licence validity before hiring?** Type the numbers in "Check these licence numbers":
a customs broker licence number search against an index of the notices read — 13 s for 3 once cached. A customs house agent
(CHALR 2004) and a customs broker (CBLR 2018) hold the same licence.

**Which CBLR 2018 notices does it read?** Grants, 7(3) permissions, revalidations, restorations, suspensions,
revocations, surrenders, adjudications.

**Where do two notices disagree?** Both are kept, the row is flagged `status_conflict`.

**Is this a CBLMS alternative?** For bulk CHA licence verification with history, yes: no captcha, every notice dated.
For one broker outside Mumbai and Kolkata, use CBLMS.

**Where is the JNPT CHA list?** JNPT is Nhava Sheva: the same preset — a CSV instead of a customs broker list PDF.

**How fresh is the data?** Read live: `statusSince` = the notice's date, `checkedAt` = the day of the read.

**I sell to customs brokers — can I get new licences?** Yes: `new-licences-30d`, weekly.

**How long does a run take?**

| Mode | Measured 2026-11-24 | `timeoutSecs` |
|---|---|---|
| Demo / your own rows (5 brokers) | 2–8 s | 120 |
| Live read on Apify, capped (5 brokers) | 20 s | 120 |
| Live read, 2026, both offices, cold cache | 9.7 min (328 PDFs) | 3600 |
| Live read, weekly re-run (cached) | ≈ 1 min | 600 |
| Licence look-up, 3 numbers (local runs, 2026-11-24) | 13 s cached (≈ 35 s AI on) · 2 min cold | 300 |
| AI, own free gemini-3.5-flash-lite key | ≈ 2.3–16.5 s per broker, ≈ 4–26 a minute (7.4 s in the latest review) | ≈ 1005 for 50 · + 1650 per 100 |
| AI after a rate limit (429) | waits stop at 120 s, then rule scores | + 120 |
| AI via Apify's model access | dated in our roadmap | + 900 per 100 |

**Will I be charged for the same broker twice?** No: each `dedupeKey` is remembered per search for 30 days; a
look-up always answers.

**Why are some brokers free?** A broker whose only notices in the years read are change notices (address, partners,
security) has no licence status to check — 137 of 214 in 2026. You get its history free (`status_unknown`); you pay
only for brokers with a status. If a later run finds a status for it, it is delivered again and charged once.

### 🧩 More Actors from the same developer

- **[APEDA Registered Exporters & MPEDA](https://apify.com/rich_minds/india-exporter-registries-ai)** — Found your broker? Check the exporter you ship with is licensed by APEDA or MPEDA too.
- **[Mandi Traders List](https://apify.com/rich_minds/apmc-traders-ai)** — the mandi side of Indian trade: your RTI trader list cleaned into licensed traders by commodity.

### 🆘 Support

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

### 📝 Changelog

- **0.2.2** (2026-11-25) — More Actors — link Mandi Traders List.
- **0.2.1** (2026-11-25) — Only brokers with a status are charged: change-notices-only brokers are free, flagged
  `status_unknown`; new filter `includeUnknownStatus`.
- **0.1.6** (2026-11-24) — Licence look-ups in seconds, "not found" said and free; a 7(3) permission from an unread
  office is "check first"; new searches: new licences (30 days), AEO / audit check.
- **0.1.0–0.1.5** (2026-11-24) — One row per broker with history and hire check; unread offices named, nothing
  charged. `RUN_SUMMARY` is removed in 0.3, 2027-01-31 — use `OUTPUT`, same value.

# Actor input Schema

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

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

## `commissionerates` (type: `array`):

Leave empty for all readable offices. <b>Mumbai</b> = Zones I (NCH), II (JNCH Nhava Sheva), III (ACC Sahar); <b>Kolkata</b> = Port, Airport & ACC. Untouched sample = free demo. Delhi, Kochi, Visakhapatnam, Ahmedabad, Mundra, Tuticorin, Chennai and Bengaluru are not offered: their sites are unreachable or publish no licence notices (re-probe dated in the roadmap).

## `years` (type: `array`):

Years of licence notices, one per line, e.g. <code>2025</code>. Empty = the last 2 calendar years. Mumbai publishes 2021–2026, Kolkata 2018–2026. Suspension orders are always read. Affects run time, not what you pay: ≈ 6 minutes per year on a first run, ≈ 1 minute once cached.

## `licenceNumbers` (type: `array`):

Leave empty for every broker. Hire check: only brokers with one of these numbers are delivered — Mumbai local <code>11/2156</code>, parent licence <code>R-574/2021-CBS</code>, Kolkata <code>U-19</code> or CB code <code>2482</code> (spaces, dots and 'No.' are ignored). Numbers no notice names are listed in <code>queries\[]</code>. A look-up always answers, even for a broker an earlier run delivered.

## `firmQuery` (type: `string`):

Leave empty for every firm. Keep brokers whose firm name contains this, e.g. <code>Global Agencies</code> — 'Pvt. Ltd.' vs 'Private Limited', '&' vs 'and' and punctuation do not matter. Free filter.

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

e.g. <i>FCL rice exports from Nhava Sheva, monthly</i>. The AI tailors its 3 questions to it; the verdict always comes from the notice history alone.

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

The field that decides what you pay: brokers scoring below this are discarded and <b>not charged</b>. 0 (the default) keeps every broker — suspended and revoked ones too, which is usually what a hire check wants. Raise it (e.g. 70) to pay only for brokers that are safe to engage on their notice history.

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

Affects what you pay: hard cap on brokers with a status and on what <b>this Actor</b> charges — worst case 100: $1.26 AI on (100 × $0.01 + ≈ $0.0026 tokens), $0.50 off. Unknown-status brokers are free, on top; the first 25 per account are free; avoid-verdict brokers you did not ask for are never charged. Best-scoring first.

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

Affects what you pay — AI on by default: a hire check per broker (verdict with reasons, licence summary, 3 questions). <b>On = $0.01 per broker + ≈ $0.0026 AI tokens; off = $0.005</b>. Apify model access on a paid plan (not measured on the platform yet) or your own Gemini key; otherwise the rules row at $0.005.

## `statuses` (type: `array`):

Keep brokers whose latest licence status is one of these — e.g. only <b>Suspended</b> and <b>Revoked</b> for a watch list. Empty = every status. Free filter.

## `statusSinceDays` (type: `integer`):

Keep brokers whose latest status was issued in the last N days — with <b>Granted</b> and <b>Restored</b> above, every newly licensed broker (the <b>New licences, last 30 days</b> preset, for vendors who sell to brokers). 0 = any date. Free filter.

## `includeUnknownStatus` (type: `boolean`):

Affects what you pay: no — unknown-status brokers are free. A broker whose only notices in the years read are change notices (address, partners, security) has no status (<code>status</code> null, flag <code>status_unknown</code>): delivered free, never charged, no free-tier unit used. Off = drop them.

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

Only deliver brokers with at least one of these flags — e.g. <b>Suspended</b> or <b>Adjudication on record</b>. Empty = keep everything. API: the flag names from the README's flag table (<code>suspended_now</code>; <code>suspendedNow</code> works too); an unknown name stops the run with the list of valid ones.

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

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

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

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

## `ports` (type: `array`):

API only — hidden on the form. Empty = all readable ports. Another way to pick the offices: <code>INNSA1</code> (Nhava Sheva), <code>INBOM1</code> (Mumbai sea), <code>INBOM4</code> (Mumbai air cargo) → Mumbai; <code>INCCU1</code>, <code>INCCU4</code> → Kolkata. Any other code gets a <code>refused\[]</code> entry (<code>port_not_covered</code>). Added to the offices above.

## `zones` (type: `array`):

API only — hidden on the form. Empty = all readable zones. Zone names, e.g. <code>Mumbai Zone II</code> → Mumbai, <code>Kolkata Airport</code> → Kolkata. Added to the offices above.

## `maxNotices` (type: `integer`):

API only — hidden on the form. Affects run time, not what you pay: at most this many notice PDFs are downloaded per run (1.2 s apart per site). Notices read in an earlier run come from the cache and do not count. Notices over the cap still give a broker from their list subject (flag <code>from_title_only</code>).

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

<b>Apify (no keys)</b> — the AI runs through Apify's built-in OpenRouter proxy; tokens are billed to your Apify account at OpenRouter's rates. <b>My own key</b> — use your OpenAI / Anthropic / Gemini / Groq key instead; a free-tier key assesses only a few brokers per run — expect 1–3 AI checks (2 calls at a time, one after a rate limit, then the 3 borderline brokers retried one by one) — and the rest keep their rule score; a paid Groq / Gemini key (billing on) assesses every broker. Own-key pace measured 2026-11-24 with a free google:gemini-3.5-flash-lite key: ≈ 2.3–16.5 s per broker (the latest review: 7.4 s per broker, google:gemini-3.5-flash-lite, 2026-11-24) — size <code>timeoutSecs</code> from the slowest: ≈ 1005 for 50 brokers, + 1650 per 100.

## `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 brokers 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 brokers as JSON. After every run with at least one new broker, 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 brokers, the digest (top 10 with links) is e-mailed here — schedule it weekly and only new ones arrive. 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`):

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

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

How long a delivered broker stays remembered. 30 (default) = a weekly schedule delivers each broker once a month with its current status — charged again then; new brokers arrive every week. 0 = never deliver or charge it again (a status change would then not reach you).

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

API only — hidden on the form to keep it short. Optional. Type a name (e.g. <code>customs-broker-directory-ai-seen-log</code>) and every run appends its new brokers 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, whatever the declared default says; any office, year, firm or licence number you send runs the live read. <b>live</b> — reads the Mumbai Zone I and Kolkata licence notices itself, on any plan, no other Actor is run. <b>dataset</b> — an existing Apify dataset of broker rows. <b>list</b> — broker rows you paste in. The mode you choose always runs as chosen; only the untouched sample records next to a search you typed on the Console form switch to the live read.

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

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

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

Off (default): a run where no notice site answered, or that named only offices this version does not read, ends with 0 rows and <code>OUTPUT.ok: false</code>. On: the run ends FAILED with the same message, so a schedule's or an API pipeline's failed-run alert fires. Turn it on for every schedule.

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

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

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

Only for <b>list</b> mode — the free demo opens with 5 sample brokers cut from the 2026-11-24 notices (<code>sample: true</code>). Your own rows: a JSON array of objects, each with <code>firmName</code> or <code>licenceNumber</code>; optional: <code>licenceIssuedBy</code>, <code>status</code>, <code>statusSince</code>, <code>address</code>, <code>url</code> and the other fields of the README's <i>List-mode rows</i> table. A row with neither firm nor licence is skipped and counted in the status.

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

API only — hidden on the form. Raw keys passed to the built-in reader (<code>offices</code>, <code>years</code>, <code>maxNotices</code>), overriding the fields above. Leave it empty.

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

API only — hidden on the form. Upper bound on how many brokers are scored in one run (controls run time). Default = 3 × max qualified.

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

API only — hidden on the form. How long the built-in reader may read before its partial results are used — never more than 60 % of the run's time left, so the AI, the charges and the digest keep the rest.

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

Qualified brokers 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 broker the moment it is ready (<code>{"event": "broker.qualified", "broker": {…}, "runId": "…"}</code>). Higher = one POST per N brokers (<code>{"event": "brokers.qualified", "brokers": \[…], "runId": "…"}</code>). A 429 / 5xx is retried once; a failure never fails the run and the brokers are re-sent next run.

## `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 (source and search terms): rewording <code>goalDescription</code> keeps it, so a scheduled run never re-delivers what you already have, and another search starts its own list. Running it for several clients on one account, type one name per client.

## `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",
  "commissionerates": [
    "mumbai",
    "kolkata"
  ],
  "years": [],
  "licenceNumbers": [],
  "firmQuery": "",
  "goalDescription": "",
  "minScore": 0,
  "maxQualified": 100,
  "enableAi": true,
  "statuses": [],
  "statusSinceDays": 0,
  "includeUnknownStatus": true,
  "ports": [],
  "zones": [],
  "maxNotices": 1000,
  "llmProvider": "apify",
  "aiCandidateMultiplier": 2,
  "dedupeAcrossRuns": true,
  "dedupeTtlDays": 30,
  "historyDatasetName": "",
  "sourceMode": "list",
  "autoSwitchToLive": true,
  "failOnSourceError": false,
  "itemsList": [
    {
      "dedupeKey": "mumbai-zone-i:11/2156",
      "firmName": "SUSWASHIS CLEARING AND FORWARDING AGENCY",
      "licenceNumber": "11/2156",
      "licenceIssuedBy": "Mumbai Zone I",
      "localLicenceNumber": "11/2156",
      "cbCode": null,
      "status": "revalidated",
      "statusScope": "Mumbai Zones I–III",
      "statusSince": "2026-10-13",
      "statusHistory": [
        {
          "status": "revalidated",
          "date": "2026-10-13",
          "noticeNo": "227/2026-27",
          "kind": "revalidation",
          "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_227.pdf",
          "scope": "Mumbai Zones I–III"
        }
      ],
      "licenceValidUntil": null,
      "licenceValidUntilText": "lifetime",
      "commissionerate": "Mumbai Zone I",
      "commissionerates": [
        "Mumbai Zone I",
        "Mumbai Zone II (JNCH)",
        "Mumbai Zone III (ACC Sahar)"
      ],
      "ports": [
        "INBOM1",
        "INNSA1",
        "INBOM4"
      ],
      "address": null,
      "lastNoticeNo": "227/2026-27",
      "lastNoticeDate": "2026-10-13",
      "lastNoticeUrl": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_227.pdf",
      "notices": [
        {
          "no": "227/2026-27",
          "date": "2026-10-13",
          "kind": "revalidation",
          "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_227.pdf",
          "office": "mumbai"
        }
      ],
      "sources": [
        "mumbai_cbs"
      ],
      "noticeFlags": [],
      "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_227.pdf",
      "sample": true
    },
    {
      "dedupeKey": "mumbai-zone-i:11/1708",
      "firmName": "Navbharat Consolidation Pvt. Ltd.",
      "licenceNumber": "11/1708",
      "licenceIssuedBy": "Mumbai Zone I",
      "localLicenceNumber": "11/1708",
      "cbCode": null,
      "status": "suspended",
      "statusScope": "Mumbai Zones I–III",
      "statusSince": "2026-09-16",
      "statusHistory": [
        {
          "status": "suspended",
          "date": "2026-08-31",
          "noticeNo": "08/2026-27",
          "kind": "suspension",
          "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Suspension_Order_08_2026.pdf",
          "scope": "Mumbai Zones I–III"
        },
        {
          "status": "suspended",
          "date": "2026-09-16",
          "noticeNo": "11/2026-27",
          "kind": "suspension_continued",
          "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Order_No_11.pdf",
          "scope": "Mumbai Zones I–III"
        }
      ],
      "licenceValidUntil": null,
      "licenceValidUntilText": null,
      "commissionerate": "Mumbai Zone I",
      "commissionerates": [
        "Mumbai Zone I",
        "Mumbai Zone II (JNCH)",
        "Mumbai Zone III (ACC Sahar)"
      ],
      "ports": [
        "INBOM1",
        "INNSA1",
        "INBOM4"
      ],
      "address": null,
      "lastNoticeNo": "11/2026-27",
      "lastNoticeDate": "2026-09-16",
      "lastNoticeUrl": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Order_No_11.pdf",
      "notices": [
        {
          "no": "11/2026-27",
          "date": "2026-09-16",
          "kind": "suspension_continued",
          "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Order_No_11.pdf",
          "office": "mumbai"
        },
        {
          "no": "08/2026-27",
          "date": "2026-08-31",
          "kind": "suspension",
          "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Suspension_Order_08_2026.pdf",
          "office": "mumbai"
        }
      ],
      "sources": [
        "mumbai_cbs"
      ],
      "noticeFlags": [
        "from_title_only"
      ],
      "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Order_No_11.pdf",
      "sample": true
    },
    {
      "dedupeKey": "kolkata:A-35",
      "firmName": "AP Clearing Agency Private Limited",
      "licenceNumber": "A-35",
      "licenceIssuedBy": "Kolkata",
      "localLicenceNumber": null,
      "cbCode": "2266",
      "status": "revalidated",
      "statusScope": "Kolkata",
      "statusSince": "2026-10-23",
      "statusHistory": [
        {
          "status": "revalidated",
          "date": "2026-10-23",
          "noticeNo": "101/2026",
          "kind": "revalidation",
          "url": "https://kolkatacustoms.gov.in/storage/uploads/custom_notice_order/20261028160957.pdf",
          "scope": "Kolkata"
        }
      ],
      "licenceValidUntil": "2036-11-02",
      "licenceValidUntilText": "2036-11-02",
      "commissionerate": "Kolkata Port",
      "commissionerates": [
        "Kolkata Port",
        "Kolkata Airport & ACC"
      ],
      "ports": [
        "INCCU1",
        "INCCU4"
      ],
      "address": "OSWAL CHAMBERS, UNIT NO.3O3A, 3 rd FLOOR, 2 CHURCH LANE, KOLKATA 700001",
      "lastNoticeNo": "101/2026",
      "lastNoticeDate": "2026-11-02",
      "lastNoticeUrl": "https://kolkatacustoms.gov.in/storage/uploads/custom_notice_order/20261102163850.pdf",
      "notices": [
        {
          "no": "101/2026",
          "date": "2026-11-02",
          "kind": "unknown",
          "url": "https://kolkatacustoms.gov.in/storage/uploads/custom_notice_order/20261102163850.pdf",
          "office": "kolkata"
        },
        {
          "no": "101/2026",
          "date": "2026-10-23",
          "kind": "revalidation",
          "url": "https://kolkatacustoms.gov.in/storage/uploads/custom_notice_order/20261028160957.pdf",
          "office": "kolkata"
        }
      ],
      "sources": [
        "kolkata_cbs"
      ],
      "noticeFlags": [],
      "url": "https://kolkatacustoms.gov.in/storage/uploads/custom_notice_order/20261102163850.pdf",
      "sample": true
    },
    {
      "dedupeKey": "mumbai-zone-i:11/2395",
      "firmName": "Future Impex",
      "licenceNumber": "11/2395",
      "licenceIssuedBy": "Mumbai Zone I",
      "localLicenceNumber": "11/2395",
      "cbCode": null,
      "status": null,
      "statusScope": null,
      "statusSince": null,
      "statusHistory": [],
      "licenceValidUntil": null,
      "licenceValidUntilText": null,
      "commissionerate": "Mumbai Zone I",
      "commissionerates": [
        "Mumbai Zone I",
        "Mumbai Zone II (JNCH)",
        "Mumbai Zone III (ACC Sahar)"
      ],
      "ports": [
        "INBOM1",
        "INNSA1",
        "INBOM4"
      ],
      "address": null,
      "lastNoticeNo": "49/2026-27",
      "lastNoticeDate": "2026-09-29",
      "lastNoticeUrl": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/OIO_49.pdf",
      "notices": [
        {
          "no": "49/2026-27",
          "date": "2026-09-29",
          "kind": "adjudication",
          "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/OIO_49.pdf",
          "office": "mumbai"
        },
        {
          "no": "48/2026-27",
          "date": "2026-09-29",
          "kind": "adjudication",
          "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/OIO_48.pdf",
          "office": "mumbai"
        },
        {
          "no": "44/2026-27",
          "date": "2026-09-28",
          "kind": "adjudication",
          "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/OIO_44.pdf",
          "office": "mumbai"
        }
      ],
      "sources": [
        "mumbai_cbs"
      ],
      "noticeFlags": [
        "from_title_only",
        "adjudication_on_record"
      ],
      "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/OIO_49.pdf",
      "sample": true
    },
    {
      "dedupeKey": "cochin:7/06",
      "firmName": "Global Agencies",
      "licenceNumber": "7/06",
      "licenceIssuedBy": "Cochin",
      "localLicenceNumber": "11/1574",
      "cbCode": null,
      "status": "revalidated",
      "statusScope": "Mumbai Zones I–III",
      "statusSince": "2026-10-21",
      "statusHistory": [
        {
          "status": "revalidated",
          "date": "2026-10-21",
          "noticeNo": "232/2026-27",
          "kind": "revalidation",
          "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_232.pdf",
          "scope": "Mumbai Zones I–III"
        }
      ],
      "licenceValidUntil": null,
      "licenceValidUntilText": "lifetime",
      "commissionerate": "Mumbai Zone I",
      "commissionerates": [
        "Mumbai Zone I",
        "Mumbai Zone II (JNCH)",
        "Mumbai Zone III (ACC Sahar)"
      ],
      "ports": [
        "INBOM1",
        "INNSA1",
        "INBOM4"
      ],
      "address": null,
      "lastNoticeNo": "232/2026-27",
      "lastNoticeDate": "2026-10-21",
      "lastNoticeUrl": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_232.pdf",
      "notices": [
        {
          "no": "232/2026-27",
          "date": "2026-10-21",
          "kind": "revalidation",
          "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_232.pdf",
          "office": "mumbai"
        }
      ],
      "sources": [
        "mumbai_cbs"
      ],
      "noticeFlags": [
        "out_of_zone_licence"
      ],
      "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_232.pdf",
      "sample": true
    }
  ],
  "discoveryInput": {},
  "discoveryTimeoutSecs": 3600,
  "webhookBatchSize": 1,
  "dedupeStoreName": "customs-broker-directory-ai-seen"
}
```

# Actor output Schema

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

All qualified brokers as JSON, best-scoring first.

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

The same brokers as a spreadsheet.

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

The OUTPUT record: the funnel (loaded -> filtered -> AI-assessed -> qualified), per-reason skip counts, charged events by type, free-tier brokers used and remaining, the look-up answer per licence number (queries\[]), webhook delivery counts. RUN_SUMMARY is its deprecated alias with the same value, removed in 0.3 (2027-01-31) - read OUTPUT.

# 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 = {
    "commissionerates": [
        "mumbai",
        "kolkata"
    ],
    "sourceMode": "list",
    "itemsList": [
        {
            "dedupeKey": "mumbai-zone-i:11/2156",
            "firmName": "SUSWASHIS CLEARING AND FORWARDING AGENCY",
            "licenceNumber": "11/2156",
            "licenceIssuedBy": "Mumbai Zone I",
            "localLicenceNumber": "11/2156",
            "cbCode": null,
            "status": "revalidated",
            "statusScope": "Mumbai Zones I–III",
            "statusSince": "2026-10-13",
            "statusHistory": [
                {
                    "status": "revalidated",
                    "date": "2026-10-13",
                    "noticeNo": "227/2026-27",
                    "kind": "revalidation",
                    "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_227.pdf",
                    "scope": "Mumbai Zones I–III"
                }
            ],
            "licenceValidUntil": null,
            "licenceValidUntilText": "lifetime",
            "commissionerate": "Mumbai Zone I",
            "commissionerates": [
                "Mumbai Zone I",
                "Mumbai Zone II (JNCH)",
                "Mumbai Zone III (ACC Sahar)"
            ],
            "ports": [
                "INBOM1",
                "INNSA1",
                "INBOM4"
            ],
            "address": null,
            "lastNoticeNo": "227/2026-27",
            "lastNoticeDate": "2026-10-13",
            "lastNoticeUrl": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_227.pdf",
            "notices": [
                {
                    "no": "227/2026-27",
                    "date": "2026-10-13",
                    "kind": "revalidation",
                    "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_227.pdf",
                    "office": "mumbai"
                }
            ],
            "sources": [
                "mumbai_cbs"
            ],
            "noticeFlags": [],
            "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_227.pdf",
            "sample": true
        },
        {
            "dedupeKey": "mumbai-zone-i:11/1708",
            "firmName": "Navbharat Consolidation Pvt. Ltd.",
            "licenceNumber": "11/1708",
            "licenceIssuedBy": "Mumbai Zone I",
            "localLicenceNumber": "11/1708",
            "cbCode": null,
            "status": "suspended",
            "statusScope": "Mumbai Zones I–III",
            "statusSince": "2026-09-16",
            "statusHistory": [
                {
                    "status": "suspended",
                    "date": "2026-08-31",
                    "noticeNo": "08/2026-27",
                    "kind": "suspension",
                    "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Suspension_Order_08_2026.pdf",
                    "scope": "Mumbai Zones I–III"
                },
                {
                    "status": "suspended",
                    "date": "2026-09-16",
                    "noticeNo": "11/2026-27",
                    "kind": "suspension_continued",
                    "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Order_No_11.pdf",
                    "scope": "Mumbai Zones I–III"
                }
            ],
            "licenceValidUntil": null,
            "licenceValidUntilText": null,
            "commissionerate": "Mumbai Zone I",
            "commissionerates": [
                "Mumbai Zone I",
                "Mumbai Zone II (JNCH)",
                "Mumbai Zone III (ACC Sahar)"
            ],
            "ports": [
                "INBOM1",
                "INNSA1",
                "INBOM4"
            ],
            "address": null,
            "lastNoticeNo": "11/2026-27",
            "lastNoticeDate": "2026-09-16",
            "lastNoticeUrl": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Order_No_11.pdf",
            "notices": [
                {
                    "no": "11/2026-27",
                    "date": "2026-09-16",
                    "kind": "suspension_continued",
                    "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Order_No_11.pdf",
                    "office": "mumbai"
                },
                {
                    "no": "08/2026-27",
                    "date": "2026-08-31",
                    "kind": "suspension",
                    "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Suspension_Order_08_2026.pdf",
                    "office": "mumbai"
                }
            ],
            "sources": [
                "mumbai_cbs"
            ],
            "noticeFlags": [
                "from_title_only"
            ],
            "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Order_No_11.pdf",
            "sample": true
        },
        {
            "dedupeKey": "kolkata:A-35",
            "firmName": "AP Clearing Agency Private Limited",
            "licenceNumber": "A-35",
            "licenceIssuedBy": "Kolkata",
            "localLicenceNumber": null,
            "cbCode": "2266",
            "status": "revalidated",
            "statusScope": "Kolkata",
            "statusSince": "2026-10-23",
            "statusHistory": [
                {
                    "status": "revalidated",
                    "date": "2026-10-23",
                    "noticeNo": "101/2026",
                    "kind": "revalidation",
                    "url": "https://kolkatacustoms.gov.in/storage/uploads/custom_notice_order/20261028160957.pdf",
                    "scope": "Kolkata"
                }
            ],
            "licenceValidUntil": "2036-11-02",
            "licenceValidUntilText": "2036-11-02",
            "commissionerate": "Kolkata Port",
            "commissionerates": [
                "Kolkata Port",
                "Kolkata Airport & ACC"
            ],
            "ports": [
                "INCCU1",
                "INCCU4"
            ],
            "address": "OSWAL CHAMBERS, UNIT NO.3O3A, 3 rd FLOOR, 2 CHURCH LANE, KOLKATA 700001",
            "lastNoticeNo": "101/2026",
            "lastNoticeDate": "2026-11-02",
            "lastNoticeUrl": "https://kolkatacustoms.gov.in/storage/uploads/custom_notice_order/20261102163850.pdf",
            "notices": [
                {
                    "no": "101/2026",
                    "date": "2026-11-02",
                    "kind": "unknown",
                    "url": "https://kolkatacustoms.gov.in/storage/uploads/custom_notice_order/20261102163850.pdf",
                    "office": "kolkata"
                },
                {
                    "no": "101/2026",
                    "date": "2026-10-23",
                    "kind": "revalidation",
                    "url": "https://kolkatacustoms.gov.in/storage/uploads/custom_notice_order/20261028160957.pdf",
                    "office": "kolkata"
                }
            ],
            "sources": [
                "kolkata_cbs"
            ],
            "noticeFlags": [],
            "url": "https://kolkatacustoms.gov.in/storage/uploads/custom_notice_order/20261102163850.pdf",
            "sample": true
        },
        {
            "dedupeKey": "mumbai-zone-i:11/2395",
            "firmName": "Future Impex",
            "licenceNumber": "11/2395",
            "licenceIssuedBy": "Mumbai Zone I",
            "localLicenceNumber": "11/2395",
            "cbCode": null,
            "status": null,
            "statusScope": null,
            "statusSince": null,
            "statusHistory": [],
            "licenceValidUntil": null,
            "licenceValidUntilText": null,
            "commissionerate": "Mumbai Zone I",
            "commissionerates": [
                "Mumbai Zone I",
                "Mumbai Zone II (JNCH)",
                "Mumbai Zone III (ACC Sahar)"
            ],
            "ports": [
                "INBOM1",
                "INNSA1",
                "INBOM4"
            ],
            "address": null,
            "lastNoticeNo": "49/2026-27",
            "lastNoticeDate": "2026-09-29",
            "lastNoticeUrl": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/OIO_49.pdf",
            "notices": [
                {
                    "no": "49/2026-27",
                    "date": "2026-09-29",
                    "kind": "adjudication",
                    "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/OIO_49.pdf",
                    "office": "mumbai"
                },
                {
                    "no": "48/2026-27",
                    "date": "2026-09-29",
                    "kind": "adjudication",
                    "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/OIO_48.pdf",
                    "office": "mumbai"
                },
                {
                    "no": "44/2026-27",
                    "date": "2026-09-28",
                    "kind": "adjudication",
                    "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/OIO_44.pdf",
                    "office": "mumbai"
                }
            ],
            "sources": [
                "mumbai_cbs"
            ],
            "noticeFlags": [
                "from_title_only",
                "adjudication_on_record"
            ],
            "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/OIO_49.pdf",
            "sample": true
        },
        {
            "dedupeKey": "cochin:7/06",
            "firmName": "Global Agencies",
            "licenceNumber": "7/06",
            "licenceIssuedBy": "Cochin",
            "localLicenceNumber": "11/1574",
            "cbCode": null,
            "status": "revalidated",
            "statusScope": "Mumbai Zones I–III",
            "statusSince": "2026-10-21",
            "statusHistory": [
                {
                    "status": "revalidated",
                    "date": "2026-10-21",
                    "noticeNo": "232/2026-27",
                    "kind": "revalidation",
                    "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_232.pdf",
                    "scope": "Mumbai Zones I–III"
                }
            ],
            "licenceValidUntil": null,
            "licenceValidUntilText": "lifetime",
            "commissionerate": "Mumbai Zone I",
            "commissionerates": [
                "Mumbai Zone I",
                "Mumbai Zone II (JNCH)",
                "Mumbai Zone III (ACC Sahar)"
            ],
            "ports": [
                "INBOM1",
                "INNSA1",
                "INBOM4"
            ],
            "address": null,
            "lastNoticeNo": "232/2026-27",
            "lastNoticeDate": "2026-10-21",
            "lastNoticeUrl": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_232.pdf",
            "notices": [
                {
                    "no": "232/2026-27",
                    "date": "2026-10-21",
                    "kind": "revalidation",
                    "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_232.pdf",
                    "office": "mumbai"
                }
            ],
            "sources": [
                "mumbai_cbs"
            ],
            "noticeFlags": [
                "out_of_zone_licence"
            ],
            "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_232.pdf",
            "sample": true
        }
    ],
    "discoveryInput": {}
};

// Run the Actor and wait for it to finish
const run = await client.actor("rich_minds/customs-broker-directory-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 = {
    "commissionerates": [
        "mumbai",
        "kolkata",
    ],
    "sourceMode": "list",
    "itemsList": [
        {
            "dedupeKey": "mumbai-zone-i:11/2156",
            "firmName": "SUSWASHIS CLEARING AND FORWARDING AGENCY",
            "licenceNumber": "11/2156",
            "licenceIssuedBy": "Mumbai Zone I",
            "localLicenceNumber": "11/2156",
            "cbCode": None,
            "status": "revalidated",
            "statusScope": "Mumbai Zones I–III",
            "statusSince": "2026-10-13",
            "statusHistory": [{
                    "status": "revalidated",
                    "date": "2026-10-13",
                    "noticeNo": "227/2026-27",
                    "kind": "revalidation",
                    "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_227.pdf",
                    "scope": "Mumbai Zones I–III",
                }],
            "licenceValidUntil": None,
            "licenceValidUntilText": "lifetime",
            "commissionerate": "Mumbai Zone I",
            "commissionerates": [
                "Mumbai Zone I",
                "Mumbai Zone II (JNCH)",
                "Mumbai Zone III (ACC Sahar)",
            ],
            "ports": [
                "INBOM1",
                "INNSA1",
                "INBOM4",
            ],
            "address": None,
            "lastNoticeNo": "227/2026-27",
            "lastNoticeDate": "2026-10-13",
            "lastNoticeUrl": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_227.pdf",
            "notices": [{
                    "no": "227/2026-27",
                    "date": "2026-10-13",
                    "kind": "revalidation",
                    "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_227.pdf",
                    "office": "mumbai",
                }],
            "sources": ["mumbai_cbs"],
            "noticeFlags": [],
            "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_227.pdf",
            "sample": True,
        },
        {
            "dedupeKey": "mumbai-zone-i:11/1708",
            "firmName": "Navbharat Consolidation Pvt. Ltd.",
            "licenceNumber": "11/1708",
            "licenceIssuedBy": "Mumbai Zone I",
            "localLicenceNumber": "11/1708",
            "cbCode": None,
            "status": "suspended",
            "statusScope": "Mumbai Zones I–III",
            "statusSince": "2026-09-16",
            "statusHistory": [
                {
                    "status": "suspended",
                    "date": "2026-08-31",
                    "noticeNo": "08/2026-27",
                    "kind": "suspension",
                    "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Suspension_Order_08_2026.pdf",
                    "scope": "Mumbai Zones I–III",
                },
                {
                    "status": "suspended",
                    "date": "2026-09-16",
                    "noticeNo": "11/2026-27",
                    "kind": "suspension_continued",
                    "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Order_No_11.pdf",
                    "scope": "Mumbai Zones I–III",
                },
            ],
            "licenceValidUntil": None,
            "licenceValidUntilText": None,
            "commissionerate": "Mumbai Zone I",
            "commissionerates": [
                "Mumbai Zone I",
                "Mumbai Zone II (JNCH)",
                "Mumbai Zone III (ACC Sahar)",
            ],
            "ports": [
                "INBOM1",
                "INNSA1",
                "INBOM4",
            ],
            "address": None,
            "lastNoticeNo": "11/2026-27",
            "lastNoticeDate": "2026-09-16",
            "lastNoticeUrl": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Order_No_11.pdf",
            "notices": [
                {
                    "no": "11/2026-27",
                    "date": "2026-09-16",
                    "kind": "suspension_continued",
                    "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Order_No_11.pdf",
                    "office": "mumbai",
                },
                {
                    "no": "08/2026-27",
                    "date": "2026-08-31",
                    "kind": "suspension",
                    "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Suspension_Order_08_2026.pdf",
                    "office": "mumbai",
                },
            ],
            "sources": ["mumbai_cbs"],
            "noticeFlags": ["from_title_only"],
            "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Order_No_11.pdf",
            "sample": True,
        },
        {
            "dedupeKey": "kolkata:A-35",
            "firmName": "AP Clearing Agency Private Limited",
            "licenceNumber": "A-35",
            "licenceIssuedBy": "Kolkata",
            "localLicenceNumber": None,
            "cbCode": "2266",
            "status": "revalidated",
            "statusScope": "Kolkata",
            "statusSince": "2026-10-23",
            "statusHistory": [{
                    "status": "revalidated",
                    "date": "2026-10-23",
                    "noticeNo": "101/2026",
                    "kind": "revalidation",
                    "url": "https://kolkatacustoms.gov.in/storage/uploads/custom_notice_order/20261028160957.pdf",
                    "scope": "Kolkata",
                }],
            "licenceValidUntil": "2036-11-02",
            "licenceValidUntilText": "2036-11-02",
            "commissionerate": "Kolkata Port",
            "commissionerates": [
                "Kolkata Port",
                "Kolkata Airport & ACC",
            ],
            "ports": [
                "INCCU1",
                "INCCU4",
            ],
            "address": "OSWAL CHAMBERS, UNIT NO.3O3A, 3 rd FLOOR, 2 CHURCH LANE, KOLKATA 700001",
            "lastNoticeNo": "101/2026",
            "lastNoticeDate": "2026-11-02",
            "lastNoticeUrl": "https://kolkatacustoms.gov.in/storage/uploads/custom_notice_order/20261102163850.pdf",
            "notices": [
                {
                    "no": "101/2026",
                    "date": "2026-11-02",
                    "kind": "unknown",
                    "url": "https://kolkatacustoms.gov.in/storage/uploads/custom_notice_order/20261102163850.pdf",
                    "office": "kolkata",
                },
                {
                    "no": "101/2026",
                    "date": "2026-10-23",
                    "kind": "revalidation",
                    "url": "https://kolkatacustoms.gov.in/storage/uploads/custom_notice_order/20261028160957.pdf",
                    "office": "kolkata",
                },
            ],
            "sources": ["kolkata_cbs"],
            "noticeFlags": [],
            "url": "https://kolkatacustoms.gov.in/storage/uploads/custom_notice_order/20261102163850.pdf",
            "sample": True,
        },
        {
            "dedupeKey": "mumbai-zone-i:11/2395",
            "firmName": "Future Impex",
            "licenceNumber": "11/2395",
            "licenceIssuedBy": "Mumbai Zone I",
            "localLicenceNumber": "11/2395",
            "cbCode": None,
            "status": None,
            "statusScope": None,
            "statusSince": None,
            "statusHistory": [],
            "licenceValidUntil": None,
            "licenceValidUntilText": None,
            "commissionerate": "Mumbai Zone I",
            "commissionerates": [
                "Mumbai Zone I",
                "Mumbai Zone II (JNCH)",
                "Mumbai Zone III (ACC Sahar)",
            ],
            "ports": [
                "INBOM1",
                "INNSA1",
                "INBOM4",
            ],
            "address": None,
            "lastNoticeNo": "49/2026-27",
            "lastNoticeDate": "2026-09-29",
            "lastNoticeUrl": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/OIO_49.pdf",
            "notices": [
                {
                    "no": "49/2026-27",
                    "date": "2026-09-29",
                    "kind": "adjudication",
                    "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/OIO_49.pdf",
                    "office": "mumbai",
                },
                {
                    "no": "48/2026-27",
                    "date": "2026-09-29",
                    "kind": "adjudication",
                    "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/OIO_48.pdf",
                    "office": "mumbai",
                },
                {
                    "no": "44/2026-27",
                    "date": "2026-09-28",
                    "kind": "adjudication",
                    "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/OIO_44.pdf",
                    "office": "mumbai",
                },
            ],
            "sources": ["mumbai_cbs"],
            "noticeFlags": [
                "from_title_only",
                "adjudication_on_record",
            ],
            "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/OIO_49.pdf",
            "sample": True,
        },
        {
            "dedupeKey": "cochin:7/06",
            "firmName": "Global Agencies",
            "licenceNumber": "7/06",
            "licenceIssuedBy": "Cochin",
            "localLicenceNumber": "11/1574",
            "cbCode": None,
            "status": "revalidated",
            "statusScope": "Mumbai Zones I–III",
            "statusSince": "2026-10-21",
            "statusHistory": [{
                    "status": "revalidated",
                    "date": "2026-10-21",
                    "noticeNo": "232/2026-27",
                    "kind": "revalidation",
                    "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_232.pdf",
                    "scope": "Mumbai Zones I–III",
                }],
            "licenceValidUntil": None,
            "licenceValidUntilText": "lifetime",
            "commissionerate": "Mumbai Zone I",
            "commissionerates": [
                "Mumbai Zone I",
                "Mumbai Zone II (JNCH)",
                "Mumbai Zone III (ACC Sahar)",
            ],
            "ports": [
                "INBOM1",
                "INNSA1",
                "INBOM4",
            ],
            "address": None,
            "lastNoticeNo": "232/2026-27",
            "lastNoticeDate": "2026-10-21",
            "lastNoticeUrl": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_232.pdf",
            "notices": [{
                    "no": "232/2026-27",
                    "date": "2026-10-21",
                    "kind": "revalidation",
                    "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_232.pdf",
                    "office": "mumbai",
                }],
            "sources": ["mumbai_cbs"],
            "noticeFlags": ["out_of_zone_licence"],
            "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_232.pdf",
            "sample": True,
        },
    ],
    "discoveryInput": {},
}

# Run the Actor and wait for it to finish
run = client.actor("rich_minds/customs-broker-directory-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 '{
  "commissionerates": [
    "mumbai",
    "kolkata"
  ],
  "sourceMode": "list",
  "itemsList": [
    {
      "dedupeKey": "mumbai-zone-i:11/2156",
      "firmName": "SUSWASHIS CLEARING AND FORWARDING AGENCY",
      "licenceNumber": "11/2156",
      "licenceIssuedBy": "Mumbai Zone I",
      "localLicenceNumber": "11/2156",
      "cbCode": null,
      "status": "revalidated",
      "statusScope": "Mumbai Zones I–III",
      "statusSince": "2026-10-13",
      "statusHistory": [
        {
          "status": "revalidated",
          "date": "2026-10-13",
          "noticeNo": "227/2026-27",
          "kind": "revalidation",
          "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_227.pdf",
          "scope": "Mumbai Zones I–III"
        }
      ],
      "licenceValidUntil": null,
      "licenceValidUntilText": "lifetime",
      "commissionerate": "Mumbai Zone I",
      "commissionerates": [
        "Mumbai Zone I",
        "Mumbai Zone II (JNCH)",
        "Mumbai Zone III (ACC Sahar)"
      ],
      "ports": [
        "INBOM1",
        "INNSA1",
        "INBOM4"
      ],
      "address": null,
      "lastNoticeNo": "227/2026-27",
      "lastNoticeDate": "2026-10-13",
      "lastNoticeUrl": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_227.pdf",
      "notices": [
        {
          "no": "227/2026-27",
          "date": "2026-10-13",
          "kind": "revalidation",
          "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_227.pdf",
          "office": "mumbai"
        }
      ],
      "sources": [
        "mumbai_cbs"
      ],
      "noticeFlags": [],
      "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_227.pdf",
      "sample": true
    },
    {
      "dedupeKey": "mumbai-zone-i:11/1708",
      "firmName": "Navbharat Consolidation Pvt. Ltd.",
      "licenceNumber": "11/1708",
      "licenceIssuedBy": "Mumbai Zone I",
      "localLicenceNumber": "11/1708",
      "cbCode": null,
      "status": "suspended",
      "statusScope": "Mumbai Zones I–III",
      "statusSince": "2026-09-16",
      "statusHistory": [
        {
          "status": "suspended",
          "date": "2026-08-31",
          "noticeNo": "08/2026-27",
          "kind": "suspension",
          "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Suspension_Order_08_2026.pdf",
          "scope": "Mumbai Zones I–III"
        },
        {
          "status": "suspended",
          "date": "2026-09-16",
          "noticeNo": "11/2026-27",
          "kind": "suspension_continued",
          "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Order_No_11.pdf",
          "scope": "Mumbai Zones I–III"
        }
      ],
      "licenceValidUntil": null,
      "licenceValidUntilText": null,
      "commissionerate": "Mumbai Zone I",
      "commissionerates": [
        "Mumbai Zone I",
        "Mumbai Zone II (JNCH)",
        "Mumbai Zone III (ACC Sahar)"
      ],
      "ports": [
        "INBOM1",
        "INNSA1",
        "INBOM4"
      ],
      "address": null,
      "lastNoticeNo": "11/2026-27",
      "lastNoticeDate": "2026-09-16",
      "lastNoticeUrl": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Order_No_11.pdf",
      "notices": [
        {
          "no": "11/2026-27",
          "date": "2026-09-16",
          "kind": "suspension_continued",
          "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Order_No_11.pdf",
          "office": "mumbai"
        },
        {
          "no": "08/2026-27",
          "date": "2026-08-31",
          "kind": "suspension",
          "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Suspension_Order_08_2026.pdf",
          "office": "mumbai"
        }
      ],
      "sources": [
        "mumbai_cbs"
      ],
      "noticeFlags": [
        "from_title_only"
      ],
      "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Order_No_11.pdf",
      "sample": true
    },
    {
      "dedupeKey": "kolkata:A-35",
      "firmName": "AP Clearing Agency Private Limited",
      "licenceNumber": "A-35",
      "licenceIssuedBy": "Kolkata",
      "localLicenceNumber": null,
      "cbCode": "2266",
      "status": "revalidated",
      "statusScope": "Kolkata",
      "statusSince": "2026-10-23",
      "statusHistory": [
        {
          "status": "revalidated",
          "date": "2026-10-23",
          "noticeNo": "101/2026",
          "kind": "revalidation",
          "url": "https://kolkatacustoms.gov.in/storage/uploads/custom_notice_order/20261028160957.pdf",
          "scope": "Kolkata"
        }
      ],
      "licenceValidUntil": "2036-11-02",
      "licenceValidUntilText": "2036-11-02",
      "commissionerate": "Kolkata Port",
      "commissionerates": [
        "Kolkata Port",
        "Kolkata Airport & ACC"
      ],
      "ports": [
        "INCCU1",
        "INCCU4"
      ],
      "address": "OSWAL CHAMBERS, UNIT NO.3O3A, 3 rd FLOOR, 2 CHURCH LANE, KOLKATA 700001",
      "lastNoticeNo": "101/2026",
      "lastNoticeDate": "2026-11-02",
      "lastNoticeUrl": "https://kolkatacustoms.gov.in/storage/uploads/custom_notice_order/20261102163850.pdf",
      "notices": [
        {
          "no": "101/2026",
          "date": "2026-11-02",
          "kind": "unknown",
          "url": "https://kolkatacustoms.gov.in/storage/uploads/custom_notice_order/20261102163850.pdf",
          "office": "kolkata"
        },
        {
          "no": "101/2026",
          "date": "2026-10-23",
          "kind": "revalidation",
          "url": "https://kolkatacustoms.gov.in/storage/uploads/custom_notice_order/20261028160957.pdf",
          "office": "kolkata"
        }
      ],
      "sources": [
        "kolkata_cbs"
      ],
      "noticeFlags": [],
      "url": "https://kolkatacustoms.gov.in/storage/uploads/custom_notice_order/20261102163850.pdf",
      "sample": true
    },
    {
      "dedupeKey": "mumbai-zone-i:11/2395",
      "firmName": "Future Impex",
      "licenceNumber": "11/2395",
      "licenceIssuedBy": "Mumbai Zone I",
      "localLicenceNumber": "11/2395",
      "cbCode": null,
      "status": null,
      "statusScope": null,
      "statusSince": null,
      "statusHistory": [],
      "licenceValidUntil": null,
      "licenceValidUntilText": null,
      "commissionerate": "Mumbai Zone I",
      "commissionerates": [
        "Mumbai Zone I",
        "Mumbai Zone II (JNCH)",
        "Mumbai Zone III (ACC Sahar)"
      ],
      "ports": [
        "INBOM1",
        "INNSA1",
        "INBOM4"
      ],
      "address": null,
      "lastNoticeNo": "49/2026-27",
      "lastNoticeDate": "2026-09-29",
      "lastNoticeUrl": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/OIO_49.pdf",
      "notices": [
        {
          "no": "49/2026-27",
          "date": "2026-09-29",
          "kind": "adjudication",
          "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/OIO_49.pdf",
          "office": "mumbai"
        },
        {
          "no": "48/2026-27",
          "date": "2026-09-29",
          "kind": "adjudication",
          "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/OIO_48.pdf",
          "office": "mumbai"
        },
        {
          "no": "44/2026-27",
          "date": "2026-09-28",
          "kind": "adjudication",
          "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/OIO_44.pdf",
          "office": "mumbai"
        }
      ],
      "sources": [
        "mumbai_cbs"
      ],
      "noticeFlags": [
        "from_title_only",
        "adjudication_on_record"
      ],
      "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/OIO_49.pdf",
      "sample": true
    },
    {
      "dedupeKey": "cochin:7/06",
      "firmName": "Global Agencies",
      "licenceNumber": "7/06",
      "licenceIssuedBy": "Cochin",
      "localLicenceNumber": "11/1574",
      "cbCode": null,
      "status": "revalidated",
      "statusScope": "Mumbai Zones I–III",
      "statusSince": "2026-10-21",
      "statusHistory": [
        {
          "status": "revalidated",
          "date": "2026-10-21",
          "noticeNo": "232/2026-27",
          "kind": "revalidation",
          "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_232.pdf",
          "scope": "Mumbai Zones I–III"
        }
      ],
      "licenceValidUntil": null,
      "licenceValidUntilText": "lifetime",
      "commissionerate": "Mumbai Zone I",
      "commissionerates": [
        "Mumbai Zone I",
        "Mumbai Zone II (JNCH)",
        "Mumbai Zone III (ACC Sahar)"
      ],
      "ports": [
        "INBOM1",
        "INNSA1",
        "INBOM4"
      ],
      "address": null,
      "lastNoticeNo": "232/2026-27",
      "lastNoticeDate": "2026-10-21",
      "lastNoticeUrl": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_232.pdf",
      "notices": [
        {
          "no": "232/2026-27",
          "date": "2026-10-21",
          "kind": "revalidation",
          "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_232.pdf",
          "office": "mumbai"
        }
      ],
      "sources": [
        "mumbai_cbs"
      ],
      "noticeFlags": [
        "out_of_zone_licence"
      ],
      "url": "https://mumbaicustomszone1.gov.in/writereaddata/images/publicnotice/Notice_232.pdf",
      "sample": true
    }
  ],
  "discoveryInput": {}
}' |
apify call rich_minds/customs-broker-directory-ai --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rich_minds/customs-broker-directory-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/JdcVJMYWSu4R8aQ3W/builds/ZfcjspZRzdGWte1DD/openapi.json
