# Nursing Home Ratings in Los Angeles

**Use case:** 

Collect CMS Care Compare nursing home ratings in Los Angeles, including overall ratings, staffing ratings, inspection scores, locations, phone numbers, and other available facility details. Use the data to compare local nursing homes and support healthcare research.

## Input

```json
{
  "urls": [
    "https://www.medicare.gov/care-compare/results?searchType=NursingHome&page=1&city=Los%20Angeles&state=CA&zipcode=&radius=25&sort=closest"
  ],
  "maxItemsPerUrl": 40,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

## Output

```json
{
  "providerId": {
    "label": "Provider ID",
    "format": "text"
  },
  "name": {
    "label": "Name",
    "format": "text"
  },
  "legalBusinessName": {
    "label": "Legal Business Name",
    "format": "text"
  },
  "ownershipType": {
    "label": "Ownership Type",
    "format": "text"
  },
  "nursingHomeType": {
    "label": "Nursing Home Type",
    "format": "text"
  },
  "addressLine1": {
    "label": "Address",
    "format": "text"
  },
  "addressCity": {
    "label": "City",
    "format": "text"
  },
  "addressState": {
    "label": "State",
    "format": "text"
  },
  "addressZipcode": {
    "label": "Zip Code",
    "format": "text"
  },
  "phone": {
    "label": "Phone",
    "format": "text"
  },
  "distance": {
    "label": "Distance (mi)",
    "format": "text"
  },
  "lat": {
    "label": "Latitude",
    "format": "text"
  },
  "lon": {
    "label": "Longitude",
    "format": "text"
  },
  "numberOfCertifiedBeds": {
    "label": "Certified Beds",
    "format": "text"
  },
  "specialFocusStatus": {
    "label": "Special Focus Status",
    "format": "text"
  },
  "overallRating": {
    "label": "Overall Rating",
    "format": "text"
  },
  "healthInspectionRating": {
    "label": "Health Inspection",
    "format": "text"
  },
  "qmRating": {
    "label": "Quality Measures",
    "format": "text"
  },
  "staffingRating": {
    "label": "Staffing Rating",
    "format": "text"
  },
  "longStayQMRating": {
    "label": "Long Stay QM",
    "format": "text"
  },
  "shortStayQMRating": {
    "label": "Short Stay QM",
    "format": "text"
  },
  "numberOfFines": {
    "label": "# Fines",
    "format": "text"
  },
  "numberOfPaymentDenials": {
    "label": "# Payment Denials",
    "format": "text"
  },
  "citedForAbuse": {
    "label": "Cited for Abuse",
    "format": "text"
  },
  "numberOfFacilityReportedIncidents": {
    "label": "# Incidents",
    "format": "text"
  },
  "numberOfSubstantiatedComplaints": {
    "label": "# Complaints",
    "format": "text"
  },
  "ratingCycleOneStandardHealthSurveyDate": {
    "label": "Last Survey Date",
    "format": "text"
  },
  "ratingCycleOneTotalHealthDeficiencies": {
    "label": "Health Deficiencies",
    "format": "text"
  },
  "nursingStaffTurnover": {
    "label": "Nursing Turnover %",
    "format": "text"
  },
  "registeredNurseTurnover": {
    "label": "RN Turnover %",
    "format": "text"
  },
  "administratorsWhoHaveLeft": {
    "label": "Admins Left",
    "format": "text"
  },
  "nurseStaffHoursWeekend": {
    "label": "Nurse Hrs/Resident (Weekend)",
    "format": "text"
  },
  "registeredNurseHoursWeekend": {
    "label": "RN Hrs/Resident (Weekend)",
    "format": "text"
  },
  "changedOwnershipInLast12Months": {
    "label": "Ownership Change (12mo)",
    "format": "text"
  },
  "chainName": {
    "label": "Chain Name",
    "format": "text"
  },
  "chainId": {
    "label": "Chain ID",
    "format": "text"
  },
  "numberOfFacilitiesInChain": {
    "label": "Chain Size",
    "format": "text"
  },
  "chainAverageOverall5StarRating": {
    "label": "Chain Avg Overall",
    "format": "text"
  },
  "chainAverageHealthInspectionRating": {
    "label": "Chain Avg Health",
    "format": "text"
  },
  "chainAverageStaffingRating": {
    "label": "Chain Avg Staffing",
    "format": "text"
  },
  "chainAverageQmRating": {
    "label": "Chain Avg QM",
    "format": "text"
  },
  "withResidentAndFamilyCouncil": {
    "label": "Resident/Family Council",
    "format": "text"
  },
  "sprinklerSystemsInAllRequiredAreas": {
    "label": "Sprinkler Systems",
    "format": "text"
  },
  "continuingCareRetirementCommunity": {
    "label": "CCRC",
    "format": "text"
  },
  "providerResidesInHospital": {
    "label": "In Hospital",
    "format": "text"
  },
  "processingDate": {
    "label": "Processing Date",
    "format": "text"
  },
  "dateImported": {
    "label": "Date Imported",
    "format": "text"
  },
  "sourceUrl": {
    "label": "Source URL",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [CMS Nursing Home Ratings Scraper - Low-cost💲🔥🔎🏥](https://apify.com/delectable_incubator/cms-nursing-home-ratings-scraper-low-cost.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/delectable_incubator/cms-nursing-home-ratings-scraper-low-cost.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/delectable_incubator/cms-nursing-home-ratings-scraper-low-cost.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).
