CMS Hospital General Info Scraper
Pricing
from $7.50 / 1,000 results
CMS Hospital General Info Scraper
Scrapes hospital general information from the CMS Hospital Compare dataset. Returns each facility as a flat row with provider ID, name, address, phone number, and hospital type.
Pricing
from $7.50 / 1,000 results
Rating
0.0
(0)
Developer
ParseForge
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
9 days ago
Last modified
Categories
Share
CMS Hospital General Info Scraper
Scrape hospital general information from the CMS Hospital Compare dataset, up to a million records per run. Each hospital comes with its name, address, phone number, hospital type, and ownership. No login or API key. Export to CSV, JSON, Excel, or XML.
CMS publishes hospital general information as public data, but downloading and parsing the full files is slow and manual. This Actor reads the CMS Hospital Compare dataset directly, filtered by state, and returns each hospital in one fixed schema. You get clean, structured rows ready for analysis or lead lists.
| Who uses it | What they scrape CMS Hospital General Information for |
|---|---|
| Healthcare market researchers | Build a list of hospitals in a state for market analysis |
| Medical supply sales teams | Generate a lead list of hospitals with contact details |
| Insurance network managers | Verify hospital locations and ownership for network planning |
| Public health analysts | Collect hospital characteristics for population health studies |
| Recruiters in healthcare | Find hospitals by state for physician and nurse placement |
What it does
This Actor collects hospital general information from the CMS Hospital Compare dataset by state, and returns each hospital as a flat row.
- π₯ State filter: enter a 2-letter state code to collect hospitals only from that state.
- π Flat rows: each hospital is returned as one record with its name, address, phone, type, and ownership.
- βοΈ Max items control: set a limit from 1 to 1,000,000 hospitals per run to manage dataset size.
- π Multiple exports: download your results as CSV, JSON, Excel, or XML.
Results export to CSV, JSON, Excel, or XML, or straight from the API.
What you can do with CMS Hospital General Information data
π Build a state hospital directory.
A market researcher enters a state code and maxItems 500 to get a clean list of hospital names, addresses, and phone numbers for a regional report.
π― Generate a lead list for medical supplies.
A sales team runs the Actor for all states with maxItems 100000 to export a CSV of hospital contacts for outreach.
πΊοΈ Verify hospital locations for network planning.
An insurance analyst collects hospitals in a state to cross-check provider directories and update network coverage maps.
π Support public health research.
A researcher pulls hospital ownership and type for a state to study healthcare access and facility distribution.
πΌ Find hospitals for healthcare recruiting.
A recruiter runs the Actor for a state to get a list of hospitals to contact about physician and nurse openings.
Why choose this scraper
| What you get | |
|---|---|
| No API key or login | The CMS Hospital Compare dataset is public, and this Actor reads it directly without registration. |
| One fixed schema | Every hospital comes back with the same fields, so you can merge runs without cleaning. |
| State-level targeting | Collect only the hospitals you need by entering a state code, instead of downloading the whole country. |
| Scalable up to a million | Set maxItems from 1 to 1,000,000 to fit a quick check or a full national pull. |
How it compares
No other Store actor targets CMS Hospital General Information the same way, so the honest comparison is with the alternatives teams actually weigh.
| CMS Hospital General Info Scraper | Build it in-house | By hand | |
|---|---|---|---|
| Setup | Run it now, zero config | Days of engineering | None, but hours per pull |
| When CMS Hospital General Information changes | Maintained for you | You fix it | You re-learn the page |
| Proxies, retries, anti-bot | Built in | Your problem | Browser only |
| Output | Fixed JSON schema, CSV/Excel export | Whatever you build | Copy-paste |
| Cost | Pay per result | Engineering time | Analyst hours |
Configure the run
Drive the Actor with a 2-letter state code and a maximum number of hospitals, and it returns each hospital as a flat row. The Input tab lists every parameter.
A first run with the defaults:
{"maxItems": 10}
A larger pull:
{"maxItems": 200}
Pricing
Pay-per-result: $0.0085 per result collected. You pay only for the results written to your dataset.
| Results collected | Approximate cost |
|---|---|
| 100 results | $0.85 |
| 1,000 results | $8.50 |
| 10,000 results | $85.00 |
New Apify accounts start with $5 in free credit.
Free users
Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.
Run it
- Create a free Apify account with $5 in credit.
- Open the CMS Hospital General Info Scraper.
- Set your inputs and any filters, then click Start.
- Export the results as CSV, Excel, JSON, or XML from the Dataset tab.
Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.
Use with AI agents (MCP)
Give an AI agent live access to CMS Hospital General Information through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:
$claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/cms-hospital-general-info-scraper"
Then prompt it in plain language to run the scraper and read back the results.
Troubleshooting
Why am I getting no results?
Check that the state code is a valid 2-letter code, like CA or TX. If you left it empty, the Actor should return hospitals from all states, but if maxItems is set very low, you may see few results.
The run is taking too long.
Reduce maxItems to a smaller number, or limit to a single state. The Actor processes each hospital, so a large maxItems will take longer.
Some hospitals are missing from the results.
The CMS dataset may not include every hospital, especially very small or newly opened facilities. Also check that maxItems is high enough to cover all hospitals in your target state.
The output has fields I don't recognize.
The fields come directly from the CMS Hospital Compare dataset. Refer to the CMS data dictionary for definitions, or check the sample output in this README.
Can I get data for a specific city or ZIP code?
The Actor only filters by state. After the run, you can filter the exported dataset by city or ZIP code using the address fields.
FAQ
| Question | Answer |
|---|---|
| What data does this Actor return for each hospital? | Each hospital is returned as a flat row with general information such as name, address, phone number, hospital type, and ownership. The exact fields are shown in the sample output. |
| Do I need a CMS account or API key? | No. The Actor reads the public CMS Hospital Compare dataset directly, so no login or API key is required. |
| Can I filter by state? | Yes. Enter a 2-letter state code in the input, and the Actor will collect only hospitals from that state. Leave it empty to collect hospitals from all states. |
| How many hospitals can I collect in one run? | You can set maxItems from 1 to 1,000,000. The default is 10, but you can increase it for larger pulls. |
| What export formats are supported? | You can export your results as CSV, JSON, Excel, or XML directly from the Apify dataset. |
| Is the data up to date? | The Actor reads the current CMS Hospital Compare dataset at the time of the run, so you get the latest published information. |
| Can I schedule this Actor to run regularly? | Yes. You can set up a schedule in Apify to run the Actor daily, weekly, or monthly to keep your hospital list current. |
| Does this Actor return hospital quality ratings? | No, this Actor focuses on general information only. For ratings and quality flags, consider a dedicated CMS ratings scraper. |
| What is the cost to run this Actor? | The cost depends on the number of hospitals collected and the Apify plan you are on. You can estimate it in the Apify console before running. |
| Can I get only hospitals of a certain type, like acute care? | The Actor does not filter by hospital type in the input, but you can filter the exported dataset by the hospital type field after the run. |
Related actors
Browse the full ParseForge collection for more scrapers.
π Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.
β οΈ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Centers for Medicare & Medicaid Services. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.
