NPI Registry Scraper - US Healthcare Provider Data avatar

NPI Registry Scraper - US Healthcare Provider Data

Pricing

from $1.58 / 1,000 results

Go to Apify Store
NPI Registry Scraper - US Healthcare Provider Data

NPI Registry Scraper - US Healthcare Provider Data

Extract US healthcare provider records from the NPI Registry as clean JSON: NPI, names, organizations, taxonomies, practice addresses, phones, and enumeration metadata.

Pricing

from $1.58 / 1,000 results

Rating

0.0

(0)

Developer

Evp Labs

Evp Labs

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

6 days ago

Last modified

Features

Limited permissions

Share

Search the official U.S. National Provider Identifier (NPI) registry - over 8 million doctors, dentists, nurses, therapists, pharmacies, hospitals, and group practices - and get clean, structured JSON: provider names, specialties, state licenses, practice addresses, phones, and registry links.

Under the hood the Actor calls the CMS NPPES public API (npiregistry.cms.hhs.gov/api/?version=2.1), the same endpoint that powers the official NPI Registry search. No API key, no browser, no proxy - a run of 1,000 providers takes seconds. Think of it as a hosted NPI lookup API with bulk export and a GUI.

Why scrape the NPI registry?

  • Healthcare lead generation - build targeted lists of dentists in California, chiropractors in Austin, or pharmacies by ZIP, complete with phone numbers and addresses for outreach.
  • Medical device & pharma sales - segment providers by taxonomy specialty and geography, then export to CSV/Excel for your CRM.
  • Credentialing & provider data verification - look up NPIs, enumeration dates, license numbers, and last-updated timestamps straight from the authoritative federal source.
  • Provider search API for AI agents - MCP/agent-ready endpoint: call the Actor programmatically and let agents answer "find pediatricians in Denver" with real registry data.
  • Practice-management vendors - enrich customer onboarding with verified NPI numbers, taxonomies, and addresses.

What data does it extract?

FieldTypeDescription
npistringNational Provider Identifier (10-digit)
entityTypestringNPI-1 (individual) or NPI-2 (organization)
firstNamestringProvider first name (individuals)
lastNamestringProvider last name (individuals)
organizationNamestringOrganization/group name (NPI-2)
credentialstringCredential on file (e.g. DDS, MD)
primaryTaxonomystringPrimary specialty description (NUCC taxonomy)
taxonomyCodestringPrimary taxonomy code (e.g. 1223G0001X)
licensestringState license number on the primary taxonomy
licenseStatestringState that issued the license
address1stringPractice location street (mailing address used as fallback)
citystringPractice city
statestringPractice state (2-letter)
postalCodestringZIP code (9-digit when available)
phonestringTelephone number on file
lastUpdatedstringRecord last-updated date (YYYY-MM-DD)
enumerationDatestringNPI issue date (YYYY-MM-DD)
registryUrlstringLink to the record on npiregistry.cms.hhs.gov

Records are normalized for readability (ALL-CAPS registry values are title-cased, credentials/LLC/acronyms preserved) and empty fields are omitted.

How to use it

  1. Open the Actor and click Start - the defaults scrape 15 dentists in California in a few seconds.
  2. Add filters: lastName (supports * wildcard), organizationName, taxonomy (e.g. pharmacy, family medicine), city, state, postalCode, or enumerationType.
  3. Raise maxItems to collect more - up to 1,200 per query (see limits below).
  4. Download as JSON, CSV, Excel, or pull via the Apify API / integrations.

Quick start input

Target source: npiregistry.cms.hhs.gov. Paste this JSON into the Actor input tab for a fast first run, or use it as the body of the Apify API run call:

{
"firstName": "",
"lastName": "",
"organizationName": "",
"taxonomy": "dentist",
"city": "",
"state": "CA",
"postalCode": "",
"enumerationType": "",
"maxItems": 10
}

The default input is intentionally small. Raise maxItems only after validating the first healthcare provider records.

Input

