Overview
Find the smallest box from your carton inventory that fits all items, using a disclosed 3D extreme-point packing heuristic with rotations, support check and weight limits; returns item placements. Boxes are tried from the smallest inner volume upwards. Fast rejections: total item volume larger than the box, an item that fits in no orientation, or weight (items + tare) above the box limit.
Protocol
x402 (POST)
Price
$0.0040
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
uncategorized
Provider
ort
Indexed
2026-11-21 00:09:35
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
Input Schema
{
"body": {
"boxes": [
{
"inner_height_cm": 15,
"inner_length_cm": 25,
"inner_width_cm": 20,
"name": "S"
},
{
"inner_height_cm": 15,
"inner_length_cm": 35,
"inner_width_cm": 25,
"name": "M"
}
],
"items": [
{
"height_cm": 10,
"length_cm": 30,
"name": "Book",
"weight_kg": 1.2,
"width_cm": 20
}
]
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"limitations": [
"Heuristic: when it finds no packing, a packing may still exist (the result then names the box as failed by heuristic).",
"Items are treated as rigid cuboids."
],
"result": {
"box": {
"inner_cm": [
35,
25,
15
],
"max_weight_kg": null,
"name": "M",
"volume_l": 13.13
},
"fill_rate": 0.4571,
"items_volume_l": 6,
"method": "extreme-point heuristic, largest item first, lowest/front/left point, flat orientations first, ≥ 70 % base support",
"pieces": 1,
"placements": [
{
"dims_cm": [
30,
20,
10
],
"item": "Book",
"x_cm": 0,
"y_cm": 0,
"z_cm": 0
}
],
"total_weight_kg": 1.2,
"tried": [
{
"box": "S",
"detail": "Book (30 × 20 × 10 cm) fits in no orientation",
"result": "item_too_large"
},
{
"box": "M",
"result": "fits"
}
]
},
"service": "box-fit",
"status": "success"
},
"type": "json"
}