health

CMS Care Compare lookup for every CMS-certified US hospital...

CMS Care Compare lookup for every CMS-certified US hospital (~5k). Lookup by 6-digit CMS Facility ID for direct match, or fuzzy by name + state + city + hospital type, with optional minimum overall rating (1-5) filter. Each record includes facility ID, name, full address, phone, hospital type (Acute Care / Critical Access / Psychiatric / etc.), ownership category, emergency services flag, birthing-friendly designation, CMS overall star rating, and per-measure-group counts (mortality, safety, readmission, patient experience, effectiveness, timeliness, medical imaging). Public-domain federal data.

get/api/health/hospital-lookup

Request

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

Query parameters

facilityIdstring

Facility ID.

namestring

Name to search for.

citystring

City name to filter by.

statestring

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

hospitalTypestring

Hospital type.

minRatinginteger

Min rating.

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.