CMS Nursing Home Portfolio Risk Alerts avatar

CMS Nursing Home Portfolio Risk Alerts

Pricing

$100.00 / 1,000 delivered cms nursing-home facility reviews

Go to Apify Store
CMS Nursing Home Portfolio Risk Alerts

CMS Nursing Home Portfolio Risk Alerts

Batch-audit CMS Medicare nursing home CCNs for overallRating, healthInspectionRating, staffingRating, specialFocusStatus, abuseIcon, totalNumberOfPenalties, totalAmountOfFinesUsd, riskFlags, and snapshot changes. Pay-Per-Event $0.10/facility, official CMS Provider Data.

Pricing

$100.00 / 1,000 delivered cms nursing-home facility reviews

Rating

0.0

(0)

Developer

Nathaniel Standridge

Nathaniel Standridge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Categories

Features

Limited permissions

Share

Review a bounded portfolio of US nursing homes against the official CMS Provider Information dataset. Each run accepts 1–25 six-digit CMS Certification Numbers (CCNs), fetches the current active-provider records directly from the CMS API, and emits one dataset row per found facility review, including a clear result. An optional prior OUTPUT.snapshot avoids another dataset-item charge for unchanged checks of the same CMS processing date.

Who uses it: regional operators, lenders, investors, and compliance teams checking a known set of facilities every month. The review results show published low ratings, Special Focus Facility status, the CMS abuse icon, recorded aggregate penalties, and changes in those values. A clear result confirms only that none of this Actor's listed flag rules matched that current CMS record. It does not make a clinical or legal judgment or identify why a value changed.

Input

{"ccns":["015009"]}

Use exact six-digit strings so leading zeroes survive. priorSnapshot is optional: paste the snapshot from the previous complete run's OUTPUT. The Actor checks its format and fingerprint to catch accidental edits. It cannot authenticate a caller-supplied historical snapshot against CMS; comparisons are labeled caller_supplied_snapshot. Without a prior snapshot, each found facility produces a paid current review. With one, a found facility produces a new review if its CMS processing date advanced or it is new to the portfolio. A same-date unchanged record produces no paid row. The OUTPUT.snapshot contains every found facility for the next run.

OptionDefaultLimitBehavior
ccnsrequired1–25Duplicates and malformed IDs fail before any request.
priorSnapshotomitted25 recordsMust be from this Actor's output format and contain only current portfolio CCNs.
maxSourceAgeDays9030–365A processing date older than this fails before billing.
maxResults201–25If more reviews are needed, fail before billing rather than omit results. Raise both this and the run charge limit for 21–25 facilities.
maxRunSeconds18060–240Bounds CMS reads and delivery.

The API host and dataset are fixed. The Actor does not accept URLs, credentials, names, resident data, or addresses as input. It requests only the 12 CMS fields needed for the review, makes up to two short attempts per CCN, reads at most 64 KiB per response, and never follows redirects. A missing CCN is reported in OUTPUT.notFoundCcns; absence from the active-provider dataset does not establish that a facility closed.

Output and interpretation

Each dataset row is a facility review containing CMS ratings, SFF status, abuse icon, aggregate penalty count and fine total, reviewStatus (flagged, changed, or clear), riskFlags, and exact changes (field, previous, current) when a prior record exists. The row includes the CMS processing date, age of that date at observation, and source dataset URL. Low rating flags mean published values of 1 or 2. penalties_recorded_in_cms_total means the published aggregate count is greater than zero; it does not mean a new penalty occurred. A changed fine total or penalty count is a data change, not proof of an event during the comparison period. If a CMS field is blank, it remains null.

OUTPUT reports source coverage, missing CCNs, CMS processing dates, planned and delivered review counts, and a snapshot for the next run. If the spending limit covers only part of the portfolio, the run finishes with the delivered rows, complete: false, reason: "charge_limit", and snapshot: null. Reuse a snapshot only from a complete run.

The billing model is $0.10 per delivered facility review, including clear results, with Apify's native apify-default-dataset-item event. The default $2 run charge limit and maxResults=20 cover up to 20 facilities. To review 21–25 facilities, raise maxResults and the Apify run charge limit together; 25 rows cost at most $2.50. A same-date unchanged review with a supplied prior snapshot, or a CCN absent from the active-provider dataset, has no dataset-item charge. Repeating a run without the prior snapshot produces and charges another current review. Storage and platform costs, where applicable, are separate under Apify's rules. The Actor checks the configured event price before fetching CMS data, freezes its result plan before delivery, and reconciles dataset rows with charged events on retry. No savings, regulatory outcome, or clinical result is promised.

Run cadence and limits

Run after the CMS Provider Information dataset's next processing update, commonly as part of a monthly review. processingDate is the source's date field; this Actor does not claim an exact publication schedule. A prior snapshot with the same processing date but different comparison fields is rejected. A newer prior processing date is also rejected. CMS may revise data or its API: if required fields, date format, or source availability change, the run fails without delivering an unverified review.

This Actor does not query a facility's detailed inspection deficiencies, individual residents, financial viability, or legal compliance. Review the source record and relevant authoritative documents before acting on a flag or change. The dataset is public government data; customer portfolio CCNs and snapshots stay in the user's Apify run input and output stores.

Sources and market distinction

These links establish a plausible budget and source contract, not proven demand for this Actor. Actual external paid use, retention, and contribution must be measured after release.

Quick Integration (Apify MCP, n8n, Make & Python SDK)

1. Apify MCP (https://mcp.apify.com) — Claude, Cursor, OpenAI Agents & ADK

Connect your AI agent directly to https://mcp.apify.com/?actors=natstandridge/cms-nursing-home-risk-alerts (synchronous <25s default prefill, LIMITED_PERMISSIONS, $0.1/event Pay-Per-Event):

{
"mcpServers": {
"apify-cms-nursing-home-risk-alerts": {
"url": "https://mcp.apify.com/?actors=natstandridge/cms-nursing-home-risk-alerts",
"headers": { "Authorization": "Bearer <APIFY_TOKEN>" }
}
}
}

2. n8n Workflow (Apify / HTTP Request Node)

  • Method / URL: POST https://api.apify.com/v2/acts/natstandridge~cms-nursing-home-risk-alerts/run-sync-get-dataset-items
  • Header: Authorization: Bearer {{ $env.APIFY_TOKEN }}
  • JSON Body:
{
"ccns": [
"065001"
]
}

3. Make.com & Python SDK (apify-client)

In Make.com, select the Apify -> Run an Actor module for natstandridge/cms-nursing-home-risk-alerts (enable Run synchronously) followed by Apify -> Get Dataset Items. Or in Python:

from apify_client import ApifyClient
client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("natstandridge/cms-nursing-home-risk-alerts").call(run_input={"ccns": ["065001"]})
items = list(client.dataset(run["defaultDatasetId"]).iterate_items())