# CMS Star Rating Lookup by State

**Use case:** 

Find Medicare home health agencies in Texas with quality star ratings of 4 or more.

## Input

```json
{
  "state": "TX",
  "minQualityRating": 4,
  "maxItems": 25
}
```

## Output

```json
{
  "providerId": {
    "label": "Provider ID",
    "format": "string"
  },
  "name": {
    "label": "Agency name",
    "format": "string"
  },
  "address": {
    "label": "Street address",
    "format": "string"
  },
  "city": {
    "label": "City",
    "format": "string"
  },
  "state": {
    "label": "State",
    "format": "string"
  },
  "postalCode": {
    "label": "Postal code",
    "format": "string"
  },
  "phone": {
    "label": "Phone",
    "format": "string"
  },
  "ownershipType": {
    "label": "Ownership type",
    "format": "string"
  },
  "qualityRating": {
    "label": "Quality rating",
    "format": "number"
  },
  "patientSurveyRating": {
    "label": "Patient survey rating",
    "format": "number"
  },
  "services": {
    "label": "Services",
    "format": "array"
  },
  "qualityMeasures": {
    "label": "Quality measures",
    "format": "array"
  }
}
```

## About this Actor

This example demonstrates how to use [Medicare Home Health Compare Scraper | Agency Ratings](https://apify.com/maximedupre/home-health-compare) with a specific input configuration. Visit the [Actor detail page](https://apify.com/maximedupre/home-health-compare) to learn more, explore other use cases, and run it yourself.