82trust / 100
Slotting Plan
by handel.halowerk.com in Documents & files
x402 APIPassing, checked 3 h ago
Takes a warehouse as a table and returns a placement. You supply the storage locations with their walking distance to the pick-and-drop point and, where they exist, their weight and volume limits; you supply the SKUs with pick frequency, weight and volume; and you may supply the joint-pick pairs.
POST https://handel.halowerk.com/v1/slotting-plan
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 118 ms typical, 118 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://handel.halowerk.com/v1/slotting-plan" \
-H "content-type: application/json" \
-d '{"abc_share_pct":[80,95],"affinities":[{"joint_picks_per_period":210,"sku_a":"A-100","sku_b":"A-101"}],"locations":[{"location_id":"L-01","max_volume_l":60,"max_weight_kg":25,"travel_distance_m":6,"zone":"front"},{"location_id":"L-02","max_volume_l":60,"max_weight_kg":25,"travel_distance_m":9,"zone":"front"},{"location_id":"L-03","max_volume_l":120,"max_weight_kg":40,"travel_distance_m":22,"zone":"middle"},{"location_id":"L-07","max_volume_l":120,"max_weight_kg":40,"travel_distance_m":48,"zone":"back"}],"return_trip":true,"skus":[{"current_location_id":"L-07","picks_per_period":420,"sku":"A-100","volume_l":8,"weight_kg":2.5},{"current_location_id":"L-01","picks_per_period":380,"sku":"A-101","volume_l":5,"weight_kg":1.2},{"current_location_id":"L-03","picks_per_period":95,"sku":"B-200","volume_l":40,"weight_kg":18},{"current_location_id":"L-02","picks_per_period":12,"sku":"C-300","volume_l":2,"weight_kg":0.4}]}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fhandel.halowerk.com%2Fv1%2Fslotting-plan
const res = await pay("https://handel.halowerk.com/v1/slotting-plan", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"abc_share_pct":[80,95],"affinities":[{"joint_picks_per_period":210,"sku_a":"A-100","sku_b":"A-101"}],"locations":[{"location_id":"L-01","max_volume_l":60,"max_weight_kg":25,"travel_distance_m":6,"zone":"front"},{"location_id":"L-02","max_volume_l":60,"max_weight_kg":25,"travel_distance_m":9,"zone":"front"},{"location_id":"L-03","max_volume_l":120,"max_weight_kg":40,"travel_distance_m":22,"zone":"middle"},{"location_id":"L-07","max_volume_l":120,"max_weight_kg":40,"travel_distance_m":48,"zone":"back"}],"return_trip":true,"skus":[{"current_location_id":"L-07","picks_per_period":420,"sku":"A-100","volume_l":8,"weight_kg":2.5},{"current_location_id":"L-01","picks_per_period":380,"sku":"A-101","volume_l":5,"weight_kg":1.2},{"current_location_id":"L-03","picks_per_period":95,"sku":"B-200","volume_l":40,"weight_kg":18},{"current_location_id":"L-02","picks_per_period":12,"sku":"C-300","volume_l":2,"weight_kg":0.4}]}),
});
console.log(await res.json());Example input
{
"abc_share_pct": [
80,
95
],
"affinities": [
{
"joint_picks_per_period": 210,
"sku_a": "A-100",
"sku_b": "A-101"
}
],
"locations": [
{
"location_id": "L-01",
"max_volume_l": 60,
"max_weight_kg": 25,
"travel_distance_m": 6,
"zone": "front"
},
{
"location_id": "L-02",
"max_volume_l": 60,
"max_weight_kg": 25,
"travel_distance_m": 9,
"zone": "front"
},
{
"location_id": "L-03",
"max_volume_l": 120,
"max_weight_kg": 40,
"travel_distance_m": 22,
"zone": "middle"
},
{
"location_id": "L-07",
"max_volume_l": 120,
"max_weight_kg": 40,
"travel_distance_m": 48,
"zone": "back"
}
],
"return_trip": true,
"skus": [
{
"current_location_id": "L-07",
"picks_per_period": 420,
"sku": "A-100",
"volume_l": 8,
"weight_kg": 2.5
},
{
"current_location_id": "L-01",
"picks_per_period": 380,
"sku": "A-101",
"volume_l": 5,
"weight_kg": 1.2
},
{
"current_location_id": "L-03",
"picks_per_period": 95,
"sku": "B-200",
"volume_l": 40,
"weight_kg": 18
},
{
"current_location_id": "L-02",
"picks_per_period": 12,
"sku": "C-300",
"volume_l": 2,
"weight_kg": 0.4
}
]
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 118 ms | $0.005 |