Verify NPIs
Check a list of NPIs against NPPES (active or deactivated), the OIG exclusion list, Medicare's opt-out list and Medicare order-and-refer eligibility. Free for up to 1,000 NPIs at a time.
getnpidata is not a consumer reporting agency. Don't use it to decide on employment, credit, insurance or housing. Confirm anything that matters with the original source.
Each NPI gets a status: Active, Deactivated on [date], Not found or Invalid (wrong check digit, usually a typo). Active NPIs are also checked against the OIG exclusion list, Medicare opt-outs and Medicare order-and-refer eligibility, matched by NPI. SAM.gov and state Medicaid exclusion lists aren't checked.
Programs can use POST /api/v1/providers/lookup (JSON) or /api/v1/providers/lookup.csv. See the API docs.