Assess a planned transfer at a German station
ort.halowerk.com/v1/transfer-risk
Assess a planned transfer at a German station: buffer time, walking distance between the platforms, a heuristic risk class and what happens if the connection is missed (next departure of the same line and direction).
POST
https://ort.halowerk.com/v1/transfer-riskUptime100% 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://ort.halowerk.com/v1/transfer-risk", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"arrival":{"line":"RB48","time":"12:22"},"departure":{"line":"S12","time":"12:30"},"station":{"name":"Köln Hbf"}}),
});
console.log(await res.json());Example input
{
"arrival": {
"line": "RB48",
"time": "12:22"
},
"departure": {
"line": "S12",
"time": "12:30"
},
"station": {
"name": "Köln Hbf"
}
}