Hospital Compare Scraper avatar

Hospital Compare Scraper

Pricing

Pay per usage

Go to Apify Store
Hospital Compare Scraper

Hospital Compare Scraper

Hospital Compare Scraper. Extract structured data with automatic pagination, proxy rotation, and JSON/CSV export. Pay only for results.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Donny Nguyen

Donny Nguyen

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Share

Overview

The Hospital Compare Scraper is an Apify actor that extracts hospital quality data from the CMS Hospital Compare database. It retrieves hospital ratings, patient experience scores, ownership information, and facility details from the Centers for Medicare & Medicaid Services public data. This tool is ideal for healthcare analysts, patients researching hospital quality, and organizations benchmarking healthcare facilities.

Features

  • Search hospitals by ZIP code or state
  • Extract CMS overall quality ratings (1-5 stars)
  • Get hospital type and ownership information
  • Retrieve emergency services availability
  • Access phone numbers and physical addresses
  • Data sourced from official CMS government database

Input Parameters

ParameterTypeDescriptionDefault
zipCodeStringZIP code to search near"75024"
stateStringState abbreviation filter (e.g., TX, CA)""
maxResultsIntegerMaximum number of results50

Output Format

Each result in the dataset contains the following fields:

  • hospitalName - Official hospital name
  • address - Street address
  • city - City name
  • state - State abbreviation
  • zipCode - ZIP code
  • overallRating - CMS overall star rating
  • hospitalType - Type of hospital facility
  • ownership - Hospital ownership category
  • emergencyServices - Whether emergency services are available
  • phoneNumber - Hospital phone number
  • dataSource - Data source identifier
  • apiEndpoint - API endpoint used

Usage

The actor works with empty input {} using sensible defaults. Search by ZIP code for nearby hospitals or filter by state. Run through the Apify Console or call via the Apify API for programmatic access.

Integrations

Integrate with Apify ecosystem tools for automated hospital data collection. Export results to Google Sheets, send via webhook, or connect with Zapier and Make for advanced workflows. JSON output works with any data processing platform.

Cost and Performance

Each run completes within 15-30 seconds using the CMS public API. Priced at $0.75 per 1,000 results on a pay-per-event basis. Government data ensures high accuracy and reliability. Memory usage: 256 MB minimum, 4096 MB maximum.