VOOZH about

URL: https://apify.com/jungle_synthesizer/cms-hospital-price-transparency-scraper

โ‡ฑ CMS Hospital Price Transparency Scraper ยท Apify


๐Ÿ‘ CMS Hospital Price Transparency Scraper avatar

CMS Hospital Price Transparency Scraper

Pricing

Pay per event

Go to Apify Store

CMS Hospital Price Transparency Scraper

Extract hospital standard charges from CMS-mandated machine-readable files (MRF). Parses CMS v1/v2/v3 JSON schemas into rows by billing code (CPT, HCPCS, MS-DRG, NDC) and payer/plan. Fetches hospital identity from the CMS enrollment dataset. Filter by state, CCN, code type, billing code, or payer.

Pricing

Pay per event

Rating

0.0

(0)

Developer

๐Ÿ‘ BowTiedRaccoon

BowTiedRaccoon

Maintained by Community

Actor stats

0

Bookmarked

4

Total users

2

Monthly active users

6 days ago

Last modified

Share

Parse hospital standard-charge files mandated by the CMS Hospital Price Transparency rule. Returns structured rows by billing code (CPT, HCPCS, MS-DRG, APR-DRG, RC, NDC) and payer/plan, with gross charges, cash-discount prices, negotiated dollar amounts, negotiated percentages, and de-identified min/max rates. Also fetches hospital identity records (CCN, NPI, address) for ~6,000 US hospitals from the CMS enrollment API.


CMS Hospital Price Transparency Scraper Features

  • Parses CMS JSON MRF schemas v1, v2, and v3. Auto-detects the version, so you don't have to.
  • Returns negotiated rates by payer and plan โ€” dollar, percentage, and algorithm-based methodologies
  • Includes gross charge, cash-discount, estimated allowed amount, and de-identified min/max in every row
  • Three modes โ€” mrf_parse for a single file, hospital_list for CMS enrollment, discover_and_parse for the combined pipeline
  • Filter by state, CCN, billing-code system, specific code, or payer name substring
  • No proxy required โ€” CMS APIs and most hospital MRFs are publicly reachable

Who Uses Hospital Price Transparency Data?

  • Price-comparison startups โ€” Build patient-facing tools on actual negotiated rates instead of survey data
  • Self-funded employers โ€” Pull payer-specific rates by code to benchmark before contract renegotiation
  • Benefits consultants โ€” Analyze plan-by-plan variation across hospital networks for client RFPs
  • Healthcare journalists โ€” Investigate pricing disparities. The data is public โ€” somebody just has to parse it.
  • Healthcare data vendors โ€” Join MRF charge data to the CMS enrollment registry to enrich existing hospital intelligence products

How the CMS Hospital Price Transparency Scraper Works

  1. Pick a mode โ€” mrf_parse takes a single MRF URL. hospital_list walks the CMS enrollment dataset. discover_and_parse runs both.
  2. Schema detection โ€” The parser inspects the JSON shape and routes to the v3 nested handler (standard_charges[] with payers_information[]) or the v1/v2 flat handler. No configuration.
  3. Filtering โ€” Code-type, billing-code, payer-substring, and state filters apply during parsing, so only matching rows reach output. Cheaper than post-filtering.
  4. Export โ€” One record per payer/plan/billing-code/setting combination. That's the granularity the CMS rule requires, and it's what makes the data joinable downstream.

Input

Parse a single MRF

{
"mode":"mrf_parse",
"mrfUrl":"https://example-hospital.com/standard-charges.json",
"billingCodeType":"CPT",
"maxItems":1000,
"sp_intended_usage":"Rate comparison for employer plan negotiation",
"sp_improvement_suggestions":"None"
}

Pull hospital enrollment records

{
"mode":"hospital_list",
"stateFilter":"TX",
"maxItems":500,
"sp_intended_usage":"Build a TX hospital registry",
"sp_improvement_suggestions":"None"
}

Filter to one billing code across payers

