Pack items into containers with mathematically optimal placement. Void space nesting, multi-box splitting, and dimensional weight optimization — all through a single REST endpoint.
EB-AFIT algorithm finds near-optimal placement by testing all 6 orientations at every available space in the container.
Hollow items have internal cavities? The algorithm packs smaller items inside them — rectangular, cylindrical, or spherical voids.
Too many items for one box? Enable multi-box mode and the API automatically distributes items across the fewest containers possible.
One POST request, JSON in and out. Integrate into any language or platform in minutes. No SDKs required.
See exactly how items are packed with an interactive 3D viewer built into the dashboard. Rotate, zoom, and inspect every placement.
Track API calls, manage API keys, and monitor usage with a built-in dashboard. Know exactly how your packing quota is being used.
Send your containers and items, get back exact coordinates.
curl -X POST https://api.fractalpack.com/api/v1/pack \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"containers": [{
"id": "box-1",
"length": 10, "width": 10, "height": 10,
"maxWeight": 100
}],
"items": [{
"id": "cube",
"length": 5, "width": 5, "height": 5,
"weight": 2, "quantity": 8
}]
}'
{
"results": [{
"containerId": "box-1",
"packedItems": [
{
"id": "cube",
"coordinate": {"x":0,"y":0,"z":0},
"packedDimensions": {
"length":5,"width":5,"height":5
}
},
// ... 7 more cubes
],
"volumeUtilizationPercent": 100.0,
"totalWeight": 16
}]
}
Specify container dimensions, item sizes, weights, and quantities. Optionally define void spaces for nesting.
Send a single POST request. The EB-AFIT algorithm evaluates all orientations and positions to find the best fit.
Receive exact X/Y/Z placement coordinates, volume utilization percentage, and any items that didn't fit.
Sign up for free, get an API key, and start packing in under a minute.
Get Started Free