FieldTypeDefaultDescription
firstNamestring(empty)Provider first name, NPI-1 only. Min 2 chars, trailing * wildcard supported
lastNamestring(empty)Provider last name, NPI-1 only. Trailing * wildcard supported
organizationNamestring(empty)Organization name, NPI-2 only. Trailing * wildcard supported
taxonomystringdentistSpecialty description (e.g. chiropractor) or taxonomy code (e.g. 1223G0001X)
citystring(empty)City of the provider's address
statestringCA2-letter state code
postalCodestring(empty)5- or 9-digit ZIP code
enumerationTypestringAnyNPI-1 individuals, NPI-2 organizations, or both
maxItemsinteger15Max records to return (up to 1,200 per query)
proxyConfigurationobjectdisabledNot needed - the public API is called directly

Tips:

  • Wildcards: name fields accept a trailing * for starts-with matching (Smi*, Kaiser*).
  • Entity rules: firstName/lastName only match individuals (NPI-1); organizationName only matches organizations (NPI-2).
  • Exact NPI lookup: to fetch a single known NPI, use the API parameter number - or simply open https://npiregistry.cms.hhs.gov/provider-view/<npi>.

Output

One flat JSON item is produced per healthcare provider. Download the dataset as JSON, CSV, Excel, or HTML, or consume it through the Apify API.

Real sample output (latest live dataset)

{
"npi": "1760813802",
"entityType": "NPI-2",
"organizationName": "101 Dental Group",
"primaryTaxonomy": "Dentist, General Practice",
"taxonomyCode": "1223G0001X",
"license": "54634",
"licenseState": "CA",
"address1": "7259 Owensmouth Ave",
"city": "Canoga Park",
"state": "CA",
"postalCode": "913031530",
"phone": "818-999-9900",
"lastUpdated": "2013-11-27",
"enumerationDate": "2013-11-27",
"registryUrl": "https://npiregistry.cms.hhs.gov/provider-view/1760813802"
}

API limits worth knowing

  • The CMS API returns at most 200 records per page and caps skip pagination at roughly 1,200 records per query.
  • To pull large segments (e.g. every dentist in the US), shard by state, then by city or postalCode, or iterate last-name prefixes - the Actor handles pagination and retries inside each query.
  • Queries with no filters, or very broad wildcard-only filters, are rejected by the API.
  • Name fields need at least 2 characters.

The Actor retries with exponential backoff on HTTP 429/5xx and pauses ~400 ms between calls.

Use with AI agents (MCP), n8n, Make, and Python

  • AI agents / MCP: add https://mcp.apify.com/?tools=evpp/npi-registry to your MCP client, then ask the agent to scrape the NPI Registry data or export the latest dataset.
  • n8n / Make / Zapier: run Actor evpp/npi-registry with the quick-start input, then map dataset items into Google Sheets, a CRM, a webhook, or a monitoring workflow.
  • Python: install the client with pip install apify-client and run:
import json
from apify_client import ApifyClient
client = ApifyClient()
run_input = json.loads('''{"firstName":"","lastName":"","organizationName":"","taxonomy":"dentist","city":"","state":"CA","postalCode":"","enumerationType":"","maxItems":10}''')
run = client.actor("evpp/npi-registry").call(run_input=run_input)
items = list(client.dataset(run["defaultDatasetId"]).iterate_items())
print(items[0])

The same dataset is available as JSON, CSV, Excel, XML, RSS, and HTML through the Apify API.

How much does it cost?

This Actor uses pay-per-event pricing: $2.25 per 1,000 results (one apify-default-dataset-item event per provider pushed). You are charged only for data delivered, not compute. A 1,200-record max pull costs about $3.00.

FAQ

Where does the data come from? From NPPES, the official CMS database that assigns NPIs to every U.S. healthcare provider. It is public federal data, refreshed monthly.

Is this legal? The NPI registry is public government data explicitly published for lookup and verification. Our Actors are ethical and do not extract private data - only what providers reported to CMS for public disclosure. Results may contain personal data (provider names, work phones); personal data is protected by GDPR and other regulations, so only use it with a legitimate purpose. If you're unsure, consult your lawyers.

Why does my query return fewer than maxItems? Either the API matched fewer records for your filters, or the ~1,200-record pagination ceiling was hit - narrow the geography or specialty and run again.

Can I get emails? The NPI registry does not publish email addresses. Items include phone numbers and addresses only.

Questions or issues? Use the Issues tab, or call the Actor programmatically via the API tab.