# US Healthcare Providers, Clinics & Doctors Leads (CMS NPI) (`grimbles/us-healthcare-npi-providers-leads`) Actor

Extract B2B healthcare provider & medical practice leads directly from the official US CMS NPPES NPI Registry API v2.1. Filter by specialty taxonomy, US state, city, ZIP, or NPI type (organizations/clinics vs. individuals) with direct phones, faxes, addresses, and authorized official contacts.

- **URL**: https://apify.com/grimbles/us-healthcare-npi-providers-leads.md
- **Developed by:** [Grimbles Data Labs](https://apify.com/grimbles) (community)
- **Categories:** Lead generation, Automation, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.35 / 1,000 us healthcare provider npi lead extracteds

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 Healthcare Providers, Clinics & Doctors Leads (CMS NPI)

**Extract verified B2B leads for US medical clinics, dental practices, physical therapy centers, hospitals, and licensed physicians directly from the official US Centers for Medicare & Medicaid Services (CMS) NPPES NPI Registry REST API v2.1.**

Built for **HealthTech & EHR SaaS growth teams, medical device sales reps, dental & medspa marketing agencies, healthcare staffing recruiters, RCM/billing vendors, and AI healthcare agents (MCP)**, this Actor returns clean JSON/CSV records with **direct practice phone numbers, fax numbers, authorized executive officials (`authorizedOfficialName` + `Title` + `Phone`), primary specialty taxonomies, and NPI numbers** — with **zero API key and zero proxy overhead**.

***

### Key Features

- **100% Official US Federal Registry**: Queries `https://npiregistry.cms.hhs.gov/api/?version=2.1` updated daily by CMS.
- **Organization (`NPI-2`) & Physician (`NPI-1`) Filtering**: Target multi-provider clinics/hospitals (`NPI-2`) with decision-maker official contacts or individual practitioners (`NPI-1`).
- **Multi-State & Specialty Search**: Query across multiple US states (`["CA", "TX", "NY"]`), cities, ZIP prefixes (`902*`), and taxonomy keywords (`Dentist`, `Physical Therapist`, `Cardiovascular`, `Dermatology`).
- **Lead Quality Scoring (`0–100`)**: Scores every provider by active status (`A`), direct practice phone, fax, and authorized official presence.

***

### Sample Output JSON

```json
{
  "npiNumber": "1234567890",
  "enumerationType": "NPI-2",
  "providerName": "PACIFIC COAST DENTAL GROUP",
  "primarySpecialty": "Dentist",
  "primaryTaxonomyCode": "122300000X",
  "taxonomyState": "CA",
  "licenseNumber": "98765",
  "addressLine1": "450 WILSHIRE BLVD",
  "addressLine2": "SUITE 300",
  "city": "LOS ANGELES",
  "state": "CA",
  "postalCode": "90010",
  "practicePhone": "310-555-0190",
  "practiceFax": "310-555-0199",
  "authorizedOfficialName": "SARAH CHEN",
  "authorizedOfficialTitle": "MANAGING DIRECTOR",
  "authorizedOfficialPhone": "310-555-0101",
  "enumerationDate": "2018-04-12",
  "lastUpdated": "2026-02-10",
  "npiStatus": "A",
  "leadQualityScore": 100,
  "nppesProfileUrl": "https://npiregistry.cms.hhs.gov/provider-view/1234567890"
}
```

***

### AI Agent (MCP) & n8n Automation Integration

#### Apify MCP Server (Claude Desktop / Cursor / Windsurf)

```json
{
  "mcpServers": {
    "us-healthcare-npi-providers-leads": {
      "url": "https://mcp.apify.com/?tools=grimbles/us-healthcare-npi-providers-leads",
      "headers": {
        "Authorization": "Bearer <YOUR_APIFY_API_TOKEN>"
      }
    }
  }
}
```

#### n8n / Make HTTP Run-Sync Integration

```json
{
  "method": "POST",
  "url": "https://api.apify.com/v2/acts/grimbles~us-healthcare-npi-providers-leads/run-sync-get-dataset-items",
  "headers": {
    "Authorization": "Bearer <YOUR_APIFY_API_TOKEN>",
    "Content-Type": "application/json"
  },
  "body": {
    "taxonomyDescription": "Dentist",
    "states": ["CA", "TX"],
    "enumerationType": "NPI-2",
    "onlyWithPhone": true,
    "maxResults": 50
  }
}
```

# Actor input Schema

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

Healthcare provider taxonomy or specialty description (e.g. 'Dentist', 'Physical Therapist', 'Dermatology', 'Clinic/Center'). Supports \* wildcard after 2+ chars.

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

List of 2-letter US state abbreviations to query (e.g. \['CA', 'TX']). Defaults to \['CA'] when omitted.

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

Optional city name filter (e.g. 'Los Angeles', 'Austin').

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

Optional 5-digit ZIP code or prefix with wildcard (e.g. '90210' or '941\*').

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

Optional clinic, hospital, or practice name filter (supports \* wildcard after 2+ chars).

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

Filter by Type 2 organizations/clinics (NPI-2), Type 1 individual doctors (NPI-1), or BOTH.

## `onlyWithPhone` (type: `boolean`):

When enabled, filters out records lacking a practice or authorized official telephone number.

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

Maximum number of verified healthcare provider leads to extract.

## Actor input object example

```json
{
  "taxonomyDescription": "Dentist",
  "states": [
    "CA"
  ],
  "city": "",
  "postalCode": "",
  "organizationName": "",
  "enumerationType": "NPI-2",
  "onlyWithPhone": false,
  "maxResults": 25
}
```

# Actor output Schema

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

Dataset containing extracted US healthcare providers, specialties, phones, faxes, addresses, and authorized officials.

# 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("grimbles/us-healthcare-npi-providers-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("grimbles/us-healthcare-npi-providers-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 grimbles/us-healthcare-npi-providers-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,grimbles/us-healthcare-npi-providers-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/12pZg1brAwd0Anbby/builds/mNmtGDGeUJwQmBwW7/openapi.json