{
"mode":"mrf_parse",
"mrfUrl":"https://example-hospital.com/standard-charges.json",
"billingCodeType":"CPT",
"billingCode":"70551",
"maxItems":0
}
FieldTypeDefaultDescription
modestringmrf_parsemrf_parse, hospital_list, or discover_and_parse.
mrfUrlstringCMS exampleMRF JSON URL. Required for mrf_parse and discover_and_parse.
stateFilterstringโ€”Two-letter state code. Filters hospital_list results.
hospitalCcnstringโ€”CMS Certification Number for a single hospital.
billingCodeTypestringโ€”CPT, HCPCS, MS-DRG, APR-DRG, RC, NDC, or Internal. Empty = all.
billingCodestringโ€”Specific code to filter (e.g. 70551).
payerFilterstringโ€”Case-insensitive payer-name substring.
maxItemsinteger15Cap on records. 0 = unlimited.
proxyConfigurationobjectnoneProxy settings. Off by default.

CMS Hospital Price Transparency Scraper Output Fields

The output schema is shared between modes. Charge fields are populated for charge_row records and null/empty for hospital_info records. Use record_type to distinguish.

MRF parse โ€” one row per payer/plan/code

{
"hospital_name":"EXAMPLE REGIONAL MEDICAL CENTER",
"mrf_url":"https://example-hospital.com/standard-charges.json",
"mrf_version":"3.0.0",
"mrf_last_updated":"2025-01-15",
"billing_code":"70551",
"billing_code_type":"CPT",
"description":"MRI Brain without contrast",
"payer_name":"Aetna",
"plan_name":"Aetna PPO Standard",
"setting":"outpatient",
"methodology":"fee schedule",
"standard_charge_gross":4200,
"standard_charge_discounted_cash":1890,
"standard_charge_negotiated_dollar":1240,
"standard_charge_negotiated_percentage":null,
"standard_charge_negotiated_algorithm":"",
"standard_charge_min":980,
"standard_charge_max":1600,
"estimated_amount":1240,
"additional_payer_notes":"",
"record_type":"charge_row"
}

Hospital list โ€” one row per hospital

{
"hospital_name":"MEMORIAL HOSPITAL OF LARAMIE COUNTY",
"hospital_ccn":"530012",
"hospital_npi":"1568469223",
"hospital_address":"214 E 23RD ST",
"hospital_city":"CHEYENNE",
"hospital_state":"WY",
"hospital_zip":"82001",
"record_type":"hospital_info"
}
FieldTypeDescription
hospital_namestringHospital name
hospital_ccnstringCMS Certification Number
hospital_npistringNational Provider Identifier
hospital_addressstringStreet address
hospital_citystringCity
hospital_statestringTwo-letter state code
hospital_zipstringZIP code
mrf_urlstringSource machine-readable file URL
mrf_versionstringCMS schema version (e.g. 3.0.0)
mrf_last_updatedstringDate the MRF was last updated (from file header)
billing_codestringBilling code (e.g. 70551)
billing_code_typestringCode system: CPT, HCPCS, MS-DRG, APR-DRG, RC, NDC, Internal
descriptionstringService or item description
payer_namestringPayer name
plan_namestringPlan name
settingstringinpatient, outpatient, or both
methodologystringRate methodology (fee schedule, percent of total billed charges, etc.)
standard_charge_grossnumberGross / chargemaster price
standard_charge_discounted_cashnumberCash / self-pay discount price
standard_charge_negotiated_dollarnumberNegotiated dollar amount
standard_charge_negotiated_percentagenumberNegotiated percentage of gross
standard_charge_negotiated_algorithmstringAlgorithm description when rate is formula-based
standard_charge_minnumberDe-identified minimum negotiated charge
standard_charge_maxnumberDe-identified maximum negotiated charge
estimated_amountnumberEstimated allowed amount
additional_payer_notesstringAdditional payer or plan notes
record_typestringcharge_row for MRF data, hospital_info for enrollment data

FAQ

How do I scrape hospital prices from CMS machine-readable files?

CMS Hospital Price Transparency Scraper handles it in mrf_parse mode. Supply the MRF URL in mrfUrl, set optional filters, and run. The parser auto-detects v1/v2/v3 schema and outputs one row per payer/plan/billing-code combination.

Where do I find hospital MRF URLs?

CMS does not publish a single index of every hospital's file. Most hospitals link to their MRF from a "price transparency" or "standard charges" page on their own site. The CMS Hospital Price Transparency enforcement dataset tracks compliance but doesn't reliably include direct file links. Aggregators like Dolthub's hospital-price-transparency project and Turquoise Health publish compiled URL lists.

What billing code types does this scraper support?

