VBC Risk Analytics logo NPI Registry API
Real-time NPPES, Medicare enrollment (PECOS) and LEIE data

NPI Registry API for NPI lookup, NPPES API & provider search

The NPI Registry API gives developers real-time, programmatic access to the NPPES National Provider Identifier database — look up any active NPI, search healthcare providers by name, taxonomy, or location, and retrieve Medicare enrollment data as clean JSON.

Free trial · 100 requests/day · no credit card required

GET /api/v1/findbyNPIId 200 OK
GET /api/v1/findbyNPIId?NPIId=1053500652

{
  "npi": 1053500652,
  "status": "success",
  "org_name": "LEVEL HOME HEALTH INC.",
  "taxonomy_desc": "Agencies:Home Health",
  "in_pecos": "Y",
  "in_leie": "N"
}
9M+NPI records
WeeklyNPPES updates
7REST endpoints
JSON+ Medicare · PECOS · LEIE
National Provider Identifier

National Provider Identifier (NPI) API

The National Provider Identifier API provides real-time access to NPPES provider records — taxonomy classifications, practice locations, Medicare enrollment data, PECOS and LEIE indicators, and provider verification information — through a simple REST interface.

Capabilities

Everything you need from the NPI registry

One REST API for NPI lookup, provider search, and enriched NPPES data — built to drop into your product.

NPI Lookup API

The NPI lookup API retrieves complete provider details for any 10-digit National Provider Identifier — legal name, credentials, primary taxonomy, practice and mailing addresses, authorized official, and enrollment status, powered by live NPPES data.

NPI Search API

The NPI search API queries the provider database by name, organization, taxonomy code, specialty, city, state, or ZIP. Filter and paginate to find every matching individual or organizational provider — ideal for directories and credentialing.

NPI Database API

The NPI database API gives your application programmatic access to NPPES records through simple REST calls — power lookups, directories, and record validation. This is the NPI registry lookup API built for product integration.

Enriched provider data

Every response can include Medicare enrollment, PECOS and LEIE flags, taxonomy, and similar-provider suggestions alongside core NPPES fields — not just the raw registry record.

Real-time & current

Results are powered by NPPES data updated weekly, so the NPI, taxonomy, address, and enrollment details you receive stay in sync with the official source.

Simple REST + JSON

Clean, well-documented JSON responses and straightforward API-key authentication — drop the NPPES API into any stack in minutes, with an interactive console to test live.

NPPES API vs. our NPI API

The free NPPES API at npiregistry.cms.hhs.gov is excellent for light, occasional use, but it is rate-limited and caps the number of records per request. Our NPI API is built for teams that need reliability:

  • Built for programmatic integration rather than manual NPI checks.
  • Enriched data — Medicare enrollment, PECOS and LEIE flags, taxonomy, and similar-provider suggestions alongside core NPPES fields.
  • Consistent, well-documented JSON responses that are easy to parse.
  • Simple API-key authentication with a free trial to get started.

Read: NPPES API vs. NPI Registry API — which should you use? →

CMS & NPPES

Looking for the CMS NPI Registry API?

Many developers search for the official CMS NPI Registry API — here is how it relates to ours.

The official CMS NPI Registry API

The official CMS NPI Registry API at npiregistry.cms.hhs.gov provides free, public access to the NPPES National Provider Identifier database, updated weekly by CMS. It is ideal for light, occasional lookups.

Our NPI Registry API — a commercial alternative

Our NPI Registry API is an alternative built for commercial applications that need enriched provider data — Medicare enrollment, PECOS indicators, and LEIE flags — with consistent JSON responses and an interactive console.

Compare the NPPES API and our NPI Registry API →

Provider verification

Healthcare Provider Verification API

Verify healthcare providers using NPI, taxonomy, PECOS enrollment, Medicare participation, and location data through a single API — built for credentialing, claims, and compliance checks against the National Provider Identifier database.

REST endpoints

Seven endpoints, one API key

The NPI Registry API exposes seven REST endpoints for looking up and searching healthcare provider and Medicare enrollment data.

Base URL https://restapi.npidataservices.com/api/v1

MethodEndpointDescription
GET/findbyNPIIdFind provider & enrollment data by NPI
GET/findbyPACIdFind provider data by PECOS PAC ID
GET/findbyPACENRLIdFind provider data by PECOS enrollment ID
GET/findOrganizationByNameFind organizations by name & ZIP code
GET/findIndividualProviderByNameFind individuals by first/last name & ZIP
GET/findProvidersByTaxonomyCodeFind by entity type, taxonomy code & ZIP
GET/findProviderByNameFind by org / last & first name & state
Example

Example NPI lookup API requests & response

Authenticate with your API key, then call any endpoint with a simple GET request. Example cURL requests are on the left; a sample JSON response is on the right.

Request examples

