LIVE$APIEDCA0x720800690cd81c3319cb0ab9c4f480b659a772d4
APIED
Loading…
Loading prices…

x402Pulse

Best hospitals ranking for a U.S. state or city from Centers for Medicare & Medicaid Services (CMS) Care Compare data: ranked by CMS star rating, then net score (quality measures better than national minus worse across mortality, safety and readmissions). Filter by city, minimum stars, emergency services and hospital type (acute, critical access, children's, psychiatric). Not medical advice.

Price per call
$0.008
Chain
Base
Method
GET
Paid calls · 30 days
16

Call it from code

This API is run by its own provider and paid directly through x402. We list it so you can find it; we don't route or hold the payment.

import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";

const client = new x402Client();
registerExactEvmScheme(client, { signer: agentAccount });

const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://www.x402pulse.dev/v1/health/hospitals", { method: "GET" });
console.log(await res.json());

https://www.x402pulse.dev/v1/health/hospitals