Discover/npidb.org API
live

npidb.org APInpidb.org

Search and look up NPI registry data including provider profiles, organization details, and taxonomy codes via the NPIDB.org API. 4 endpoints.

Endpoints
4
Updated
4mo ago
Try it
Page number for pagination.
Two-letter US state code (e.g., NY, CA, TX).
Provider last name to search for.
Provider first name to search for.
api.parse.bot/scraper/0ff82378-40e5-4e7b-9050-94cfc095e1fd/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/0ff82378-40e5-4e7b-9050-94cfc095e1fd/search_providers_by_name?page=1&state=NY&last_name=Smith&first_name=John' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 4 totalclick to expand

Search for healthcare providers by first name, last name, and state. Returns paginated results with NPI numbers, credentials, locations, and taxonomy specialties.

Input
ParamTypeDescription
pageintegerPage number for pagination.
statestringTwo-letter US state code (e.g., NY, CA, TX).
last_namestringProvider last name to search for.
first_namestringProvider first name to search for.
Response
{
  "type": "object",
  "fields": {
    "items": "array of provider objects with npi, name, credentials, location, taxonomy, and detail_url",
    "total": "integer total result count, or null if not displayed"
  },
  "sample": {
    "data": {
      "items": [
        {
          "npi": "1942707146",
          "name": "AARON SMITH",
          "location": "GREAT NECK, NY",
          "taxonomy": "208800000X -Urology",
          "detail_url": "https://npidb.org/doctors/allopathic_osteopathic_physicians/urology_208800000x/1942707146.aspx?src=2",
          "credentials": "MD"
        }
      ],
      "total": null
    },
    "status": "success"
  }
}

About the npidb.org API

The NPIDB.org API exposes 4 endpoints for querying the National Provider Identifier registry, returning structured data on individual healthcare providers and organizations. Use search_providers_by_name to find providers by first name, last name, and state, or call get_provider_detail with a 10-digit NPI to retrieve address, phone, fax, taxonomy specialties, enumeration date, and credential fields in a single response.

Provider Search and Detail Lookup

The search_providers_by_name endpoint accepts first_name, last_name, and state (two-letter code) as optional filters and returns paginated arrays of provider objects. Each item includes npi, name, credentials, location, taxonomy, and a detail_url. The total field gives the overall result count when the source displays it, and is null otherwise. Pagination is controlled with the page parameter.

For full provider records, get_provider_detail takes a required npi string and returns a single structured object: name, address, phone, fax, and a details sub-object containing status, credentials, entity, enumeration_date, and last_updated. The taxonomies array lists each specialty with its name, code, and a primary boolean indicating the provider's primary classification.

Organization Search and Taxonomy Browsing

search_organizations_by_name works similarly to the provider search but targets healthcare organizations and medical groups. It requires org_name and optionally accepts state and page. Results follow the same item shape as provider search — npi, name, location, taxonomy, and detail_url — making it straightforward to handle both entity types with the same downstream logic.

list_taxonomy_codes takes no inputs and returns the full set of top-level NPI taxonomy categories, each with a name and a url. This is useful for enumerating available specialties before constructing searches or for building a reference taxonomy lookup in your application.

Common use cases
  • Verify a provider's NPI number and active status before processing a healthcare claim.
  • Build a physician directory filtered by state and specialty taxonomy using search_providers_by_name.
  • Retrieve enumeration_date and last_updated fields to audit provider credential freshness in a compliance workflow.
  • Look up organization NPI numbers for hospital systems and medical groups via search_organizations_by_name.
  • Populate a taxonomy code reference table in a billing or EHR application using list_taxonomy_codes.
  • Cross-reference provider phone and fax fields from get_provider_detail for outbound healthcare communications.
  • Identify a provider's primary vs. secondary taxonomy specialties using the primary boolean in the taxonomies array.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does NPIDB.org have an official developer API?+
NPIDB.org does not publish an official developer API. The U.S. government's NPPES system offers its own NPI Registry API at https://npiregistry.cms.hhs.gov/api/, but NPIDB.org's structured search and profile pages are not exposed through a documented developer endpoint of their own.
What does get_provider_detail return beyond basic contact info?+
In addition to name, address, phone, and fax, the endpoint returns a details object with status, credentials, entity type (individual vs. organization), enumeration_date, and last_updated. It also returns a taxonomies array where each entry includes the taxonomy code, human-readable name, and a primary boolean.
Does the search return a reliable total result count?+
The total field in search_providers_by_name results is populated when the source displays an overall count, but it is null when that count is not present. Applications should treat null as an indeterminate total rather than zero results, and use the page parameter to iterate through result pages to determine actual coverage.
Can I look up a provider's license number or DEA number through this API?+
Not currently. The API returns NPI numbers, taxonomy codes, credentials strings, contact details, and enumeration metadata, but does not expose state license numbers or DEA registration numbers. You can fork this API on Parse and revise it to add an endpoint targeting those data points if your source exposes them.
Is there a way to search providers by taxonomy code or specialty directly?+
Not currently. Searches are filtered by name and state for providers, or by organization name and state for groups. list_taxonomy_codes enumerates categories but does not accept a code as a search filter. You can fork this API on Parse and revise it to add a taxonomy-based search endpoint.
Page content last updated . Spec covers 4 endpoints from npidb.org.
Related APIs in HealthcareSee all →
projects.propublica.org API
Search and retrieve comprehensive information on over 1.9 million US nonprofits, including their financial data, tax filings, grants, executive compensation, and organizational classifications. Access detailed nonprofit profiles by name or EIN to discover funding sources, operational metrics, and key leadership details.
nursys.com API
Search nurse licensure records across multiple state boards and verify nursing credentials in real-time through Nursys QuickConfirm. Get detailed information about participating jurisdictions and their specific licensure requirements.
ncbi.nlm.nih.gov API
Search and retrieve biomedical literature from NCBI databases including PubMed, PubMed Central, and MeSH. Supports full-text extraction, metadata lookup, and research filtering.
aapc.com API
Access comprehensive medical coding information including CPT, ICD-10-CM, ICD-10-PCS, and HCPCS codes with detailed hierarchies, sections, and code-specific details. Search across all medical coding systems to find the exact codes and their descriptions for billing, documentation, and compliance purposes.
naics.com API
Find NAICS industry classification codes and their detailed descriptions by searching keywords or browsing all available codes to identify the right sector and industry classification for your business. Get comprehensive information including code numbers, sector titles, and related industry details to ensure accurate business categorization.
medicalcouncil.org.nz API
Search for registered doctors in New Zealand by name, location, specialty, and professional status, then access their detailed profiles including qualifications and scope of practice. Use this to verify practitioner credentials and find healthcare professionals that match your needs.
ehlers-danlos.com API
Access the Ehlers-Danlos Society's healthcare professionals directory and support group listings. Search and filter providers by location, specialty, profession, and language, and retrieve full provider profiles including contact details and credentials.
naco.org API
Search and explore detailed U.S. county government information, including profiles, economic indicators, funding data, and research resources all in one place. Quickly access bulk county statistics and NACo insights to support planning, analysis, and decision-making at the local government level.