CMS Nursing Home Ratings Scraper avatar

CMS Nursing Home Ratings Scraper

Pricing

from $4.00 / 1,000 nursing home returneds

Go to Apify Store
CMS Nursing Home Ratings Scraper

CMS Nursing Home Ratings Scraper

Search CMS Care Compare nursing-home records by location, ratings, ownership, beds, staffing, quality measures, and special-focus status. Returns one current Medicare-certified facility per result. For US nursing-home research, not assisted living or patient data. $0.005/result + $0.00005/run.

Pricing

from $4.00 / 1,000 nursing home returneds

Rating

0.0

(0)

Developer

Muhammad Afzal

Muhammad Afzal

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Share

Free-plan limit: Apify free-plan runs can return at most 5 dataset records per run from this Actor, even if you request more.

Search official CMS Care Compare nursing-home data without manually downloading and filtering the national CSV. The actor reads the current Provider Information dataset published by the Centers for Medicare & Medicaid Services (CMS), then returns one structured record for every matching active Medicare-certified nursing home.

Use it for facility comparison, market research, referral-network analysis, senior-care research, and data enrichment. It is not a source for patient-level data, assisted-living communities, hospital quality data, or consumer review-site ratings.

What it returns

Each result contains the CMS Certification Number (CCN), facility identity and contact details, ownership type, certified beds, overall/health-inspection/staffing/quality-measure Five-Star Ratings, special-focus status, selected inspection and fine metrics, staffing hours, coordinates, CMS processing date, and source provenance.

Ratings are CMS Five-Star Rating System values. A missing rating remains null; the actor never converts an unrated facility to zero.

Inputs

All filters are optional and combine with AND logic.

InputExamplePurpose
state"CA"Limit to a two-letter state or territory code.
city"Los Angeles"Case-insensitive city/town match.
providerNameQuery"Manor"Case-insensitive facility-name match.
ccn"055123"Exact CMS Certification Number.
minOverallRating4Include facilities rated at least 4 overall.
minHealthInspectionRating4Include facilities rated at least 4 for health inspections.
minStaffingRating4Include facilities rated at least 4 for staffing.
minQualityMeasureRating4Include facilities rated at least 4 for quality measures.
ownershipTypes["Non profit - Corporation"]Include exact CMS ownership labels.
minCertifiedBeds / maxCertifiedBeds100 / 250Restrict facility size.
maxResults100Cap output between 1 and 10,000 records.

Example input

{
"state": "CA",
"minOverallRating": 4,
"minStaffingRating": 4,
"minCertifiedBeds": 100,
"maxResults": 100
}

Example result

{
"ccn": "055123",
"providerName": "EXAMPLE NURSING CENTER",
"city": "LOS ANGELES",
"state": "CA",
"overallRating": 5,
"healthInspectionRating": 5,
"staffingRating": 4,
"qualityMeasureRating": 5,
"certifiedBeds": 120,
"sourceDatasetId": "4pq5-n9py",
"sourceUrl": "https://data.cms.gov/.../NH_ProviderInfo_*.csv",
"retrievedAt": "2026-07-22T12:00:00.000Z"
}

Data source and limitations

The actor uses the public CMS Provider Data Catalog's Provider Information dataset, the dataset used by Medicare.gov Care Compare. CMS updates this source periodically; the actor first resolves the current CMS file URL at run time, rather than pinning a stale download URL. CMS describes the dataset as general information on currently active nursing homes, including the data used in its Five-Star Rating System.

The output reflects the CMS publication at retrieval time and should be verified against CMS for high-stakes care decisions. It does not provide medical advice or a recommendation of a facility.

Pricing

This Actor uses pay-per-event pricing. These are the current Apify Store event prices:

EventPrice (USD)When it is charged
nursing-home-returned$0.005Nursing home returned — Charged once for each matching CMS nursing-home facility record returned.
apify-actor-start$0.00005Actor Start — Charged when the Actor starts running. Number of events charged depends on Actor memory (one event per GB, minimum one event). — Charged once per run.

Apify platform usage for this Actor run is included alongside the event prices above; no separate per-run platform-usage fee is passed to users.

This covers Apify platform usage for this Actor run. Other Apify products or usage outside this Actor run may still follow your account plan.

Use cases

  • Schedule repeatable collection and export results to downstream workflows.
  • Add a repeatable structured-data step to applications, agents, and automation pipelines.
  • Run a one-off research job and export the structured result as JSON, CSV, Excel, XML, or RSS from Apify.
  • Schedule the same input to monitor changes over time and send completed datasets to a webhook or integration.
  • Feed schema-shaped records into a database, spreadsheet, BI tool, or AI workflow with the source URL retained for verification.

Output example

{
"ccn": "Example CMS Certification Number",
"providerName": "Example Provider name",
"address": "Example Address",
"city": "Example City",
"state": "Example State",
"zipCode": "Example ZIP code",
"county": "Example County",
"phone": "Example Phone",
"ownershipType": "Example Ownership type",
"certifiedBeds": 1,
"averageResidentsPerDay": 1,
"overallRating": 1
}

The exact fields depend on the selected input and what the public source exposes. Use the dataset schema as the machine-readable contract and retain source URLs for verification.

Run CMS Nursing Home Ratings Scraper with the Apify API

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('muhammadafzal/cms-nursing-home-ratings-scraper').call({
"state": "CA",
"maxResults": 50
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

You can also run the Actor from Apify Console, schedules, webhooks, the REST API, Make, Zapier, n8n, or the hosted Apify MCP server.

Responsible use

Use this Actor only for data you are authorized to access. Follow the target website's terms, robots and access policies, and applicable privacy, database, copyright, anti-spam, and data-protection laws. Do not use it to bypass authentication or other access controls, collect private data, harass people, or make high-impact decisions without independent verification.

Support

When reporting a problem, include the Actor run ID, a redacted input, the expected result, and a small public example URL when applicable. Do not post API tokens, cookies, credentials, or personal data in an issue.