Validate
Look up US health care providers by NPI
Send a 10-digit NPI, or a name with an optional state. The API checks the NPI's Luhn check digit with the 80840 prefix before any call, then reads the provider's record from the CMS National Plan and Provider Enumeration System (NPPES): name, credential, primary and other specialties with their license numbers, practice and mailing addresses, enumeration date and, for organizations, the authorized official. A name search returns the best match with the other candidates.
What one lookup returns
The fields this product reads from the response. The full schema is in the API reference.
| Field | Type | Meaning |
|---|---|---|
| status | string | found, not_found or invalid. |
| valid | boolean or null | Whether the NPI passes the Luhn check with the 80840 prefix; null for a name search. |
| reason | string or null | invalid_format, invalid_check_digit, not_in_nppes or no_match. |
| provider.npi | string | The 10-digit NPI. |
| provider.type | string | individual (NPI-1) or organization (NPI-2). |
| provider.name | string | Display name, with the credential for a person. |
| provider.credential | string or null | Credential as reported, such as M.D. |
| provider.status | string | active; deactivated NPIs are not published. |
| provider.enumeration_date | string or null | Date the NPI was assigned. |
| provider.primary_taxonomy | object or null | Primary specialty: taxonomy code, description, license and its state. |
| provider.taxonomies | array | Every specialty reported, with licenses. |
| provider.location_address | object or null | Primary practice location, with phone. |
| provider.mailing_address | object or null | Mailing address. |
| provider.authorized_official | object or null | Organizations: the person who signed the application, with title. |
| matches | array or null | Name search: candidates, best first. |
Live example
The response below was returned by the API for this request.
curl https://api.qelka.com/v1/npi \
-H "Authorization: Bearer sk_test_your_key" \
-H "Content-Type: application/json" \
-d '{"npi":"1003000126"}'| npi | string · OptionalNational Provider Identifier, 10 digits; spaces and dashes are ignored. Send npi or name. |
|---|---|
| name | string · OptionalProvider name: a person, first name then last name, or an organization. |
| state | string · OptionalTwo-letter US state code that narrows a name search. |
| provider_type | string · Default "any"Name search only: any, individual (NPI-1) or organization (NPI-2). |
| fresh | boolean · Default falsetrue skips the result cache and runs the lookup again. |
Response
{
"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
}Use cases
Credential new providers
Confirm that the NPI a doctor, nurse or clinic gives you exists, belongs to them and lists the specialty and license you expect.
Clean claims and referrals
Catch mistyped NPIs with the check digit before a claim or a prescription is rejected, and fill in the practice address.
Build provider directories
Find the NPI of each provider of a list by name and state, then keep specialties and addresses up to date with a bulk job.
Screen before you contract
Pair the NPI with the OIG exclusion screening to see whether a provider is barred from federal health care programs.
Price
1 credit per lookup, from the same balance as every other product.
- Starter
- $2.90 per 1,000 lookups
- Growth
- $1.98 per 1,000 lookups
- Scale
- $1.50 per 1,000 lookups
- Business
- $1.07 per 1,000 lookups
The free plan includes 100 credits every month. Errors, upstream failures and test keys are never billed.
See pricingData source and freshness
Queried live from the source at request time. Results are cached for 7 days; send "fresh": true to query again.
- NPPES NPI Registry
License: U.S. Government work, public domain · Refresh: per request
Frequently asked questions
What is an NPI?
How is the check digit verified?
Why is an NPI not found when its check digit is valid?
How fresh is the data?
What does a lookup cost?
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