# Texas Hospitals Below National Benchmark - CMS Data

**Use case:** 

Texas hospitals scoring worse than the national average on CMS quality measures, with star ratings, ownership, beds and phone numbers. Export CSV or JSON.

## Input

```json
{
  "states": [
    "TX"
  ],
  "hospitalType": "any",
  "ownership": "any",
  "minOverallRating": 0,
  "maxOverallRating": 0,
  "emergencyServicesOnly": false,
  "worseThanNationalOnly": true,
  "maxItems": 200
}
```

## Output

```json
{
  "name": {
    "label": "Hospital"
  },
  "phone": {
    "label": "Phone"
  },
  "city": {
    "label": "City"
  },
  "state": {
    "label": "State"
  },
  "hospital_type": {
    "label": "Type"
  },
  "ownership": {
    "label": "Ownership"
  },
  "overall_rating": {
    "label": "Overall ★"
  },
  "emergency_services": {
    "label": "ER"
  },
  "measures_worse_than_national": {
    "label": "Worse"
  },
  "measures_better_than_national": {
    "label": "Better"
  },
  "quality_tags": {
    "label": "Signals"
  },
  "cms_profile_url": {
    "label": "CMS profile"
  }
}
```

## About this Actor

This example demonstrates how to use [Hospital Leads - CMS Ratings, Ownership & Quality Flags](https://apify.com/flash_scraper/hospital-leads) with a specific input configuration. Visit the [Actor detail page](https://apify.com/flash_scraper/hospital-leads) to learn more, explore other use cases, and run it yourself.