Hospital Compare Scraper
Pricing
Pay per usage
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
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
| Parameter | Type | Description | Default |
|---|---|---|---|
zipCode | String | ZIP code to search near | "75024" |
state | String | State abbreviation filter (e.g., TX, CA) | "" |
maxResults | Integer | Maximum number of results | 50 |
Output Format
Each result in the dataset contains the following fields:
hospitalName- Official hospital nameaddress- Street addresscity- City namestate- State abbreviationzipCode- ZIP codeoverallRating- CMS overall star ratinghospitalType- Type of hospital facilityownership- Hospital ownership categoryemergencyServices- Whether emergency services are availablephoneNumber- Hospital phone numberdataSource- Data source identifierapiEndpoint- 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.