CMS Hospital Price Transparency Scraper supports every code system in the CMS standard: CPT, HCPCS, MS-DRG, APR-DRG, Revenue Code (RC), NDC, and Internal. Filter via billingCodeType, or leave it blank to get everything.

How much does this actor cost to run?

CMS Hospital Price Transparency Scraper uses pay-per-event pricing on the default_2603_basic profile at a 1.0x coefficient. No proxy fees. Parsing a typical hospital MRF (a few thousand rows) costs cents in platform fees.

Does this actor need proxies?

CMS Hospital Price Transparency Scraper runs proxy-free by default. CMS data APIs and most hospital MRF hosts accept public traffic without rate-limiting. The proxyConfiguration field is exposed if a specific hospital's host turns out to be sensitive โ€” most don't.

Can I filter to a single hospital?

CMS Hospital Price Transparency Scraper accepts hospitalCcn to filter hospital_list mode to one CMS Certification Number. For MRF parsing, point mrfUrl directly at that hospital's published file.


Need More Features?

Need CSV MRF support, streaming parse for very large files, or auto-discovery of MRF URLs from a hospital domain? Open an issue or get in touch.

Why Use CMS Hospital Price Transparency Scraper?

  • Handles every CMS schema โ€” v1, v2, and v3 are all parsed by the same actor with no config. Most one-off scripts pick one and break on the rest.
  • Joinable output โ€” Charge rows and hospital enrollment records share the same schema and overlap on hospital_ccn, so you can join them in SQL without an intermediate ETL step.
  • Filter at parse time โ€” Code-type, billing-code, and payer filters apply while the file is being read, which keeps datasets small when you only care about one procedure.

You might also like

Hospital Price Transparency Scraper

maximedupre/hospital-price-transparency-scraper

Scrape CMS hospital facility data and public MRF payer-rate records. Export facility profiles, CPT/HCPCS codes, gross charges, cash prices, negotiated rates, payer names, and plan names.

๐Ÿ‘ User avatar

Maxime Duprรฉ

2

Hospital Price Transparency MRF Normalizer

george.the.developer/hospital-mrf-normalizer

Normalize hospital price transparency MRF files into clean payer, code, and negotiated rate rows for builders and buyers.

CMS Hospital General Info Scraper

parseforge/cms-hospital-general-info-scraper

Pull the CMS Hospital General Information dataset filtered by state code. Returns facility identifier, hospital name, address, city, ZIP, ownership, hospital type, and emergency services flag. Useful for healthcare market mapping, provider directories, and quality benchmarking.

CMS Hospital Compare Scraper

crawlerbros/cms-hospital-compare-scraper

Scrape CMS Hospital Compare data via the free data.cms.gov public API. Search hospitals by state or name, get ratings, quality measures, and contact info for all US hospitals. No API key required.

CMS Hospital Quality Ratings Scraper

automation-lab/cms-hospital-quality-ratings-scraper

๐Ÿฅ Extract CMS hospital ratings, ownership, emergency services, contact info, and quality measure summaries from public Provider Data.

๐Ÿ‘ User avatar

Stas Persiianenko

2

Turquoise Health / Hospital Price Transparency Scraper

crawlerbros/turquoise-health-scraper

Scrape hospital price transparency data (CMS-mandated since 2021) from Turquoise Health and the CMS Hospital Price Transparency dataset. Get cash prices, negotiated rates, and price ranges for medical procedures across US hospitals.

CMS Hospital General Information Scraper

compute-edge/cms-hospital-general-scraper

Extract CMS Hospital General Info for 5,400+ U.S. hospitals. Filter by state, hospital type, ownership, overall star rating, and emergency services. Includes addresses, phone, and mortality/safety/readmission measure counts.

Medicare Hospital Compare Scraper | Quality Ratings Data

parseforge/hospital-compare-medicare-scraper

Export US hospital quality ratings from Medicare Hospital Compare: name, address, type, ownership, overall star rating, mortality and safety scores. Filter by state, city, hospital type or rating. CSV, Excel, JSON or XML for healthcare research.

CMS Hospital Compare Scraper - Quality Ratings API

pink_comic/cms-hospital-quality-ratings

Scrape CMS Hospital Compare quality ratings for 5,400+ US hospitals. Filter by state, city, name, type, ownership, and star rating. Export Medicare star ratings, safety, readmissions, mortality, patient experience, and quality measures.