CMS Nursing Home Compare Scraper avatar

CMS Nursing Home Compare Scraper

Pricing

from $0.01 / 1,000 facility saveds

Go to Apify Store
CMS Nursing Home Compare Scraper

CMS Nursing Home Compare Scraper

Export official CMS Nursing Home Compare facility data. Get one row per nursing home with CCN, address, ownership, beds, ratings, staffing, penalties, chain details, and source audit fields.

Pricing

from $0.01 / 1,000 facility saveds

Rating

0.0

(0)

Developer

Maxime Dupré

Maxime Dupré

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Share

🏥 Nursing Home Compare facility data from CMS

CMS Nursing Home Compare Scraper exports official CMS public nursing home facility records into a clean Apify dataset. Use it when you need facility identity, contacts, ownership, beds, ratings, compliance, staffing, penalties, chain details, and source audit fields without using a CMS account or API key.

📦 What data you get

Each dataset item is one successful CMS nursing home facility row. Available fields include:

Data groupExamples
Facility identityCCN, facility name, legal business name, provider type
Contact and locationaddress, city, county, state, ZIP, phone, latitude, longitude
Facility attributesownership type, certified beds, average residents, first approved date
Ratingsoverall, health inspection, staffing, quality, short-stay, long-stay
Compliancehealth deficiencies, infection citations, inspection score, special focus status, abuse indicator, sprinkler systems
Penaltiesfine count, fine total, payment denial count, penalty total
Staffing and chainRN hours, total nurse staff hours, turnover, chain ID, chain name, chain facility count
Source auditCMS dataset ID, source URL, processing date, fetched timestamp, matched target

CMS fields can be blank when the source does not publish a value for a facility. The actor preserves those source-limited values as null instead of inventing data.

▶️ How to run

  1. Choose whether to collect nationwide records, one or more states or territories, exact CCNs, or facility/location searches.
  2. Add optional filters such as ownership type, special focus status, overall rating range, certified bed range, and maximum facilities.
  3. Enable raw CMS source rows only if you need the original source fields for audit or debugging workflows.
  4. Run the actor and open the default dataset, export it, or consume it through the Apify API.

🎛️ Input options

InputUse it for
Collect nationwideExport all available CMS nursing home facility records.
States or territoriesLimit collection to selected state or territory codes.
CMS certification numbersFetch exact facilities by CCN.
Facility, city, or ZIP searchesSearch by provider/facility name, city, or ZIP code.
Ownership typesFilter by CMS-reported ownership type.
Special focus statusInclude or narrow special-focus facility status.
Minimum/maximum overall ratingKeep facilities within a CMS overall star rating range.
Minimum/maximum certified bedsKeep facilities within a certified bed range.
Include raw CMS source rowAttach the original CMS source row in rawSource.
Maximum facilitiesCap the number of successful facility rows saved.

🧾 Output example

{
"ccn": "055010",
"facilityName": "MAPLE GROVE CARE CENTER",
"legalBusinessName": "Maple Grove Care Center LLC",
"providerType": "Medicare and Medicaid",
"address": "123 Main Street",
"city": "Los Angeles",
"county": "Los Angeles",
"state": "CA",
"zip": "90001",
"phone": "555-123-4567",
"latitude": 34.0522,
"longitude": -118.2437,
"ownershipType": "For profit - Corporation",
"certifiedBeds": 120,
"averageResidents": 97.4,
"firstApprovedDate": "1989-06-01",
"ratings": {
"overall": 4,
"healthInspection": 3,
"staffing": 4,
"quality": 5,
"shortStay": 4,
"longStay": 5
},
"compliance": {
"healthDeficiencies": 6,
"infectionCitations": 1,
"inspectionScore": 42,
"specialFocusStatus": "Not a special focus facility",
"abuseIndicator": "No",
"sprinklerSystems": "Yes"
},
"penalties": {
"fineCount": 2,
"fineTotal": 12500.5,
"paymentDenialCount": 1,
"penaltyTotal": 22000
},
"staffing": {
"rnHoursPerResidentDay": 0.82,
"totalNurseStaffHoursPerResidentDay": 3.9,
"rnTurnover": 48.2,
"totalNursingStaffTurnover": 52.7
},
"chain": {
"id": "C12345",
"name": "Example Senior Care Group",
"facilityCount": 24
},
"source": {
"datasetId": "4pq5-n9py",
"url": "https://data.cms.gov/provider-data/dataset/4pq5-n9py",
"processingDate": "2026-01-01",
"fetchedAt": "2026-07-04T12:00:00.000Z"
},
"matchedTarget": "Boston",
"rawSource": null
}

💳 Pricing

This actor uses pay-per-event pricing. You are charged only for each successful CMS nursing home facility row saved to the default dataset. Empty searches, no-result CCN lookups, setup checks, failed source requests, empty pages, and status-only rows are not described as charged work.

🔌 Integrations

Use this actor with Apify integrations, API clients, webhooks, scheduled runs, and dataset exports. Send results to spreadsheets, BI tools, databases, or your own app after each run.

❓ FAQ

Can I collect all nursing homes nationwide?
Yes. Use the nationwide option and set a maximum facility count if you want to cap the run.

Can I fetch facilities by CCN?
Yes. Add one or more CMS Certification Numbers to look up exact facilities.

Does this scrape official CMS data?
Yes. The actor is designed for official public CMS Nursing Home Compare / Care Compare facility data and includes source audit fields such as dataset ID, source URL, processing date, and fetch time.

Do I need a CMS API key or CMS login?
No. The public product contract does not require user-provided CMS credentials, a CMS account, or a paid API key.

What happens when a search has no matching facilities?
Valid no-result inputs should finish gracefully and save no charged facility rows.

Why are some fields null?
CMS does not publish every measure for every facility. Null means the value was unavailable or blank in the source data.

Can I get the raw CMS row?
Yes. Turn on raw source output to include the original CMS source row in rawSource for audit workflows.

Is this an official CMS API?
No. This is an Apify actor that exports public CMS facility data into an Apify dataset for automation, exports, schedules, APIs, and webhooks.

📝 Changelog

  • 0.0.1: Initial release.

🆘 Support

For issues, questions, or feature requests, file a ticket and I'll fix or implement it in less than 24h 🫡

🔗 Other actors