{"api":{"id":"api_40141e1624d3462809563cfd","slug":"medicare-hospital-drg-payments","name":"Medicare Hospital DRG Volumes & Payments","description":"Medicare inpatient volumes and payments for each U.S. hospital and diagnosis-related group (DRG): discharges, average billed charges, average total and Medicare payments, with the hospital's CMS number, address and rural-urban class. Filter by state, DRG, city or hospital name.","kind":"ready_made","visibility":"public","domain":"data.cms.gov","source_url":"https://data.cms.gov/provider-summary-by-type-of-service/medicare-inpatient-hospitals/medicare-inpatient-hospitals-by-provider-and-service","category":"health","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":17,"created_at":"2026-12-06T03:33:09.228Z","updated_at":"2026-12-06T03:33:09.228Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"ccn","type":"string","description":"The hospital's six-digit CMS Certification Number (CCN), the key that joins other CMS hospital data.","required":true,"coverage":1,"example":"440002"},{"name":"hospital_name","type":"string","description":"The hospital's name as CMS lists it.","required":false,"coverage":1,"example":"Jackson-Madison County General Hospital"},{"name":"street","type":"string","description":"Street address of the hospital.","required":false,"coverage":1,"example":"620 Skyline Drive"},{"name":"city","type":"string","description":"City of the hospital.","required":false,"coverage":1,"example":"Jackson"},{"name":"state","type":"string","description":"Two-letter state code of the hospital.","required":false,"coverage":1,"example":"TN"},{"name":"zip","type":"string","description":"Five-digit ZIP code of the hospital.","required":false,"coverage":1,"example":"38301"},{"name":"ruca_code","type":"string","description":"Rural-Urban Commuting Area code of the hospital's ZIP code, from 1 (metropolitan core) to 10 (rural); decimals such as 1.1 mark a secondary commuting flow and 99 means unknown.","required":false,"coverage":1,"example":"1"},{"name":"ruca_description","type":"string","description":"What the rural-urban code means, in words.","required":false,"coverage":1,"example":"Metropolitan area core: primary flow within an urbanized area of 50,000 and greater"},{"name":"drg_code","type":"string","description":"The Medicare Severity diagnosis-related group (MS-DRG) number, three digits such as 470.","required":true,"coverage":1,"example":"470"},{"name":"drg_description","type":"string","description":"What the DRG covers, as CMS names it.","required":false,"coverage":1,"example":"MAJOR HIP AND KNEE JOINT REPLACEMENT OR REATTACHMENT OF LOWER EXTREMITY WITHOUT MCC"},{"name":"discharges","type":"integer","description":"Number of Medicare inpatient discharges at this hospital for this DRG in the year.","required":false,"coverage":1,"example":11},{"name":"avg_covered_charges","type":"money","description":"Average amount the hospital billed Medicare per discharge for covered services (its list charges).","required":false,"coverage":1,"example":102834.55},{"name":"avg_total_payments","type":"money","description":"Average total payment per discharge: Medicare's payment plus patient deductibles, co-payments and payments by other insurers.","required":false,"coverage":1,"example":15453.36},{"name":"avg_medicare_payments","type":"money","description":"Average amount Medicare itself paid per discharge, including teaching, disproportionate-share, capital and outlier payments.","required":false,"coverage":1,"example":13736.82},{"name":"currency","type":"string","description":"Currency of the money figures: USD.","required":false,"coverage":1,"example":"USD"},{"name":"data_year","type":"integer","description":"Calendar year the discharges and payments are from.","required":false,"coverage":1,"example":2024},{"name":"url","type":"url","description":"Link to this row in CMS's data API, as JSON.","required":false,"coverage":1,"example":"https://data.cms.gov/data-api/v1/dataset/690ddc6c-2767-4618-b277-420ffb2bf27c/data?filter%5BRndrng_Prvdr_CCN%5D=440002&f…"}],"inputs":[{"name":"state","type":"string","description":"Only hospitals in this U.S. state, as a two-letter code such as TN.","example":"TN"},{"name":"drg_code","type":"string","description":"Only this diagnosis-related group (MS-DRG) number, such as 470 for major hip and knee joint replacement.","example":"470"},{"name":"drg_words","type":"string","description":"Words that must all appear in the DRG description, such as knee replacement or sepsis.","example":"knee"},{"name":"hospital","type":"string","description":"Words that must all appear in the hospital name, such as Vanderbilt.","example":"Vanderbilt"},{"name":"ccn","type":"string","description":"Only this hospital, by its six-digit CMS Certification Number (CCN), such as 440039.","example":"440039"},{"name":"city","type":"string","description":"Only hospitals in this city, such as Nashville.","example":"Nashville"},{"name":"sort","type":"string","description":"Order of the rows: by hospital CMS number (the default), most discharges first, highest average total payment, highest average Medicare payment or highest average charges first.","default":"hospital","enum":["hospital","most_discharges","highest_total_payment","highest_medicare_payment","highest_charges"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"avg_covered_charges":{"description":"Average amount the hospital billed Medicare per discharge for covered services (its list charges).","type":"number"},"avg_medicare_payments":{"description":"Average amount Medicare itself paid per discharge, including teaching, disproportionate-share, capital and outlier payments.","type":"number"},"avg_total_payments":{"description":"Average total payment per discharge: Medicare's payment plus patient deductibles, co-payments and payments by other insurers.","type":"number"},"ccn":{"description":"The hospital's six-digit CMS Certification Number (CCN), the key that joins other CMS hospital data.","type":"string"},"city":{"description":"City of the hospital.","type":"string"},"currency":{"description":"Currency of the money figures: USD.","type":"string"},"data_year":{"description":"Calendar year the discharges and payments are from.","type":"integer"},"discharges":{"description":"Number of Medicare inpatient discharges at this hospital for this DRG in the year.","type":"integer"},"drg_code":{"description":"The Medicare Severity diagnosis-related group (MS-DRG) number, three digits such as 470.","type":"string"},"drg_description":{"description":"What the DRG covers, as CMS names it.","type":"string"},"hospital_name":{"description":"The hospital's name as CMS lists it.","type":"string"},"ruca_code":{"description":"Rural-Urban Commuting Area code of the hospital's ZIP code, from 1 (metropolitan core) to 10 (rural); decimals such as 1.1 mark a secondary commuting flow and 99 means unknown.","type":"string"},"ruca_description":{"description":"What the rural-urban code means, in words.","type":"string"},"state":{"description":"Two-letter state code of the hospital.","type":"string"},"street":{"description":"Street address of the hospital.","type":"string"},"url":{"description":"Link to this row in CMS's data API, as JSON.","format":"uri","type":"string"},"zip":{"description":"Five-digit ZIP code of the hospital.","type":"string"}},"required":["ccn","drg_code"],"title":"Medicare Hospital DRG Volumes & Payments","type":"object"},"samples":[{"ccn":"440002","hospital_name":"Jackson-Madison County General Hospital","street":"620 Skyline Drive","city":"Jackson","state":"TN","zip":"38301","ruca_code":"1","ruca_description":"Metropolitan area core: primary flow within an urbanized area of 50,000 and greater","drg_code":"470","drg_description":"MAJOR HIP AND KNEE JOINT REPLACEMENT OR REATTACHMENT OF LOWER EXTREMITY WITHOUT MCC","discharges":11,"avg_covered_charges":102834.55,"avg_total_payments":15453.36,"avg_medicare_payments":13736.82,"currency":"USD","data_year":2024,"url":"https://data.cms.gov/data-api/v1/dataset/690ddc6c-2767-4618-b277-420ffb2bf27c/data?filter%5BRndrng_Prvdr_CCN%5D=440002&filter%5BDRG_Cd%5D=470"},{"ccn":"440009","hospital_name":"Cumberland Medical Center","street":"421 S Main St","city":"Crossville","state":"TN","zip":"38555","ruca_code":"4","ruca_description":"Micropolitan area core: primary flow within an urban cluster of 10,000 to 49,999","drg_code":"470","drg_description":"MAJOR HIP AND KNEE JOINT REPLACEMENT OR REATTACHMENT OF LOWER EXTREMITY WITHOUT MCC","discharges":32,"avg_covered_charges":36075.06,"avg_total_payments":13385.72,"avg_medicare_payments":11753.72,"currency":"USD","data_year":2024,"url":"https://data.cms.gov/data-api/v1/dataset/690ddc6c-2767-4618-b277-420ffb2bf27c/data?filter%5BRndrng_Prvdr_CCN%5D=440009&filter%5BDRG_Cd%5D=470"},{"ccn":"440011","hospital_name":"Blount Memorial Hospital","street":"907 E Lamar Alexander Parkway","city":"Maryville","state":"TN","zip":"37804","ruca_code":"1","ruca_description":"Metropolitan area core: primary flow within an urbanized area of 50,000 and greater","drg_code":"470","drg_description":"MAJOR HIP AND KNEE JOINT REPLACEMENT OR REATTACHMENT OF LOWER EXTREMITY WITHOUT MCC","discharges":14,"avg_covered_charges":62559.71,"avg_total_payments":13316.29,"avg_medicare_payments":12114.79,"currency":"USD","data_year":2024,"url":"https://data.cms.gov/data-api/v1/dataset/690ddc6c-2767-4618-b277-420ffb2bf27c/data?filter%5BRndrng_Prvdr_CCN%5D=440011&filter%5BDRG_Cd%5D=470"}],"validation":{"checked_at":"2026-12-06T03:33:09.177Z","field_coverage":{"avg_covered_charges":1,"avg_medicare_payments":1,"avg_total_payments":1,"ccn":1,"city":1,"currency":1,"data_year":1,"discharges":1,"drg_code":1,"drg_description":1,"hospital_name":1,"ruca_code":1,"ruca_description":1,"state":1,"street":1,"url":1,"zip":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_40141e1624d3462809563cfd/run","openapi":"https://pullrow.dev/v1/apis/api_40141e1624d3462809563cfd/openapi.json","contract":"https://pullrow.dev/v1/apis/api_40141e1624d3462809563cfd/contract.json","page":"https://pullrow.dev/catalog/medicare-hospital-drg-payments"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Figures are for the latest year CMS has published in its Medicare Inpatient Hospitals by Provider and Service data (calendar 2024 as of December 2026). CMS adds a year about once a year; data_year names the year of each row.","Covers Original Medicare (fee-for-service) inpatient stays at hospitals paid under Medicare's inpatient prospective payment system. Medicare Advantage, other payers and hospitals outside that system, such as critical access hospitals, are not included.","CMS leaves out every hospital and DRG pair with fewer than 11 discharges, so small hospitals and rare DRGs are often missing.","Covered charges are what the hospital billed, not what it was paid. All money figures are averages per discharge in U.S. dollars, rounded to cents.","DRG descriptions are as CMS publishes them and are cut at about 90 characters.","At most 10,000 rows per run. Narrow by state, DRG, city or hospital for larger pulls.","CMS data is public domain. CMS does not endorse this API."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"ccn","label":"Ccn","description":"The hospital's six-digit CMS Certification Number (CCN), the key that joins other CMS hospital data.","group":"Basics","shown":true,"written":false},{"name":"hospital_name","label":"Hospital name","description":"The hospital's name as CMS lists it.","group":"Basics","shown":true,"written":false},{"name":"street","label":"Street","description":"Street address of the hospital.","group":"Location","shown":true,"written":false},{"name":"city","label":"City","description":"City of the hospital.","group":"Location","shown":true,"written":false},{"name":"state","label":"State","description":"Two-letter state code of the hospital.","group":"Location","shown":true,"written":false},{"name":"zip","label":"Zip","description":"Five-digit ZIP code of the hospital.","group":"Location","shown":true,"written":false},{"name":"ruca_code","label":"Ruca code","description":"Rural-Urban Commuting Area code of the hospital's ZIP code, from 1 (metropolitan core) to 10 (rural); decimals such as 1.1 mark a secondary commuting flow and 99 means unknown.","group":"Basics","shown":true,"written":false},{"name":"ruca_description","label":"Ruca description","description":"What the rural-urban code means, in words.","group":"Basics","shown":true,"written":false},{"name":"drg_code","label":"Drg code","description":"The Medicare Severity diagnosis-related group (MS-DRG) number, three digits such as 470.","group":"Basics","shown":true,"written":false},{"name":"drg_description","label":"Drg description","description":"What the DRG covers, as CMS names it.","group":"Basics","shown":true,"written":false},{"name":"discharges","label":"Discharges","description":"Number of Medicare inpatient discharges at this hospital for this DRG in the year.","group":"Basics","shown":true,"written":false},{"name":"avg_covered_charges","label":"Average covered charges","description":"Average amount the hospital billed Medicare per discharge for covered services (its list charges).","group":"Pay","shown":true,"written":false},{"name":"avg_total_payments","label":"Average total payments","description":"Average total payment per discharge: Medicare's payment plus patient deductibles, co-payments and payments by other insurers.","group":"Pay","shown":true,"written":false},{"name":"avg_medicare_payments","label":"Average medicare payments","description":"Average amount Medicare itself paid per discharge, including teaching, disproportionate-share, capital and outlier payments.","group":"Pay","shown":true,"written":false},{"name":"currency","label":"Currency","description":"Currency of the money figures: USD.","group":"Pay","shown":true,"written":false},{"name":"data_year","label":"Data year","description":"Calendar year the discharges and payments are from.","group":"Dates","shown":true,"written":false},{"name":"url","label":"Link","description":"Link to this row in CMS's data API, as JSON.","group":"Links","shown":true,"written":false}],"inputs":[{"name":"state","label":"State","help":"Only hospitals in this U.S. state, as a two-letter code such as TN.","example":"TN","written":false},{"name":"drg_code","label":"Drg code","help":"Only this diagnosis-related group (MS-DRG) number, such as 470 for major hip and knee joint replacement.","example":"470","written":false},{"name":"drg_words","label":"Drg words","help":"Words that must all appear in the DRG description, such as knee replacement or sepsis.","example":"knee","written":false},{"name":"hospital","label":"Hospital","help":"Words that must all appear in the hospital name, such as Vanderbilt.","example":"Vanderbilt","written":false},{"name":"ccn","label":"Ccn","help":"Only this hospital, by its six-digit CMS Certification Number (CCN), such as 440039.","example":"440039","written":false},{"name":"city","label":"City","help":"Only hospitals in this city, such as Nashville.","example":"Nashville","written":false},{"name":"sort","label":"Sort","help":"Order of the rows: by hospital CMS number (the default), most discharges first, highest average total payment, highest average Medicare payment or highest average charges first.","example":"","written":false}]}},"incidents":[]}