Skip to content

Identifiers

Find a provider's NPI by name

Search the CMS NPPES registry for a doctor, nurse, clinic or pharmacy by name, optionally in one state, and read the best match with the other candidates.

Try an example
FoundExample
Check digit
Valid (Luhn with prefix 80840)
NPI
1003000126
Provider name
ARDALAN ENKESHAFI, M.D.
Provider type
Individual (NPI-1)
NPI status
Active
Specialty
Hospitalist (208M00000X)
License
MD600003480, DC
Practice address
6410 ROCKLEDGE DR STE 304, BETHESDA, MD, 20817-1841
Phone
443-602-6207
Enumeration date
2007-08-31
Last updated
2026-11-17
Other specialties
Internal Medicine
API access
Unlock with a free account

Unlock with a free account

These fields need an API key. The free plan includes 100 credits every month, no card required.

Unlock these fields

How to read the result

Field What it tells you
NPI The 10-digit number of the best match
Provider name The person's name with credential, or the organization name
Provider type Individual (type 1) or organization (type 2)
Specialty The primary Health Care Provider Taxonomy code and what it stands for
License The license number and issuing state reported with the primary taxonomy
Practice address and phone The primary practice location
Enumeration date and last updated When the NPI was assigned and when the record last changed
Other matches Up to five more candidates, with their NPI, city and state

The status is found when at least one provider matches, and not found when none does.

How the search works

  1. A trailing comma and two-letter state, such as , MD, becomes a state filter.
  2. A name with words such as clinic, hospital, pharmacy or LLC is searched as an organization first; other names as a person first, with the first word as the first name and the last word as the last name, or the other way around when you write "Last, First". Both searches run.
  3. The NPI Registry returns up to 10 providers per search. They are ranked by how closely their name matches what you typed, and the best one is read in full.

A 10-digit number is looked up as an NPI directly, as in the NPI lookup.

Limits

Up to 10 candidates are kept, so a very common name without a state may not show the provider you want: add the state. The registry searches names, not specialties or cities.

Search NPIs from your code

The NPI registry API takes a name, a state and a provider_type (individual or organization), and returns the best record and every candidate in JSON for 1 credit. See the API reference. Screen what you find against the OIG exclusion check.

Same check through the API

One HTTPS call, one credit. The response below is the real schema returned by the API.

cURL
curl https://api.qelka.com/v1/npi \
  -H "Authorization: Bearer sk_test_your_key" \
  -H "Content-Type: application/json" \
  -d '{"npi":"1003000126"}'
JavaScript
const response = await fetch("https://api.qelka.com/v1/npi", {
  method: "POST",
  headers: {
    Authorization: "Bearer sk_test_your_key",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    npi: "1003000126",
  }),
});
const result = await response.json();
{
  "id": "lkp_01M8CFQ9KB0CNKCG2MQB3RDZ6N",
  "object": "npi",
  "input": "1003000126",
  "query": "npi",
  "valid": true,
  "status": "found",
  "reason": null,
  "provider": {
    "npi": "1003000126",
    "type": "individual",
    "name": "ARDALAN ENKESHAFI, M.D.",
    "first_name": "ARDALAN",
    "middle_name": null,
    "last_name": "ENKESHAFI",
    "credential": "M.D.",
    "organization_name": null,
    "sole_proprietor": false,
    "status": "active",
    "enumeration_date": "2007-08-31",
    "last_updated": "2026-11-17",
    "certification_date": "2026-11-17",
    "primary_taxonomy": {
      "code": "208M00000X",
      "description": "Hospitalist",
      "primary": true,
      "state": "DC",
      "license": "MD600003480"
    },
    "taxonomies": [
      {
        "code": "207R00000X",
        "description": "Internal Medicine",
        "primary": false,
        "state": "VA",
        "license": "0101254037"
      },
      {
        "code": "207R00000X",
        "description": "Internal Medicine",
        "primary": false,
        "state": "MD",
        "license": "D0000290"
      },
      {
        "code": "207R00000X",
        "description": "Internal Medicine",
        "primary": false,
        "state": "MD",
        "license": "D0068455"
      },
      {
        "code": "207R00000X",
        "description": "Internal Medicine",
        "primary": false,
        "state": "PA",
        "license": "MD455607"
      },
      {
        "code": "208M00000X",
        "description": "Hospitalist",
        "primary": true,
        "state": "DC",
        "license": "MD600003480"
      }
    ],
    "location_address": {
      "lines": [
        "6410 ROCKLEDGE DR STE 304"
      ],
      "city": "BETHESDA",
      "state": "MD",
      "postal_code": "20817-1841",
      "country": "US",
      "phone": "443-602-6207",
      "fax": null
    },
    "mailing_address": {
      "lines": [
        "601 MEMORY LN"
      ],
      "city": "YORK",
      "state": "PA",
      "postal_code": "17402-2231",
      "country": "US",
      "phone": "717-851-1405",
      "fax": "717-851-6969"
    },
    "practice_locations": 4,
    "other_names": [],
    "authorized_official": null
  },
  "matches": null,
  "credits_used": 1,
  "cached": false
}

Frequently asked questions

How do I find the NPI of a doctor?
Type the doctor's first and last name, such as "Ardalan Enkeshafi", or "Enkeshafi, Ardalan". Add a comma and the two-letter state of the practice, as in "John Smith, TX", when the name is common. The best match is shown in full with its NPI, and the other candidates are listed below it.
Can I search for a hospital, clinic or pharmacy?
Yes. Type the organization name, such as "Cleveland Clinic, OH". Names containing words such as clinic, hospital, health, pharmacy or LLC are searched as organizations first, then as people; other names the other way around. Organization names match from their first words, so start with the beginning of the legal name.
Why are there several results for one name?
Many providers share a name, and one organization often holds several NPIs, one per location or subpart. Compare the city, state and specialty of each candidate before you pick an NPI.
Why does the search find nothing?
The registry matches names as providers entered them. Try the last name alone with a state, drop a middle name or initial, or use the legal name of an organization rather than its brand. Deactivated providers are not published.
Where does the data come from?
From the NPI Registry API of CMS, which publishes the NPPES records of active providers. Providers maintain their own records, so what you see is what they reported.

Put this check in your product

Get an API key in under a minute. 100 free credits every month, no card required.

  • 100 free credits a month
  • No card
  • Test keys spend nothing
  • Cancel any time