# US Pharmacy, Clinical Lab & Medical Supply B2B Lead API (`mehdad-datalabs/us-pharmacy-medical-lab-dme-b2b-lead-scraper`) Actor

Extract verified US Independent Pharmacies, Compounding Pharmacies, Clinical Diagnostic Labs, DME Medical Suppliers & Home Health Agencies into JSON/CSV. Get Pharmacy Owner / Lab Director Names, Direct Phone Numbers, DBA Names, State Licenses & Addresses. Ready for B2B outreach & n8n.

- **URL**: https://apify.com/mehdad-datalabs/us-pharmacy-medical-lab-dme-b2b-lead-scraper.md
- **Developed by:** [Mehdad Sharifi](https://apify.com/mehdad-datalabs) (community)
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 extracted pharmacy or lab b2b leads

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

## US Pharmacy, Clinical Laboratory & Medical Supply (DME) B2B Lead Scraper API

Extract verified US Independent Pharmacies, Compounding Pharmacies, Specialty Pharmacies, Clinical Diagnostic Laboratories, Durable Medical Equipment (DME) Suppliers, and Home Health Agencies directly from the official US Government CMS NPPES Registry (NPI-2 Commercial Organizations) into clean JSON, CSV, or Excel datasets.

Built for pharmaceutical and medical wholesalers, B2B cold outreach and telemarketing agencies, healthcare SaaS sales teams, n8n and Make automation workflows, and AI agents (Claude MCP and Cursor)—with zero proxy fees required.

***

### Why Choose This US Pharmacy, Clinical Lab & DME Supplier B2B Scraper?

| Feature | What You Get |
| :--- | :--- |
| Verified Owner & Director Direct Phones | Strictly targets NPI-2 commercial healthcare organizations so every lead includes the Authorized Official (ownerOrDirectorName, ownerTitle, and ownerDirectPhone)—such as the Pharmacy Owner, Chief Pharmacist, Lab Director, or CEO. |
| Both Legal Name & Storefront DBA Name | Captures both the corporate legal entity name (businessLegalName) and the local storefront Doing-Business-As name (dbaName) for high-converting cold outreach personalization. |
| Verified State License & NPI Numbers | Every record includes the 10-digit NPI number, primary taxonomy code, state pharmacy or laboratory license number, physical street address, city, state, ZIP, and fax number. |
| Zero Proxy or API Key Costs | Connects directly to official US Government npiregistry.cms.hhs.gov endpoints—delivering up to 200 verified B2B leads per request with near-zero compute cost. |
| AI Agent & MCP Server Ready | Plug directly into Claude Desktop, Cursor, Clay, n8n, Make, or Zapier for automated B2B healthcare lead enrichment. |

***

### What Data Does This Actor Extract? (Sample JSON Output)

Every pharmacy, laboratory, or medical supply company is structured into a flat, ready-to-dial B2B lead record:

```
{
  "npiNumber": "1487923410",
  "businessLegalName": "APEX SPECIALTY PHARMACY SOLUTIONS LLC",
  "dbaName": "APEX CARE PHARMACY & COMPOUNDING",
  "facilitySpecialty": "Community/Retail Pharmacy",
  "taxonomyCode": "3336C0003X",
  "ownerOrDirectorName": "DAVID R. MARTINEZ, PHARMD",
  "ownerTitle": "President / Pharmacist in Charge",
  "ownerDirectPhone": "713-555-0184",
  "facilityPhone": "713-555-0180",
  "faxNumber": "713-555-0189",
  "streetAddress": "2450 HOLCOMBE BLVD, SUITE 110",
  "city": "HOUSTON",
  "state": "TX",
  "zipCode": "77021",
  "stateLicenseNumber": "TX-PHY-48291",
  "enumerationDate": "2020-08-14",
  "lastUpdated": "2026-04-22",
  "npiRegistryUrl": "https://npiregistry.cms.hhs.gov/provider-view/1487923410"
}
```

***

### How to Use US Pharmacy, Lab & Medical Supply B2B Lead Scraper

1. Enter Healthcare Business Category: Type the facility or supplier type you want to target—such as Pharmacy, Compounding Pharmacy, Clinical Medical Laboratory, Durable Medical Equipment, Home Health, or Hospice.
2. Enter US State Codes: Add one or more 2-letter US state abbreviations (e.g., TX, FL, CA, NY, NJ, PA, IL).
3. Optional City Filter: Enter a specific city name (e.g., Houston, Miami, Los Angeles) or leave blank to extract leads across the entire state.
4. Set Max B2B Facility Leads: Choose how many verified organization leads to extract (from 50 up to 2,000+ per run).
5. Run & Export: Click Start and download your dataset in JSON, CSV, or Excel, or send it directly to Clay, HubSpot, Smartlead, or Google Sheets via the Apify API.

***

### High-Value Healthcare B2B Facility Categories You Can Target

| Business Category Input | Target B2B Businesses Extracted | Who Buys These Leads |
| :--- | :--- | :--- |
| Pharmacy | Independent retail pharmacies, specialty pharmacies, long-term care pharmacies | Pharmaceutical wholesalers, pharmacy POS software vendors, prescription delivery couriers |
| Compounding Pharmacy | Sterile and non-sterile 503A/503B compounding pharmacies (GLP-1, hormone, dermatology) | API bulk chemical suppliers, cleanroom equipment vendors, payment processors |
| Clinical Medical Laboratory | Independent diagnostic labs, toxicology labs, molecular/genetic testing labs | Lab information system (LIS) SaaS, reagent/assay manufacturers, medical billing agencies |
| Durable Medical Equipment | DME suppliers, orthotics/prosthetics, oxygen & mobility equipment dealers | Medical device manufacturers, DME billing software, healthcare commercial lenders |
| Home Health | Licensed home health care agencies, skilled nursing & infusion providers | Healthcare staffing agencies, EHR software teams, workers comp insurance brokers |

***

### Transparent Pay-Per-Event Pricing

You only pay for the exact verified B2B facility leads extracted:

- Actor Startup (apify-actor-start): USD 0.01 per run.
- Extracted Facility Lead (pharmacy-lab-lead-extracted): USD 0.003 per verified pharmacy, lab, or medical supplier lead (USD 3.00 per 1,000 B2B leads).
- Free Tier Friendly: With Apify's free USD 5.00 monthly credit, you can extract over 1,600 verified pharmacy and laboratory B2B leads every month for free.

***

### Frequently Asked Questions (FAQ)

#### Why target NPI-2 Organizations instead of NPI-1 Individuals for B2B sales?

In the US CMS NPPES database, NPI-1 records represent individual employed clinicians who rarely control purchasing budgets. NPI-2 records represent registered commercial healthcare businesses (incorporated pharmacies, diagnostic laboratories, and DME companies) and legally require an Authorized Official—giving B2B sales teams the exact name, title, and direct telephone number of the business owner or corporate officer.

#### How fresh is the pharmacy and clinical laboratory contact data?

Data is queried live in real time from the official US Department of Health and Human Services (HHS / CMS) NPPES National Provider Registry, including the exact lastUpdated date when the facility confirmed its license and address.

#### How can I connect this Pharmacy & Lab Lead API to Clay, n8n, or Google Sheets?

You can call this Actor directly via the Apify REST API, the apify-client Python or Node.js SDK, or the native Apify integration in Clay, n8n, Make, and Zapier to automate outbound prospecting.

***

### Explore Our Complete Financial, Biotech & B2B Intelligence API Suite

- [SEC Form 4 Insider Trading Scraper & XML Parser API](https://apify.com/mehdad-datalabs/sec-form-4-insider-trading-scraper-xml-parser-api)
- [SEC Form 13F Institutional Holdings & Hedge Fund Whale Scraper](https://apify.com/mehdad-datalabs/sec-13f-institutional-holdings-hedge-fund-whale-scraper)
- [SEC Form N-PORT Mutual Fund & ETF Portfolio Holdings API](https://apify.com/mehdad-datalabs/sec-nport-etf-mutual-fund-holdings-xml-scraper)
- [SEC 10-K & 10-Q XBRL Financial Statements & Earnings API](https://apify.com/mehdad-datalabs/sec-10k-10q-xbrl-financial-statements-earnings-api)
- [SEC Form 8-K Corporate Events, M\&A & Executive Change Scraper](https://apify.com/mehdad-datalabs/sec-8k-corporate-events-ma-executive-change-scraper)
- [SEC Schedule 13D & 13G Activist Investor & 5%+ Ownership API](https://apify.com/mehdad-datalabs/sec-schedule-13d-13g-activist-investor-ownership-api)
- [SEC Form S-1 IPO Pipeline & Form 144 Insider Sale Notice API](https://apify.com/mehdad-datalabs/sec-ipo-s1-form144-insider-sale-scraper)
- [SEC Form D Startup Funding, VC Raise & Founder B2B Lead API](https://apify.com/mehdad-datalabs/sec-form-d-startup-funding-vc-b2b-lead-scraper)
- [SEC DEF 14A Executive Compensation & Proxy Statement API](https://apify.com/mehdad-datalabs/sec-def14a-ceo-executive-compensation-proxy-scraper)
- [SEC Form 20-F & 6-K Global ADR & Foreign Stock Filings API](https://apify.com/mehdad-datalabs/sec-20f-6k-foreign-adr-international-stock-scraper)
- [CFPB Fintech & Bank Consumer Complaint Intelligence API](https://apify.com/mehdad-datalabs/cfpb-fintech-bank-consumer-complaint-b2b-scraper)
- [FDIC US Bank Directory, Deposits, Assets & B2B Lead API](https://apify.com/mehdad-datalabs/fdic-us-bank-directory-deposits-assets-b2b-scraper)
- [FDA 510(k) Medical Device Clearances & MedTech B2B Lead API](https://apify.com/mehdad-datalabs/fda-510k-medical-device-clearances-medtech-b2b-scraper)
- [FDA Drug, Device & Food Recall Enforcement & Legal Lead API](https://apify.com/mehdad-datalabs/fda-product-recalls-safety-enforcement-b2b-scraper)
- [US Federal Government Contract Awards & DoD B2B Lead Scraper](https://apify.com/mehdad-datalabs/us-federal-government-contract-awards-dod-b2b-scraper)
- [FDA Drug Approvals, NDA/BLA Biotech Catalyst & Pharma API](https://apify.com/mehdad-datalabs/fda-drug-approvals-biotech-catalyst-pharma-b2b-scraper)
- [ClinicalTrials.gov Phase 1-3 Biotech Catalyst & B2B Lead API](https://apify.com/mehdad-datalabs/clinical-trials-biotech-catalyst-cro-b2b-lead-scraper)
- [US Doctor, Dentist & Medical Clinic B2B Lead Scraper API](https://apify.com/mehdad-datalabs/us-doctor-dentist-clinic-healthcare-b2b-lead-scraper)

# Actor input Schema

## `businessCategory` (type: `string`):

Enter the facility or supplier category to extract (e.g., 'Pharmacy', 'Clinical Medical Laboratory', 'Durable Medical Equipment', 'Home Health').

## `states` (type: `array`):

Enter 2-letter US state abbreviations to extract verified facility B2B leads.

## `city` (type: `string`):

Optional: Filter by a specific city, or leave empty to extract across the entire state.

## `maxResults` (type: `integer`):

Maximum number of verified pharmacy, lab, or medical supplier B2B leads to extract.

## Actor input object example

```json
{
  "businessCategory": "Pharmacy",
  "states": [
    "TX",
    "FL"
  ],
  "city": "",
  "maxResults": 50
}
```

# Actor output Schema

## `dataset` (type: `string`):

Clean table of verified US pharmacies, clinical labs, DME suppliers, owner names, direct phone numbers, and street addresses

# 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("mehdad-datalabs/us-pharmacy-medical-lab-dme-b2b-lead-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("mehdad-datalabs/us-pharmacy-medical-lab-dme-b2b-lead-scraper").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 '{}' |
apify call mehdad-datalabs/us-pharmacy-medical-lab-dme-b2b-lead-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mehdad-datalabs/us-pharmacy-medical-lab-dme-b2b-lead-scraper"
        }
    }
}
```

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/nuSEmt5pLoQr5LWC4/builds/XeVbnSsh9gZxCSlFK/openapi.json
