Medicare Doctors & Clinicians Scraper - NPI & Specialty avatar

Medicare Doctors & Clinicians Scraper - NPI & Specialty

Pricing

from $17.00 / 1,000 results

Go to Apify Store
Medicare Doctors & Clinicians Scraper - NPI & Specialty

Medicare Doctors & Clinicians Scraper - NPI & Specialty

Find US Medicare-enrolled doctors and clinicians with NPI, credential, medical school, specialties, group practice, full address and phone. Filter by specialty, state, city, ZIP, name, credential, school or NPI. Export to JSON, CSV or Excel.

Pricing

from $17.00 / 1,000 results

Rating

0.0

(0)

Developer

Scrapers Lat

Scrapers Lat

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

14 days ago

Last modified

Share

Medicare Doctors & Clinicians Scraper - NPI & Specialty

Medicare Doctors & Clinicians Scraper - NPI & Specialty

Here is one real result, with every field the actor returns:

{
"npi": "1023570041",
"firstName": "MALCOLM",
"middleName": "P",
"lastName": "PYLES",
"suffix": null,
"gender": "Male",
"credential": "MD",
"medicalSchool": "STANFORD UNIVERSITY SCHOOL OF MEDICINE",
"graduationYear": 2019,
"primarySpecialty": "DERMATOLOGY",
"secondarySpecialties": null,
"telehealth": null,
"groupName": "BERMAN SKIN INSTITUTE MEDICAL GROUP INC",
"groupPacId": "0042407215",
"groupProviderCount": 27,
"addressLine1": "1 DANIEL BURNHAM CT",
"addressLine2": "SUITE 350C",
"city": "SAN FRANCISCO",
"state": "CA",
"zipCode": "94109-0464",
"phone": "4157716300",
"acceptsMedicareAssignment": true,
"individualPacId": "7810221769",
"enrollmentId": "I20230918003750",
"url": "https://npiregistry.cms.hhs.gov/provider-view/1023570041",
"source": "CMS Doctors & Clinicians",
"observedAt": "2026-08-10T14:35:09.299Z"
}

The most complete Medicare doctors and clinicians scraper available. It returns every field the CMS Doctors and Clinicians dataset exposes, including NPI, credential, medical school and graduation year, specialty, group practice, full practice address and phone, and gives you thirteen filters to target exactly the clinicians you need.

📥 Input · 📤 Output · 💰 Pricing · ▶️ Examples

Apify Coverage Output Billing

Table of contents

What it does

The actor queries the CMS Doctors and Clinicians (Physician Compare) dataset, applies the filters you pass (specialty, state, city, ZIP, name, credential, medical school, group name, NPI, graduation year), paginates through the matching clinicians, and writes one normalized record per clinician to the run's dataset. Each record carries the NPI, name and credential, medical school and graduation year, primary and secondary specialties, group practice, full practice address, phone, and Medicare assignment status. Missing source values are returned as null.

Quickstart

Open the actor, paste this into the input, and press Run. It returns 10 dermatologists practicing in California.

{
"specialties": ["DERMATOLOGY"],
"states": ["CA"],
"maxProviders": 10
}

Every filter is optional and can be combined. Pass several specialties or states to scan them in one run, or look up specific clinicians by npiNumbers.

Input reference

FieldTypeRequiredDefaultDescription
specialtiesstring[]no["DERMATOLOGY"]Primary specialty labels, for example CARDIOLOGY, INTERNAL MEDICINE, NURSE PRACTITIONER. One run can scan several.
statesstring[]no["CA"]2-letter US state codes, for example CA, NY, TX. One run can scan several.
citiesstring[]no(none)Practice city filter, for example SAN FRANCISCO, MIAMI.
zipCodesstring[]no(none)Practice ZIP code filter (5 or 9 digit).
lastNamestringno(empty)Keep only clinicians whose last name starts with this text.
firstNamestringno(empty)Keep only clinicians whose first name starts with this text.
credentialsstring[]no(none)Credential filter, for example MD, DO, NP, PA.
medicalSchoolstringno(empty)Keep only clinicians whose medical school name contains this text, for example HARVARD.
groupNamestringno(empty)Keep only clinicians whose group or practice name contains this text.
npiNumbersstring[]no(none)Look up specific clinicians by their 10-digit NPI.
graduatedAfterYearintegerno(none)Keep only clinicians who graduated in or after this year.
onlyWithPhonebooleannofalseWhen on, skip records with no published practice phone number.
maxProvidersintegerno10Maximum clinicians to collect. Free Apify plans are capped at 10 per run.

Output reference

One dataset item per clinician. Types: string, integer, boolean, or null when the source value is absent.

