CMS Hospital Compare — Quality & Ratings Data API
Pricing
$50.00 / 1,000 hospital records
CMS Hospital Compare — Quality & Ratings Data API
CMS Hospital Compare data: facility name, type, ownership, location, emergency services, and overall rating for 5,400+ US hospitals. For hospital strategy, benchmarking, payers, and consultants.
Pricing
$50.00 / 1,000 hospital records
Rating
0.0
(0)
Developer
NexGenData
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
0
Monthly active users
2 days ago
Last modified
Categories
Share
CMS Hospital Compare
CMS Hospital Compare public records — facility info, type and quality ratings.
Public regulatory/health data — not medical advice.
📊 Sample Output

facility_id | facility_name | address | citytown | countyparish | telephone_number |
|---|---|---|---|---|---|
| 010001 | SOUTHEAST HEALTH MEDICAL CENTER | 1108 ROSS CLARK CIRCLE | DOTHAN | HOUSTON | [phone on record] |
| 010005 | MARSHALL MEDICAL CENTERS | 2505 U S HIGHWAY 431 NORTH | BOAZ | MARSHALL | [phone on record] |
| 010006 | NORTH ALABAMA MEDICAL CENTER | 1701 VETERANS DRIVE | FLORENCE | LAUDERDALE | [phone on record] |
| 010007 | MIZELL MEMORIAL HOSPITAL | 702 N MAIN ST | OPP | COVINGTON | [phone on record] |
| 010011 | ST. VINCENT'S EAST | 50 MEDICAL PARK EAST DRIVE | BIRMINGHAM | JEFFERSON | [phone on record] |
| 010012 | DEKALB REGIONAL MEDICAL CENTER | 200 MED CENTER DRIVE | FORT PAYNE | DE KALB | [phone on record] |
Real rows from run 801xV4zo0rVAYtYfN on build 0.0.18 (2026-09-25), unedited apart from masked emails/phones and shortened long text; fields the source does not publish are empty.
⚙️ Sample inputs
This is the Store example input — the same input Apify's automated check runs — so it is proven to return rows on the current build. Paste it into the input form, or send it through the API, CLI or a schedule:
{"datasetId": "xubh-q36u","maxResults": 2000}
🔧 Input reference
| Field | Type | Default | What it does |
|---|---|---|---|
datasetId | string | "xubh-q36u" | CMS Provider Data dataset ID (default xubh-q36u = Hospital General Information). |
state | string | Two-letter state code filter. | |
maxResults | integer | 2000 | Max records to return. |
🧾 JSON sample record
One real record from run 801xV4zo0rVAYtYfN (emails/phones masked, long text shortened):
{"facility_id": "010001","facility_name": "SOUTHEAST HEALTH MEDICAL CENTER","address": "1108 ROSS CLARK CIRCLE","citytown": "DOTHAN","state": "AL","zip_code": "36301","countyparish": "HOUSTON","telephone_number": "[phone on record]","hospital_type": "Acute Care Hospitals","hospital_ownership": "Government - Hospital District or Authority","emergency_services": "Yes","meets_criteria_for_birthing_friendly_designation": "Y","hospital_overall_rating": "4","hospital_overall_rating_footnote": "","mort_group_measure_count": "8","count_of_facility_mort_measures": "8","count_of_mort_measures_better": "0","count_of_mort_measures_no_different": "8","count_of_mort_measures_worse": "0","mort_group_footnote": "","safety_group_measure_count": "8","count_of_facility_safety_measures": "7","count_of_safety_measures_better": "3","count_of_safety_measures_no_different": "4","count_of_safety_measures_worse": "0","safety_group_footnote": "","readm_group_measure_count": "11","count_of_facility_readm_measures": "11","count_of_readm_measures_better": "1","count_of_readm_measures_no_different": "9","count_of_readm_measures_worse": "1","readm_group_footnote": "","pt_exp_group_measure_count": "15","count_of_facility_pt_exp_measures": "15","pt_exp_group_footnote": "","te_group_measure_count": "10","count_of_facility_te_measures": "10","te_group_footnote": "","_cmsDatasetId": "xubh-q36u"}
💰 Pricing
| Event | Price (USD) | When it is charged |
|---|---|---|
Hospital record (apify-default-dataset-item) | $0.05 | Charged per result row returned. |
Pay-per-event: you pay only for what the run delivers. A run that delivers nothing bills no result events (only the actor-start event, when the actor defines one). Example: a run that delivers 100 results costs 100 × $0.05 = $5.00 plus the start fee.
🔗 Related Actors
More from the NexGenData Healthcare & FDA family:
- CMS Dialysis Facility Compare — Provider Data API
- CMS Home Health Agencies — Provider Records API
- CMS Hospice Compare — Provider Records API
- CMS Nursing Home Compare — Provider Records API
- CMS Open Payments Pro — Sunshine Act + NPI API
- CMS Open Payments — Pharma-to-Doctor Records API
15 more in this family on the NexGenData Store page.
📊 What you get
Clean JSON, one record per facility (full output has 38 fields):
facility_id— Facility idfacility_name— Facility nameaddress— Addresscitytown— Citytownstate— Statezip_code— Zip codecountyparish— Countyparishtelephone_number— Telephone numberhospital_type— Hospital typehospital_ownership— Hospital ownership
Pricing: $0.05 per facility (Pay-Per-Event) — about 20 per $1. Live prices are in the Pricing table below.
🤖 Use with AI agents
Point Claude, the OpenAI Agents SDK, an n8n flow or any MCP-aware client at it and pull official records on demand.
Agentic payments (x402): Supports agentic payment via x402 — agents can call this actor with USDC, no API key required.
🔗 Related regulatory actors
CMS quality & provider records — every CMS compare dataset:
Nursing Home · Home Health · Hospice · Dialysis · Open Payments · Open Payments Pro · Medicare Providers
FDA records: OpenFDA Drug · Drug Approvals · Drug Shortages · Purple Book · Warning Letters/483 · Pharma Pipeline · Adverse Events · Medical Devices
Agent front door — Healthcare & FDA MCP: Healthcare & FDA MCP
Public official records and enforcement data, assembled for research and monitoring.