Skip to content
Fourohtwo

Find time-window conflicts in a delivery tour

ort.halowerk.com/v1/time-window-conflicts

Find time-window conflicts in a delivery tour: simulated arrival, waiting and lateness per stop, invalid windows, shift-end overrun, plus stop pairs that cannot both be served and forced visiting orders.

BaseAnswering
POSThttps://ort.halowerk.com/v1/time-window-conflicts

Uptime100% of 2 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/time-window-conflicts", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"matrix_minutes":[[0,20,40],[20,0,30],[40,30,0]],"start":{"time":"2026-10-05T08:00:00Z"},"stops":[{"id":"A","service_minutes":15,"window_end":"2026-10-05T09:00:00Z","window_start":"2026-10-05T08:30:00Z"},{"id":"B","service_minutes":10,"window_end":"2026-10-05T09:30:00Z","window_start":"2026-10-05T09:00:00Z"}]}),
});
console.log(await res.json());

Example input

{
  "matrix_minutes": [
    [
      0,
      20,
      40
    ],
    [
      20,
      0,
      30
    ],
    [
      40,
      30,
      0
    ]
  ],
  "start": {
    "time": "2026-10-05T08:00:00Z"
  },
  "stops": [
    {
      "id": "A",
      "service_minutes": 15,
      "window_end": "2026-10-05T09:00:00Z",
      "window_start": "2026-10-05T08:30:00Z"
    },
    {
      "id": "B",
      "service_minutes": 10,
      "window_end": "2026-10-05T09:30:00Z",
      "window_start": "2026-10-05T09:00:00Z"
    }
  ]
}