# NPI Registry Organizations (NPPES healthcare providers) (`darikami/npi-organizations`) Actor

US healthcare organizations from the official CMS NPPES NPI Registry: hospitals, clinics, pharmacies, labs, home health, group practices. NPI, name, taxonomy, practice and mailing address, phone, fax. Search by name, taxonomy, city, state or ZIP; large queries are split past the 1,200 cap.

- **URL**: https://apify.com/darikami/npi-organizations.md
- **Developed by:** [DARIKAMI GmbH](https://apify.com/darikami) (community)
- **Categories:** Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.00 / 1,000 organization delivereds

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 Organizations (NPPES healthcare providers)

**US healthcare organizations (hospitals, clinics, pharmacies, labs, home health agencies, group practices, suppliers) from the official NPPES NPI Registry of CMS.** No registry account or API key is needed.
Main fields: NPI, legal and other names, taxonomy codes and descriptions, practice and mailing address, phone, fax, enumeration date, status.
**USD 0.001 per organization (USD 1 per 1,000).** Withheld records, duplicates, notes and errors are free.

| NPI | Organization | Doing business as | Primary taxonomy | Practice address | Phone | NPI since |
|---|---|---|---|---|---|---|
| 1164270815 | 1918 WINTER STREET OPERATING CO LLC | SAV-ON PHARMACY #0160 | Pharmacy, Community/Retail Pharmacy | 10500 W OVERLAND RD, BOISE, ID 83709-1435 | 208-376-1382 | 2024-05-08 |
| 1174394183 | 1918 WINTER STREET OPERATING CO LLC | SAV-ON PHARMACY #0189 | Pharmacy, Community/Retail Pharmacy | 3614 W STATE ST, BOISE, ID 83703-5218 | 208-426-9639 | 2024-01-10 |
| 1164293619 | 1918 WINTER STREET OPERATING CO LLC | SAV-ON PHARMACY #0169 | Pharmacy, Community/Retail Pharmacy | 909 E PARKCENTER BLVD, BOISE, ID 83706-6721 | 208-338-3722 | 2024-01-12 |
| 1164270955 | 1918 WINTER STREET OPERATING CO LLC | SAV-ON PHARMACY #0162 | Pharmacy, Community/Retail Pharmacy | 5100 W OVERLAND RD, BOISE, ID 83705-2634 | 208-343-1696 | 2024-05-08 |
| 1174371835 | 1918 WINTER STREET OPERATING CO LLC | SAV-ON PHARMACY #0177 | Pharmacy, Community/Retail Pharmacy | 4700 N EAGLE RD, BOISE, ID 83713-0744 | 208-939-5149 | 2024-05-08 |

The rows come from a real cloud run of 04.11.2026 (run msR8ol6paTembJw20), with the input `{"taxonomyDescription": "Pharmacy", "city": "Boise", "state": "ID", "maxOrganizations": 5}`. The full item is under Output.

### Who uses it

- **Healthcare sales and marketing teams:** lists of pharmacies, home health agencies or clinics in a state, a city or a ZIP code, with the practice address and phone.
- **Claims, billing and credentialing tools:** check an organization's NPI, its taxonomy and its addresses against the registry.
- **Market and network analysts:** count and map provider organizations by type and area, and watch new NPIs by their enumeration date.

### What it does not do

- **No individual providers.** Doctors, nurses and other persons (NPI-1) are not requested.
- **Records it reads as a person's name.** The registry also lists some practitioners under NPI-2, under their own name. The actor withholds the records it reads as such, so a solo practice can be missing. Personal data, below, has the rule.
- **No contact person.** The output has no authorized official (name, title, phone), no Direct messaging endpoints and no other identifiers.
- No license verification, no Medicare enrollment, no exclusion lists: the NPPES record only.
- The registry API is updated daily. A change made today can take a day to show.

### Input

```json
{ "taxonomyDescription": "Home Health", "state": "TX", "maxOrganizations": 5000 }
```

| Field | Meaning |
|---|---|
| `taxonomyDescription` | Words of the NUCC taxonomy description, matched against every taxonomy of the organization: `Pharmacy`, `Hospital`, `Home Health`, `Clinic/Center`, `Laboratory`, `Dentist`, `Ambulance`. |
| `organizationName` | The legal name or another name (doing business as). Exact, or the start of the name with `*` after at least 2 characters: `mayo clinic*`. |
| `city` | The whole city name. |
| `state` | A two-letter code: a US state, DC or a territory (`CA`, `NY`, `PR`). A state alone is allowed. |
| `postalCode` | 5 or 9 digits (`83704`, `83704-5970`; 5 digits match the 9-digit codes too), or 2 to 8 leading digits with `*` (`837*`). |
| `addressPurpose` | `location` (default): the place filters apply to the practice location, the primary one or any other. `mailing`: the mailing address. `any`: either. |
| `maxOrganizations` | Stop after this many organizations (each one is charged). Default 1,000, at most 100,000. |

Give at least one of the first five fields.

**Large queries are split.** The registry API returns at most 1,200 records per query (200 a page, skip at most 1,000).
When a query reaches 1,200, the actor splits it by ZIP code: first into the 100 two-digit prefixes (`00*` to `99*`), then one digit more where a prefix is still full.
So the actor can read a state, a city or a taxonomy with 30,000 organizations, at the cost of more requests.
Two edge cases remain, and the actor says each in a free note:

1. One 9-digit ZIP code with 1,200 or more matching organizations cannot be split further. Only the first 1,200 (sorted by name) come back.
2. In a 5-digit ZIP code with 1,200 or more matches, the actor reads the first 1,200 and then every 9-digit code under it. An organization registered there with a 5-digit code only, past the first 1,200, can be missing.

Add a taxonomy or a name to the input to avoid both. An organization whose only matching address is outside the US is not found by a split query.

### Output (one item per organization)

```json
{
  "npi": "1164270815",
  "organizationName": "1918 WINTER STREET OPERATING CO LLC",
  "otherNames": [{ "name": "SAV-ON PHARMACY #0160", "type": "Doing Business As" }],
  "primaryTaxonomyCode": "3336C0003X",
  "primaryTaxonomyDescription": "Pharmacy, Community/Retail Pharmacy",
  "taxonomies": [
    { "code": "332B00000X", "description": "Durable Medical Equipment & Medical Supplies", "primary": false, "state": null },
    { "code": "333600000X", "description": "Pharmacy", "primary": false, "state": null },
    { "code": "3336C0003X", "description": "Pharmacy, Community/Retail Pharmacy", "primary": true, "state": null }
  ],
  "practiceAddressLine1": "10500 W OVERLAND RD",
  "practiceAddressLine2": null,
  "practiceCity": "BOISE",
  "practiceState": "ID",
  "practicePostalCode": "83709-1435",
  "practiceCountryCode": "US",
  "practicePhone": "208-376-1382",
  "practiceFax": "208-378-5805",
  "mailingAddressLine1": "7 CORPORATE DR",
  "mailingAddressLine2": null,
  "mailingCity": "KEENE",
  "mailingState": "NH",
  "mailingPostalCode": "03431-5042",
  "mailingCountryCode": "US",
  "mailingPhone": "603-354-7000",
  "mailingFax": null,
  "otherPracticeLocations": [],
  "organizationalSubpart": false,
  "parentOrganizationName": null,
  "status": "A",
  "enumerationDate": "2024-05-08",
  "lastUpdated": "2024-07-24",
  "certificationDate": "2024-05-01",
  "npiCheckDigitValid": true,
  "registryUrl": "https://npiregistry.cms.hhs.gov/provider-view/1164270815",
  "retrievedAt": "2026-11-04T23:39:49.839Z",
  "source": "NPPES NPI Registry (CMS), npiregistry.cms.hhs.gov - FOIA-disclosable data"
}
```

- `otherNames`: the organization's other names with their type (`Doing Business As`, `Former Legal Business Name`, `Other Name`).
- `taxonomies`: every taxonomy (NUCC code and description) with its state where the registry has one. The license number stays out: in a small practice it is a person's license. `primaryTaxonomy*` is the one marked primary.
- `practice*`: the primary practice location. `otherPracticeLocations`: the other practice locations, each with the same fields.
- `organizationalSubpart`: the organization is a subpart of a parent (`parentOrganizationName`).
- `status`: `A` = active.
- `npiCheckDigitValid`: the NPI's check digit (Luhn over `80840` and the first 9 digits) is right.

The items come in ZIP-code order across a split query, else sorted by name. Each NPI comes once.
Free notes (`type`: `info` or `error`) explain a no-match, an unknown taxonomy, a capped ZIP code or a failed request.

### Pricing (pay per event)

| Event | Price | When |
|---|---|---|
| `organization` | **USD 0.001** | one organization delivered |

1,000 organizations cost USD 1.

Free:

- A record that the privacy rule withholds.
- An organization that a split query returns a second time.
- Notes: no match, unknown taxonomy, capped ZIP codes.
- Errors.

You can set a maximum charge for a run.

### Personal data

The actor requests organizations only (`enumeration_type=NPI-2`).
Its filter withholds a record whose name is a person's or that it cannot place. A name passes with a legal form (LLC, Inc., P.C. and others). Without one, it needs an organization's word (Hospital, Pharmacy, Clinic and others), no personal credential (MD, DDS, LCSW and others) and not the authorized official's surname. The filter also withholds some real organizations. `personNamedWithheld` in `STATS` counts them, and they are free.
It drops the authorized official, the endpoints, the other identifiers, the license numbers, and an address line that names a recipient or the official.

The filter works on patterns. A person's name can remain in a company named after a person ("JANE DOE MD PLLC"), in a trade name or in an address line. The address, phone and fax of a small practice can be the practitioner's own.

### Data source and terms

- **Source:** the NPPES NPI Registry API v2.1 of the Centers for Medicare & Medicaid Services (CMS), `https://npiregistry.cms.hhs.gov/api/`.
- **Terms (CMS, "Data Dissemination", read 04.11.2026):** "In September 2007, CMS began disclosing NPPES health care provider data that are disclosable under the Freedom of Information Act (FOIA) to the public." The NPI Registry "is a query-only database which is updated daily"; "There is no charge to view the data." For the downloadable files: "There is no charge to download the data."
- CMS publishes no licence text for the data.
- Each item names the source. This actor is not affiliated with or endorsed by CMS.

### Run summary

The run summary is in the default key-value store under `SUMMARY`, the counts under `STATS`.
The data comes as the source publishes it, without warranty.

**More official-data actors by darikami:** [US federal contract opportunities (SAM.gov)](https://apify.com/darikami/us-federal-contract-opportunities) · [SEC EDGAR filings](https://apify.com/darikami/sec-edgar-filings) · [SEC Form D offerings](https://apify.com/darikami/sec-form-d-offerings) · [Official geocoder (US Census, FR, NL)](https://apify.com/darikami/official-geocoder).
In an AI agent: ask the Apify MCP server (`mcp.apify.com`) for `darikami/npi-organizations`.

# Actor input Schema

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

A word or words of the NUCC taxonomy description, matched against every taxonomy of the organization: Pharmacy, Hospital, Home Health, Clinic/Center, Laboratory, Dentist, Ambulance, Durable Medical Equipment. Empty: all types.

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

The organization's legal name, or other name (doing business as). Exact, or the start of the name with a trailing \* after at least 2 characters (mayo clinic\*). Empty: all names.

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

The whole city name (no wildcard). Empty: all cities.

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

Two-letter code: a US state, DC or a territory (CA, NY, PR). A state alone is allowed: the actor splits it by ZIP code. Empty: all states.

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

5 or 9 digits (83704, 83704-5970; 5 digits match the 9-digit codes too), or 2 to 8 leading digits with a trailing \* (837\*). Empty: all ZIP codes.

## `addressPurpose` (type: `string`):

location = the practice location (the primary one or any other); mailing = the mailing address; any = either. Default: location.

## `maxOrganizations` (type: `integer`):

Stop after this many organizations are delivered (each one is charged). Empty: 1,000.

## Actor input object example

```json
{
  "taxonomyDescription": "Pharmacy",
  "city": "Boise",
  "state": "ID",
  "addressPurpose": "location",
  "maxOrganizations": 100
}
```

# Actor output Schema

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

One item per organization: NPI, name, other names, taxonomies, practice and mailing address with phone and fax, dates, status.

## `summary` (type: `string`):

SUMMARY record: pushed, charged, attempts, errors, stoppedByBudget, ok, message.

# 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 = {
    "taxonomyDescription": "Pharmacy",
    "city": "Boise",
    "state": "ID",
    "maxOrganizations": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("darikami/npi-organizations").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 = {
    "taxonomyDescription": "Pharmacy",
    "city": "Boise",
    "state": "ID",
    "maxOrganizations": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("darikami/npi-organizations").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 '{
  "taxonomyDescription": "Pharmacy",
  "city": "Boise",
  "state": "ID",
  "maxOrganizations": 100
}' |
apify call darikami/npi-organizations --silent --output-dataset

```

## MCP server setup

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

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/4hHWqyQKObspHapuv/builds/bbKoSO1ij68fHM3vX/openapi.json
