API
Part of Pro (10,000 calls a day; a verify request costs one call per row). Create a key on your account page.
Authentication
Authorization: Bearer npil_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Look up one NPI
GET https://npilens.com/api/v1/npi/1679576722
Returns status, entity type, name, practice location, taxonomies with license numbers, OIG exclusion result (match,possible, none), Medicare enrollment / opt-out / utilization, Open Payments totals and Care Compare affiliations.404 when the NPI is not in the current NPPES file (the body says whether the check digit is valid).
Verify a list
POST https://npilens.com/api/v1/verify
Content-Type: application/json
{"rows": [{"npi": "1679576722", "first_name": "David", "last_name": "Wiebe"},
{"npi": "1497758544", "organization": "Cumberland County Hospital System"}]}Or {"npis": ["1679576722", "1497758544"]}. Up to 1,000 rows per request. Each result has status(active, deactivated, not_found, invalid), nameCheck, specialty,oig, medicare and dates: the same fields as the bulk checker's CSV.
Errors
401 missing/invalid key · 402 no active Pro subscription · 413 too many rows · 429 daily limit reached (Retry-After).