# NPI Registry Pro (`red.cars/npi-registry-pro`) Actor

NPI number lookup API: search 8.7M CMS NPPES healthcare providers by name, specialty, taxonomy, city or state. Active-only filter, authorized officials, practice locations, EHR endpoints.

- **URL**: https://apify.com/red.cars/npi-registry-pro.md
- **Developed by:** [AutomateLab](https://apify.com/red.cars) (community)
- **Categories:** Automation, Developer tools, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.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/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 Registry Pro

Search every US healthcare provider in the CMS NPPES registry: 8.7M+ individual and organizational providers with NPI numbers, specialty taxonomy, addresses, phones and authorized officials. Free government data. No key, no proxies.

**Comparison:** [sourabhbgp/npi-registry-scraper](https://apify.com/sourabhbgp/npi-registry-scraper) (the category leader) returns basic registry rows. NPI Registry Pro adds the specialty filter (Dentist, Internal Medicine, Chiropractor and more), an individual/organization switch, an active-only filter so you never pay for a deactivated record, authorized-official contact details, practice locations and declared EHR endpoints.

### What you get per row

| Field | Example |
| --- | --- |
| npi | 1093655656 |
| name | 32 SMILES DENTAL LLC |
| provider_type | Individual or Organization |
| status | Active |
| primary_specialty | Dentist, General Practice |
| taxonomy_code | 1223G0001X |
| location_address_1, location_city, location_state, location_zip | 10650 CULEBRA RD STE 136, SAN ANTONIO, TX, 782514950 |
| location_phone, location_fax | 210-888-5832 |
| mailing_address_1, mailing_city, mailing_state, mailing_zip | full mailing address |
| authorized_official, authorized_official_title, authorized_official_credential, authorized_official_phone | SIDRA IQBAL, Dr, DDS |
| enumeration_date, last_updated | 2026-03-31 |
| ehr_endpoint_type, ehr_endpoint_url | the provider's declared EHR endpoint, when registered |

### How to search

Combine any of these filters: organization name, provider first/last name, specialty (NUCC taxonomy description, e.g. Dentist or Family Medicine), provider type (NPI-1 individual or NPI-2 organization), and location (state + city, or ZIP). The registry API needs a city or ZIP code together with a state; the actor pages the registry automatically in batches of 200 until it reaches your max results. `only_active` drops deactivated records before they are saved.

### Input

| Field | Type | Description |
| --- | --- | --- |
| organization_name | text | Organization or practice name, e.g. Mayo Clinic |
| first_name / last_name | text | Individual provider name (NPI-1) |
| taxonomy_description | text | Specialty, e.g. Dentist, Internal Medicine, Radiology |
| enumeration_type | select | Any, Individual (NPI-1), Organizations (NPI-2) |
| state / city / postal_code | text | Location filters. ZIP alone also works |
| address_purpose | select | Which address the location filters apply to: primary practice, practice location or mailing |
| max_items | number | Max providers to return (default 10, up to 2,000) |
| only_active | checkbox | Skip deactivated records before they are saved (default on) |
| include_practice_locations | checkbox | Add all additional practice locations to each row |

### Output

A default dataset of provider rows, one row per provider, shaped as the table above.

### Pricing

| Item | Price |
| --- | --- |
| Actor start | $0.005 per run |
| Each provider row | $0.002 ($2.00 per 1,000 providers) |

Compute is minimal: the actor calls CMS's free API over plain HTTP with no proxy, so your cost per 1,000 providers stays close to the listed price.

### Use cases

- **Healthcare lead generation.** Build lists of dentists, primary-care physicians, chiropractors or any specialty by city or ZIP, with phone numbers and authorized officials.
- **Provider verification.** Check an NPI number, confirm active status, specialty and practice address in one call.
- **Recruiting and staffing.** Map providers by state and specialty for placement pipelines.
- **Market analysis.** Count providers by specialty and geography; add practice locations for a full footprint.

### FAQ

**Is this data free?** The source is CMS's NPPES registry, a free public API. You pay only for the run and the rows returned.

**Why can't I search by state alone?** The registry API rejects a state without a city or ZIP. Add a city or ZIP code with your state; ZIP alone works by itself.

**How large can one run be?** Up to 2,000 providers per run. The registry pages results in batches of 200 and the actor pages automatically.

**Do deactivated providers get billed?** No. With `only_active` on, deactivated records are filtered before they are saved, so you never pay for a dead row.

**Can I get group practices only?** Yes. Set provider type to Organizations (NPI-2). Group practices, hospitals and clinics are all NPI-2.

**What are EHR endpoints?** Some providers register FHIR or HL7 endpoints with CMS. The row carries the endpoint type and URL when the provider has one.

Pair it with [B2B Lead Gen Suite MCP](https://apify.com/red.cars/b2b-lead-gen-suite-mcp) to turn provider lists into outreach-ready contacts.

# Actor input Schema

## `organization_name` (type: `string`):

Search by organization or practice name, e.g. Mayo Clinic, Cleveland Clinic Family Practice.

## `first_name` (type: `string`):

For individual providers (NPI-1). Leave empty for organization-only searches.

## `last_name` (type: `string`):

For individual providers (NPI-1), e.g. Patel.

## `taxonomy_description` (type: `string`):

Provider specialty from the NUCC taxonomy, e.g. Dentist, Internal Medicine, Chiropractor, Family Medicine, Radiology, Dermatology.

## `enumeration_type` (type: `string`):

Individual providers are NPI-1, organizations and group practices are NPI-2.

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

Two-letter US state code, e.g. TX, NY. The registry API requires a city or ZIP code together with state.

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

City name, e.g. San Juan, Austin. Combine with State for the best results.

## `postal_code` (type: `string`):

5-digit ZIP or 9-digit ZIP+4, e.g. 00601.

## `address_purpose` (type: `string`):

Which provider address the state, city and ZIP filters apply to.

## `max_items` (type: `integer`):

Maximum providers to return. The actor pages the registry automatically in batches of 200.

## `only_active` (type: `boolean`):

Skip deactivated NPI records before they are saved, so you never pay for a dead record.

## `include_practice_locations` (type: `boolean`):

Add the full list of additional practice locations (city, state, ZIP) to each row.

## Actor input object example

```json
{
  "taxonomy_description": "Dentist",
  "state": "TX",
  "city": "San Antonio",
  "address_purpose": "PRIMARY",
  "max_items": 10,
  "only_active": true,
  "include_practice_locations": false
}
```

# Actor output Schema

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

Default dataset of provider rows: NPI, name, individual/organization type, status, primary taxonomy and specialty, location and mailing addresses, phone/fax, authorized official, enumeration and last-updated dates, and EHR endpoint when declared.

# 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 = {
    "taxonomy_description": "Dentist",
    "state": "TX",
    "city": "San Antonio",
    "address_purpose": "PRIMARY",
    "max_items": 10,
    "only_active": true,
    "include_practice_locations": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("red.cars/npi-registry-pro").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 = {
    "taxonomy_description": "Dentist",
    "state": "TX",
    "city": "San Antonio",
    "address_purpose": "PRIMARY",
    "max_items": 10,
    "only_active": True,
    "include_practice_locations": False,
}

# Run the Actor and wait for it to finish
run = client.actor("red.cars/npi-registry-pro").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 '{
  "taxonomy_description": "Dentist",
  "state": "TX",
  "city": "San Antonio",
  "address_purpose": "PRIMARY",
  "max_items": 10,
  "only_active": true,
  "include_practice_locations": false
}' |
apify call red.cars/npi-registry-pro --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,red.cars/npi-registry-pro"
        }
    }
}
```

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/xTCoD8PxpnOoAo6FN/builds/3W4rcm8JYf3qHAFcR/openapi.json