findbyNPIId
curl -X GET \
  'https://restapi.npidataservices.com/api/v1/findbyNPIId?NPIId=1053500652' \
  -H 'accept: application/json' \
  -H 'ApiKey: YOUR_API_KEY'
findbyPACId
curl -X GET \
  'https://restapi.npidataservices.com/api/v1/findbyPACId?PAC_ID=4284711805' \
  -H 'accept: application/json' \
  -H 'ApiKey: YOUR_API_KEY'
findbyPACENRLId
curl -X GET \
  'https://restapi.npidataservices.com/api/v1/findbyPACENRLId?ENRLMT_ID=I20171103000690' \
  -H 'accept: application/json' \
  -H 'ApiKey: YOUR_API_KEY'
findOrganizationByName
curl -X GET \
  'https://restapi.npidataservices.com/api/v1/findOrganizationByName?ORG_NAME=BAK&ZIP_CODE=45140' \
  -H 'accept: application/json' \
  -H 'ApiKey: YOUR_API_KEY'
findIndividualProviderByName
curl -X GET \
  'https://restapi.npidataservices.com/api/v1/findIndividualProviderByName?FIRST_NAME=JOS&LAST_NAME=THR&ZIP_CODE=34292' \
  -H 'accept: application/json' \
  -H 'ApiKey: YOUR_API_KEY'
findProvidersByTaxonomyCode
curl -X GET \
  'https://restapi.npidataservices.com/api/v1/findProvidersByTaxonomyCode?ENTITY_TYPE_CODE=2&TAXONOMY_CODE=2085R0202X&ZIP_CODE=31520' \
  -H 'accept: application/json' \
  -H 'ApiKey: YOUR_API_KEY'

Response

JSON200 OK
{
  "npi": 1053500652,
  "status": "success",
  "entity_types": ["Organization"],
  "organization": [{
    "org_name": "LEVEL HOME HEALTH INC.",
    "auth_official_first_name": "KELLY",
    "auth_official_last_name": "DECKELMAN",
    "auth_official_title": "ADMINISTRATOR",
    "auth_official_tele": "9492060691"
  }],
  "taxonomy": [{
    "taxonomy_code": "251E00000X",
    "taxonomy_desc": "Agencies:Home Health",
    "prim_taxonomy_switch": "Y"
  }],
  "location": [{
    "addr_fl": "260 S LOS ROBLES AVE STE 101",
    "addr_city": "PASADENA",
    "addr_state": "CA",
    "addr_post_cd": "911012869",
    "addr_type_cd": "PP",
    "telephone": "9492060691"
  }],
  "medicare_enrlmt": [{
    "enrlmt_id": "O20080407000727",
    "pac_id": "4284711805",
    "provider_type_dec": "PART A PROVIDER - HOME HEALTH AGENCY",
    "state_cd": "CA"
  }],
  "entity_type": [{
    "in_pecos": "Y",
    "in_leie": "N",
    "enum_date": "2007-10-18",
    "last_update_date": "2022-02-16"
  }],
  "similar_providers": [
    { "name": "OPTIMUS HOME HEALTH, INC", "npi": 1013674902 },
    { "name": "AUXILIUM HOME HEALTH INC", "npi": 1023609609 },
    { "name": "J AND S HOME HEALTH SERVICES, INC", "npi": 1023374782 },
    { "name": "BETTER CHOICE HOME HEALTH INC", "npi": 1023610128 },
    { "name": "ELITE HOME HEALTH CARE SERVICES INC.", "npi": 1053184770 },
    { "name": "LA COMFORT HOME CARE, INC.", "npi": 1043738156 },
    { "name": "CA HOME HEALTH CARE AGENCY", "npi": 1073256285 }
  ]
}

↓ Download the full response field reference (PDF)

Response

Data returned by the NPI API

A single lookup returns far more than a basic registry record. Each response can include:

  • Identity — NPI number, entity type (individual or organization), and enumeration date.
  • Organization details — legal business name, authorized official name, title, and phone.
  • Taxonomy / specialty — taxonomy code and description, with the primary-specialty flag.
  • Locations — practice and mailing addresses, city, state, ZIP, phone, and fax.
  • Medicare enrollment — enrollment ID, PAC ID, provider type, and state.
  • Status flags — PECOS enrollment (in_pecos) and LEIE exclusion (in_leie).
  • Related providers — similar-provider suggestions with names and NPIs.
Use cases

Who uses an NPI Registry API?

Any product that needs accurate, current U.S. healthcare provider data:

  • Provider directories and search experiences
  • Credentialing and provider-enrollment workflows
  • Claims platforms and revenue cycle management (RCM)
  • EHR / EMR systems and patient-intake tools
  • Payer and value-based-care analytics
  • Healthcare SaaS and data-enrichment pipelines

