Medicare cost report API
CMS HCRIS cost reports for skilled nursing facilities, home health agencies and hospices: cost per day or visit, Medicaid share, occupancy and margins, with every figure traced to its worksheet line, and the Medicaid rate for the same unit.
- States
- 51
- Endpoints
- 6
- Samples here
- 3
Medicare cost report API endpoints
| Endpoint | Returns | Reference |
|---|---|---|
GET /v1/cost-reports | Medicare cost reports (CMS HCRIS): what is loaded | API reference |
GET /v1/cost-reports/metrics | Every cost-report figure with its worksheet, line, column and form | API reference |
GET /v1/cost-reports/{type} | One provider type: 51 states' medians plus national | API reference |
GET /v1/cost-reports/{type}/{state} | One provider type in one state: medians by fiscal year and the Medicaid comparison | API reference |
GET /v1/cost-reports/facility/{ccn} | One facility's cost reports | API reference |
GET /v1/cost-reports/search | Find a facility's cost reports by name, city or CMS CCN | API reference |
Medicare cost report API sample requests and responses
Real responses from the current data (state examples use Virginia and Ohio).
/v1/cost-reports200 OK · 6.2 KBcurl -H "X-API-Key: $MEDICAIDRATE_KEY" \ "https://medicaidrate.com/v1/cost-reports"
{
"types": [
{
"type": "snf",
"label": "Skilled nursing facility",
"unit": "day",
"headline_fiscal_year": 2025,
"fiscal_years": [
{
"fiscal_year": 2022,
"facilities": 13105
},
{
"fiscal_year": 2023,
"facilities": 12887
}
],
"forms": [
"Form CMS-2540-10 (skilled nursing facility)",
"Form CMS-2540-24 (skilled nursing facility)"
],
"metrics": [
"cost_per_day",
"routine_cost_per_day"
]
},
{
"type": "hha",
"label": "Home health agency",
"unit": "visit",
"headline_fiscal_year": 2025,
"fiscal_years": [
{
"fiscal_year": 2022,
"facilities": 7126
},
{
"fiscal_year": 2023,
"facilities": 7224
}
],
"forms": [
"Form CMS-1728-20 (home health agency)"
],
"metrics": [
"cost_per_visit",
"cost_per_visit_rn"
]
}
],
"source": {
"publisher": "Centers for Medicare & Medicaid Services (CMS), Healthcare Cost Report Information System (HCRIS)",
"page_url": "https://www.cms.gov/data-research/statistics-trends-and-reports/cost-reports/cost-reports-fiscal-year",
"forms": [
"Form CMS-2540-10 (skilled nursing facility)",
"Form CMS-2540-24 (skilled nursing facility)"
],
"instructions": [
"CMS Pub. 15-2, chapter 41",
"CMS Pub. 15-2, chapter 49"
],
"instructions_url": "https://www.cms.gov/regulations-and-guidance/guidance/manuals/paper-based-manuals-items/cms021935",
"files": [
{
"file": "HHA20FY2022.ZIP",
"fiscal_year": 2022,
"url": "https://downloads.cms.gov/FILES/HCRIS/HHA20FY2022.ZIP",
"sha256": "4e59da3d3a00e46fef4371d2c150ee02e094f7b3fdb310cf00f88729d76d5547"
},
{
"file": "HHA20FY2023.ZIP",
"fiscal_year": 2023,
"url": "https://downloads.cms.gov/FILES/HCRIS/HHA20FY2023.ZIP",
"sha256": "53c79fa019c99e5d304068364ec65415fd0ebfbd09547641abf397fe57ef71d8"
}
],
"cms_updated": "2026-10-05",
"retrieved_at": "2026-11-14"
},
"rule": {
"full_year_days": 360,
"min_n": 5,
"outlier_factor": 10,
"line": "One report per facility and fiscal year (the longest period) covering at least 360 days; per-unit figures more than 10 times above or below the median of the others are left out; margins below -100% are left out."
}
}Shortened for this page: types: first 2 of 4; types.fiscal_years: first 2 of 4; types.metrics: first 2 of 13; source.forms: first 2 of 5. The API returns the full response.
/v1/cost-reports/snf200 OK · 16.8 KBcurl -H "X-API-Key: $MEDICAIDRATE_KEY" \ "https://medicaidrate.com/v1/cost-reports/snf"
{
"type": "snf",
"type_label": "Skilled nursing facility",
"unit": "day",
"head_metric": "cost_per_day",
"fiscal_year": 2025,
"fiscal_years": [
2022,
2023
],
"national": {
"cost_per_day": {
"key": "cost_per_day",
"label": "Cost per resident day",
"kind": "per",
"formula": "(routine cost + ancillary cost after allocation) / inpatient days",
"n": 11105,
"median": 343.29,
"p25": 295.32,
"p75": 416.83,
"excluded": [
{
"reason": "more than 10 times the median of the other reports",
"n": 19
}
]
},
"routine_cost_per_day": {
"key": "routine_cost_per_day",
"label": "Routine cost per resident day",
"kind": "per",
"formula": "routine cost after allocation / inpatient days",
"n": 11105,
"median": 302.72,
"p25": 262.03,
"p75": 364.66,
"excluded": [
{
"reason": "more than 10 times the median of the other reports",
"n": 19
}
]
},
"occupancy": {
"key": "occupancy",
"label": "Occupancy",
"kind": "share",
"formula": "inpatient days / bed days available",
"n": 10671,
"median": 84.7,
"p25": 71.7,
"p75": 91.7,
"excluded": [
{
"reason": "a share above 100% (days filed above bed days available)",
"n": 104
}
]
},
"medicaid_share": {
"key": "medicaid_share",
"label": "Medicaid share of days",
"kind": "share",
"formula": "Medicaid days / inpatient days",
"n": 10560,
"median": 67.3,
"p25": 54.98,
"p75": 77.5,
"excluded": []
},
"medicare_share": {
"key": "medicare_share",
"label": "Medicare share of days",
"kind": "share",
"formula": "Medicare days / inpatient days",
"n": 11105,
"median": 12.5,
"p25": 7.3,
"p75": 21.5,
"excluded": []
},
"operating_margin": {
"key": "operating_margin",
"label": "Operating margin",
"kind": "margin",
"formula": "(net patient revenue - total operating expenses) / net patient revenue",
"n": 10751,
"median": 1.6,
"p25": -5.9,
"p75": 7.8,
"excluded": [
{
"reason": "operating expenses more than twice revenue (margin below -100%)",
"n": 366
}
]
},
"total_margin": {
"key": "total_margin",
"label": "Total margin",
"kind": "share",
"formula": "net income / (net patient revenue + total other income)",
"n": 11088,
"median": 4.1,
"p25": -1.8,
"p75": 9.9,
"excluded": [
{
"reason": "operating expenses more than twice revenue (margin below -100%)",
"n": 17
}
]
},
"wage_related_pct": {
"key": "wage_related_pct",
"label": "Wage-related costs as a share of salaries",
"kind": "share",
"formula": "wage-related costs / salaries",
"n": 10952,
"median": 14.6,
"p25": 12.4,
"p75": 17.5,
"excluded": [
{
"reason": "a share above 100% (days filed above bed days available)",
"n": 3
}
]
}
},
"items": [
{
"state": "AL",
"state_name": "Alabama",
"reports": 66,
"facilities": 58,
"cost_per_day": 316.64,
"routine_cost_per_day": 277.38,
"occupancy": 85.15,
"medicaid_share": 62.1,
"medicare_share": 14.1,
"operating_margin": 1,
"total_margin": 3.65,
"wage_related_pct": 13.4
},
{
"state": "AK",
"state_name": "Alaska",
"reports": 8,
"facilities": 4,
"cost_per_day": null,
"routine_cost_per_day": null,
"occupancy": null,
"medicaid_share": null,
"medicare_share": null,
"operating_margin": null,
"total_margin": null,
"wage_related_pct": null
}
],
"metric_labels": {
"cost_per_day": "Cost per resident day",
"routine_cost_per_day": "Routine cost per resident day",
"occupancy": "Occupancy",
"medicaid_share": "Medicaid share of days",
"medicare_share": "Medicare share of days",
"operating_margin": "Operating margin",
"total_margin": "Total margin",
"wage_related_pct": "Wage-related costs as a share of salaries"
},
"source": {
"publisher": "Centers for Medicare & Medicaid Services (CMS), Healthcare Cost Report Information System (HCRIS)",
"page_url": "https://www.cms.gov/data-research/statistics-trends-and-reports/cost-reports/cost-reports-fiscal-year",
"forms": [
"Form CMS-2540-10 (skilled nursing facility)",
"Form CMS-2540-24 (skilled nursing facility)"
],
"instructions": [
"CMS Pub. 15-2, chapter 41",
"CMS Pub. 15-2, chapter 49"
],
"instructions_url": "https://www.cms.gov/regulations-and-guidance/guidance/manuals/paper-based-manuals-items/cms021935",
"files": [
{
"file": "SNF10FY2022.ZIP",
"fiscal_year": 2022,
"url": "https://downloads.cms.gov/FILES/HCRIS/SNF10FY2022.ZIP",
"sha256": "081b0edff619416cb65985f96843351f6ecdafa22e86dd5c9b20b5e2d8fb63a8"
},
{
"file": "SNF10FY2023.ZIP",
"fiscal_year": 2023,
"url": "https://downloads.cms.gov/FILES/HCRIS/SNF10FY2023.ZIP",
"sha256": "e0fbd5978c3366631c2903347aa6b84d3ee901f1f7f44e4c984aca1edab66838"
}
],
"cms_updated": "2026-10-05",
"retrieved_at": "2026-11-14"
},
"rule": "Medians over one full-year report per facility (at least 360 days, the longest period filed for the fiscal year), at least 5 reports; per-unit figures more than 10 times above or below the median are left out; margins below -100% are left out."
}Shortened for this page: fiscal_years: first 2 of 4; items: first 2 of 51; source.files: first 2 of 5. The API returns the full response.
/v1/cost-reports/snf/OH?facilities=false200 OK · 49.9 KBcurl -H "X-API-Key: $MEDICAIDRATE_KEY" \ "https://medicaidrate.com/v1/cost-reports/snf/OH?facilities=false"
{
"state": "OH",
"state_name": "Ohio",
"type": "snf",
"type_label": "Skilled nursing facility",
"unit": "day",
"head_metric": "cost_per_day",
"headline_fiscal_year": 2025,
"headline": {
"fiscal_year": 2025,
"reports": 882,
"full_year": 823,
"metrics": {
"cost_per_day": {
"key": "cost_per_day",
"label": "Cost per resident day",
"kind": "per",
"formula": "(routine cost + ancillary cost after allocation) / inpatient days",
"n": 822,
"median": 322.73,
"p25": 293.74,
"p75": 361.5,
"excluded": [
{
"reason": "more than 10 times the median of the other reports",
"n": 1
}
]
},
"routine_cost_per_day": {
"key": "routine_cost_per_day",
"label": "Routine cost per resident day",
"kind": "per",
"formula": "routine cost after allocation / inpatient days",
"n": 822,
"median": 285.73,
"p25": 264.4,
"p75": 317.55,
"excluded": [
{
"reason": "more than 10 times the median of the other reports",
"n": 1
}
]
},
"occupancy": {
"key": "occupancy",
"label": "Occupancy",
"kind": "share",
"formula": "inpatient days / bed days available",
"n": 817,
"median": 86.5,
"p25": 77.8,
"p75": 91.4,
"excluded": [
{
"reason": "a share above 100% (days filed above bed days available)",
"n": 4
}
]
},
"medicaid_share": {
"key": "medicaid_share",
"label": "Medicaid share of days",
"kind": "share",
"formula": "Medicaid days / inpatient days",
"n": 814,
"median": 66.1,
"p25": 54.23,
"p75": 76.78,
"excluded": []
},
"medicare_share": {
"key": "medicare_share",
"label": "Medicare share of days",
"kind": "share",
"formula": "Medicare days / inpatient days",
"n": 821,
"median": 10.7,
"p25": 5.9,
"p75": 16.7,
"excluded": []
},
"operating_margin": {
"key": "operating_margin",
"label": "Operating margin",
"kind": "margin",
"formula": "(net patient revenue - total operating expenses) / net patient revenue",
"n": 818,
"median": -0.5,
"p25": -9.1,
"p75": 5.8,
"excluded": [
{
"reason": "operating expenses more than twice revenue (margin below -100%)",
"n": 5
}
]
},
"total_margin": {
"key": "total_margin",
"label": "Total margin",
"kind": "share",
"formula": "net income / (net patient revenue + total other income)",
"n": 820,
"median": 2,
"p25": -6,
"p75": 7.4,
"excluded": [
{
"reason": "operating expenses more than twice revenue (margin below -100%)",
"n": 3
}
]
},
"wage_related_pct": {
"key": "wage_related_pct",
"label": "Wage-related costs as a share of salaries",
"kind": "share",
"formula": "wage-related costs / salaries",
"n": 811,
"median": 15.3,
"p25": 12.9,
"p75": 18.8,
"excluded": []
}
}
},
"line": "Fiscal year 2025 cost reports, 822 skilled nursing facilities, one full-year report each",
"source": {
"publisher": "Centers for Medicare & Medicaid Services (CMS), Healthcare Cost Report Information System (HCRIS)",
"page_url": "https://www.cms.gov/data-research/statistics-trends-and-reports/cost-reports/cost-reports-fiscal-year",
"forms": [
"Form CMS-2540-10 (skilled nursing facility)",
"Form CMS-2540-24 (skilled nursing facility)"
],
"instructions": [
"CMS Pub. 15-2, chapter 41",
"CMS Pub. 15-2, chapter 49"
],
"instructions_url": "https://www.cms.gov/regulations-and-guidance/guidance/manuals/paper-based-manuals-items/cms021935",
"files": [
{
"file": "SNF10FY2022.ZIP",
"fiscal_year": 2022,
"url": "https://downloads.cms.gov/FILES/HCRIS/SNF10FY2022.ZIP",
"sha256": "081b0edff619416cb65985f96843351f6ecdafa22e86dd5c9b20b5e2d8fb63a8"
},
{
"file": "SNF10FY2023.ZIP",
"fiscal_year": 2023,
"url": "https://downloads.cms.gov/FILES/HCRIS/SNF10FY2023.ZIP",
"sha256": "e0fbd5978c3366631c2903347aa6b84d3ee901f1f7f44e4c984aca1edab66838"
}
],
"cms_updated": "2026-10-05",
"retrieved_at": "2026-11-14"
}
}Shortened for this page: source.files: first 2 of 5; fields not shown here: by_year, facilities_total, medicaid, medicaid_pairs. The API returns the full response.
How teams use the cost report API
The same data feeds the public pages linked below and the MedicaidRate workspace. Billing, RCM and analytics platforms call the API to price claims and track rate changes; investors and consultants pull every state at once. Every value carries its official source and retrieval date, and rates are effective-dated, so a past date returns the rate in force then (effective dates).
Medicaid API overview · Virginia Medicaid API · Ohio Medicaid API · Fee schedule download · Pricing
Medicare cost report API FAQ
Is there a cost report API?
Yes. CMS HCRIS cost reports for skilled nursing facilities, home health agencies and hospices: cost per day or visit, Medicaid share, occupancy and margins, with every figure traced to its worksheet line, and the Medicaid rate for the same unit. It is part of the MedicaidRate REST API, authenticated with an X-API-Key header.
Which endpoints does the cost report API have?
GET /v1/cost-reports (medicare cost reports (cms hcris): what is loaded); GET /v1/cost-reports/metrics (every cost-report figure with its worksheet, line, column and form); GET /v1/cost-reports/{type} (one provider type: 51 states' medians plus national); GET /v1/cost-reports/{type}/{state} (one provider type in one state: medians by fiscal year and the medicaid comparison); GET /v1/cost-reports/facility/{ccn} (one facility's cost reports); GET /v1/cost-reports/search (find a facility's cost reports by name, city or cms ccn).
Are the samples on this page real?
Yes. Each is a real response from the current data (Nov 22, 2026), shortened only where a list is long; the API returns the full response.
What does API access cost?
The API plan is $2,000/ month, every state and every data family, unlimited requests.