Get Provider By NPI
GEThttps://api-healthcare-providers.dataandapis.com/v1/providers/{npi}
Get Provider By NPI é um endpoint da Healthcare Providers API. Consulte qualquer um dos 9,37 milhões de NPIs dos EUA, com especialidades resolvidas para nomes legíveis.
Envie sua chave no header X-Api-Key. Cada chamada custa 1 token; uma chave gratuita inclui 500 tokens por mês.
Requisição
Parâmetros de caminho
| Parâmetro | Exemplo | |
|---|---|---|
| npi | 1679576722 | Obrigatório |
Exemplo de requisição
curl
curl "https://api-healthcare-providers.dataandapis.com/v1/providers/1679576722" \
-H "X-Api-Key: YOUR_API_KEY"JavaScript / TypeScript (pacote dataandapis)
// 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 (pacote dataandapis)
# 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()Guia do pacote npm dataandapis →Guia do pacote Python dataandapis →
Exemplo de resposta
Exemplo de resposta{
"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"
…
Ver resposta completa
Exemplo de resposta
{
"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"
}
}