CMS star rating and quality profile for a US hospital: mortality, safety and readmission v
CMS star rating and quality profile for a US hospital: mortality, safety and readmission versus the national average.
20000 (raw units)
price
3
calls / 30d
1
unique payers
2026-09-16
updated
Provider
loonie-toll.onrender.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "20000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "DUPiupXtuox38dcGoXUKer5mAydCzmaHjrbQ66qeEm8s",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "20000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:137",
"payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa",
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"amount": "20000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:42161",
"payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa",
"asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"amount": "20000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"name": "Mayo Clinic"
},
"type": "http"
},
"output": {
"example": {
"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"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"city": {
"description": "City name",
"type": "string"
},
"limit": {
"description": "Max hospitals to return, default 5",
"type": "integer"
},
"name": {
"description": "Hospital name or part of it",
"type": "string"
},
"state": {
"description": "Two-letter state code",
"type": "string"
}
},
"required": [],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"bestMatch": {
"properties": {
"address": {
"type": "string"
},
"cmsFacilityId": {
"type": "string"
},
"county": {
"type": "string"
},
"emergencyServices": {
"type": "boolean"
},
"name": {
"type": "string"
},
"overallRating": {
"type": "integer"
},
"ownership": {
"type": "string"
},
"phone": {
"type": "string"
},
"type": {
"type": "string"
},
"versusNationalAverage": {
"properties": {
"mortalityBetter": {
"type": "integer"
},
"mortalityWorse": {
"type": "integer"
},
"readmissionBetter": {
"type": "integer"
},
"readmissionWorse": {
"type": "integer"
},
"safetyBetter": {
"type": "integer"
},
"safetyWorse": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"disclaimer": {
"type": "string"
},
"hospitals": {
"items": {
"properties": {
"address": {
"type": "string"
},
"cmsFacilityId": {
"type": "string"
},
"county": {
"type": "string"
},
"emergencyServices": {
"type": "boolean"
},
"name": {
"type": "string"
},
"overallRating": {
"type": "integer"
},
"ownership": {
"type": "string"
},
"phone": {
"type": "string"
},
"type": {
"type": "string"
},
"versusNationalAverage": {
"properties": {
"mortalityBetter": {
"type": "integer"
},
"mortalityWorse": {
"type": "integer"
},
"readmissionBetter": {
"type": "integer"
},
"readmissionWorse": {
"type": "integer"
},
"safetyBetter": {
"type": "integer"
},
"safetyWorse": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
"matchCount": {
"type": "integer"
},
"reasons": {
"items": {
"type": "string"
},
"type": "array"
},
"retrievedAt": {
"type": "string"
},
"source": {
"type": "string"
},
"verdict": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://loonie-toll.onrender.com/hospital" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://loonie-toll.onrender.com/hospital");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://loonie-toll.onrender.com/hospital")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/7821.json, and this resource appears in /discovery/resources and /discovery/search.