Distinct from route/matrix
lauf.halowerk.com/v1/vrp-plan
Distinct from route/matrix: assigns jobs to up to four vehicles and orders visits at a common depot, reports arrival/wait/service/return times, capacity usage and unassigned jobs. Consumes caller travel-time matrix, including durations_s from HALOWERK route/matrix, avoiding a duplicate routing API or invented road data. Deterministic earliest-deadline cheapest-feasible-insertion heuristic; no glob
POST
https://lauf.halowerk.com/v1/vrp-planUptime100% 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://lauf.halowerk.com/v1/vrp-plan", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"durations_s":[[0,300,480,360],[300,0,240,180],[480,240,0,300],[360,180,300,0]],"jobs":[{"demand":2,"id":"stop-A","point":1,"service_s":120,"window":[0,1800]},{"demand":2,"id":"stop-B","point":2,"service_s":180,"window":[600,3000]},{"demand":1,"id":"stop-C","point":3,"service_s":60,"window":[0,3600]}],"matrix_source":"Demonstration travel-time matrix, not a live road measurement","vehicles":[{"ca),
});
console.log(await res.json());Example input
{"durations_s":[[0,300,480,360],[300,0,240,180],[480,240,0,300],[360,180,300,0]],"jobs":[{"demand":2,"id":"stop-A","point":1,"service_s":120,"window":[0,1800]},{"demand":2,"id":"stop-B","point":2,"service_s":180,"window":[600,3000]},{"demand":1,"id":"stop-C","point":3,"service_s":60,"window":[0,3600]}],"matrix_source":"Demonstration travel-time matrix, not a live road measurement","vehicles":[{"ca