health

CMS Care Compare hospital quality ratings - the data behind...

CMS Care Compare hospital quality ratings — the data behind medicare.gov hospital ratings, for all ~5,300 Medicare-certified US hospitals. Look up by facilityId (CMS certification number), or filter by state, city, and name (partial match). Each row: facility id/name/address/phone, hospital type + ownership, emergency services, overall star rating (1-5), and per-domain measure summaries (mortality, safety of care, readmission, patient experience, timeliness, effectiveness) showing whether the hospital performs better/same/worse than the national average. Rows returned with CMS's documented column names. Public-domain federal data.

get/api/health/hospital-quality

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/health/hospital-quality
  • Auth: API key in header PAYMENT-SIGNATURE

Query parameters

facilityIdstring

Facility ID.

statestring

US state — two-letter postal abbreviation (e.g. CA) or full name.

citystring

City name to filter by.

namestring

Name to search for.

limitinteger

Maximum number of results to return.

offsetinteger

Number of results to skip before returning (pagination offset).

trial1

Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.

Response

(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.