NPI API use cases

  • Verify a provider's identity and active status by NPI
  • Enrich provider records with taxonomy, address, and Medicare enrollment data
  • Validate billing NPIs against PECOS enrollment and LEIE exclusion flags
  • Search organizations and individuals by name, taxonomy, or location
  • Build provider lookup and directory features into your application
Pricing

Simple, usage-based pricing

Start free — every plan includes all 7 endpoints and enriched NPPES data (Medicare, PECOS, LEIE). Upgrade only when you need more requests.

Enriched dataMedicare enrollment, PECOS & LEIE flags, and similar providers — which the free NPPES API doesn't return.
Reliable & supportedProduction-grade uptime plus email/priority support — not a best-effort public endpoint.
Clean, consistent JSONWell-documented responses and simple API-key auth, ready to drop into production.
Price plans Free Starter Pro Enterprise
Price $0free forever $490per year $1,490per year Customcontact sales
Requests 1,000 / month25,000 / month250,000 / monthCustom
All 7 API endpoints
Enriched data (Medicare, PECOS, LEIE)
Commercial use
Overage Pay as you goPay as you goCustom
Support CommunityEmailPriorityDedicated + SLA
Get started

Every paid plan includes all 7 endpoints and enriched data — tiers differ only by request volume and support.

FAQ

Frequently asked questions

What is the NPI Registry API?
It is a REST web service for real-time access to the NPPES National Provider Identifier database — lookups, searches, and Medicare enrollment data in JSON.
How is this different from the free NPPES API?
This NPI API is built for real-time, programmatic integration and returns enriched data — Medicare enrollment, PECOS and LEIE flags, taxonomy, and similar-provider suggestions — alongside core NPPES fields. The free NPPES API at npiregistry.cms.hhs.gov is best for light, occasional use and caps the number of records per request.
Can I look up a provider by NPI number?
Yes. Send the 10-digit NPI to the lookup endpoint and receive the provider's full record.
Is there a free trial?
Yes — sign up to test the API before choosing a plan.
How do I get my API key?
Your API key is emailed to you within seconds of signing up — paste it into the Authorize button to start. Don't see it? Check your spam or promotions folder, or email contact@vbcriskanalytics.com and we'll resend it.
What happens if my payment fails?
We'll email you and automatically retry the charge. Update your card in the billing portal to keep your access — your subscription is only canceled after the retries are exhausted.
What is the NPPES API?
The NPPES API is the official CMS read API at npiregistry.cms.hhs.gov that provides public access to the National Provider Identifier (NPI) database. Our NPI Registry API is a commercial alternative with enriched data and consistent JSON responses.
How do I use the CMS NPI Registry API?
Send an HTTP GET request with a parameter such as an NPI number, provider name, or taxonomy code, and the API returns provider data as JSON. Our NPI Registry API works the same way and adds Medicare enrollment, PECOS, and LEIE data.
Is there an alternative to the CMS NPI Registry API?
Yes. Our NPI Registry API is a commercial alternative to the free CMS NPPES API, built for applications that need enriched provider data, Medicare enrollment, and an interactive console.
How do I cancel my subscription?
Cancel anytime from the billing portal — there's no lock-in and no cancellation fee.
  1. Open the Manage subscription link (in the top nav, or emailed to you with every invoice).
  2. Click Cancel plan in the portal.
Your plan stays active until the end of the current billing period — you won't be charged again after that. Changed your mind before the period ends? You can reactivate from the same portal and your subscription continues uninterrupted. The free tier never needs cancellation.
How do I upgrade or downgrade my plan?
Open the Manage subscription link (in the top nav, or in any subscription email) and click Update plan. You can switch between Starter and Pro, and between monthly and annual billing, at any time. Changes take effect immediately — upgrades are prorated so you only pay the difference for the remainder of the billing period, and downgrades apply at the next renewal. Your existing API key keeps working throughout — no re-integration needed.
Can I reactivate a cancelled subscription?
Yes — if you cancelled but your billing period hasn't ended yet, open the billing portal and reactivate your plan. Your subscription continues as normal from that point, with no gap in access and no need to get a new API key.
Live reference

Interactive API documentation

Sign up for a free API key, then try every endpoint right here in your browser.

An API key is required to try the API — and getting one is free and fast. Sign up for a free trial and your API key arrives by email within seconds. Then test any endpoint right here in your browser:

  1. Click the Authorize button below and paste in your API key.
  2. Expand any GET endpoint and click Try it out.
  3. Edit the request parameters, then press Execute.
  4. View the live provider data returned in the response body.

Need test values? Download the sample data — it provides ready-to-use request parameters so you can try the REST APIs immediately.

Download Sample Data

Written by Chin Ramamoorthi

CEO, VBC Risk Analytics — 20+ years in healthcare data, provider data management, and risk analytics.