# US NPI / NPPES Healthcare Clinics, Doctors & Official Leads (`regpulse-data/us-npi-nppes-healthcare-provider-clinic-leads`) Actor

Extract US CMS NPPES NPI Registry clinics, medical groups, dental practices, hospitals & physicians with named Authorized Officials (CEO/Owner/Director), direct practice phones, faxes, state licenses & NUCC specialties.

- **URL**: https://apify.com/regpulse-data/us-npi-nppes-healthcare-provider-clinic-leads.md
- **Developed by:** [RegPulse Data](https://apify.com/regpulse-data) (community)
- **Categories:** Business, Lead generation, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.40 / 1,000 us cms npi / nppes healthcare provider or clinic leads

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

## US NPI / NPPES Healthcare Provider & Clinic Leads (CMS Registry)

High-speed B2B healthcare provider & clinic lead extraction, **Authorized Official** decision-maker enrichment, **Direct / FHIR / HIE electronic endpoint** discovery, exact **10-digit NPI batch verification**, and stateful registry change monitoring — powered directly by the official **US Centers for Medicare & Medicaid Services (CMS) NPPES NPI Registry API v2.1**.

Zero API keys. Zero browser overhead. Pure structured JSON straight from `npiregistry.cms.hhs.gov`.

***

### Why Use This Actor?

Healthcare SaaS, medical device sales, revenue cycle management (RCM), credentialing/KYB platforms, pharma field teams, and healthcare recruiters need verified, structured access to **8+ million US National Provider Identifiers (NPIs)** without manually downloading multi-gigabyte monthly NPPES CSV dumps or fighting CMS API validation rules.

This Actor solves every real-world CMS NPPES API constraint automatically:

1. **B2B Decision-Maker Enrichment on NPI-2 Organizations** — Extracts the **Authorized Official** (`authorizedOfficialName`, `authorizedOfficialTitle`, `authorizedOfficialPhone`) for US clinics, ambulatory surgery centers, dental groups, pharmacies, home health agencies, hospitals, and medical practices — alongside practice & mailing addresses, phones, faxes, and DBA (`otherNames`) aliases.
2. **Individual Clinician Profiles (`NPI-1`)** — Extracts physicians (`MD`, `DO`), dentists (`DDS`, `DMD`), nurse practitioners (`NP`), physician assistants (`PA`), and behavioral health/allied specialists with primary & secondary NUCC taxonomy codes and state medical license numbers.
3. **Electronic Endpoints (`endpoints[]`)** — Captures Direct Messaging email addresses, FHIR URLs, CONNECT/HIE gateways, and clinic website endpoints when registered in NPPES.
4. **Automatic Multi-Shard Fanout Beyond CMS's 1,200-Record Cap** — CMS API v2.1 enforces a strict limit of `limit <= 200` and `skip <= 1000` (maximum **1,200 results per single query filter**). Pass multiple `states`, `cities`, `postalCodes`, or `taxonomyDescriptions` and this Actor automatically fans out across shards and deduplicates globally by `npiNumber` up to `5,000` unique records per run.
5. **Zero-Config & CMS Validation Protection** — CMS rejects empty or state-only queries with validation errors and rejects mixed NPI-1/NPI-2 name fields. This Actor automatically applies smart defaults (`Clinic/Center` / `Dentist` + `NY` when no substantive criteria are provided), strips CMS `"--"` name placeholders, formats US phones & ZIP+4 codes cleanly, and auto-recovers when a comma-qualified taxonomy description (e.g., `Clinic/Center, Urgent Care`) triggers CMS error 14.

***

### 4 Operating Modes

| Mode | Best For | Description |
| :--- | :--- | :--- |
| `organization_leads` | B2B clinic, dental, pharmacy & hospital prospecting | Queries `NPI-2` healthcare organizations with Authorized Officials, practice & mailing phones/faxes, DBA names, taxonomies, and electronic endpoints. |
| `individual_providers` | Physician recruiting, KOL mapping & credentialing | Queries `NPI-1` individual clinicians with credentials (`MD`, `DO`, `DDS`, `NP`), state license numbers, and practice locations. |
| `npi_lookup` | Automated onboarding, claims & vendor NPI verification | Verifies a single or batch list of exact 10-digit `npiNumbers[]` concurrently against CMS NPPES, returning full records or explicit `NOT_FOUND` status. |
| `watchlist_diff` | Continuous compliance & territory change monitoring | Persists a snapshot in a named Apify Key-Value Store (`stateStoreName`) and emits deltas (`NEW_PROVIDER`, `PROFILE_UPDATED`, `REMOVED_FROM_QUERY`) whenever an organization's status, Authorized Official, phone, address, taxonomy, or `lastUpdatedDate` changes. |

***

### Overcoming the CMS 1,200-Result Single-Query Cap

The official CMS NPPES API v2.1 returns at most **200 records per request** with a maximum `skip` offset of **1,000** (1,200 records per unique query filter). To collect larger targeted B2B lists cleanly without duplicates:

- **Multi-State Fanout**: `"states": ["CA", "TX", "NY", "FL"]`
- **Multi-City Fanout**: `"cities": ["Austin", "Dallas", "Houston", "San Antonio"]`
- **Multi-ZIP / Prefix Fanout**: `"postalCodes": ["10001", "10016", "10019", "90210"]` or CMS wildcard prefixes `"787*"`
- **Multi-Taxonomy Fanout**: `"taxonomyDescriptions": ["Clinic/Center", "Urgent Care", "Ambulatory Surgical", "Dentist"]`

Every result is globally deduplicated by 10-digit `npiNumber` before delivery and billing.

***

### Example Input (`organization_leads` Multi-City Clinic Outreach)

```json
{
  "mode": "organization_leads",
  "taxonomyDescriptions": ["Clinic/Center", "Urgent Care"],
  "states": ["TX"],
  "cities": ["Austin", "Dallas", "Houston"],
  "hasPhoneOnly": true,
  "hasAuthorizedOfficialOnly": true,
  "updatedSince": "2024-01-01",
  "maxResults": 250
}
```

### Example Input (`npi_lookup` Batch Verification)

```json
{
  "mode": "npi_lookup",
  "npiNumbers": [
    "1902215148",
    "1932369485",
    "1952865172"
  ]
}
```

### Example Output Record

```json
{
  "recordType": "NPI_ORGANIZATION_LEAD",
  "entityId": "1902215148",
  "npiNumber": "1902215148",
  "enumerationType": "NPI-2",
  "status": "A",
  "organizationName": "21 READE PLACE ASC LLC",
  "providerFullName": null,
  "providerCredential": null,
  "displayName": "21 READE PLACE ASC LLC",
  "otherNames": [],
  "authorizedOfficialName": "Dr. SUNIL K KHURANA, M.D.",
  "authorizedOfficialTitle": "Member",
  "authorizedOfficialPhone": "845-451-7217",
  "primaryTaxonomyCode": "261QE0800X",
  "primaryTaxonomyDesc": "Clinic/Center, Endoscopy",
  "primaryTaxonomyLicense": null,
  "primaryTaxonomyState": null,
  "allTaxonomies": [
    {
      "code": "261QE0800X",
      "desc": "Clinic/Center, Endoscopy",
      "license": null,
      "state": null,
      "primary": true,
      "taxonomyGroup": null
    }
  ],
  "practiceAddress1": "21 READE PL",
  "practiceAddress2": "SUITE 3300",
  "practiceCity": "POUGHKEEPSIE",
  "practiceState": "NY",
  "practiceZip": "12601-3912",
  "practicePhone": "845-454-0222",
  "practiceFax": null,
  "mailingAddress1": "21 READE PL",
  "mailingAddress2": "SUITE 3300",
  "mailingCity": "POUGHKEEPSIE",
  "mailingState": "NY",
  "mailingZip": "12601-3912",
  "mailingPhone": "845-454-0222",
  "mailingFax": null,
  "endpoints": [],
  "enumerationDate": "2014-08-12",
  "lastUpdatedDate": "2014-08-12",
  "npiRegistryUrl": "https://npiregistry.cms.hhs.gov/provider-view/1902215148",
  "scrapedAt": "2026-11-21T16:00:00.000Z"
}
```

***

### Official Open-Data Attribution

All records are retrieved live from the public **National Plan and Provider Enumeration System (NPPES) NPI Registry API v2.1** operated by the **Centers for Medicare & Medicaid Services (CMS)** (`npiregistry.cms.hhs.gov`), made publicly available under the HIPAA Administrative Simplification FOIA dissemination rules. Intended for healthcare B2B research, directory enrichment, and provider credentialing; always consult official CMS NPPES and state licensing boards for binding clinical credentialing decisions.

# Actor input Schema

## `mode` (type: `string`):

Select 'organization_leads' for NPI-2 clinics, medical practices, hospitals, dental groups, pharmacies & home health agencies (includes Authorized Officials), 'individual_providers' for NPI-1 physicians, dentists & specialists, 'npi_lookup' for exact 10-digit NPI batch verification, or 'watchlist_diff' for stateful registry change monitoring.

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

Filter NPI-2 organizations by legal or DBA name. Supports CMS trailing wildcard '*' when at least 2 characters are entered (e.g., 'Mayo*', 'Dental\*', 'Urgent Care').

## `firstName` (type: `string`):

Filter NPI-1 individual providers by first name (supports trailing wildcard '*', e.g., 'John*'). Used in 'individual_providers' mode.

## `lastName` (type: `string`):

Filter NPI-1 individual providers by last name (supports trailing wildcard '*', e.g., 'Smith*'). Used in 'individual_providers' mode.

## `npiNumbers` (type: `array`):

List of exact 10-digit NPI numbers to verify or monitor (e.g., \['1902215148', '1932369485']).

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

CMS NUCC taxonomy description (e.g., 'Clinic/Center', 'Urgent Care', 'Dentist', 'Pharmacy', 'Home Health', 'General Acute Care Hospital', 'Internal Medicine', 'Physical Therapist'). If no other substantive filter is supplied, defaults automatically to 'Clinic/Center' (NPI-2) or 'Dentist' (NPI-1) so zero-config runs always return live leads.

## `taxonomyDescriptions` (type: `array`):

Optional list of multiple CMS taxonomy descriptions to query with automatic deduplication by NPI number (e.g., \['Clinic/Center', 'Urgent Care', 'Ambulatory Surgical']).

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

Filter and fan out across multiple 2-letter US state/territory codes (e.g., \['CA', 'TX', 'NY', 'FL']). Fanning out across states/cities/ZIPs allows extracting beyond CMS's 1,200-record per-query cap.

## `cities` (type: `array`):

Filter and fan out across multiple US cities (e.g., \['New York', 'Austin', 'Miami', 'Chicago']) with automatic deduplication by NPI.

## `postalCodes` (type: `array`):

Filter and fan out across 5-digit ZIP codes or CMS wildcard prefixes (e.g., \['10001', '90210', '787\*']) with automatic deduplication by NPI.

## `hasPhoneOnly` (type: `boolean`):

Only deliver records that include at least one telephone number (practice phone, authorized official phone, or mailing phone).

## `hasAuthorizedOfficialOnly` (type: `boolean`):

Only deliver organization records that include a named Authorized Official (CEO, Owner, Managing Partner, Medical Director, Compliance Officer).

## `updatedSince` (type: `string`):

Optional ISO date filter (YYYY-MM-DD) returning only providers whose CMS NPI lastUpdatedDate or enumerationDate is on or after this date.

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

Maximum number of unique, deduplicated NPI records to deliver and charge (1 to 5,000). CMS caps any single query filter at 1,200 results; combine multiple states, cities, postalCodes, or taxonomyDescriptions to collect up to 5,000 records.

## `stateStoreName` (type: `string`):

Named persistent Apify Key-Value Store used to persist provider snapshots across runs in 'watchlist_diff' mode.

## Actor input object example

```json
{
  "mode": "organization_leads",
  "hasPhoneOnly": false,
  "hasAuthorizedOfficialOnly": false,
  "maxResults": 100,
  "stateStoreName": "us-npi-nppes-watchlist-state"
}
```

# Actor output Schema

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

No description

## `runSummary` (type: `string`):

No description

# 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("regpulse-data/us-npi-nppes-healthcare-provider-clinic-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("regpulse-data/us-npi-nppes-healthcare-provider-clinic-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 '{}' |
apify call regpulse-data/us-npi-nppes-healthcare-provider-clinic-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,regpulse-data/us-npi-nppes-healthcare-provider-clinic-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/5PpV42XrwACnK69db/builds/n79Ord10aaq7cdMhE/openapi.json
