# Nationwide CMS Hospital Data Extractor

**Use case:** 

Export CMS Medicare hospital data nationwide for benchmarking, provider networks, ratings, and compliance workflows.

## Input

```json
{
  "datasetPreset": "hospital_general",
  "datasetId": "xubh-q36u",
  "maxItems": 500,
  "state": "CA",
  "pageSize": 500,
  "includeRawRecord": true
}
```

## Output

```json
{
  "facilityName": {
    "label": "Facility name"
  },
  "providerCcn": {
    "label": "Provider CCN"
  },
  "state": {
    "label": "State"
  },
  "city": {
    "label": "City"
  },
  "hospitalType": {
    "label": "Hospital type"
  },
  "hospitalOwnership": {
    "label": "Ownership"
  },
  "emergencyServices": {
    "label": "Emergency services"
  },
  "overallRating": {
    "label": "Overall rating"
  },
  "measureId": {
    "label": "Measure ID"
  },
  "measureName": {
    "label": "Measure name"
  },
  "score": {
    "label": "Score"
  },
  "sourceDatasetUrl": {
    "label": "Source dataset URL"
  },
  "scrapedAt": {
    "label": "Scraped at"
  }
}
```

## About this Actor

This example demonstrates how to use [Hospital Compare Medicare Scraper](https://apify.com/automation-lab/hospital-compare-medicare-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/hospital-compare-medicare-scraper) to learn more, explore other use cases, and run it yourself.