# CMS NPPES NPI Healthcare Provider & Medical Clinic Leads (`apex-b2b-data/npi-healthcare-provider-leads`) Actor

Extract verified US healthcare providers, medical practices, doctors, and clinics from the official CMS NPPES NPI Registry API v2.1. Filter by state, city, ZIP, specialty/taxonomy, and provider type (NPI-1 individuals vs NPI-2 organizations). Includes authorized officials, direct phones, license num

- **URL**: https://apify.com/apex-b2b-data/npi-healthcare-provider-leads.md
- **Developed by:** [George Barnes](https://apify.com/apex-b2b-data) (community)
- **Categories:** Lead generation, Business, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.05 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## NPI Healthcare Provider & Clinic Leads Scraper (`$1.50 / 1K`)

**Extract verified US healthcare providers, medical practices, doctors, dentists, and clinics from the official CMS NPPES NPI Registry API v2.1—complete with authorized official decision makers, direct phones, state medical licenses, practice addresses, and B2B lead scores.**

Query both **NPI-1 (Individual Practitioners)** and **NPI-2 (Healthcare Organizations & Clinics)** across all 50 US states. Ideal for healthcare B2B sales teams, medical staffing agencies, EHR/healthtech vendors, medical device reps, and compliance teams looking for high-accuracy leads without paying hundreds of dollars for outdated contact databases.

***

### Why Choose This NPI Healthcare Actor? (Comparison)

| Capability | This Actor | Basic NPI Scrapers | Generic B2B Databases (Apollo/ZoomInfo) |
| :--- | :--- | :--- | :--- |
| **Price per 1,000 Records** | **`$1.50 / 1K` (`$0.0015`/lead)** | `$3.50 – $6.00 / 1K` | `$150 – $400 / 1K` + Annual contracts |
| **Official Data Source** | **CMS NPPES Registry v2.1** | Outdated CSV dumps | Scraped LinkedIn / Web crawlers |
| **NPI-1 & NPI-2 Support** | ✅ Both Individual & Clinics | ⚠️ Often NPI-1 only | ❌ Mixed or missing NPIs |
| **Authorized Official Decision Maker** | ✅ Name, Title & Direct Phone | ❌ Usually missing | ⚠️ High bounce rate |
| **Phone Number Formatting** | ✅ E.164 (`+1...`) & `(XXX) XXX-XXXX` | ⚠️ Raw unformatted strings | ⚠️ Unverified switchboard lines |
| **Primary Specialty & Taxonomy** | ✅ Decoded Specialty & Code | ⚠️ Raw numeric codes | ⚠️ Generic industry tags |
| **State Medical License Number** | ✅ Normalized & Cleaned | ❌ Missing | ❌ Not available |
| **Practice vs Mailing Address** | ✅ Cleanly Segregated & Formatted | ❌ Mixed or unparsed | ⚠️ Often home addresses |
| **Deterministic Lead Score (`0–100`)** | ✅ Built-in Lead Scoring | ❌ None | ⚠️ Opaque proprietary scores |
| **Automated B2B Segmentation Tags** | ✅ `HEALTHCARE_ORG_DECISION_MAKER` etc. | ❌ None | ❌ None |
| **Zero-Config Trial Run** | ✅ Instant 1-click results | ⚠️ Requires API keys / complex inputs | ⚠️ Credits required |
| **Proxy Costs & CAPTCHA Failures** | **`$0.00` (0% failure rate)** | High residential proxy fees | N/A |

***

### Transparent Pricing (`$1.50` per 1,000 Leads)

Pay **only for records actually returned** (`$0.0015` per lead via Pay-Per-Event). Zero upfront subscription, zero hidden platform fees:

| Workflow | Leads Returned | Total Cost |
| :--- | :--- | :--- |
| **Quick Test Run** (verify output schema & quality) | `20` leads | **`$0.03` (3 cents)** |
| **Daily Local Clinic Lead Feed** (`Miami, FL` or `Dallas, TX`) | `100` leads/day | **`$0.15 / day` (`~$4.50/month`)** |
| **Targeted Multi-City Medical Practice Pull** | `1,000` leads | **`$1.50`** |
| **Statewide Healthcare TAM Export** | `10,000` leads | **`$15.00`** |

***

### High-Intent B2B Playbooks (Copy-Paste Inputs)

#### 1. HealthTech, EHR SaaS & Medical Billing: Private Clinics with Executive Decision Makers

Target healthcare organizations (`enumerationType: "NPI-2"`) in Florida with authorized official owners and medical directors:

```json
{
  "state": "FL",
  "city": "Miami",
  "enumerationType": "NPI-2",
  "requirePhone": true,
  "maxItems": 100
}
```

#### 2. Healthcare Staffing & Locum Tenens: Individual Doctors & Specialists

Target individual practitioners (`enumerationType: "NPI-1"`) in Texas specialized in Cardiology, Internal Medicine, or Dermatology:

```json
{
  "state": "TX",
  "city": "Houston",
  "enumerationType": "NPI-1",
  "taxonomyDescription": "Cardiology",
  "requirePhone": true,
  "maxItems": 150
}
```

#### 3. Dental & Orthodontic Equipment Sales: High-Intent Dental Clinics

Target regional dental clinics and group practices with practice phone numbers:

```json
{
  "state": "CA",
  "city": "San Diego",
  "enumerationType": "NPI-2",
  "taxonomyDescription": "Dentist",
  "requirePhone": true,
  "maxItems": 200
}
```

#### 4. Direct 10-Digit NPI Compliance & Provider Credentialing Lookup

Verify provider legitimacy, active registry status, and current licenses by querying exact NPI numbers directly:

```json
{
  "npiNumber": "1265837074"
}
```

***

### Sample Output Record

```json
{
  "npi": "1265837074",
  "enumeration_type": "NPI-2",
  "entity_name": "0 STRESS MEDICAL HEALTH CARE CENTER INC",
  "first_name": "DORA",
  "last_name": "ACOSTA",
  "primary_specialty": "Massage Therapist",
  "license_number": "ma37303",
  "practice_address": "8824 SW 24TH ST, MIAMI FL 331652008",
  "practice_phone": "(786) 294-0755",
  "authorized_official_name": "DORA ACOSTA",
  "authorized_official_phone": "(786) 294-0755",
  "lead_score": 100,
  "lead_segment": "HEALTHCARE_ORG_DECISION_MAKER",
  "extracted_at": "2026-11-04T00:19:47.402630+00:00",
  "practice_city": "MIAMI",
  "practice_state": "FL",
  "practice_postal_code": "331652008",
  "practice_phone_e164": "+17862940755",
  "authorized_official_phone_e164": "+17862940755",
  "authorized_official_title": "Owner",
  "primary_taxonomy_code": "225700000X",
  "mailing_address": "8824 SW 24TH ST, MIAMI FL 331652008",
  "enumeration_date": "2014-10-23",
  "last_updated_date": "2014-10-23",
  "status": "A",
  "lead_segments": [
    "HEALTHCARE_ORG_DECISION_MAKER",
    "PHONE_VERIFIED"
  ],
  "all_taxonomies": [
    {
      "code": "225700000X",
      "desc": "Massage Therapist",
      "license": "ma37303",
      "primary": true
    }
  ]
}
```

***

### Integration Code Snippets

#### Direct REST API (Synchronous Call for Clay, n8n, Make.com)

Use Apify's synchronous endpoint to trigger the scraper and receive data immediately in a single HTTP request:

```bash
curl -X POST "https://api.apify.com/v2/acts/your-username~npi-healthcare-provider-leads/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "city": "Miami",
    "state": "FL",
    "enumerationType": "NPI-2",
    "maxItems": 25
  }'
```

#### Python SDK (`apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")

run_input = {
    "city": "Austin",
    "state": "TX",
    "enumerationType": "NPI-2",
    "taxonomyDescription": "Family Medicine",
    "requirePhone": True,
    "maxItems": 50
}

run = client.actor("your-username/npi-healthcare-provider-leads").call(run_input=run_input)

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(f"[{item['lead_score']}] {item['entity_name']} | {item['authorized_official_name']} | {item['practice_phone']}")
```

***

### Upstream API Notes & Best Practices

1. **State & City Pairing Rule**: The official CMS NPPES API requires queries that specify `state` to be paired with `city`, `postal_code`, or `taxonomy_description`. This Actor automatically manages this constraint to ensure your queries never fail.
2. **Official Public Registry**: Data is extracted directly from the Centers for Medicare & Medicaid Services (CMS) National Plan and Provider Enumeration System (NPPES), guaranteeing 100% legal compliance and zero residential proxy costs.
3. **Continuous Data Freshness**: The CMS NPPES registry updates weekly; running this Actor on a scheduled basis provides immediate visibility into newly established healthcare clinics and licensed practitioners.

# Actor input Schema

## `state` (type: `string`):

2-letter US state code (e.g. 'FL', 'CA', 'TX', 'NY'). Note: CMS NPPES API requires pairing state with a city or postal code.

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

City name for practice location search (e.g. 'Miami', 'Orlando', 'Tampa').

## `postalCode` (type: `string`):

5-digit ZIP code or prefix with trailing wildcard (e.g. '33101' or '331\*').

## `enumerationType` (type: `string`):

Filter by Healthcare Organization / Clinic (NPI-2), Individual Practitioner / Doctor (NPI-1), or ANY.

## `taxonomyDescription` (type: `string`):

Specialty keyword or taxonomy description (e.g. 'Internal Medicine', 'Cardiology', 'Family Medicine', 'Dentist', 'Chiropractor').

## `organizationName` (type: `string`):

Search by healthcare organization legal name or DBA (e.g. 'Memorial Hospital', 'Dental Care'). Wildcard \* supported.

## `providerFirstName` (type: `string`):

First name for individual practitioner search (e.g. 'Robert\*').

## `providerLastName` (type: `string`):

Last name for individual practitioner search (e.g. 'Smith').

## `npiNumber` (type: `string`):

Direct lookup of an exact 10-digit National Provider Identifier (e.g. '1265837074'). Overrides geographic filters.

## `requirePhone` (type: `boolean`):

Only return provider leads that have a verified practice or authorized official telephone number on file.

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

Maximum number of provider records to extract.

## `includeRawData` (type: `boolean`):

Attach the complete unmodified CMS NPPES registry JSON object under `raw_record`.

## Actor input object example

```json
{
  "state": "FL",
  "city": "Miami",
  "postalCode": "",
  "enumerationType": "NPI-2",
  "taxonomyDescription": "",
  "organizationName": "",
  "providerFirstName": "",
  "providerLastName": "",
  "npiNumber": "",
  "requirePhone": true,
  "maxItems": 10,
  "includeRawData": false
}
```

# Actor output Schema

## `results` (type: `string`):

Structured JSON records produced by CMS NPPES NPI Healthcare Provider & Medical Clinic Leads in the default dataset.

# 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 = {
    "state": "FL",
    "city": "Miami",
    "enumerationType": "NPI-2",
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("apex-b2b-data/npi-healthcare-provider-leads").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 = {
    "state": "FL",
    "city": "Miami",
    "enumerationType": "NPI-2",
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("apex-b2b-data/npi-healthcare-provider-leads").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 '{
  "state": "FL",
  "city": "Miami",
  "enumerationType": "NPI-2",
  "maxItems": 10
}' |
apify call apex-b2b-data/npi-healthcare-provider-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,apex-b2b-data/npi-healthcare-provider-leads"
        }
    }
}
```

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/fLtsS7y5UGr0jBdw3/builds/Js9Rjzfg32rtjidbn/openapi.json
