Skip to content
Fourohtwo

Estimate the arrival time at a customer from recent GPS positions

ort.halowerk.com/v1/eta-from-positions

Estimate the arrival time at a customer from recent GPS positions: remaining distance along a route or straight line, average speed of the recent window, ETA with early/late band and check against a delivery window. Remaining distance is measured along the supplied route from the projection of the latest position to the route end, or as great-circle distance × detour factor without a route (straig

BaseAnswering
POSThttps://ort.halowerk.com/v1/eta-from-positions

Uptime100% of 4 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/eta-from-positions", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"destination":{"lat":52,"lon":7.5},"positions":[{"lat":52,"lon":7,"t":"2026-10-05T08:00:00Z"},{"lat":52,"lon":7.073,"t":"2026-10-05T08:05:00Z"}]}),
});
console.log(await res.json());

Example input

{
  "destination": {
    "lat": 52,
    "lon": 7.5
  },
  "positions": [
    {
      "lat": 52,
      "lon": 7,
      "t": "2026-10-05T08:00:00Z"
    },
    {
      "lat": 52,
      "lon": 7.073,
      "t": "2026-10-05T08:05:00Z"
    }
  ]
}