NPI Lookup
Provider name, specialty, license and practice address from an NPI number.
curl -X POST https://api.1lookup.dev/v1/npi-lookup \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"npi":"1234567893"}'{
"success": true,
"data": {
"npi": "1234567893",
"entity_type": "individual",
"status": "active",
"enumeration_date": "2009-07-14",
"last_updated": "2025-03-02",
"name": {
"first": "Jordan",
"last": "Avery",
"credential": "MD"
},
"taxonomies": [
{
"code": "207R00000X",
"description": "Internal Medicine",
"primary": true,
"license_number": "EX12345",
"license_state": "TX"
}
],
"practice_address": {
"line1": "1200 Example Ave",
"line2": "Suite 300",
"city": "Austin",
"state": "TX",
"zip": "78701",
"phone": "+15125550118"
},
"mailing_address": {
"line1": "500 Example Plaza",
"line2": "Floor 2",
"city": "Austin",
"state": "TX",
"zip": "78701"
}
},
"meta": {
"credits_used": 2,
"credits_remaining": 999,
"cached": false,
"request_id": "req_8f3a2c1e9b7d"
}
}Authorization
Authorizationstring<bearer>requiredYour API key as a Bearer token. Live keys start with 1lk_live_. Test keys start with 1lk_test_ and return this endpoint's sample response without spending credits. See authentication.
Body
Send the fields as a JSON object with Content-Type: application/json.
npistringrequiredNPI number. Example: 1234567893
freshbooleanSkip the 7-day cache and run a new lookup. Charged as a normal lookup.
referencestringYour own identifier, echoed back in meta and shown in lookup history.
Response
A 200 response carries the result in data and the cost of the call in meta. These are the fields most integrations read.
successbooleantrue when the lookup ran.
data.nameobjectThe individual's name and credential, or the organization's legal name.
data.entity_typestringindividual for a clinician, organization for a group practice, hospital or other business.
data.statusstringWhether the NPI is active or has been deactivated.
data.taxonomies[].descriptionvalueThe plain-language specialty for each taxonomy code, with the primary one marked.
data.taxonomies[].license_numbervalueThe license number and issuing state the provider reported with that taxonomy.
data.practice_addressobjectWhere the provider sees patients, with the practice phone number.
data.mailing_addressobjectThe correspondence address on the record, which can differ from the practice location.
data.enumeration_datestringThe date CMS first issued the NPI.
meta.credits_usednumberCredits charged for this call.
meta.credits_remainingnumberYour balance after the call.
meta.cachedbooleantrue when the result came from the 7-day cache.
meta.request_idstringQuote this when you contact support.
Errors
A failed request returns success: false with an error object, and is never charged. The full list is on the errors page.
| HTTP | Code | Meaning |
|---|---|---|
| 401 | unauthorized | The key is missing, malformed or revoked. |
| 402 | insufficient_credits | Your credits are used up and pay as you go is off or at its limit. |
| 422 | invalid_input | A field is missing or malformed. The field property names it. |
| 429 | rate_limited | Too many requests for this key. Wait for the Retry-After interval. |
| 500 | internal_error | Something failed on our side. Safe to retry. |
| 503 | source_unavailable | An upstream source did not answer in time. Safe to retry. |
Billing
2 credits. Charged when the lookup runs and returns a result. Errors are never charged, and repeating the same input within 7 days is served from cache at no charge.
Product overview and use cases