NPI Provider
GET
Fetch one NPPES provider or organization by 10-digit NPI or provider-view URL, including addresses and taxonomies.
Credit cost: 1 credit per call
ApiKeyAuthheader
x-api-key<token>Your API key. Include it in the x-api-key header for every request.
query*stringRequired. 10-digit NPI, example 1972813608, or a provider-view URL such as https://npiregistry.cms.hhs.gov/provider-view/1972813608.
Successful response
application/json- response
npi?stringsex?stringurl?stringcity?stringname?stringphone?stringstate?stringstatus?stringaddress?stringtaxonomy?stringaddresses?array<>last_name?stringcredential?stringfirst_name?stringtaxonomies?array<>identifiers?array<unknown>middle_name?stringname_prefix?stringname_suffix?unknownother_names?array<unknown>postal_code?stringlast_updated?stringtaxonomy_code?stringsole_proprietor?stringenumeration_date?stringenumeration_type?stringorganization_name?unknowncertification_date?unknownorganizational_subpart?unknownauthorized_official_name?unknownauthorized_official_phone?unknownauthorized_official_title?unknowncurl -X GET 'https://api.piloterr.com/v2/npi/provider?query=string'Example Response
{ "npi": "1972813608", "sex": "M", "url": "https://npiregistry.cms.hhs.gov/provider-view/1972813608", "city": "WASHINGTON", "name": "Dr. ANTHONY STEPHEN FAUCI", "phone": "301-496-2263", "state": "DC", "status": "A", "address": "3012 - 43RD STREET, N.W.", "taxonomy": "Internal Medicine, Infectious Disease", "addresses": [ { "city": "WASHINGTON", "type": "DOM", "line1": "3012 - 43RD STREET, N.W.", "phone": "301-496-2263", "state": "DC", "country": "United States", "purpose": "MAILING", "postal_code": "200163547", "country_code": "US" }, { "city": "WASHINGTON", "type": "DOM", "line1": "3012 - 43RD STREET, N.W.", "phone": "301-496-2263", "state": "DC", "country": "United States", "purpose": "LOCATION", "postal_code": "200163547", "country_code": "US" } ], "last_name": "FAUCI", "credential": "M.D.", "first_name": "ANTHONY", "taxonomies": [ { "code": "207RI0200X", "group": null, "state": "MD", "license": "D0004034", "primary": true, "description": "Internal Medicine, Infectious Disease" } ], "identifiers": [], "middle_name": "STEPHEN", "name_prefix": "Dr.", "name_suffix": null, "other_names": [], "postal_code": "200163547", "last_updated": "2010-10-15", "taxonomy_code": "207RI0200X", "sole_proprietor": "YES", "enumeration_date": "2010-10-15", "enumeration_type": "NPI-1", "organization_name": null, "certification_date": null, "organizational_subpart": null, "authorized_official_name": null, "authorized_official_phone": null, "authorized_official_title": null}