# Spice Association Members: Buyers, Importers & Exporters List (`rich_minds/trade-association-members-ai`) Actor

First 10 member companies free. Spice association members of ESA, UK SSA and AISEF as one spice buyers list — pay per qualified member company that matches your filters. Spice companies UK, importers Europe and Indian exporters; AI buyer note, membership check. MCP-ready, any plan.

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

## Pricing

from $4.00 / 1,000 qualified member company (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

## Spice Association Members: Buyers, Importers & Exporters List

**Spice association members as one ranked buyer list — reruns bring only new members, any plan.**

⚡ First **10 member companies free** · 💵 **$0.004** per qualified member company · 🤖 AI on by default: **≈ $0.013 all in** per member · ⏱️ all three lists, 391 members, in 14 s

![Spice association members ranked: association, type, country, website, home-page title, score, likely role](https://api.apify.com/v2/key-value-stores/a4NTDx7JeSobg1ckK/records/shortlist.svg)

> Click **Try it** — five real members, free. Then pick a country: a live read of the three lists.
> → [What a run costs](#-pricing--what-a-run-really-costs) · [Try it for your niche](#-try-it-for-your-niche)

### ⚡ At a glance

| | |
|---|---|
| **What you get** | One row per member company: association, member type, country, dual membership; website, home-page title, role e-mail where listed |
| **Reach per list** | Europe buyers: 86 delivered, 22 with a website, 0 with a role mailbox (ESA: name + country) · Indian exporters: 213, 172 with a website, 54 role mailboxes (2026-11-23) |
| **You provide** | A country, a brief ("buyers of turmeric in Germany"), a member type, or names to check |
| **Typical run** | Europe buyers (8 countries): 86 member companies in 6.8 s (measured 2026-11-22) |
| **Cost of that run** | $0 for your first 10; then 76 × $0.004 = $0.30 rules only · ≈ $0.98 with the AI |
| **Keys / setup** | Paid plans (Starter and up): no key, model access (not yet measured) · Free plan: your own Gemini / Groq key — a free key read 5 of 5, 1–3 per backfill run |
| **Which plan** | Any plan: the live search is built in, or your own rows ([list template](https://api.apify.com/v2/key-value-stores/a4NTDx7JeSobg1ckK/records/list-template.json)); e-mail needs a plan that runs Store Actors |

### 🎯 What this Actor does

- **Three trusted lists in one sheet** — the European Spice Association, the UK Seasoning and Spice Association and
  the All India Spices Exporters Forum.
- **Country, type, website, products** — the AI reads each home page first.
- **Dual members flagged, charged once.**
- **A membership check** — member or not, per name.
- **No personal data** — AISEF's contact persons are never output.

### 🚀 How to use it

1. **Click Try it** — five real members, free.
2. **Pick your countries** or type a brief ("buyers of turmeric in Germany") — it starts the live read.
3. **Press Start** — best fits first, each with a first e-mail line built on a fact of the row.
4. **Schedule it weekly** — only new members are delivered and charged.

![Outreach view — contact route, likely role, first e-mail line and next step](https://api.apify.com/v2/key-value-stores/a4NTDx7JeSobg1ckK/records/outreach.svg)

📚 **Learn more:** [Tutorial — a spice buyers list from association members](https://api.apify.com/v2/key-value-stores/a4NTDx7JeSobg1ckK/records/tutorial.html)

### 🌍 European spice association members in one sheet

ESA lists ≈ 155 members, SSA 22 UK companies, AISEF ≈ 214 Indian exporters; 7 sit on two lists. **Read each
member's website** (+ $0.03 a page read) adds title, products, contact page, LinkedIn.

#### Spice importers Europe-wide

86 full members of ESA and SSA in eight countries.

#### Spice suppliers India: verify an exporter

**Membership check**: one name per line → member or not (2026-11-23: 9 of 9 named exporters found in 4 s).

### 🆚 Why not a bought list or apify/website-content-crawler?

| | ESA list of members · SSA members · AISEF members (free pages) | A bought list / a sourcing agent | memo23/europages-scraper | **This Actor** |
|---|---|---|---|---|
| **Your time per 100 member companies** | ≈ 2 h copying three layouts (estimate, timed batch dated 2026-11-29) | ask, wait, trust | sort 450 directory rows by hand | one run |
| **Same 100 member companies (list price, no free tier)** | $0, plus the copying | quoted per 1,000 contacts | ≈ $2.25 for 450 raw rows, no member flagged | 100 ranked members: $0.40 rules only · ≈ $1.25 with the AI |
| **Country filter, dual membership, no personal contacts** | no | by request | no membership signal, no country-of-association filter | yes |

### 💵 Pricing — what a run really costs

| Event | When it is charged | Price |
|---|---|---|
| `free-tier` | your first 10 qualified member companies | **$0.00** |
| `qualified-member-company-basic` | AI off — row, flags, score, fit note, first e-mail line | **$0.004** |
| `qualified-member-company-ai` | AI on — plus AI score, reasons, likely role | **$0.01** |
| `enriched-member-company` | website read on — per member whose page answered | **$0.03** |

**Never charged by us:** reading the lists; members outside your filters, delivered before or below your minimum
score; a company on two lists is **one charge**.

**How that compares** — $0.004 is 1.00× the $0.004 median of company directory rows, but only per qualified member:
one replaces ≈ 4.5 raw list rows (391 read → 86), ≈ $0.0009 per raw-row equivalent. The other priced Actors in
the Store search for *spice association members* charge a $0.01 median (2026-11-23): $0.004 is less than half, though
none reads a member list.

**Worked example** — Europe buyers, 86 delivered. First run, after the 10 free: 76 × $0.01 + 86 × ≈ $0.0025 tokens (gemini-3.5-flash-lite, own key) =
≈ $0.98 with the AI; 76 × $0.004 = $0.30 rules only. **At volume** — all 391: $1.52 rules only · ≈ $4.79 with the AI. **AI tier:** $0.01 per member on your
Apify bill + ≈ $0.002–0.0025 AI tokens (≈ 1,623 in / 181 out, gemini-3.5-flash-lite, measured 2026-11-23; paid to Apify or your key's provider).

### 🤖 What the AI tier adds

One ESA member (brief: *Buyers and processors of Indian turmeric and chilli in Germany and the UK*), AI **off**:

```json
{"name": "HELA Gewürzwerk Hermann Laue GmbH", "ruleScore": 65, "label": "warm", "assessedBy": "rules", "buyerRole": "unknown",
 "fitNote": "Full member of ESA — Germany; no website on the list."}
```

AI **on** (own-key run, 2026-11-23, `aiModel` verbatim):

```json
{"name": "HELA Gewürzwerk Hermann Laue GmbH", "score": 85, "label": "hot", "buyerRole": "processor", "aiModel": "google:gemini-3.5-flash-lite",
 "scoreReasons": ["Recognized spice processor and seasoning manufacturer likely to require volumes of turmeric and chilli."]}
```

It saves ≈ 4 minutes per member of opening the website and writing the first line (on 5 sample member companies).
Each opener differs: *"Your Northampton plant produces pepper, herb and spice blends — we supply Indian turmeric
and chilli that fit those lines."*

### ⚙️ Input

| Field | What it does | Default |
|---|---|---|
| Countries (`countries`) | starts the live read (India → AISEF, UK → SSA, others → ESA) | empty = all |
| What are you looking for? (`goalDescription`) | your brief; its country words start the live read too | empty |
| E-mail me (`notifyEmail`) | the digest of new members | empty |
| Minimum score (`minScore`) | rows below it are dropped, never charged | 50 |
| Max qualified (`maxQualified`) | cap — at most ≈ $4.25 all in with AI + website read; ≈ $1.25 without the read | 100 |
| AI assessment (`enableAi`) | likely role, fit note, first line | on |
| Read each member's website (`readWebsites`) | + $0.03 a page read | off |
| Member lists to read (`associations`) | each option names its countries | esa, ssa, aisef |
| Member types · Company name contains | type and name filters | empty = all |
| Membership check (`checkCompanies`) | only members answering these names | empty |

Also `sourceMode`, `preset`, `targetFlags`, `suppressionList`, `sendAlertsTo`, `dedupeTtlDays` (90); API-only:
`webhookUrl`, `failOnSourceError` … **Flags:**
`multi_association`, `association_member`, `no_website`, `contact_withheld`, `associate_member`, `outside_eu`,
`has_company_email`.

### 📤 Output

One row of the AI run (demo, 2026-11-23):

```json
{"name": "British Pepper and Spice Ltd", "association": "ssa", "memberType": "full", "country": "GB",
 "websiteTitle": "British Pepper & Spice | Bringing Spice to Life",
 "score": 90, "ruleScore": 85, "fitScore": 90, "label": "hot", "assessedBy": "ai", "buyerRole": "processor",
 "url": "https://seasoningandspice.org.uk/members/british-pepper-and-spice-ltd", "chargedEvent": "demo"}
```

Sort by `score`; `ruleScore` is the rule part, `fitScore` the AI's — trend on `ruleScore`. **Upsert key:** `dedupeKey`;
group companies on `companyKey`. Views: Shortlist, Outreach, Memberships, Score breakdown, Export.

| More fields (sample above; meanings: API reference) | Note |
|---|---|
| `itemId` `rowId` `memberUrl` `source` `sourceUrl` `associationName` `associationScope` `alsoMemberOf` `countryName` `city` `address` `postcode` `website` `domain` `websiteSource` `companyEmail` `contactRoute` `websiteDescription` `categories` `contactPageUrl` `linkedinUrl` `websiteFetched` `matchedCheckName` `contactWithheld` | `memberUrl` = `url`; `associationScope` is the list's scope |
| `flags` `targetFlagsMatched` `aiModel` `fitNote` `summary` `scoreReasons` `generatedText` `generatedTextBy` `recommendedNextStep` `billedAs` `sourceRun` | the verdict and billing |
| `listCheckedAt` · `websiteFetchedAt` · `fetchedAt` | when this run downloaded the list · read the site · wrote the row |

Useful? Leave a review on the Store.

### 🔁 Run it weekly

1. Open the task your first live run's status links → **Schedule**; add `notifyEmail` or **Send alerts to** (Slack,
   Teams …).
2. Keep `dedupeAcrossRuns` on — only new members, into Sheets or your CRM via the Integrations tab ([tracker
   sheet](https://api.apify.com/v2/key-value-stores/a4NTDx7JeSobg1ckK/records/tracker.csv)). Several clients? One task each, own `clientName`.

The lists change slowly: expect quiet weeks, which cost $0. [CRM recipes](https://api.apify.com/v2/key-value-stores/a4NTDx7JeSobg1ckK/records/crm-recipes.md): Sheets, HubSpot,
Pipedrive.

#### 🎯 Try it for your niche

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

| Niche (preset) | Measured |
|---|---|
| [ESA members in Germany](https://api.apify.com/v2/key-value-stores/a4NTDx7JeSobg1ckK/records/preset-esa-germany.json) | 13 qualified, 4.1 s |
| [UK spice and seasoning companies](https://api.apify.com/v2/key-value-stores/a4NTDx7JeSobg1ckK/records/preset-uk-spice-processors.json) | 22 qualified, 2.8 s |
| [Indian spice exporters](https://api.apify.com/v2/key-value-stores/a4NTDx7JeSobg1ckK/records/preset-indian-spice-exporters.json) | 213 qualified, 8.3 s |
| [European buyers, 8 countries](https://api.apify.com/v2/key-value-stores/a4NTDx7JeSobg1ckK/records/preset-europe-buyers.json) | 86 qualified, 6.8 s |
| [Members of two associations](https://api.apify.com/v2/key-value-stores/a4NTDx7JeSobg1ckK/records/preset-dual-members.json) | 14 qualified = 7 companies (one charge each), 6.1 s |
| [Spice suppliers at origin](https://api.apify.com/v2/key-value-stores/a4NTDx7JeSobg1ckK/records/preset-origin-suppliers.json) | 40 qualified, 2.8 s |
| [Verify an Indian supplier](https://api.apify.com/v2/key-value-stores/a4NTDx7JeSobg1ckK/records/preset-verify-indian-supplier.json) | 14 qualified (9 of 9 names found), 4.0 s |

### 🔌 Integrations, automation and API

**Webhook** — `webhookUrl` POSTs each row with `runId` (batch body: `member_companies.qualified`), signed with
`webhookSecret`; retried once, never fails the run, failed rows re-sent next run. **Which delivery field wins:** every URL is posted once —
`webhookUrl` gets the rows, the others the digest; a per-service field wins for its service. Every
`OUTPUT` key: **[API reference](https://api.apify.com/v2/key-value-stores/a4NTDx7JeSobg1ckK/records/api-reference.md)**. **MCP:**
`{"mcpServers": {"apify": {"url": "https://mcp.apify.com/?actors=rich_minds/trade-association-members-ai"}}}` ·
**Minimal agent input:** `{"countries": ["DE"], "maxQualified": 20, "dedupeAcrossRuns": false}`

**No-code:** **n8n** — import the [weekly workflow](https://api.apify.com/v2/key-value-stores/a4NTDx7JeSobg1ckK/records/n8n-weekly-sheet.json) · **Make scenario** — Schedule → Apify
"Run an Actor" → Google Sheets "Add a row" · **Zapier** — "Finished Actor Run" → a Sheets row or a HubSpot company
(upsert on `dedupeKey`).

#### Run outcomes

| Outcome | Status | `OUTPUT` | Charged? |
|---|---|---|---|
| Free demo | SUCCEEDED | `mode: demo` | no |
| Success | SUCCEEDED | `outcome: ok`, `refused` | per member |
| Nothing matched | SUCCEEDED | `outcome: empty` | not by us — the read costs nothing |
| No list answered | SUCCEEDED; FAILED with `failOnSourceError: true` | `ok: false`, `outcome: source_failed` | no |
| Source partial | SUCCEEDED | `sourceStatus.partial`, `refused[]` | per member |
| Invalid input | FAILED | none — `statusMessage` | no |
| AI unavailable | SUCCEEDED | `aiError` | basic price |

<details><summary>API — Python and JavaScript</summary>

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("rich_minds/trade-association-members-ai").call(
    run_input={  # free first call instead: {} or {"sourceMode": "list", "itemsList": [your rows]}
        "countries": ["DE", "NL", "GB"], "goalDescription": "Buyers of Indian turmeric", "maxQualified": 50,
        "failOnSourceError": True,  # no list answered → FAILED
        # autoSwitchToLive acts on the Console form only
        # "maxDiscoveryChargeUsd": 0.5,  # only the crawler fallback spends it
    },
    timeout_secs=2140,  # FAQ: 600 s + 50 × 9.4 s, doubled
    # build="0.1.7",  # pin a tested build
)
if run["status"] != "SUCCEEDED":
    raise RuntimeError(run["status"], run.get("statusMessage"))
rec = client.key_value_store(run["defaultKeyValueStoreId"]).get_record("OUTPUT")
out = rec["value"] if rec else {}
if not out.get("ok", True) or out.get("sourceError"):
    raise RuntimeError(out.get("outcome"), out.get("sourceError"))
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["name"], item["score"], item["label"], item["url"])
```

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });
const run = await client.actor('rich_minds/trade-association-members-ai').call({
    // free first call: {} or { sourceMode: 'list', itemsList: [your rows] }
    checkCompanies: ['Synthite'], goalDescription: 'Vetted Indian pepper exporters',
    maxQualified: 50, failOnSourceError: true,
}, { timeout: 2140 /* , build: '0.1.7' */ });
if (run.status !== 'SUCCEEDED') throw new Error(`${run.status}: ${run.statusMessage}`);
const rec = await client.keyValueStore(run.defaultKeyValueStoreId).getRecord('OUTPUT');
const out = rec ? rec.value : {};
if (out.ok === false || out.sourceError) throw new Error(`${out.outcome}: ${out.sourceError}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.map((i) => [i.name, i.score, i.label, i.url]));
```

</details>

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

| Call | `OUTPUT.mode` | Charges? |
|---|---|---|
| `{}` or the untouched form | `demo` | no |
| a country, type, name, check or list (or `sourceMode: live`) | `live` | per member |
| sample rows + terms, `autoSwitchToLive: false` | `demo` | no |
| `sourceMode` `list` + `itemsList` / `dataset` + `datasetId` | `list` / `dataset` | per member |

</details>

#### List-mode rows

| Field | Needed? | What it enables |
|---|---|---|
| `name` | required (or `companyName`, `company`, `memberName`, `title`) | the row |
| `association` `memberType` `country` `website` `companyEmail` `alsoMemberOf` `companyKey` `url` — or any field under Output | optional | filters, flags, contact route, score, links |

### 👥 Who is it for?

| You are… | You run it to… | Start with |
|---|---|---|
| An Indian spice exporter | find buyers in Europe | European buyers |
| A European spice importer | verify Indian exporters | Verify an Indian supplier |
| A UK ingredients sales rep | reach every SSA blender | UK spice companies |
| A trade-data team | join customs rows on `companyKey` | Members of two associations |

### 🧠 How the AI works

The model (`anthropic/claude-haiku-4.5` on model access; own key: `google:gemini-3.5-flash-lite`) sees the row, the
member's home page and your brief. Invented facts and mail-merge lines are dropped; a
failed call keeps the rule score.

### 🔒 Data, compliance and limits

Public member pages only (not ASTA: it needs a login); role mailboxes, never personal contacts.

### ❓ FAQ

**How much will one run cost me?** Europe buyers: ≈ $0.98 with the AI, $0.30 without, after the first 10 free.

**Why pay when the ESA list of members, SSA members and AISEF members pages are free?** For one company, read them.
For a sheet: three layouts, ≈ 2 h by hand per 100 (estimate), no export or schedule. Here: 391 ranked in 14 s.

**Is this a spice buyers list or a seller list?** Both: ESA and SSA members mostly buy, AISEF members sell —
`buyerRole` says which.

**Where do I get an Indian spice exporters list with websites?** Pick `aisef`: 214 exporters, 173 with a website.

**Where do I find spice companies UK-wide that blend and pack?** Pick `ssa`: 22 members with address and website.

**Can I export a trade association member list?** Yes — the Export view, or CSV / Excel.

**Is this legal?** Three public pages, no login, ≥ 1 s between requests, robots.txt honoured, personal contacts
dropped. Use the rows within GDPR, UK GDPR and the DPDP Act.

**How fresh is the data?** Read live (`listCheckedAt`).

**Are the first 10 really free?** Yes; with the AI on, up to 5 wait for your first AI-assessed members.

**How long does a run take?** All three lists 14 s; the AI adds ≈ 0.7–9.4 s per member (gemini-3.5-flash-lite, own
Gemini key: a free key ≈ 6–85 a minute, measured 2026-11-22 and 2026-11-23, newest 0.7 s; worst case ≈ 16 min per 100):

| Mode | Measured | `timeoutSecs` |
|---|---|---|
| Live read, all lists | 13.6 s | 300 |
| AI, own key | 0.7–9.4 s per member (gemini-3.5-flash-lite, own Gemini key) | ≈ 650 for 50 |
| AI, model access | not measured yet | 600 + 9.4 s per member |

**What if nothing matches?** 0 rows, nothing charged; the status names the covered countries.

**Will I be charged for the same member company twice?** No: a still-listed member returns once after 90 days, and a
row paid under another search comes back `already-charged`.

**How do I send the openers safely?** From your business e-mail, a few a day, no links, to the role mailbox.

### 🧩 More Actors from the same developer

- **[APEDA Registered Exporters & MPEDA](https://apify.com/rich_minds/india-exporter-registries-ai)** — check an exporter's licence first.
- **[Alibaba RFQ Leads AI](https://apify.com/rich_minds/alibaba-rfq-leads-ai)** — spice buyers' requests, daily.
- **[Indian Suppliers Price List](https://apify.com/rich_minds/india-b2b-suppliers-ai)** — what Indian sellers ask per tonne.
- **[UN Comtrade Trade Data](https://apify.com/rich_minds/export-market-finder-ai)** — which countries import most of your spice.
- **[Company Directory Scraper](https://apify.com/rich_minds/b2b-directory-companies-ai)** — companies by trade, to add non-members.
- **[Top Importers List Finder](https://apify.com/rich_minds/importer-list-extractor-ai)** — real importers in your target country.
- **[Food Trade Fair Exhibitors](https://apify.com/rich_minds/trade-fair-exhibitors-ai)** — the buyers who exhibit at Gulfood, BIOFACH and Fancy Food, next to the association lists.

### 🆘 Support

Open an issue on the Issues tab.

### 📝 Changelog

- **0.1.7** (2026-11-24) — More Actors: Food Trade Fair Exhibitors linked.
- **0.1.6** (2026-11-23) — reach counts in the status; all-in cap. Deprecated crawler inputs: removed in 0.2.0 (2026-12-07).
- **0.1.5** (2026-11-23) — icon; AI re-measured.
- **0.1.4** (2026-11-23) — AI reads home pages; dual members charged once; membership check; first 10 free.
- **0.1.1–0.1.3** (2026-11-22) — first release and fixes.

# Actor input Schema

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

Pick a ready search and press Start: it replaces the sample rows and reads the member lists live (free to read, any plan) — the untouched prefill counts as empty, so the preset fills countries, lists and the brief; a value you typed yourself always wins. The status names what ran. <b>Custom</b> = fill the fields yourself.

## `countries` (type: `array`):

The market you sell to (Germany, the UK …) or buy from (India). India → AISEF; United Kingdom → SSA; other countries → ESA. A country typed next to the sample switches the free demo to the live search — built in, any Apify plan; own rows go into <b>list</b> mode. Empty = every country. Never decides what you pay.

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

Your buying or selling brief — product, market, volume, e.g. <i>Buyers and processors of Indian turmeric and chilli in Germany and the UK</i>. The AI reads each member's home page, rates it as a likely buyer, processor, packer or trader of it and writes a first e-mail line. Never decides what you pay.

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

After every run with new member companies, the digest (top 10 with links) is e-mailed here — schedule it and only new ones arrive. Sent by Apify's send-mail Actor, so it needs a plan that runs Store Actors; the status says when it could not send. Any plan: a Slack / Teams / Telegram URL in Send alerts to.

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

The field that decides what you pay: members scoring below it are dropped and <b>not charged</b>. 50 on a list, +15 website, +15 in two associations, +5 role e-mail, +5 full member, +5 address, +10 when your brief names its country; a federation scores 35.

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

Hard cap on results, best first — and on what you pay: at most ≈ $4.25 for 100 with AI and <b>Read each member's website</b> on (100 × ($0.01 + ≈ $0.0025 tokens + $0.03 read), all in); ≈ $1.25 with the read off; $0.40 with AI off. Affects what you pay.

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

On by default: the AI reads the member's home page and returns a likely buyer role, a fit note and a first e-mail line. <b>On = $0.01 per qualified member company + ≈ $0.002–0.0025 tokens (own Gemini key, measured 2026-11-23); off = $0.004</b>. Apify's model access (not measured yet), else your own Gemini / Groq key.

## `readWebsites` (type: `boolean`):

Affects what you pay: + $0.03 per delivered member company whose home page answered (<code>enriched-member-company</code>). Adds the page title, description, the product words it names (<code>categories</code>), the contact / purchasing page and the LinkedIn company page. Off: the AI still reads title + description for its verdict, free.

## `associations` (type: `array`):

Which associations' public member lists to read — ESA covers the EU, the UK and origin countries, SSA the UK only, AISEF India only. All three are read in seconds on any Apify plan; naming any of them (one, or all three) starts a live read of those whole lists even with no country typed. Left out, a search reads all three. ASTA's directory needs a member login — not read (an API call naming <code>asta</code> gets it back in <code>OUTPUT.refused</code>).

## `memberTypes` (type: `array`):

Keep only these member types. ESA has full and associated members; a federation (a national spice association that is itself an ESA member) is typed <i>association</i> — it is not a buyer, so it scores low unless you pick it here. Empty = every type. Picking one starts the live read on any Apify plan; rows you paste in <b>list</b> mode are filtered the same way.

## `nameContains` (type: `string`):

Keep members whose name contains this text (any case), e.g. <code>McCormick</code>. Empty = every name. Typing one starts the live read on any Apify plan; rows you paste in <b>list</b> mode are filtered the same way.

## `checkCompanies` (type: `array`):

One company name per line (<i>Synthite</i>, <i>AVT McCormick</i>): the lists are read live on any Apify plan and only the members answering a name are delivered, each with <code>matchedCheckName</code>; names on no list read are named in the status and <code>OUTPUT.membershipCheck</code>. Charged like a search — per member found; rows you paste in <b>list</b> mode are checked the same way.

## `enrichWebsite` (type: `boolean`):

API only — on by default. ESA prints no website: a member that is also on the SSA or AISEF list takes the website printed there (<code>websiteSource: other_list</code>) — no web search, never a guessed domain; the rest stay empty and get the <code>no_website</code> flag.

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

Only deliver members that have at least one of these flags, and rank those with more of them higher. Empty = keep everything. An API call passes the flag names from the README's flag table, e.g. <code>multi_association</code> (<code>multiAssociation</code> works too); an unknown name stops the run at once with the list of valid ones.

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

Names, URLs or ids to never output. Suppressed member companies 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 member company a rule skipped as off-type last run — see <code>OUTPUT.skips</code> for the names). They still need to pass <code>minScore</code>.

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

<b>Apify (no keys)</b> — the AI runs through Apify's built-in OpenRouter proxy on a plan with model access; tokens are billed to your Apify account at OpenRouter's rates. <b>My own key</b> — your OpenAI / Anthropic / Gemini / Groq key instead. Measured with a free Google Gemini key (google:gemini-3.5-flash-lite): ≈ 0.7–9.4 s per member company (newest 2026-11-23: 0.7 s), and a free key read 5 of 5 member companies on the platform (2026-11-22) — size the timeout from the slowest: ≈ 650 s for 50 (180 s + 9.4 s each). On a big backfill a free key hits its rate limit: after 2 minutes of waiting expect 1–3 AI checks per run more and the rest keep their rule score; a paid Groq / Gemini key (billing on) assesses every member company.

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

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

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

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

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

API only — hidden on the form. How many of the best rule-scored member companies 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 member companies as JSON. After every run with at least one new member company, 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>.

## `clientName` (type: `string`):

Heads the REPORT page and the digest with this name — running it for several clients, save one task per client with its own name, e-mail and <code>dedupeStoreName</code>. Empty: the Actor's name.

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

Remembers every member company you were charged for (in a named key-value store on your account) and skips it in future runs — a weekly schedule delivers only members new to the lists.

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

How long a delivered member stays remembered. 90 (default) = a weekly schedule delivers only members new to the lists, and after 90 days a member still listed comes back once as a fresh check (charged again). 0 = never deliver or charge it again. Each set of lists, countries and types keeps its own memory; a member already delivered under another set comes back as <code>already-charged</code>, never a second charge.

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

Optional. Type a name (e.g. <code>trade-association-members-ai-seen-log</code>) and every run appends its new member companies 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`):

The mode that runs = this field, except <code>{}</code> = the free demo. The chosen mode with your own records always runs; only the untouched sample plus a typed search switches to live (Console runs; over the API the mode you send runs). <b>live</b> reads the associations' member lists directly (no Store Actor, any plan); <b>dataset</b> / <b>list</b> filter and score rows you already have.

## `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 (<code>OUTPUT.switchedToLive</code> names them). Off: the mode you send is the mode that runs — the sample stays the free demo and the status names the terms it did not search. Over the API the mode you send is always the mode that runs.

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

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

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

API only — deprecated, removed in 0.2.0 (2026-12-07); the built-in live read costs no source spend and ignores it. Caps the Website Content Crawler fallback (only with <code>ownSource: false</code>) at $0.50 by default.

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

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

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

Only for <b>list</b> mode. JSON array of objects. Required on every row: <code>name</code>; optional: <code>association</code>, <code>memberType</code>, <code>country</code> (ISO-2 or name), <code>city</code>, <code>website</code>, <code>companyEmail</code> and any field the README's <i>List-mode rows</i> table names — a row without a name is skipped and counted in the status.

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

Deprecated, removed in 0.2.0 (2026-12-07) — ignored by the built-in live read. Only the Website Content Crawler fallback (<code>ownSource: false</code>) runs it on your account.

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

Deprecated, removed in 0.2.0 (2026-12-07) — ignored by the built-in live read; the input passed as-is to the Website Content Crawler fallback (<code>ownSource: false</code>) only. Rows you already have go into <b>list</b> mode (any plan); <b>dataset</b> only for a dataset you already have from another account or tool.

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

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

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

API only — on the form any https URL in <b>Send alerts to</b> becomes this webhook. Qualified member companies are POSTed here as JSON (Zapier, Make, n8n, your CRM). 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 member company the moment it is ready. Higher = one POST per N member companies.

## `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.

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

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

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

API only — an alias of <code>sendAlertsTo</code> (put new URLs there); hidden on the form. Slack incoming-webhook URL for the digest.

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

API only — an alias of <code>sendAlertsTo</code> (put new URLs there); hidden on the form. Discord channel webhook URL for the digest.

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

API only — an alias of <code>sendAlertsTo</code> (put new URLs there); hidden on the form. Teams Workflows webhook URL for the digest.

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

API only — an alias of <code>sendAlertsTo</code> (put new URLs there); hidden on the form. Google Chat space webhook URL for the digest.

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

API only — an alias of <code>sendAlertsTo</code> (put new URLs there); hidden on the form. The bot's sendMessage link with its chat_id.

## Actor input object example

```json
{
  "preset": "custom",
  "countries": [],
  "minScore": 50,
  "maxQualified": 100,
  "enableAi": true,
  "readWebsites": false,
  "associations": [
    "esa",
    "ssa",
    "aisef"
  ],
  "enrichWebsite": true,
  "llmProvider": "apify",
  "aiCandidateMultiplier": 2,
  "dedupeAcrossRuns": true,
  "dedupeTtlDays": 90,
  "historyDatasetName": "",
  "sourceMode": "list",
  "autoSwitchToLive": true,
  "failOnSourceError": false,
  "maxDiscoveryChargeUsd": 0.5,
  "itemsList": [
    {
      "name": "British Pepper and Spice Ltd",
      "association": "ssa",
      "memberType": "full",
      "country": "GB",
      "city": "Northampton",
      "address": "Rhoshilli Road, Brackmills, Northampton, NN4 7AN",
      "website": "http://www.britishpepper.co.uk",
      "memberUrl": "https://seasoningandspice.org.uk/members/british-pepper-and-spice-ltd",
      "sourceUrl": "https://seasoningandspice.org.uk/members",
      "rowId": "ssa:british-pepper-and-spice-ltd-sample",
      "websiteTitle": "British Pepper & Spice | Bringing Spice to Life",
      "websiteDescription": "British Pepper & Spice is the leading manufacturer of herbs & spices in the UK. From five-star restaurants to home-cooked food, we bring dishes to life.",
      "categories": [
        "pepper",
        "seasoning",
        "herb",
        "spice",
        "ingredient"
      ],
      "websiteFetched": true,
      "websiteFetchedAt": "2026-11-23T08:00:00+00:00"
    },
    {
      "name": "AKO GmbH",
      "association": "esa",
      "memberType": "full",
      "country": "DE",
      "sourceUrl": "https://www.esa-spices.org/index.php/members/list-of-members",
      "rowId": "esa:ako-gmbh-sample"
    },
    {
      "name": "Synthite Industries Ltd.",
      "association": "esa",
      "memberType": "associate",
      "country": "IN",
      "website": "https://www.synthite.com",
      "websiteSource": "other_list",
      "alsoMemberOf": [
        "aisef"
      ],
      "sourceUrl": "https://www.esa-spices.org/index.php/members/list-of-members",
      "rowId": "esa:synthite-industries-ltd-sample",
      "websiteTitle": "Synthite | Global Leader in Natural Ingredient Solutions for Food, Health & Fragrance",
      "websiteDescription": "Explore Synthite's world of innovation in natural ingredients; delivering flavour, colour, wellness, and fragrance solutions through cutting-edge technology, sustainable sourcing, and 50+ years of industry leadership.",
      "categories": [
        "oleoresin",
        "extract",
        "seasoning",
        "herb",
        "spice",
        "flavour",
        "ingredient"
      ],
      "websiteFetched": true,
      "websiteFetchedAt": "2026-11-23T08:00:00+00:00",
      "matchedCheckName": "Synthite"
    },
    {
      "name": "EVEREST FOOD PRODUCTS PRIVATE LIMITED.",
      "association": "aisef",
      "memberType": "full",
      "country": "IN",
      "website": "https://www.everestspices.com",
      "companyEmail": "export@everestspices.com",
      "contactWithheld": true,
      "sourceUrl": "https://www.aisef.org/members",
      "rowId": "aisef:everest-food-products-private-limited-sample",
      "websiteTitle": "India's No.1 Spice Brand - Everest Foods - Everest Spices",
      "websiteDescription": "There are few things that permeate Indian life so completely as spices. The aroma, colour, taste and texture of the astonishing varieties of spices in India nourish a rich variety of cuisines and cultures.",
      "categories": [
        "ginger",
        "saffron",
        "garlic",
        "masala",
        "seasoning",
        "blend",
        "herb",
        "spice",
        "rice",
        "flavour",
        "ingredient"
      ],
      "websiteFetched": true,
      "websiteFetchedAt": "2026-11-23T08:00:00+00:00"
    },
    {
      "name": "Fachverband der Gewürzindustrie e.V.",
      "association": "esa",
      "memberType": "association",
      "country": "DE",
      "sourceUrl": "https://www.esa-spices.org/index.php/members/list-of-members",
      "rowId": "esa:fachverband-der-gewurzindustrie-e-v-sample"
    }
  ],
  "discoveryActorId": "apify/website-content-crawler",
  "discoveryInput": {},
  "webhookBatchSize": 1,
  "dedupeStoreName": "trade-association-members-ai-seen",
  "discoveryTimeoutSecs": 3600
}
```

# Actor output Schema

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

All qualified member companies as JSON, best-scoring first.

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

The same member companies 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 member companies 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 = {
    "countries": [],
    "associations": [
        "esa",
        "ssa",
        "aisef"
    ],
    "sourceMode": "list",
    "maxDiscoveryChargeUsd": 0.5,
    "itemsList": [
        {
            "name": "British Pepper and Spice Ltd",
            "association": "ssa",
            "memberType": "full",
            "country": "GB",
            "city": "Northampton",
            "address": "Rhoshilli Road, Brackmills, Northampton, NN4 7AN",
            "website": "http://www.britishpepper.co.uk",
            "memberUrl": "https://seasoningandspice.org.uk/members/british-pepper-and-spice-ltd",
            "sourceUrl": "https://seasoningandspice.org.uk/members",
            "rowId": "ssa:british-pepper-and-spice-ltd-sample",
            "websiteTitle": "British Pepper & Spice | Bringing Spice to Life",
            "websiteDescription": "British Pepper & Spice is the leading manufacturer of herbs & spices in the UK. From five-star restaurants to home-cooked food, we bring dishes to life.",
            "categories": [
                "pepper",
                "seasoning",
                "herb",
                "spice",
                "ingredient"
            ],
            "websiteFetched": true,
            "websiteFetchedAt": "2026-11-23T08:00:00+00:00"
        },
        {
            "name": "AKO GmbH",
            "association": "esa",
            "memberType": "full",
            "country": "DE",
            "sourceUrl": "https://www.esa-spices.org/index.php/members/list-of-members",
            "rowId": "esa:ako-gmbh-sample"
        },
        {
            "name": "Synthite Industries Ltd.",
            "association": "esa",
            "memberType": "associate",
            "country": "IN",
            "website": "https://www.synthite.com",
            "websiteSource": "other_list",
            "alsoMemberOf": [
                "aisef"
            ],
            "sourceUrl": "https://www.esa-spices.org/index.php/members/list-of-members",
            "rowId": "esa:synthite-industries-ltd-sample",
            "websiteTitle": "Synthite | Global Leader in Natural Ingredient Solutions for Food, Health & Fragrance",
            "websiteDescription": "Explore Synthite's world of innovation in natural ingredients; delivering flavour, colour, wellness, and fragrance solutions through cutting-edge technology, sustainable sourcing, and 50+ years of industry leadership.",
            "categories": [
                "oleoresin",
                "extract",
                "seasoning",
                "herb",
                "spice",
                "flavour",
                "ingredient"
            ],
            "websiteFetched": true,
            "websiteFetchedAt": "2026-11-23T08:00:00+00:00",
            "matchedCheckName": "Synthite"
        },
        {
            "name": "EVEREST FOOD PRODUCTS PRIVATE LIMITED.",
            "association": "aisef",
            "memberType": "full",
            "country": "IN",
            "website": "https://www.everestspices.com",
            "companyEmail": "export@everestspices.com",
            "contactWithheld": true,
            "sourceUrl": "https://www.aisef.org/members",
            "rowId": "aisef:everest-food-products-private-limited-sample",
            "websiteTitle": "India's No.1 Spice Brand - Everest Foods - Everest Spices",
            "websiteDescription": "There are few things that permeate Indian life so completely as spices. The aroma, colour, taste and texture of the astonishing varieties of spices in India nourish a rich variety of cuisines and cultures.",
            "categories": [
                "ginger",
                "saffron",
                "garlic",
                "masala",
                "seasoning",
                "blend",
                "herb",
                "spice",
                "rice",
                "flavour",
                "ingredient"
            ],
            "websiteFetched": true,
            "websiteFetchedAt": "2026-11-23T08:00:00+00:00"
        },
        {
            "name": "Fachverband der Gewürzindustrie e.V.",
            "association": "esa",
            "memberType": "association",
            "country": "DE",
            "sourceUrl": "https://www.esa-spices.org/index.php/members/list-of-members",
            "rowId": "esa:fachverband-der-gewurzindustrie-e-v-sample"
        }
    ],
    "discoveryInput": {}
};

// Run the Actor and wait for it to finish
const run = await client.actor("rich_minds/trade-association-members-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 = {
    "countries": [],
    "associations": [
        "esa",
        "ssa",
        "aisef",
    ],
    "sourceMode": "list",
    "maxDiscoveryChargeUsd": 0.5,
    "itemsList": [
        {
            "name": "British Pepper and Spice Ltd",
            "association": "ssa",
            "memberType": "full",
            "country": "GB",
            "city": "Northampton",
            "address": "Rhoshilli Road, Brackmills, Northampton, NN4 7AN",
            "website": "http://www.britishpepper.co.uk",
            "memberUrl": "https://seasoningandspice.org.uk/members/british-pepper-and-spice-ltd",
            "sourceUrl": "https://seasoningandspice.org.uk/members",
            "rowId": "ssa:british-pepper-and-spice-ltd-sample",
            "websiteTitle": "British Pepper & Spice | Bringing Spice to Life",
            "websiteDescription": "British Pepper & Spice is the leading manufacturer of herbs & spices in the UK. From five-star restaurants to home-cooked food, we bring dishes to life.",
            "categories": [
                "pepper",
                "seasoning",
                "herb",
                "spice",
                "ingredient",
            ],
            "websiteFetched": True,
            "websiteFetchedAt": "2026-11-23T08:00:00+00:00",
        },
        {
            "name": "AKO GmbH",
            "association": "esa",
            "memberType": "full",
            "country": "DE",
            "sourceUrl": "https://www.esa-spices.org/index.php/members/list-of-members",
            "rowId": "esa:ako-gmbh-sample",
        },
        {
            "name": "Synthite Industries Ltd.",
            "association": "esa",
            "memberType": "associate",
            "country": "IN",
            "website": "https://www.synthite.com",
            "websiteSource": "other_list",
            "alsoMemberOf": ["aisef"],
            "sourceUrl": "https://www.esa-spices.org/index.php/members/list-of-members",
            "rowId": "esa:synthite-industries-ltd-sample",
            "websiteTitle": "Synthite | Global Leader in Natural Ingredient Solutions for Food, Health & Fragrance",
            "websiteDescription": "Explore Synthite's world of innovation in natural ingredients; delivering flavour, colour, wellness, and fragrance solutions through cutting-edge technology, sustainable sourcing, and 50+ years of industry leadership.",
            "categories": [
                "oleoresin",
                "extract",
                "seasoning",
                "herb",
                "spice",
                "flavour",
                "ingredient",
            ],
            "websiteFetched": True,
            "websiteFetchedAt": "2026-11-23T08:00:00+00:00",
            "matchedCheckName": "Synthite",
        },
        {
            "name": "EVEREST FOOD PRODUCTS PRIVATE LIMITED.",
            "association": "aisef",
            "memberType": "full",
            "country": "IN",
            "website": "https://www.everestspices.com",
            "companyEmail": "export@everestspices.com",
            "contactWithheld": True,
            "sourceUrl": "https://www.aisef.org/members",
            "rowId": "aisef:everest-food-products-private-limited-sample",
            "websiteTitle": "India's No.1 Spice Brand - Everest Foods - Everest Spices",
            "websiteDescription": "There are few things that permeate Indian life so completely as spices. The aroma, colour, taste and texture of the astonishing varieties of spices in India nourish a rich variety of cuisines and cultures.",
            "categories": [
                "ginger",
                "saffron",
                "garlic",
                "masala",
                "seasoning",
                "blend",
                "herb",
                "spice",
                "rice",
                "flavour",
                "ingredient",
            ],
            "websiteFetched": True,
            "websiteFetchedAt": "2026-11-23T08:00:00+00:00",
        },
        {
            "name": "Fachverband der Gewürzindustrie e.V.",
            "association": "esa",
            "memberType": "association",
            "country": "DE",
            "sourceUrl": "https://www.esa-spices.org/index.php/members/list-of-members",
            "rowId": "esa:fachverband-der-gewurzindustrie-e-v-sample",
        },
    ],
    "discoveryInput": {},
}

# Run the Actor and wait for it to finish
run = client.actor("rich_minds/trade-association-members-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 '{
  "countries": [],
  "associations": [
    "esa",
    "ssa",
    "aisef"
  ],
  "sourceMode": "list",
  "maxDiscoveryChargeUsd": 0.5,
  "itemsList": [
    {
      "name": "British Pepper and Spice Ltd",
      "association": "ssa",
      "memberType": "full",
      "country": "GB",
      "city": "Northampton",
      "address": "Rhoshilli Road, Brackmills, Northampton, NN4 7AN",
      "website": "http://www.britishpepper.co.uk",
      "memberUrl": "https://seasoningandspice.org.uk/members/british-pepper-and-spice-ltd",
      "sourceUrl": "https://seasoningandspice.org.uk/members",
      "rowId": "ssa:british-pepper-and-spice-ltd-sample",
      "websiteTitle": "British Pepper & Spice | Bringing Spice to Life",
      "websiteDescription": "British Pepper & Spice is the leading manufacturer of herbs & spices in the UK. From five-star restaurants to home-cooked food, we bring dishes to life.",
      "categories": [
        "pepper",
        "seasoning",
        "herb",
        "spice",
        "ingredient"
      ],
      "websiteFetched": true,
      "websiteFetchedAt": "2026-11-23T08:00:00+00:00"
    },
    {
      "name": "AKO GmbH",
      "association": "esa",
      "memberType": "full",
      "country": "DE",
      "sourceUrl": "https://www.esa-spices.org/index.php/members/list-of-members",
      "rowId": "esa:ako-gmbh-sample"
    },
    {
      "name": "Synthite Industries Ltd.",
      "association": "esa",
      "memberType": "associate",
      "country": "IN",
      "website": "https://www.synthite.com",
      "websiteSource": "other_list",
      "alsoMemberOf": [
        "aisef"
      ],
      "sourceUrl": "https://www.esa-spices.org/index.php/members/list-of-members",
      "rowId": "esa:synthite-industries-ltd-sample",
      "websiteTitle": "Synthite | Global Leader in Natural Ingredient Solutions for Food, Health & Fragrance",
      "websiteDescription": "Explore Synthite'\''s world of innovation in natural ingredients; delivering flavour, colour, wellness, and fragrance solutions through cutting-edge technology, sustainable sourcing, and 50+ years of industry leadership.",
      "categories": [
        "oleoresin",
        "extract",
        "seasoning",
        "herb",
        "spice",
        "flavour",
        "ingredient"
      ],
      "websiteFetched": true,
      "websiteFetchedAt": "2026-11-23T08:00:00+00:00",
      "matchedCheckName": "Synthite"
    },
    {
      "name": "EVEREST FOOD PRODUCTS PRIVATE LIMITED.",
      "association": "aisef",
      "memberType": "full",
      "country": "IN",
      "website": "https://www.everestspices.com",
      "companyEmail": "export@everestspices.com",
      "contactWithheld": true,
      "sourceUrl": "https://www.aisef.org/members",
      "rowId": "aisef:everest-food-products-private-limited-sample",
      "websiteTitle": "India'\''s No.1 Spice Brand - Everest Foods - Everest Spices",
      "websiteDescription": "There are few things that permeate Indian life so completely as spices. The aroma, colour, taste and texture of the astonishing varieties of spices in India nourish a rich variety of cuisines and cultures.",
      "categories": [
        "ginger",
        "saffron",
        "garlic",
        "masala",
        "seasoning",
        "blend",
        "herb",
        "spice",
        "rice",
        "flavour",
        "ingredient"
      ],
      "websiteFetched": true,
      "websiteFetchedAt": "2026-11-23T08:00:00+00:00"
    },
    {
      "name": "Fachverband der Gewürzindustrie e.V.",
      "association": "esa",
      "memberType": "association",
      "country": "DE",
      "sourceUrl": "https://www.esa-spices.org/index.php/members/list-of-members",
      "rowId": "esa:fachverband-der-gewurzindustrie-e-v-sample"
    }
  ],
  "discoveryInput": {}
}' |
apify call rich_minds/trade-association-members-ai --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rich_minds/trade-association-members-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/bVdkqagy5TslCkWbq/builds/G2iR2xOTVKoF6m5sx/openapi.json
