Get Provider By NPI
GEThttps://api-healthcare-providers.dataandapis.com/v1/providers/{npi}
Get Provider By NPI is an endpoint of the Healthcare Providers API. Look up any of 9.37 million US NPIs with specialties resolved to plain names.
Send your key in the X-Api-Key header. Each call costs 1 token; a free key includes 500 tokens a month.
Request
Path parameters
| Parameter | Example | |
|---|---|---|
| npi | 1679576722 | Required |
Example request
curl
curl "https://api-healthcare-providers.dataandapis.com/v1/providers/1679576722" \
-H "X-Api-Key: YOUR_API_KEY"JavaScript / TypeScript (dataandapis package)
// npm install dataandapis
import { DataAndApis } from "dataandapis";
const client = new DataAndApis(); // reads DATAANDAPIS_API_KEY
const data = await client.healthcareProviders.getProviderByNpi({ npi: "1679576722" });Node.js (fetch)
const res = await fetch("https://api-healthcare-providers.dataandapis.com/v1/providers/1679576722", {
headers: { "X-Api-Key": process.env.DATAANDAPIS_KEY },
});
const data = await res.json();Python (dataandapis package)
# pip install dataandapis
from dataandapis import DataAndApis
client = DataAndApis() # reads DATAANDAPIS_API_KEY
data = client.healthcare_providers.get_provider_by_npi(npi="1679576722")Python (requests)
import os, requests
r = requests.get(
"https://api-healthcare-providers.dataandapis.com/v1/providers/1679576722",
headers={"X-Api-Key": os.environ["DATAANDAPIS_KEY"]},
)
data = r.json()Guide to the dataandapis npm package →Guide to the dataandapis Python package →
Example response
Example response{
"ok": true,
"provider": {
"npi": 1679576722,
"entity_type": "individual",
"name": "David Wiebe",
"first_name": "David",
"last_name": "Wiebe",
"credential": "M.D.",
"gender": "M",
"organization_other_name": null,
"sole_proprietor": false,
"specialty": "Orthopaedic Surgery Physician",
"taxonomies": [
{
"code": "207X00000X",
"primary": true,
"specialty": "Orthopaedic Surgery Physician",
"grouping": "Allopathic & Osteopathic Physicians"
}
],
"practice_location": {
"street": "3500 Central Ave",
"city": "Kearney",
"state": "NE",
"zip": "68847",
"country": "US",
"phone": "(308) 865-2512"
…
Show full response
Example response
{
"ok": true,
"provider": {
"npi": 1679576722,
"entity_type": "individual",
"name": "David Wiebe",
"first_name": "David",
"last_name": "Wiebe",
"credential": "M.D.",
"gender": "M",
"organization_other_name": null,
"sole_proprietor": false,
"specialty": "Orthopaedic Surgery Physician",
"taxonomies": [
{
"code": "207X00000X",
"primary": true,
"specialty": "Orthopaedic Surgery Physician",
"grouping": "Allopathic & Osteopathic Physicians"
}
],
"practice_location": {
"street": "3500 Central Ave",
"city": "Kearney",
"state": "NE",
"zip": "68847",
"country": "US",
"phone": "(308) 865-2512"
…{
"ok": true,
"provider": {
"npi": 1679576722,
"entity_type": "individual",
"name": "David Wiebe",
"first_name": "David",
"last_name": "Wiebe",
"credential": "M.D.",
"gender": "M",
"organization_other_name": null,
"sole_proprietor": false,
"specialty": "Orthopaedic Surgery Physician",
"taxonomies": [
{
"code": "207X00000X",
"primary": true,
"specialty": "Orthopaedic Surgery Physician",
"grouping": "Allopathic & Osteopathic Physicians"
}
],
"practice_location": {
"street": "3500 Central Ave",
"city": "Kearney",
"state": "NE",
"zip": "68847",
"country": "US",
"phone": "(308) 865-2512"
},
"enumeration_date": "2005-05-23",
"last_updated": "2026-07-13"
}
}