ort.halowerk.com/v1/area-coverage
Share of a given area (GeoJSON polygon in Germany) reachable within X minutes from one or more origins (e.g. depots, fire stations, schools), by area and by Zensus 2022 population, with the uncovered population. Runs one multi-source Dijkstra from all origins (Routing runs on HALOWERK's own graph of the German road and path network built from OpenStreetMap (Geofabrik germany-latest.osm.pbf, data u
POST
https://ort.halowerk.com/v1/area-coverageUptime100% of 5 checks 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://ort.halowerk.com/v1/area-coverage", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"area":{"coordinates":[[[13.37,52.505],[13.43,52.505],[13.43,52.535],[13.37,52.535],[13.37,52.505]]],"type":"Polygon"},"minutes":15,"mode":"foot","origins":[{"lat":52.52,"lon":13.405}]}),
});
console.log(await res.json());Example input
{
"area": {
"coordinates": [
[
[
13.37,
52.505
],
[
13.43,
52.505
],
[
13.43,
52.535
],
[
13.37,
52.535
],
[
13.37,
52.505
]
]
],
"type": "Polygon"
},
"minutes": 15,
"mode": "foot",
"origins": [
{
"lat": 52.52,
"lon": 13.405
}
]
}