# NPI Registry Scraper - Healthcare Provider Leads with Phone (`rel8ble/npi-healthcare-leads-scraper`) Actor

NPI Registry / NPPES scraper: US clinics, practices, pharmacies, home health agencies and doctors by specialty, city, state, ZIP or NPI, with phone, fax, address, licence, authorized official and new-NPI dates. No 1,200-row cap. $0.30 per 1,000, no start fee.

- **URL**: https://apify.com/rel8ble/npi-healthcare-leads-scraper.md
- **Developed by:** [Giovanni Rich](https://apify.com/rel8ble) (community)
- **Categories:** Lead generation, Business, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.00 / 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.

Learn more: https://docs.apify.com/actors/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 Registry Scraper - Healthcare Provider Leads with Phone

**NPI Registry scraper**, **NPPES lookup** and **healthcare provider leads** API for medical sales reps, dental / pharmacy / DME suppliers, healthcare SaaS and billing companies, staffing agencies, recruiters and AI agents: search the official **CMS NPPES NPI Registry** (about 9 million US providers, updated daily) and get one clean JSON / CSV / Excel row per **clinic, practice, pharmacy, home health agency, hospital, supplier or practitioner** with **NPI, name, DBA, primary specialty and licence, practice phone, fax and address, mailing address, authorized official (name, title, phone), Direct secure email, other practice locations and NPI issue date**.

Search by **specialty / taxonomy, city, state, ZIP prefix, organization name and NPI issue date (new providers)**, or paste **NPI numbers in bulk**. It reads the public NPPES API over plain HTTP: **no browser, no login, no page crawling**. The NPI API stops every query at 1,200 results; this actor **splits big searches by ZIP code automatically**, so a whole state comes back complete. In the 1 Dec 2026 local runs the prefilled input (100 dental organizations in Austin, TX) took **0.4 s and 2 requests**; **all 1,322 pharmacy organizations in Colorado took 3.2 s** (11 requests); **all 6,349 healthcare organizations in Rhode Island took 6.3 s** (74 requests); **43 Texas home health agencies whose NPI was issued in the last 60 days took 4.8 s**. On the Apify platform at 512 MB the prefilled run finished in **2.0 s of run time** (100 rows, 1 Dec 2026 UTC).

### What you get

- **Contact**: practice-location phone (formatted + E.164) and fax, mailing phone, authorized official's name, title (Owner, Administrator, CEO ...), credential and direct phone (organizations), Direct Messaging secure email and FHIR / web endpoints where the provider publishes them.
- **Identity**: NPI, provider type (organization / individual), legal name, DBA and other names, credential (individuals), sole proprietor, subpart flag and parent organization, status, NPPES profile link.
- **Specialty and licence**: primary taxonomy (e.g. "Dentist, General Practice", "Home Health", "Pharmacy"), taxonomy code, state licence number and state, every taxonomy with its group.
- **Locations**: practice address with ZIP and ZIP+4, mailing address, every secondary practice location.
- **Dates**: NPI issue (enumeration) date, last update, certification date, so you can pull **new practices and agencies** every week.

Gender and other personal attributes in NPPES are not output.

### Sample output

Real rows from the 1 Dec 2026 local run `{"taxonomies":["Home Health"],"states":["TX"],"enumeratedWithinDays":60,"maxResults":50}` (43 new agencies, 42 with phone, all with an authorized official; `sample-output.json` has the full rows, 52 fields each):

| NPI | Name | Primary specialty | Phone | City | Official title | NPI issued |
|---|---|---|---|---|---|---|
| 1174424691 | A & S COMMUNITY LIVING LLC | Home Health Aide | (214) 735-4921 | Heartland, TX | Owner | 2026-11-16 |
| 1972402477 | AMAZING HEARTS HOME HEALTH LLC | Home Health | (817) 266-9297 | Fort Worth, TX | Administrator | 2026-11-02 |
| 1457256984 | AMITYOAK CARE SERVICES LLC | Home Health | (682) 322-8056 | Mansfield, TX | Managing Director | 2026-10-13 |
| 1427959113 | AYANNAH HEALTH LLC | Home Health | (385) 370-5682 | Austin, TX | Managing Member | 2026-11-14 |
| 1285536185 | L & C COMPASSION CARE LLC | Home Health | (770) 212-0329 | Taylor, TX | Owner | 2026-11-19 |
| 1851297774 | ALPHA SPINAL CORD AND HOME HEALTH CARE LLC | Home Health | (469) 767-1805 | Frisco, TX | Owner | 2026-10-16 |

### Use cases

- **Medical, dental and DME sales**: every dental practice, pharmacy, chiropractor, physical therapy clinic or urgent care in your territory with phone, fax, address and the owner / administrator.
- **New-practice prospecting**: `enumeratedWithinDays: 30` returns practices, agencies and suppliers that got their NPI in the last month - they are buying software, billing, insurance, credentialing, supplies and staff right now.
- **Healthcare SaaS, RCM / billing and credentialing services**: build lists by specialty and state, then enrich your CRM by NPI number.
- **Healthcare staffing and recruiting**: home health, hospice, nursing facility and clinic employers by city or ZIP.
- **Data hygiene and verification**: paste thousands of NPI numbers and get the current name, taxonomy, licence and address (check digits are validated; deactivated numbers are listed in `RUN_SUMMARY`).
- **Scheduled monitoring**: run weekly on an Apify schedule with `enumeratedWithinDays: 7` and push new providers to a Google Sheet, HubSpot or an outreach tool.
- **AI agents**: one call turns "home health agencies in Dallas" into structured rows.

### Pricing

**$0.30 per 1,000 providers** (pay per result, `result` event = one provider saved to your dataset), **no start fee**. Rows removed by your filters, NPI numbers that are not found, failed requests and duplicates are never charged. Apify platform usage is included in the price.

| Actor | Users / 30 days (30 Nov 2026) | Price per 1,000 providers | Start fee | 1,000 providers |
|---|---|---|---|---|
| **This actor** | new | **$0.30** | **none** | **$0.30** |
| sourabhbgp/npi-registry-scraper (most users) | 18 | $2.00 | none | $2.00 |
| pink_comic/nppes-npi-registry | 12 | $2.00 | $0.0001 | $2.00 |
| labrat011/npi-provider-contact-finder | 8 | $1.00 (+ $3-$20 per phone / email found) | $0.01 | $1.01+ |
| haketa/nppes-npi-registry-scraper | 4 | $2.00 | $0.00005 | $2.00 |
| fetch_cat/npi-registry-scraper | 4 | $1.71 | $0.005 | $1.72 |
| parseforge/npi-nppes-scraper | 3 | $12.00 | $0.16 | $12.16 |
| agenscrape/nppes-npi-registry-api | 2 | $0.50 | $0.0005 | $0.50 |

Rival prices and user counts are their Apify Store list prices (free-tier rates) from the 30 Nov 2026 Store snapshot; some are lower on paid Apify plans. This actor is **85% under the most-used NPI actor** and under every listed rival. Rival speed and output fields were not measured.

### How to use

1. Open the actor and press **Start** with the prefilled input: 100 dental organizations in Austin, TX, in under a second.
2. Change **Specialties / taxonomies** (Dentist, Pharmacy, Home Health, Physical Therapist, Chiropractor, Clinic/Center, Hospice, Durable Medical Equipment ...) and add **Cities** ("Dallas, TX"), **States** or **ZIP prefixes**.
3. Pick **Provider type**: organizations (default), individual practitioners, or both.
4. Optional: **New providers: NPI issued in the last N days**, **Only with practice phone**, **Exclude organization subparts**, organization-name searches or a bulk list of **NPI numbers**.
5. Set **Max providers** (0 = every match) and download the dataset as JSON, CSV, Excel or HTML, or read it through the API. `RUN_SUMMARY` in the key-value store lists every search with rows and requests, filter counts, NPIs not found and input warnings.

### Input

| Field | What it does |
|---|---|
| `taxonomies` | CMS taxonomy words (partial match, `*` at the end allowed): Dentist, Pharmacy, Home Health, Optometrist ... |
| `cities` | "City, ST" or "City, State name" (practice location) |
| `states` | 2-letter codes or names; whole state, auto-split by ZIP (no 1,200 cap) |
| `postalCodes` | ZIP codes or 2-4 digit prefixes (`787` = Austin area) |
| `providerType` | organizations (NPI-2), individuals (NPI-1), both |
| `organizationNames` | Name prefix searches ("smile\*", "urgent care"), narrowed by taxonomies and states |
| `npiNumbers` | Bulk NPI lookup (numbers or NPPES links) |
| `enumeratedWithinDays`, `enumeratedAfter`, `enumeratedBefore` | NPI issue date window (new providers) |
| `updatedAfter` | NPPES record updated on or after a date |
| `primaryTaxonomyOnly` | Default on: the taxonomy must be the provider's primary one |
| `withPhoneOnly`, `withDirectEmailOnly`, `excludeSubparts` | Row filters (removed rows are not charged) |
| `maxResults`, `maxResultsPerSearch` | Total cap (default 100, 0 = all) and per-search cap |

Example inputs with their local timings (1 Dec 2026):

```json
{"taxonomies":["Pharmacy"],"states":["CO"],"maxResults":0}
```

1,322 rows, 3.2 s, 11 requests.

```json
{"providerType":"both","taxonomies":["Chiropractor","Physical Therapist"],"cities":["Denver, CO","Boise, ID"],"withPhoneOnly":true,"maxResults":120,"maxResultsPerSearch":15}
```

120 rows (8 searches x 15), 0.4 s.

```json
{"taxonomies":["Home Health"],"enumeratedWithinDays":90,"maxResults":200}
```

200 new home health agencies nationwide, 18.3 s (date filters read the whole search area; add states to make them faster).

### Output

One row per provider (fields: `npi`, `providerType`, `name`, `organizationName`, `doingBusinessAs`, `otherNames`, `firstName`, `lastName`, `credential`, `soleProprietor`, `isSubpart`, `parentOrganization`, `status`, `primaryTaxonomy`, `primaryTaxonomyCode`, `primaryLicense`, `primaryLicenseState`, `specialties`, `taxonomies`, `phone`, `phoneE164`, `fax`, `address`, `address2`, `city`, `state`, `zip`, `zipPlus4`, `country`, `mailingAddress`, `mailingCity`, `mailingState`, `mailingZip`, `mailingPhone`, `authorizedOfficial`, `authorizedOfficialTitle`, `authorizedOfficialCredential`, `authorizedOfficialPhone`, `authorizedOfficialPhoneE164`, `directEmails`, `endpointUrls`, `endpoints`, `otherPracticeLocationCount`, `otherPracticeLocations`, `identifiers`, `enumerationDate`, `lastUpdated`, `certificationDate`, `createdAt`, `nppesUrl`, `searchQuery`, `scrapedAt`). A real row, shortened:

```json
{
  "npi": "1154494250",
  "providerType": "organization",
  "name": "360 DENTAL CARE P.A.",
  "doingBusinessAs": "MICHAEL B. NUSSBAUM D.D.S.",
  "primaryTaxonomy": "Dentist, General Practice",
  "primaryTaxonomyCode": "1223G0001X",
  "primaryLicense": "16292",
  "primaryLicenseState": "TX",
  "phone": "(512) 327-3631",
  "phoneE164": "+15123273631",
  "fax": "(512) 327-2234",
  "address": "3660 STONERIDGE RD STE B101",
  "city": "Austin",
  "state": "TX",
  "zip": "78746",
  "zipPlus4": "78746-7759",
  "authorizedOfficial": "MICHAEL B NUSSBAUM",
  "authorizedOfficialTitle": "President",
  "authorizedOfficialCredential": "D.D.S.",
  "authorizedOfficialPhone": "(512) 327-3631",
  "enumerationDate": "2006-11-16",
  "lastUpdated": "2020-08-22",
  "nppesUrl": "https://npiregistry.cms.hhs.gov/provider-view/1154494250"
}
```

The dataset has two views: **Healthcare leads** (contact columns) and **Licences & contacts** (licence, all specialties, Direct email, endpoints, other locations).

### Integrations

Export to CSV / Excel / JSON, call it from the Apify API, Python or JavaScript clients, Make, Zapier, n8n, Google Sheets or any MCP-capable AI agent. Typical cost: **$0.03 for 100 providers, $0.30 for 1,000**.

### FAQ

**Where does the data come from?** The CMS National Plan and Provider Enumeration System (NPPES) NPI Registry public API (npiregistry.cms.hhs.gov/api, version 2.1). It is U.S. government public data, refreshed daily by CMS.

**Is there a 1,200-result limit?** The NPI API itself returns at most 1,200 rows per query. This actor detects the cap and re-runs the search per ZIP prefix (2, 3, 4, then 5 digits), so states and big cities come back complete. Only a single 5-digit ZIP with more than 1,200 matches for one search can be cut; it is reported in `RUN_SUMMARY.cappedQueries` (add a taxonomy to narrow it).

**Does it include email addresses?** NPPES has no ordinary email field. Some providers publish a Direct Messaging secure email (HIE) address, which is output in `directEmails` (about 1-3% of organizations). For website emails, run the names through a contact extractor.

**Can I get only new practices?** Yes: `enumeratedWithinDays` (or `enumeratedAfter`) keeps providers whose NPI was issued in that window. The NPI API cannot filter by date, so the actor reads the whole search area and filters it; you are charged only for the rows kept.

**Why does a taxonomy return nothing?** The API searches taxonomy descriptions, not codes. Use the words CMS uses (Dentist, Pharmacy, Home Health, Clinic/Center, Physical Therapist, Nurse Practitioner ...); unknown words are listed in the warnings.

**Organizations or individuals?** Organizations (default) are the B2B leads: practices, clinics, agencies, pharmacies, suppliers, with an authorized official. Switch `providerType` to `individuals` or `both` for practitioners.

**Is it allowed?** NPPES data is published by CMS for public lookup and reuse. Use it in line with the CAN-SPAM Act, TCPA and HIPAA marketing rules where they apply.

### Related actors

- [US Contractor License Scraper](https://apify.com/rel8ble/us-contractor-license-scraper) - contractor licences with phone (WA, OR, TX, CT, NY)
- [FMCSA Trucking Leads](https://apify.com/rel8ble/fmcsa-trucking-leads-scraper) - USDOT carriers with email, phone, MC number
- [US Building Permits Scraper](https://apify.com/rel8ble/us-building-permits-scraper) - permits with contractor and job value
- [Google Maps Email Extractor](https://apify.com/rel8ble/google-maps-email-extractor) - local businesses with emails and socials

Need a custom scraper or a ready dataset? Hire me on Fiverr: https://www.fiverr.com/rel8ble

# Actor input Schema

## `taxonomies` (type: `array`):

Provider taxonomy words as CMS names them, one per line: Dentist, Pharmacy, Home Health, Physical Therapist, Chiropractor, Clinic/Center, Hospice, Nursing Facility, Durable Medical Equipment, Optometrist, Psychologist, Ambulance ... (partial words match, \* allowed at the end, e.g. pharm\*). Each taxonomy is searched in every location you give. Leave empty to get every provider in the locations.

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

Practice-location cities as "City, ST" (Austin, TX / Boise, Idaho), one per line.

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

2-letter codes or state names (TX, California ...), one per line; the whole state is read (big states are split by ZIP automatically, so there is no 1,200-row cap). With organization names, states only narrow the name search.

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

Practice-location ZIP codes or prefixes, 2-5 digits: 78701 = one ZIP, 787 = the Austin area, 02 = most of New England.

## `providerType` (type: `string`):

organizations = clinics, practices, pharmacies, agencies, hospitals, suppliers (NPI type 2, with the authorized official); individuals = practitioners (NPI type 1); both = run every search for each type.

## `organizationNames` (type: `array`):

Optional organization-name searches (prefix match, 2+ characters, \* allowed at the end): "smile\*", "urgent care", "CVS". Combined with taxonomies and states when given.

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

Optional list of 10-digit NPI numbers or NPPES provider-view links, one per line, to enrich in bulk (check digit validated; not found / deactivated numbers are listed in RUN_SUMMARY and never charged).

## `enumeratedWithinDays` (type: `integer`):

Only providers whose NPI was issued in the last N days (new practices, new agencies, newly licensed practitioners). The NPI API cannot filter by date, so the whole search area is read and filtered here; narrow it with taxonomies or states for speed. 0 = any date.

## `enumeratedAfter` (type: `string`):

YYYY-MM-DD or relative ("6 months"). Optional.

## `enumeratedBefore` (type: `string`):

YYYY-MM-DD. Optional.

## `updatedAfter` (type: `string`):

Only providers whose NPPES record was updated on or after this date (moved, changed phone, new taxonomy). YYYY-MM-DD or "90 days".

## `primaryTaxonomyOnly` (type: `boolean`):

On (default): keep only providers whose PRIMARY taxonomy matches your taxonomy word (cleaner lists; a hospital with one dentist on staff is not a dental practice). Off: any of the provider's taxonomies may match.

## `withPhoneOnly` (type: `boolean`):

Keep only providers that list a practice-location phone number.

## `withDirectEmailOnly` (type: `boolean`):

Keep only providers that publish a Direct Messaging (HIE secure email) address in NPPES. Few providers do (about 1-3%).

## `excludeSubparts` (type: `boolean`):

Drop subpart NPIs (departments / locations registered under a parent organization) and keep head organizations and independents.

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

Total rows to save across all searches (0 = every match). Each saved provider is one billed result.

## `maxResultsPerSearch` (type: `integer`):

Cap for each taxonomy x location search, so one big city does not use the whole budget (0 = no per-search cap).

## Actor input object example

```json
{
  "taxonomies": [
    "Dentist"
  ],
  "cities": [
    "Austin, TX"
  ],
  "providerType": "organizations",
  "primaryTaxonomyOnly": true,
  "withPhoneOnly": false,
  "withDirectEmailOnly": false,
  "excludeSubparts": false,
  "maxResults": 100,
  "maxResultsPerSearch": 0
}
```

# Actor output Schema

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

No description

## `details` (type: `string`):

No description

## `summary` (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 = {
    "taxonomies": [
        "Dentist"
    ],
    "cities": [
        "Austin, TX"
    ],
    "maxResults": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("rel8ble/npi-healthcare-leads-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 = {
    "taxonomies": ["Dentist"],
    "cities": ["Austin, TX"],
    "maxResults": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("rel8ble/npi-healthcare-leads-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 '{
  "taxonomies": [
    "Dentist"
  ],
  "cities": [
    "Austin, TX"
  ],
  "maxResults": 100
}' |
apify call rel8ble/npi-healthcare-leads-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rel8ble/npi-healthcare-leads-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/2eveBDcZfIEAG7Uqm/builds/yT5hfRgkAvmVtGjiZ/openapi.json
