{
  "x402Version": 2,
  "id": 7821,
  "slug": "7821",
  "resource": "https://loonie-toll.onrender.com/hospital",
  "description": "CMS star rating and quality profile for a US hospital: mortality, safety and readmission versus the national average.",
  "type": "http",
  "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
    }
  ],
  "outputSchema": {
    "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"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "loonie-toll.onrender.com",
  "lastUpdated": "2026-09-16T21:13:54.765Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-16T21:13:54.473Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "loonie-toll.onrender.com",
    "manifest_name": "loonie-toll.onrender.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}