VOOZH about

URL: https://apify.com/crawlerbros/cms-hospital-compare-scraper

โ‡ฑ CMS Hospital Compare Scraper ยท Apify


Pricing

from $3.00 / 1,000 results

Go to Apify Store

CMS Hospital Compare Scraper

Scrape CMS Hospital Compare data via the free data.cms.gov public API. Search hospitals by state or name, get ratings, quality measures, and contact info for all US hospitals. No API key required.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

๐Ÿ‘ Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

24 days ago

Last modified

Share

Scrape US hospital data from the CMS Hospital Compare program via the free data.cms.gov public API. No API key, login, or proxy required.

What data does it collect?

Every US hospital registered with CMS, including:

  • Hospital name, address, city, state, ZIP code, county
  • Phone number
  • Hospital type (Acute Care, Critical Access, Children's, Psychiatric, Veterans)
  • Ownership type (Non-profit, Proprietary, Government, etc.)
  • Overall star rating (1โ€“5 stars, when available)
  • Emergency services availability
  • EHR/interoperability compliance

Modes

ModeDescription
searchHospitalsSearch hospitals by name or city keyword, optionally filtered by state
hospitalRatingsFetch hospitals filtered by minimum star rating
hospitalMeasuresFetch hospital quality measure data
searchByStateFetch all hospitals in a specific US state

Input

{
"mode":"searchHospitals",
"state":"CA",
"searchQuery":"General Hospital",
"hospitalType":"Acute Care Hospitals",
"ownershipType":"",
"minRating":3,
"emergencyServicesOnly":false,
"maxItems":20
}

Input fields

FieldTypeDescription
modestring (required)One of searchHospitals, hospitalRatings, hospitalMeasures, searchByState
statestring2-letter US state code (e.g. CA, TX, NY). Required for searchByState
searchQuerystringHospital name or city keyword
hospitalTypestringFilter by type: Acute Care Hospitals, Critical Access Hospitals, etc.
ownershipTypestringFilter by ownership type
minRatinginteger (1-5)Only return hospitals at or above this star rating
emergencyServicesOnlybooleanOnly return hospitals with emergency services
maxItemsintegerMax records to return (default: 20, max: 5000)

Output

{
"providerNumber":"050001",
"hospitalName":"UCLA Medical Center",
"address":"757 Westwood Plaza",
"city":"Los Angeles",
"state":"CA",
"zipCode":"90095",
"countyName":"Los Angeles",
"phoneNumber":"3108256301",
"hospitalType":"Acute Care Hospitals",
"ownershipType":"Voluntary non-profit - Private",
"emergencyServices":true,
"rating":5,
"dataSource":"CMS Hospital Compare (data.cms.gov)",
"recordType":"hospital",
"scrapedAt":"2024-01-15T10:30:00+00:00"
}

FAQs

Is this free to use? Yes. The CMS data.cms.gov API is completely free and public with no rate limits or registration.

How current is the data? CMS updates hospital data periodically (typically quarterly). The data reflects the latest published CMS Hospital Compare dataset.

How many hospitals are in the dataset? CMS covers approximately 5,000+ US hospitals across all 50 states and territories.

Does it require login or cookies? No. This actor uses only the public CMS data API.

What does the star rating mean? CMS assigns 1โ€“5 overall star ratings based on 57 quality measures across five care areas: mortality, safety of care, readmission, patient experience, and timely/effective care.

Can I get all hospitals in a state? Yes โ€” use mode=searchByState with the 2-letter state code.

Data Source

Data is sourced from the CMS Provider Data Catalog โ€” the same source powering medicare.gov/care-compare. This is a publicly accessible US government dataset.

You might also like

CMS Hospital Compare Scraper - Quality Ratings API

pink_comic/cms-hospital-quality-ratings

Scrape CMS Hospital Compare quality ratings for 5,400+ US hospitals. Filter by state, city, name, type, ownership, and star rating. Export Medicare star ratings, safety, readmissions, mortality, patient experience, and quality measures.

CMS Hospital Quality Ratings Scraper

automation-lab/cms-hospital-quality-ratings-scraper

๐Ÿฅ Extract CMS hospital ratings, ownership, emergency services, contact info, and quality measure summaries from public Provider Data.

๐Ÿ‘ User avatar

Stas Persiianenko

2

CMS Hospital General Info Scraper

parseforge/cms-hospital-general-info-scraper

Pull the CMS Hospital General Information dataset filtered by state code. Returns facility identifier, hospital name, address, city, ZIP, ownership, hospital type, and emergency services flag. Useful for healthcare market mapping, provider directories, and quality benchmarking.

CMS Hospital General Information Scraper

compute-edge/cms-hospital-general-scraper

Extract CMS Hospital General Info for 5,400+ U.S. hospitals. Filter by state, hospital type, ownership, overall star rating, and emergency services. Includes addresses, phone, and mortality/safety/readmission measure counts.

CMS Hospital Quality Scraper โ€” Ratings & HCAHPS โœ…

themineworks/cms-hospital-quality

Pull CMS hospital quality data: overall star ratings, patient survey scores and complications for 4,500+ US hospitals by state or city. No API key. Works in Claude, ChatGPT & any MCP-compatible AI agent. MCP server: the-mine-works-mcp.hatchable.site

๐Ÿ‘ User avatar

The Mine Works

1

Medicare Hospital Compare Scraper | Quality Ratings Data

parseforge/hospital-compare-medicare-scraper

Export US hospital quality ratings from Medicare Hospital Compare: name, address, type, ownership, overall star rating, mortality and safety scores. Filter by state, city, hospital type or rating. CSV, Excel, JSON or XML for healthcare research.

CMS Nursing Home Compare Scraper

crawlerbros/cms-nursing-home-compare-scraper

Scrape CMS Nursing Home Compare data via the free data.cms.gov public API. Search nursing homes by state, get star ratings, inspection results, staffing info, and ownership data for all US nursing facilities. No API key required.

CMS Hospital & Healthcare Facility Crawler

jungle_synthesizer/cms-hospital-crawler

Crawl 46,000+ Medicare-certified facilities from CMS. Hospitals, nursing homes, home health, hospice, and dialysis. Quality ratings, staffing, mortality rates, and contact info. Filter by state, type, and rating.

๐Ÿ‘ User avatar

BowTiedRaccoon

9