karte.halowerk.com/v1/emergency-coverage
For a location, returns per facility type the nearest one with its distance and details, the count within the radius, and the density per square kilometre. Hospitals are additionally reported with whether they have an emergency department where that is tagged, since a hospital without one does not answer the question being asked. Defibrillators come with their access class and indoor flag, because
POST
https://karte.halowerk.com/v1/emergency-coverageUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://karte.halowerk.com/v1/emergency-coverage", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"lat":52.52,"lon":13.405,"radius_km":10}),
});
console.log(await res.json());Example input
{
"lat": 52.52,
"lon": 13.405,
"radius_km": 10
}