# CMS SNF Ownership & Control - Nursing Home KYB API (`pink_comic/cms-snf-ownership-control`) Actor

Search CMS Skilled Nursing Facility owner and managerial-control associations for healthcare KYB, compliance, and M\&A screening. Export roles, percentages, dates, and source-linked evidence. Related: Hospital Owners, NPPES, OIG LEIE.

- **URL**: https://apify.com/pink_comic/cms-snf-ownership-control.md
- **Developed by:** [Ava Torres](https://apify.com/pink_comic) (community)
- **Categories:** Lead generation, Business, Agents
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 cms snf ownership & control evidence api evidence items

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## CMS SNF Ownership & Control Evidence API

Search the official, no-key CMS **Skilled Nursing Facility Owner Information** dataset and receive one grouped item per facility enrollment, with bounded nested ownership and operational/managerial-control associations.

Use it for compliance research, provider-network QA, facility research, and M\&A screening where source-linked administrative evidence is useful. It is distinct from Nursing Home Compare quality data.

### Default

The deterministic default uses enrollment `O20020815000002`, scans at most 25 source rows, nests at most 10 associations, and returns one grouped facility item. At `$0.002/item` plus the `$0.0001` start event, its maximum charge is **$0.0021**.

```bash
go run ./cmd/cms-snf-ownership-control --enrollment-id O20020815000002 --max-results 1 --max-candidates 25 --max-owner-associations 10
```

### Filters

- exact CMS enrollment ID and facility associate ID
- facility organization-name substring
- owner/control-associate individual or organization name substring
- exact owner address state
- exact individual (`I`) or organization (`O`) entity type
- role code/text substring
- minimum and maximum source-reported ownership percentage
- total grouped `maxResults`, bounded source `maxCandidates`, and bounded nested `maxOwnerAssociations`

The dataset does **not** expose NPI or CCN fields. Inputs are present to make that limitation machine-visible: supplying either produces `INVALID_INPUT`; the actor never guesses or joins identifiers from another dataset.

### Outcomes

`FOUND`, `NO_MATCH`, `INVALID_INPUT`, and `SOURCE_UNAVAILABLE` are explicit dataset items. A no-match only means no matching row appeared within the disclosed bounded source query.

### Evidence limits

These are source-reported CMS enrollment ownership/control associations in an administrative snapshot. They are not verified beneficial ownership, current legal control/title, licensure, quality, good standing, transaction completion, sanctions clearance, or complete due diligence. Records can lag or omit fields, one associate can have multiple roles, and blank percentages are not treated as zero.

Source: `https://data.cms.gov/data-api/v1/dataset/a4358712-e910-4eaf-8f24-5e90ba3cf8d0/data`

### How to use

1. Open [CMS SNF Ownership & Control - Nursing Home KYB API](https://apify.com/pink_comic/cms-snf-ownership-control) in Apify Console and click **Start** (or **Try for free**).
2. Fill in the input form - start with **Enrollment ID**, **Nested association limit**, **Candidate row limit**. Every field is optional unless marked required, and the form is prefilled with a working example.
3. Set **Maximum results** to cap your cost, then run the Actor.
4. Download the results as JSON, CSV, Excel, XML or HTML, or pull them with the Apify API.

### Input

| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| `facilityName` | string | no |  | Case-insensitive source organization-name substring. |
| `enrollmentId` | string | no | "O20020815000002" | Exact CMS enrollment ID. The deterministic default returns one current grouped facility. |
| `associateId` | string | no |  | Exact source facility ASSOCIATE ID. |
| `npi` | string | no |  | Reserved for explicit validation: this source has no NPI field, so a supplied value returns INVALID_INPUT rather than guessing. |
| `ccn` | string | no |  | Reserved for explicit validation: this source has no CCN field, so a supplied value returns INVALID_INPUT rather than guessing. |
| `ownerName` | string | no |  | Case-insensitive individual or organization owner-name substring. |
| `role` | string | no |  | Case-insensitive source role code or role-text substring. |
| `state` | string | no |  | Exact two-letter source owner-address state. |
| `ownerType` | string | no |  | Exact source owner type: I for individual, O for organization, or blank for both. |
| `minOwnershipPercentage` | number | no |  | Minimum source-reported percentage, from 0 through 100; blank percentages do not match. |
| `maxOwnershipPercentage` | number | no |  | Maximum source-reported percentage, from 0 through 100; blank percentages do not match. |
| `maxOwnerAssociations` | integer | no | 10 | Maximum matching owner/control associations nested in each paid facility item. |
| `maxCandidates` | integer | no | 25 | Maximum source association rows fetched and scanned, bounding the request. |
| `maxResults` | integer | no | 1 | Total grouped paid items returned. Default one item costs at most $0.0021 including the $0.0001 start event. |

#### Example input

```json
{
  "enrollmentId": "O20020815000002",
  "maxOwnerAssociations": 10,
  "maxCandidates": 25,
  "maxResults": 1
}
```

### Output example

One record from a real run (long values shortened, contact details partly masked):

```json
{
  "outcome": "FOUND",
  "facilityName": "HICKORY CREEK HEALTHCARE FOUNDATION INC",
  "enrollmentId": "O20020815000002",
  "associateId": "0840107850",
  "ownerAssociations": [
    {
      "ownerAssociateId": "0840107850",
      "ownerType": "O",
      "roleCode": "34",
      "roleText": "5% OR GREATER DIRECT OWNERSHIP INTEREST",
      "associationDate": "2002-08-01",
      "firstName": "",
      "middleName": "",
      "lastName": "",
      "fullName": "",
      "ownerTitle": "",
      "organizationName": "HICKORY CREEK HEALTHCARE FOUNDATION INC",
      "doingBusinessAsName": "HICKORY CREEK AT NEW CASTLE",
      "addressLine1": "5555 GLENRIDGE CONNECTOR",
      "addressLine2": "STE 650",
      "city": "ATLANTA",
      "state": "GA",
      "zipCode": "303424761",
      "percentageOwnership": 100,
      "createdForAcquisition": "Y",
      "corporation": "N",
      "llc": "N",
      "medicalProviderSupplier": "N",
      "managementServicesCompany": "N",
      "medicalStaffingCompany": "N",
      "holdingCompany": "N"
    },
    {
      "ownerAssociateId": "0840107850",
      "ownerType": "O",
      "roleCode": "43",
      "roleText": "OPERATIONAL/MANAGERIAL CONTROL",
      "associationDate": "2002-08-01",
      "firstName": "",
      "middleName": "",
      "lastName": "",
      "fullName": "",
      "ownerTitle": "",
      "organizationName": "HICKORY CREEK HEALTHCARE FOUNDATION INC",
      "doingBusinessAsName": "HICKORY CREEK AT NEW CASTLE",
      "addressLine1": "5555 GLENRIDGE CONNECTOR",
      "addressLine2": "STE 650",
      "city": "ATLANTA",
      "state": "GA",
      "zipCode": "303424761",
      "percentageOwnership": 100,
      "createdForAcquisition": "",
      "corporation": "N",
      "llc": "N",
      "medicalProviderSupplier": "N",
      "managementServicesCompany": "N",
      "medicalStaffingCompany": "N",
      "holdingCompany": "N"
    },
    {
      "ownerAssociateId": "1254575707",
      "ownerType": "I",
      "roleCode": "42",
      "roleText": "W-2 MANAGING EMPLOYEE",
      "associationDate": "2020-03-23",
      "firstName": "SUMMER",
      "middleName": "",
      "lastName": "BARKER",
      "fullName": "SUMMER BARKER",
      "ownerTitle": "ADMINISTRATOR",
      "organizationName": "",
      "doingBusinessAsName": "",
      "addressLine1": "",
      "addressLine2": "",
      "city": "",
      "state": "",
      "zipCode": "",
      "percentageOwnership": null,
      "createdForAcquisition": "",
      "corporation": "",
      "llc": "",
      "medicalProviderSupplier": "",
      "managementServicesCompany": "",
      "medicalStaffingCompany": "",
      "holdingCompany": ""
    }
  ],
  "ownerAssociationCount": 10,
  "ownerAssociationLimit": 10,
  "ownerAssociationsTruncated": false,
  "retrievedAt": "2026-11-11T17:59:53Z",
  "sourceQueryUrl": "https://data.cms.gov/data-api/v1/dataset/a4358712-e910-4eaf-8f24-5e90ba3cf8d0/data?filter%5BENROLLMENT+ID%5D=O20020815000002&offset=0&size=25",
  "datasetId": "a4358712-e910-4eaf-8f24-5e90ba3cf8d0",
  "datasetName": "Skilled Nursing Facility Owner Information",
  "candidateCount": 10,
  "candidateLimit": 25,
  "filterSummary": "{\"facilityName\":\"\",\"enrollmentId\":\"O20020815000002\",\"associateId\":\"\",\"npi\":\"\",\"ccn\":\"\",\"ownerName\":\"\",\"role\":\"\",\"state\":\"\",\"ownerType\":\"\",\"maxOwnerAssociatio...",
  "evidenceScope": "CMS source-reported enrollment ownership and operational/managerial-control association evidence for skilled nursing facilities.",
  
```

### Pricing

Pay per event: **$0.002 per cms snf ownership & control evidence api evidence item** plus **$0.0001 per run start**. No subscription to this Actor is needed. Apify Store discounts apply, so the price per result is lower on Silver, Gold and higher Apify plans. Use **Maximum results** to cap the cost of each run.

### FAQ

#### How much does CMS SNF Ownership & Control - Nursing Home KYB API cost?

$0.002 per cms snf ownership & control evidence api evidence item plus $0.0001 per run. For example, 1,000 results cost about $2.00. Higher Apify plans get a Store discount.

#### Do I need an API key or login?

No. Just configure the input and run it.

#### Can I run it on a schedule or from code?

Yes. Use Apify Schedules for recurring runs, or call it from the Apify API, the JavaScript or Python client, Make, Zapier, n8n, or any MCP-compatible AI agent.

#### Why did my run return no results?

Your filters are probably too narrow. Remove a filter or broaden the search, then run again. You only pay the result price for records that are actually saved.

#### Is the data accurate and up to date?

Each run fetches live data from the source described above, so results are as current as that source. Verify critical records with the original source before acting on them.

# Actor input Schema

## `facilityName` (type: `string`):

Case-insensitive source organization-name substring.

## `enrollmentId` (type: `string`):

Exact CMS enrollment ID. The deterministic default returns one current grouped facility.

## `associateId` (type: `string`):

Exact source facility ASSOCIATE ID.

## `npi` (type: `string`):

Reserved for explicit validation: this source has no NPI field, so a supplied value returns INVALID_INPUT rather than guessing.

## `ccn` (type: `string`):

Reserved for explicit validation: this source has no CCN field, so a supplied value returns INVALID_INPUT rather than guessing.

## `ownerName` (type: `string`):

Case-insensitive individual or organization owner-name substring.

## `role` (type: `string`):

Case-insensitive source role code or role-text substring.

## `state` (type: `string`):

Exact two-letter source owner-address state.

## `ownerType` (type: `string`):

Exact source owner type: I for individual, O for organization, or blank for both.

## `minOwnershipPercentage` (type: `number`):

Minimum source-reported percentage, from 0 through 100; blank percentages do not match.

## `maxOwnershipPercentage` (type: `number`):

Maximum source-reported percentage, from 0 through 100; blank percentages do not match.

## `maxOwnerAssociations` (type: `integer`):

Maximum matching owner/control associations nested in each paid facility item.

## `maxCandidates` (type: `integer`):

Maximum source association rows fetched and scanned, bounding the request.

## `maxResults` (type: `integer`):

Total grouped paid items returned. Default one item costs at most $0.0021 including the $0.0001 start event.

## Actor input object example

```json
{
  "facilityName": "",
  "enrollmentId": "O20020815000002",
  "associateId": "",
  "npi": "",
  "ccn": "",
  "ownerName": "",
  "role": "",
  "state": "",
  "ownerType": "",
  "maxOwnerAssociations": 10,
  "maxCandidates": 25,
  "maxResults": 1
}
```

# Actor output Schema

## `results` (type: `string`):

All records from this run in the default dataset, shown with the Overview table view.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("pink_comic/cms-snf-ownership-control").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("pink_comic/cms-snf-ownership-control").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call pink_comic/cms-snf-ownership-control --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,pink_comic/cms-snf-ownership-control"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/nNPZxmx3Ugf8IpxcE/builds/edSGvakETTlaKMPHh/openapi.json
