Registers and public filesHospitals' own machine-readable price files

US hospital price transparency data: cash, gross and negotiated rates

Give billing codes and a state, hospital names or hospital websites, and get one clean row per hospital, procedure and insurance plan: gross charge, discounted cash price, payer-negotiated rates and the 2026 allowed-amount statistics where hospitals publish them.

  • 0.00001 USD per event, trial price until 31 Dec 2026
  • Errors are never charged
  • Free Apify plan: 1 price file and 100 price rows per run
Example output
json
{
  "hospital_name": "EXAMPLE GENERAL HOSPITAL",
  "location_name": "Example General",
  "hospital_address": "100 Example Street, Exampleville, OH 00000",
  "state": "OH",
  "last_updated_on": "2026-06-15",
  "cms_version": "3.0.0",
  "mrf_url": "https://hospital.example/standardcharges.csv",
  "description": "Example: knee replacement",
  "code": "27447",
  "code_type": "CPT"
}

What you get

  • Gross and cash prices: for each matching procedure, drug or supply.
  • Negotiated rates: dollar amounts, percentages or formulas, per insurer and plan.
  • 2026 statistics: median, 10th and 90th percentile and count, where already published.
  • Whole states at once: a bundled directory of 2,442 price files from 787 hospital websites.
  • Any hospital website: found through the cms-hpt.txt file every US hospital must publish.

Who uses it

  • Employers and benefits brokers

    Compare what nearby hospitals charge each insurer.

  • Health-tech and price tools

    Feed normalised cash and negotiated prices into products.

  • Patients and advocates

    Check cash prices before a planned procedure.

  • Journalists and researchers

    Compare prices across a state or hospital system.

Input

FieldKeyWhat it doesDefault
Billing codescodesCPT, HCPCS, MS-DRG, NDC and others, for example 27447required
HospitalshospitalsWebsites or domains, cms-hpt.txt links, price-file links or parts of namesnone
StatesstatesTwo-letter codes; picks hospitals from the bundled directorynone
PayerspayersParts of insurer namesall
Maximum price filesmaxFiles1-200 files per run5
Maximum rows per filemaxRowsPerFileScanning stops early when reached1,000

Two insurers' rates for a brain MRI and an office visit at one hospital

jsonInput
{
  "codes": ["70553", "99213"],
  "hospitals": ["www.childrensmercy.org"],
  "payers": ["Aetna", "Cigna"]
}

Example input from the actor's README.

Knee replacement prices at Ohio hospitals

jsonInput
{
  "codes": ["27447", "470"],
  "states": ["OH"],
  "maxFiles": 10
}

Output

One record per item in the run's dataset, exportable as JSON, CSV or Excel.

jsonExample record
{
  "status": "ok",
  "hospital_name": "EXAMPLE GENERAL HOSPITAL",
  "location_name": "Example General",
  "hospital_address": "100 Example Street, Exampleville, OH 00000",
  "state": "OH",
  "last_updated_on": "2026-06-15",
  "cms_version": "3.0.0",
  "mrf_url": "https://hospital.example/standardcharges.csv",
  "description": "Example: knee replacement",
  "code": "27447",
  "code_type": "CPT",
  "other_codes": [],
  "setting": "Outpatient",
  "billing_class": "Facility",
  "gross_charge": 42800.0,
  "discounted_cash": 21400.0,
  "deidentified_min": 12100.5,
  "deidentified_max": 31900.0,
  "payer_name": "EXAMPLE HEALTH PLAN",
  "plan_name": "PPO",
  "negotiated_dollar": 18250.0,
  "negotiated_percentage": null,
  "negotiated_algorithm": null,
  "methodology": "Fee Schedule",
  "median_amount": null,
  "percentile_10th": null,
  "percentile_90th": null,
  "count": null
}
FieldWhat it means
negotiated_dollar / _percentage / _algorithmHospitals publish a rate as a dollar amount, a percentage of charges or a formula; the other two are then null.
deidentified_min / _maxThe lowest and highest rate the hospital negotiated with any payer.
median_amount, percentile_10th/90th, countThe 2026 CMS allowed-amount statistics; count stays text because CMS allows 1 through 10.
statusno_match (charged as a file), not_found, blocked, unsupported and error (all free).

