# AdvaMed Membership Directory Scraper (`tehsnarf/advamed-membership-directory`) Actor

Scrapes the public AdvaMed medtech member company directory into a clean dataset (company name, website, Salesforce ID).

- **URL**: https://apify.com/tehsnarf/advamed-membership-directory.md
- **Developed by:** [Chris Hoover](https://apify.com/tehsnarf) (community)
- **Categories:** Lead generation, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-usage

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

## AdvaMed Membership Directory Scraper

Scrapes the public [AdvaMed](https://www.advamed.org/membership-join/membership-directory/) medtech
member company directory — AdvaMed represents medical device, diagnostics, and medical information
system manufacturers. The entire directory (595+ member companies) renders on a single static page,
so one run returns the complete, current list.

### Use cases

- **Medtech market mapping** — build a normalized list of medical device/diagnostics manufacturers
  for competitive research or industry analysis.
- **Lead generation** — feed the member list into a sales or partnership outreach pipeline targeting
  medtech companies.
- **Vendor/investor discovery** — identify medical device companies for supplier sourcing, M\&A
  screening, or investment research.

### Input

| Field | Type | Description |
|---|---|---|
| `startUrls` | array | Directory page(s) to scrape. Defaults to the AdvaMed membership directory. |
| `maxItems` | integer | Maximum number of member rows to return (default 100). |
| `delaySeconds` | number | Polite delay before each fetch (default 1.0s). |
| `concurrency` | integer | How many start URLs to fetch at once (default 5). |

### Output fields

| Field | Type | Description |
|---|---|---|
| `companyName` | string | Member company name |
| `websiteUrl` | string | Member's website URL |
| `salesforceId` | string | Salesforce row ID from the page's `data-sforclink` attribute |
| `sourceUrl` | string | Directory page URL the row was scraped from |
| `rowPosition` | integer | 1-indexed row position on the page |
| `scrapedAt` | date | ISO timestamp of scrape |

### Example output

```json
{
  "companyName": "Abbott",
  "websiteUrl": "https://www.abbott.com",
  "salesforceId": "001Vp0000123mBkIAI",
  "sourceUrl": "https://www.advamed.org/membership-join/membership-directory/",
  "rowPosition": 3,
  "scrapedAt": "2026-08-03T08:10:16.258709+00:00"
}
```

### Pricing

$5–10 per 1,000 results. Example costs:

| Results | Cost (@ $7.50/1,000) |
|---|---|
| 100 | $0.75 |
| 500 | $3.75 |
| 1,000 | $7.50 |
| 5,000 | $37.50 |

Note: the full directory currently contains 595 companies, so a single default run (`maxItems: 100`)
or a `maxItems: 1000` run both return the complete, deduplicated dataset.

### Notes

- No login/authentication required — this is a fully public directory page.
- Respects the target's `robots.txt` (`Crawl-delay: 10`).
- Does not scrape or reproduce any AdvaMed logos, body copy, or non-factual site content — only
  member company name, website, and Salesforce row ID.

# Actor input Schema

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

Directory page(s) to scrape. Defaults to the AdvaMed membership directory itself.

## `maxItems` (type: `integer`):

Maximum number of member rows to scrape

## `delaySeconds` (type: `number`):

Polite delay each fetch waits before requesting

## `concurrency` (type: `integer`):

How many start URLs to fetch at once (each still waits delaySeconds before requesting)

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.advamed.org/membership-join/membership-directory/"
    }
  ],
  "maxItems": 100,
  "delaySeconds": 1,
  "concurrency": 5
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("tehsnarf/advamed-membership-directory").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("tehsnarf/advamed-membership-directory").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 '{}' |
apify call tehsnarf/advamed-membership-directory --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

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