Included with a Data Pass
Every Medicare hospital, with CMS star ratings.
All 5,354 hospitals in Medicare’s Care Compare in the 50 states and D.C., with type, ownership, emergency services, CMS’s overall star rating, how each compares with the nation on deaths, safety and readmissions, and its patient-survey star ratings and scores.
- Health apps. Show nearby hospitals with their ratings and services.
- Research. Compare hospital quality by state, type or ownership.
One pass covers every dataset and collection for 365 days. No automatic renewal.
- Rows
- 5,354
- Columns
- 32
- Formats
- CSV, JSON, XML
As of: CMS Care Compare, July 2026 release. Patient surveys from October 2024 through September 2025. CMS updates Care Compare about four times a year.
Preview
A few rows from the file
| Name | City | StateCode | OverallRating | PatientSurveyStars | DefinitelyRecommendPct |
|---|---|---|---|---|---|
| CEDARS-SINAI MEDICAL CENTER | LOS ANGELES | CA | 5 | 3 | 78 |
| CLEVELAND CLINIC | CLEVELAND | OH | 4 | 3 | 80 |
| HOUSTON METHODIST HOSPITAL | HOUSTON | TX | 5 | 4 | 82 |
| JOHNS HOPKINS HOSPITAL, THE | BALTIMORE | MD | 5 | 4 | 81 |
| MASSACHUSETTS GENERAL HOSPITAL | BOSTON | MA | 5 | 4 | 85 |
| MAYO CLINIC HOSPITAL ROCHESTER | ROCHESTER | MN | 5 | 5 | 89 |
| NORTHWESTERN MEMORIAL HOSPITAL | CHICAGO | IL | 5 | 4 | 81 |
| NYU LANGONE HOSPITALS | NEW YORK | NY | 5 | 3 | 75 |
Field guide
What’s in each row
The hospital
CMS certification number, name, address, city, state, ZIP code, county and phone number.
FacilityID Name Address City StateCode ZipCode County Phone
Type and services
Hospital type, ownership, whether it has emergency services, and whether it meets CMS’s birthing-friendly criteria.
HospitalType Ownership HasEmergencyServices IsBirthingFriendly
Quality
CMS’s overall star rating from 1 to 5, and how many death-rate, safety and readmission measures were better or worse than the nation’s.
OverallRating MortalityBetter MortalityWorse SafetyBetter SafetyWorse ReadmissionBetter ReadmissionWorse
Patient survey
The summary star rating; star ratings for nurse and doctor communication, explaining medicines, discharge information, cleanliness and quiet; the recommend and 9-or-10 percentages; and how many surveys were completed over what period.
PatientSurveyStars NurseCommunicationStars DoctorCommunicationStars MedicineCommunicationStars DischargeInformationStars CleanlinessStars QuietnessStars DefinitelyRecommendPct Rated9Or10Pct CompletedSurveys SurveyStart SurveyEnd
What we prepared
The work already done
What we did to the source
We joined two CMS Care Compare files on the Facility ID, which is the CMS Certification Number: the general information file, with one row per hospital, and the patient survey file, with one row per hospital per survey measure. We turned the survey rows into columns for each hospital: the summary star rating, six topic star ratings, two answer percentages, the number of completed surveys and the survey period. We kept hospitals in the 50 states and D.C. Where CMS publishes “Not Available” or “Not Applicable” we left the value empty, not zero. Facility IDs are stored as text and ZIP codes are padded to five digits, so leading zeros survive.
How we check it
After loading we check the number of hospitals and the number that have an overall rating. We also check that one known hospital has the right name and overall rating.
Good to know
Before you use it
- Ratings are CMS’s, from the measurement periods in its July 2026 release. They look back a year or more; they aren’t an inspection of the hospital today.
- An empty rating means CMS didn’t publish one, usually because the hospital had too few cases or surveys, or the measure doesn’t apply to it. It doesn’t mean a poor rating. 3,164 hospitals have an overall rating.
- MortalityBetter and MortalityWorse count the death-rate measures where the hospital did better or worse than the national rate; the safety and readmission pairs work the same way. The other measures were no different from the nation or had too few cases.
- DefinitelyRecommendPct is the percent of surveyed patients who would definitely recommend the hospital, and Rated9Or10Pct the percent who rated it 9 or 10 out of 10. Names and addresses are in capitals, as CMS publishes them.
- This is reference data, not medical advice.
- In every format, dates are written as yyyy-MM-dd, and yes/no values as true or false. An empty value means nothing was recorded.
Source
Centers for Medicare & Medicaid Services, Provider Data Catalog: Hospitals
Public domain
Where it comes in handy
What you can build with it
- Health apps. Show nearby hospitals with their ratings and services.
- Research. Compare hospital quality by state, type or ownership.
- Journalism. Report on local hospitals with Medicare’s own measures.
- Directories. List hospitals with emergency services and their phone numbers.
Access
Try it free. Get all of it with a pass.
Free sample
- The hospitals in Colorado
- A README with the field guide and source
Data Pass $69
Download with your pass
- All 5,354 rows of U.S. hospitals
- One ZIP in CSV, JSON or XML, with a README
- Also every other collection and the whole dataset catalog, for 365 days
Commercial use is allowed, free or paid. Keep using what you download, even after your pass ends.
Downloaded a CSV? Convert CSV to JSON, generate SQL inserts, remove duplicate lines, or sort a list with the free tools.