Use it from your code, agent or workflow

Every example runs the same input. Get your API token in Apify Console under Settings, API & Integrations, and keep it in the APIFY_TOKEN environment variable.

curl

bashSynchronous run (token in APIFY_TOKEN)
curl -sS --max-time 310 -X POST \
  "https://api.apify.com/v2/acts/UOauyR6iKMKP6ZCa2/run-sync-get-dataset-items?maxTotalChargeUsd=0.10" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"codes": ["70553", "99213"], "hospitals": ["www.childrensmercy.org"], "payers": ["Aetna", "Cigna"]}'

Python

pythonapify-client 3.x
# pip install apify-client
import os
from decimal import Decimal

from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("UOauyR6iKMKP6ZCa2").call(
    run_input={
        "codes": ["70553", "99213"],
        "hospitals": ["www.childrensmercy.org"],
        "payers": ["Aetna", "Cigna"],
    },
    max_total_charge_usd=Decimal("0.10"),  # spend cap for this run
)
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item.get("payer_name"), item.get("plan_name"), item.get("negotiated_dollar"))

JavaScript

javascriptapify-client 2.x, Node 18+
// npm install apify-client
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('UOauyR6iKMKP6ZCa2').call(
  {
    codes: ['70553', '99213'],
    hospitals: ['www.childrensmercy.org'],
    payers: ['Aetna', 'Cigna'],
  },
  { maxTotalChargeUsd: 0.1 }, // spend cap for this run
);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
for (const item of items) console.log(item.payer_name, item.plan_name, item.negotiated_dollar);

AI agents (MCP)

jsonMCP client configuration
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com?tools=cozybit/hospital-price-transparency"
    }
  }
}

