C

ClearCheck · Hospital

by ClearCheck

GETBaseSolanaArbitrumPolygon

$0.01

per call · USD Coin on Base

CMS star rating and quality profile for a US hospital: mortality, safety and readmission versus the national average.

Endpoint

GET https://loonie-toll.onrender.com/hospital

2

Calls / 30d

1

Unique payers / 30d

Sep 9

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://loonie-toll.onrender.com/hospital", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://loonie-toll.onrender.com/hospital?name=Mayo+Clinic" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "bestMatch": {
    "address": "5777 EAST MAYO BOULEVARD, PHOENIX, AZ, 85054",
    "cmsFacilityId": "030103",
    "county": "MARICOPA",
    "emergencyServices": true,
    "name": "MAYO CLINIC HOSPITAL",
    "overallRating": 5,
    "ownership": "Voluntary non-profit - Private",
    "phone": "(480) 342-4201",
    "type": "Acute Care Hospitals",
    "versusNationalAverage": {
      "mortalityBetter": 5,
      "mortalityWorse": 0,
      "readmissionBetter": 4,
      "readmissionWorse": 0,
      "safetyBetter": 1,
      "safetyWorse": 0
    }
  },
  "disclaimer": "Advisory only, provided as is without warranty of accuracy or completeness. CMS star ratings summarise measures that lag by quarters and do not describe the care any individual patient will receive. N…",
  "hospitals": [
    {
      "address": "5777 EAST MAYO BOULEVARD, PHOENIX, AZ, 85054",
      "cmsFacilityId": "030103",
      "county": "MARICOPA",
      "emergencyServices": true,
      "name": "MAYO CLINIC HOSPITAL",
      "overallRating": 5,
      "ownership": "Voluntary non-profit - Private",
      "phone": "(480) 342-4201",
      "type": "Acute Care Hospitals",
      "versusNationalAverage": {
        "mortalityBetter": 5,
        "mortalityWorse": 0,
        "readmissionBetter": 4,
        "readmissionWorse": 0,
        "safetyBetter": 1,
        "safetyWorse": 0
      }
    },
    {
      "address": "4500 SAN PABLO RD, JACKSONVILLE, FL, 32224",
      "cmsFacilityId": "100151",
      "county": "DUVAL",
      "emergencyServices": true,
      "name": "MAYO CLINIC",
      "overallRating": 5,
      "ownership": "Voluntary non-profit - Private",
      "phone": "(904) 953-2000",
      "type": "Acute Care Hospitals",
      "versusNationalAverage": {
        "mortalityBetter": 6,
        "mortalityWorse": 0,
        "readmissionBetter": 1,
        "readmissionWorse": 1,
        "safetyBetter": 4,
        "safetyWorse": 0
      }
    }
  ],
  "matchCount": 19,
  "reasons": [
    "MAYO CLINIC HOSPITAL holds 5 of 5 CMS stars — above the national middle.",
    "Across mortality, safety and readmission measures: 10 better than the national average, 0 worse.",
    "…1 more"
  ],
  "retrievedAt": "2026-09-09T00:55:57.078Z",
  "source": "CMS Care Compare — Hospital General Information",
  "verdict": "ABOVE_AVERAGE"
}

Payment details

Pay to0xb531320805c5bed1d46aeadcf4f008fdf172dbda
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana, Arbitrum, Polygon
Schemesexact

Is this your API?

Pin it to the top of Data & Enrichment and the homepage with a featured placement.

Get featured →

More from ClearCheck & similar services