Skip to content
Fourohtwo

material.halowerk.com/parcel-bundling

Packs items into parcels by descending weight, first fit, within a maximum parcel weight and an optional maximum girth, prices each parcel with the cheapest matching bracket of the supplied rate table and compares the total against single shipment. The rate table is caller data: no carrier tariff is stored or redistributed. First fit is a heuristic, not a proven optimum.

BaseAnswering
POSThttps://material.halowerk.com/parcel-bundling

Uptime100% 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://material.halowerk.com/parcel-bundling", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"items":[{"length_cm":0.1,"name":"Beispiel","weight_kg":0.001}],"rates":[{"label":"Beispiel","max_weight_kg":0.001,"price_eur":0}]}),
});
console.log(await res.json());

Example input

{
  "items": [
    {
      "length_cm": 0.1,
      "name": "Beispiel",
      "weight_kg": 0.001
    }
  ],
  "rates": [
    {
      "label": "Beispiel",
      "max_weight_kg": 0.001,
      "price_eur": 0
    }
  ]
}