# MembershipWorks Member Leads — Contact Directory Scraper (`rook-data-tools/membershipworks-directory-scraper`) Actor

Scrape public MembershipWorks directories into member leads with business name, contact person, phone, fax, website, full address, location, category, and profile URL. Build B2B sales, sponsor, or outreach lists; no login needed.

- **URL**: https://apify.com/rook-data-tools/membershipworks-directory-scraper.md
- **Developed by:** [Rook DataTools](https://apify.com/rook-data-tools) (community)
- **Categories:** Lead generation, Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## MembershipWorks Member Directory Scraper

**Turn any public MembershipWorks directory into clean, structured business leads.**
Thousands of chambers of commerce, professional associations, and nonprofits run their
member directories on MembershipWorks. Point this Actor at a directory URL and get, per
member: business name, **contact person**, phone, fax, website, full address (street,
city, county, state, zip, geo), category, and a profile link.

![Real run: a public chamber directory turned into a ranked call list — 15 businesses → 12 emails added → AI-scored leads with written openers](https://raw.githubusercontent.com/willowridge1234/rook-data-tools-assets/main/pipeline-proof.png)

### Why it's reliable & cheap

Built specifically for how MembershipWorks directories are structured — runs are fast,
cost pennies, need no proxies, and the output stays stable even when a chamber redesigns
its website.

### Public data only

It reads solely the fields members chose to make public. MembershipWorks protects member
email addresses, so `email` is usually empty — but you get the business name, a named
contact, phone, website, and mailing address, which is what B2B outreach actually needs.

### Input

Paste one or more **directory page URLs** — the Actor auto-detects the organization id:

```json
{
  "startUrls": [{ "url": "https://www.westonmo.com/chamber-directory" }],
  "fetchProfiles": true,
  "maxRecords": 1000
}
```

Already know the numeric org id? Pass it directly in `orgIds` instead.

- **fetchProfiles** (default on): full contact detail per member. Turn off for a faster,
  cheaper listing-only pull (name, tagline, category, geo).
- **onlyNewSinceLastRun**: schedule the Actor and get only members you haven't seen before
  — a clean feed for your CRM.
- **maxRecords / maxRecordsPerOrg**: cost controls.

### Output example

```json
{
  "name": "Adams Mayfair Company",
  "contactPerson": "Chris Koonce",
  "phone": "8166400110",
  "website": "https://www.adamsmayfair.com/",
  "address": "410 Main Street, Weston, MO, 64098",
  "city": "Weston",
  "state": "MO",
  "county": "Platte County",
  "profileUrl": "https://www.westonmo.com/chamber-directory#!directory/ord=srt/613a3be5585fab354e3a90d5",
  "orgId": "27790",
  "sourceDirectory": "https://www.westonmo.com/chamber-directory",
  "scrapedAt": "2026-07-23T20:41:10.000Z"
}
```

### Who buys this

Sales teams selling to local businesses (POS, insurance, marketing, SaaS), event & sponsor
outreach, market research, and anyone building a regional B2B list from chamber/association
membership.

### Notes & honest limits

- **Emails are not exposed by MembershipWorks** (hidden by design), so there is no email
  column — pair this with our **Business Website Contact Extractor** to add emails from
  each business's own site. You still get a named contact, phone, website, and address.
- **Categories** appear only when the organization uses directory folders; otherwise the
  column is simply absent (never guessed).
- Works on any public MembershipWorks directory. If a directory is members-only (login
  required), it simply returns nothing for that org.
- Also scrape **Wild Apricot** association directories with our companion Actor.

### Scheduling recipe

Turn on **onlyNewSinceLastRun**, schedule daily/weekly, and add a Google Sheets or Slack
integration to get a rolling feed of new member businesses in your target directories.
--------------------------------------------------------------------------------------

### 🔗 Part of a lead-generation suite (scrape → enrich → qualify)

This Actor works best chained with its companions on the same account:

1. **Directory scrapers** — get businesses/members (name + website) from
   Wild Apricot, MembershipWorks, or ChamberMaster / GrowthZone directories.
2. **Business Website Contact Extractor** — add the emails/phones the directories hide.
3. **AI Lead Qualifier** — score each lead against your ICP and write a personalized opener.

Pass any Actor's **dataset ID** into the next step to run the whole pipeline.

# Actor input Schema

## `startUrls` (type: `array`):

Public MembershipWorks directory page URLs (e.g. https://www.westonmo.com/chamber-directory). The Actor auto-detects the organization id from the page. Any page that embeds the MembershipWorks directory widget works.

## `orgIds` (type: `array`):

Optional: MembershipWorks numeric org ids directly, if you already know them (e.g. 27790). Use instead of, or in addition to, directory URLs.

## `fetchProfiles` (type: `boolean`):

ON (default): fetch each member's full public profile — contact person, phone, fax, website, full address. OFF: faster/cheaper listing-only mode (name, tagline, category, geo).

## `maxRecords` (type: `integer`):

Hard cap across all directories in this run. Controls cost.

## `maxRecordsPerOrg` (type: `integer`):

Cap per directory. 0 = no per-directory cap.

## `onlyNewSinceLastRun` (type: `boolean`):

When on, members already returned by previous runs (per org+member id) are skipped — ideal for scheduled runs feeding a CRM. First run returns everything.

## `profileDelayMs` (type: `integer`):

Politeness delay between per-member profile fetches.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.westonmo.com/chamber-directory"
    }
  ],
  "fetchProfiles": true,
  "maxRecords": 1000,
  "maxRecordsPerOrg": 0,
  "onlyNewSinceLastRun": false,
  "profileDelayMs": 150
}
```

# 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 = {
    "startUrls": [
        {
            "url": "https://www.westonmo.com/chamber-directory"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("rook-data-tools/membershipworks-directory-scraper").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 = { "startUrls": [{ "url": "https://www.westonmo.com/chamber-directory" }] }

# Run the Actor and wait for it to finish
run = client.actor("rook-data-tools/membershipworks-directory-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://www.westonmo.com/chamber-directory"
    }
  ]
}' |
apify call rook-data-tools/membershipworks-directory-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=rook-data-tools/membershipworks-directory-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/bvSI7vF53CsK3qvfI/builds/tLnxjnbAhop8xZA1t/openapi.json