FieldTypeDescription
npistring10-digit National Provider Identifier.
firstNamestringClinician first name.
middleNamestringMiddle name, or null.
lastNamestringClinician last name.
suffixstringName suffix, or null.
genderstringGender as recorded by CMS.
credentialstringCredential, for example MD, DO, NP, PA.
medicalSchoolstringMedical school name.
graduationYearintegerYear of graduation.
primarySpecialtystringPrimary Medicare specialty.
secondarySpecialtiesstringSecondary specialties, or null.
telehealthbooleanTelehealth flag when present, else null.
groupNamestringGroup or practice name.
groupPacIdstringGroup PAC ID.
groupProviderCountintegerNumber of clinicians in the group.
addressLine1stringPractice street address.
addressLine2stringSecond address line, or null.
citystringPractice city.
statestringPractice state code.
zipCodestringPractice ZIP code.
phonestringPractice phone number, or null.
acceptsMedicareAssignmentbooleantrue if the clinician accepts Medicare assignment.
individualPacIdstringIndividual PAC ID.
enrollmentIdstringMedicare enrollment ID.
urlstringLink to the provider view.
sourcestringAlways CMS Doctors & Clinicians.
observedAtstringISO 8601 timestamp of when the record was collected.

On a failed run, a single item with a populated error field is written instead, and it is not charged.

Example output record

Real record from a live run (input {"specialties": ["DERMATOLOGY"], "states": ["CA"], "maxProviders": 10}):

{
"npi": "1023570041",
"firstName": "MALCOLM",
"middleName": "P",
"lastName": "PYLES",
"gender": "Male",
"credential": "MD",
"medicalSchool": "STANFORD UNIVERSITY SCHOOL OF MEDICINE",
"graduationYear": 2019,
"primarySpecialty": "DERMATOLOGY",
"groupName": "BERMAN SKIN INSTITUTE MEDICAL GROUP INC",
"groupPacId": "0042407215",
"groupProviderCount": 27,
"addressLine1": "1 DANIEL BURNHAM CT",
"addressLine2": "SUITE 350C",
"city": "SAN FRANCISCO",
"state": "CA",
"zipCode": "94109-0464",
"phone": "4157716300",
"acceptsMedicareAssignment": true,
"individualPacId": "7810221769",
"enrollmentId": "I20230918003750",
"url": "https://npiregistry.cms.hhs.gov/provider-view/1023570041",
"source": "CMS Doctors & Clinicians",
"observedAt": "2026-08-10T14:35:09.299Z"
}

Run via API and CLI

Start a run and wait for it to finish, then read the dataset. Replace <TOKEN> with your Apify API token.

Run synchronously and get dataset items in one call:

curl -X POST "https://api.apify.com/v2/acts/scrapers_lat~medicare-doctors-clinicians-scraper/run-sync-get-dataset-items?token=<TOKEN>" \
-H "Content-Type: application/json" \
-d '{"specialties":["CARDIOLOGY"],"states":["NY"],"credentials":["MD"],"maxProviders":25}'

Start a run asynchronously:

curl -X POST "https://api.apify.com/v2/acts/scrapers_lat~medicare-doctors-clinicians-scraper/runs?token=<TOKEN>" \
-H "Content-Type: application/json" \
-d '{"specialties":["NURSE PRACTITIONER"],"states":["TX"],"onlyWithPhone":true,"maxProviders":100}'

Apify CLI:

apify call scrapers_lat/medicare-doctors-clinicians-scraper \
--input '{"npiNumbers":["1023570041"]}'

Fetch results

Every run writes to a dataset. Fetch items as JSON, CSV, or Excel by changing format:

# JSON
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&clean=true&format=json"
# CSV
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&clean=true&format=csv"
# Paginate large datasets
curl "https://api.apify.com/v2/datasets/<DATASET_ID>/items?token=<TOKEN>&offset=1000&limit=1000"

<DATASET_ID> is returned as defaultDatasetId in the run object. Use offset and limit to page through large result sets. clean=true drops empty and internal fields.

Billing and limits

  • Pay per result. You are charged per record returned (result event). See the pricing tab for the current per-result price.
  • No charge on failure. If a run errors, the actor writes a single item with a populated error field and does not charge for it. Empty runs cost nothing.
  • Spend cap respected. Set maxTotalChargeUsd on the run; once reached, the actor stops emitting and charging further billable results.
  • Free Apify plans are capped at 10 records per run. Upgrade for higher maxProviders.

FAQ and troubleshooting

A run returned 0 records. Why? The filter combination matched nothing. Confirm the specialty label is the exact Medicare label, widen the state or remove city/ZIP filters. Zero-result runs are not charged.

How do I look up one specific clinician? Pass their 10-digit NPI in npiNumbers.

Why is phone null? Not every clinician has a published practice phone in the CMS dataset. Set onlyWithPhone to true to keep only records that have one. Missing values are returned as null, never invented.

Can I scan several specialties or states at once? Yes. Pass multiple values in specialties and states; all are scanned in one run under the shared maxProviders cap.

Is this an official CMS tool? No. This actor is independent and has no affiliation with CMS or Medicare. It reads only data that is publicly available in the CMS Doctors and Clinicians dataset.

More scrapers at scrapers.lat

Built and maintained by scrapers.lat, where we publish scrapers for US and Latin American public platforms: company registries, government data, finance, e-commerce and more. Browse the catalog or request a custom scraper at scrapers.lat.


Independent tool, not affiliated with CMS or Medicare. Accesses only publicly available data.