Pushbuild

Hospital Prices API - Medicare Charges vs Payments by DRG

What US hospitals bill vs what Medicare pays, from CMS: per hospital and DRG (inpatient) or APC (outpatient), with discharges, average charge, average payment and charge-to-payment ratio. Filter by state, city, ZIP, hospital, code or service.

$0.08 per 1,000 rows

Get an API key

What it returns

What US hospitals bill vs what Medicare pays, from CMS: per hospital and DRG (inpatient) or APC (outpatient), with discharges, average charge, average payment and charge-to-payment ratio. Filter by state, city, ZIP, hospital, code or service.

Request

POST https://api.pushbuild.com/medicare-hospital-prices/run with a JSON body. Send your key in the X-API-Key header.

FieldTypeDescription
settingstring: inpatient, outpatientinpatient = hospital stays by DRG; outpatient = hospital outpatient services by APC. Default: "inpatient".
statestringTwo-letter state code, e.g. TX.
citystringHospital city, exact name, e.g. Boston.
zipstringFive-digit hospital ZIP code.
hospitalstringText in the hospital name, e.g. Mayo.
ccnstringSix-character hospital CCN, e.g. 220071.
codestringMS-DRG code for inpatient (e.g. 470 hip/knee replacement) or APC code for outpatient (e.g. 5072).
servicestringText in the DRG or APC description, e.g. sepsis, knee, biopsy.
sortBystring: , avgCharge, avgMedicarePayment, chargeToPaymentRatioSort results, highest first (set ascending for lowest first). Default: "".
ascendingbooleanSort lowest first. Default: false.
maxItemsintegerMaximum items to return (1-500). Default: 100.

Example

curl -X POST https://api.pushbuild.com/medicare-hospital-prices/run \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"maxItems": 20}'

Response

{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}

Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.

Pricing

Pay only for results returned: $0.08 per 1,000 rows. No charge for errors or empty searches.

Tell us what you need built.

Questions about this API, higher volumes, or a data source you need that we don't cover yet.

hello@pushbuild.com

(617) 299-8887

Tell us about your project

A few questions so we can come back with a written scope. We reply within one business day.