# North Carolina nursing homes: star ratings, staffing and fines

**Use case:** 

Every North Carolina nursing home in CMS's Nursing Home Provider Information file, one row per facility: CCN, name, city, county, ownership, certified beds, chain, overall, health inspection, staffing and quality star ratings, nursing staff turnover, number of fines and total fines in dollars.

## Input

```json
{
  "dataset": "nursing_home_provider_info",
  "state": "NC",
  "max_records": 1000,
  "request_interval_ms": 500,
  "contact_email": "info@steelyardclinical.com"
}
```

## Output

```json
{
  "cms_certification_number_ccn": {
    "label": "CCN",
    "format": "text"
  },
  "provider_name": {
    "label": "Nursing home",
    "format": "text"
  },
  "citytown": {
    "label": "City",
    "format": "text"
  },
  "state": {
    "label": "State",
    "format": "text"
  },
  "countyparish": {
    "label": "County",
    "format": "text"
  },
  "ownership_type": {
    "label": "Ownership",
    "format": "text"
  },
  "number_of_certified_beds": {
    "label": "Beds",
    "format": "text"
  },
  "average_number_of_residents_per_day": {
    "label": "Avg residents/day",
    "format": "text"
  },
  "chain_name": {
    "label": "Chain",
    "format": "text"
  },
  "overall_rating": {
    "label": "Overall stars",
    "format": "text"
  },
  "health_inspection_rating": {
    "label": "Inspection stars",
    "format": "text"
  },
  "staffing_rating": {
    "label": "Staffing stars",
    "format": "text"
  },
  "qm_rating": {
    "label": "Quality stars",
    "format": "text"
  },
  "total_nursing_staff_turnover": {
    "label": "Nurse staff turnover %",
    "format": "text"
  },
  "number_of_fines": {
    "label": "Fines",
    "format": "text"
  },
  "total_amount_of_fines_in_dollars": {
    "label": "Fines $",
    "format": "text"
  },
  "processing_date": {
    "label": "CMS processing date",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [CMS Provider Data - hospitals, nursing homes, ratings (API)](https://apify.com/retrainmap/cms-provider-data.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/retrainmap/cms-provider-data.md) to learn more, explore other use cases, and run it yourself.


## 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.
This Task's input is already configured above — use it as-is rather than inventing a new one.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/retrainmap/cms-provider-data.md

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).