Works in any MCP client that accepts a remote server URL (Apify's MCP docs). Clients with OAuth sign you in to Apify on first use; others send "headers": {"Authorization": "Bearer <APIFY_TOKEN>"}. The tool is called cozybit--hospital-price-transparency. Try a prompt such as: What do hospitals in Ohio charge Aetna for a total knee replacement (CPT 27447)? Show the cash price too. More in AI agents and MCP.

n8n, Make, Zapier

Apify has its own apps for the main automation platforms. Point them at this actor's ID UOauyR6iKMKP6ZCa2 and paste the input JSON.

  • n8n: the Apify node, operation Run an Actor and get dataset.
  • Make: the Apify module Run an Actor, then Get Dataset Items.
  • Zapier: the Apify action Run Actor, or the trigger Finished Actor run for scheduled runs.

Step-by-step setup: n8n, Make and Zapier.

Apify Console

  1. Open the Store page and choose Try for free. Apify asks you to sign in or create a free account.

  2. Paste the input into the JSON tab of the input form, or fill in the fields.

  3. Start the run, then open the dataset and export it as JSON, CSV or Excel. Save the input as a task to schedule it.

  • run-sync-get-dataset-items waits at most 300 seconds, then answers HTTP 408. Keep synchronous calls small and start an asynchronous run for batches (below).
  • maxTotalChargeUsd caps what one run may charge; the run stops cleanly when it is reached.
  • Send the token in the Authorization header, never as ?token= in the URL, where it ends up in logs.
  • The ID UOauyR6iKMKP6ZCa2 never changes; the name cozybit/hospital-price-transparency works too.
Batches and schedules: start a run, wait, read the results
bashAsynchronous run, results as CSV
# 1. Start a run; the answer comes back at once
curl -sS -X POST "https://api.apify.com/v2/acts/UOauyR6iKMKP6ZCa2/runs?maxTotalChargeUsd=1" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d @input.json
# The answer's data.id is RUN_ID and data.defaultDatasetId is DATASET_ID.

# 2. Wait up to 60 s per call until data.status is SUCCEEDED
curl -sS "https://api.apify.com/v2/actor-runs/RUN_ID?waitForFinish=60" \
  -H "Authorization: Bearer $APIFY_TOKEN"

# 3. Read the records as JSON, CSV or Excel (format=json, csv or xlsx)
curl -sS "https://api.apify.com/v2/datasets/DATASET_ID/items?format=csv" \
  -H "Authorization: Bearer $APIFY_TOKEN" -o results.csv

Hospitals update files at least yearly; a monthly schedule keeps a price table current. Schedules live in Apify Console under Schedules; a webhook or the no-code apps can pick up each finished run.

Price

You pay per event, through your Apify account, with platform costs included. The live price is on the Store page: 0.00001 USD per event, a trial price until 31 Dec 2026.

EventWhat countsTrial price until 31 Dec 2026Planned post-trial rate
hospital-fileHospital file scanned (prices found, or no match)0.00001 USD (0.01 USD per 1,000)0.02 USD each
price-rowPrice row delivered0.00001 USD (0.01 USD per 1,000)2.00 USD per 1,000

What each outcome costs

OutcomeWhat it isCharged?
okA price row delivered, plus one hospital-file event per scanned fileCharged
no_matchA file scanned without matching rows, charged as one hospital-fileCharged
not_found, blocked, unsupported, errorFiles that are missing, refused, in an unsupported format or brokenFree

Not charged: Blocked, missing, unsupported and broken files.

Apify's free plan (no card) returns up to 1 price file and 100 price rows per run. You can cap any run's cost with maxTotalChargeUsd.

What typical jobs cost

ExampleCharged eventsAt the trial priceAt the planned rate
One hospital, one procedure, 25 payer plans1 × hospital-file, 25 × price-row0.00026 USD0.07 USD
10 hospitals, knee replacement, 40 rows each10 × hospital-file, 400 × price-row0.0041 USD1.00 USD
Aetna rates for 3 codes at 50 hospitals, about 6 rows each50 × hospital-file, 300 × price-row0.0035 USD1.60 USD

The post-trial rate is planned, not scheduled: the trial may be extended, Apify notifies users before any price increase, and the Store page always shows the price that applies. See how pricing works and the cost estimator.

Reliability

54 / 56random price files scanned

54 of the 56 price files (96%) were scanned and returned 6,204 price rows. The files were picked at random from the directory and scanned in 29 runs on the Apify platform: tall CSV, wide CSV and JSON, plain and zipped, up to 1 GB. One hospital site refused access and one server dropped the connection; neither was charged. The median file took about 20 seconds, and no run used more than 200 MB of memory.

Problems and questions go to the actor's Issues tab on Apify.

Limits

  • Only what hospitals publish; many files leave fields empty, and most had not yet published the 2026 statistics when we checked.
  • Some hospital sites block automated access or have moved; those files return blocked or not_found and are free.
  • The bundled directory covers hospitals whose websites are listed on Wikidata (787 sites); paste other websites directly.
  • Spreadsheet (XLSX) files are not supported. Very large files (several GB) take minutes.

Questions

Which codes work?

Any code the hospital lists: CPT, HCPCS, MS-DRG, APR-DRG, NDC, revenue codes and others.

Is this data allowed to be used?

Hospitals must publish these files for the public under the CMS Hospital Price Transparency rule (45 CFR 180). The actor reads only those public files.

Can I get every price in a file?

List the codes you need and raise maxRowsPerFile. The actor is built to look up codes and payers, so it does not copy whole files.

GuideHow to find and read a US hospital's price transparency file

UK Gambling Licence Register

Registers and public files

Is this website licensed in Great Britain, by whom, since when?

  • Official files or APIs
  • Change alerts

per check, operator or change

Peppol Directory Lookup

Registers and public files

Who can receive Peppol e-invoices, through which provider, and who joined today.

  • Official files or APIs
  • Change alerts

per lookup, participant or change

Try US Hospital Price Transparency on the free Apify plan

No card needed. Errors are never charged, and every run can carry a spend cap.