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

Extract public member & business records from any MembershipWorks directory (chambers, associations, nonprofits) — contact person, phone, website, full address. Public data only.

- **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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/integrations/mcp.md).

If your project is in a different language, use 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

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "MembershipWorks Member Directory Scraper",
        "description": "Extract public member & business records from any MembershipWorks directory (chambers, associations, nonprofits) — contact person, phone, website, full address. Public data only.",
        "version": "0.1",
        "x-build-id": "ZeejJ7WI4nsG7xHV4"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/rook-data-tools~membershipworks-directory-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-rook-data-tools-membershipworks-directory-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/rook-data-tools~membershipworks-directory-scraper/runs": {
            "post": {
                "operationId": "runs-sync-rook-data-tools-membershipworks-directory-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/rook-data-tools~membershipworks-directory-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-rook-data-tools-membershipworks-directory-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "startUrls": {
                        "title": "Directory URLs",
                        "type": "array",
                        "description": "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.",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "orgIds": {
                        "title": "Organization IDs (advanced)",
                        "type": "array",
                        "description": "Optional: MembershipWorks numeric org ids directly, if you already know them (e.g. 27790). Use instead of, or in addition to, directory URLs.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "fetchProfiles": {
                        "title": "Fetch full profiles (contact details)",
                        "type": "boolean",
                        "description": "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).",
                        "default": true
                    },
                    "maxRecords": {
                        "title": "Max records per run",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Hard cap across all directories in this run. Controls cost.",
                        "default": 1000
                    },
                    "maxRecordsPerOrg": {
                        "title": "Max records per directory",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Cap per directory. 0 = no per-directory cap.",
                        "default": 0
                    },
                    "onlyNewSinceLastRun": {
                        "title": "Only new since last run (delta mode)",
                        "type": "boolean",
                        "description": "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.",
                        "default": false
                    },
                    "profileDelayMs": {
                        "title": "Delay between profile requests (ms)",
                        "minimum": 0,
                        "maximum": 5000,
                        "type": "integer",
                        "description": "Politeness delay between per-member profile fetches.",
                        "default": 150
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
