3D Bin Packing API for Warehouse Operations

Calculate optimal box sizes and item placement for every order. Reduce wasted space with algorithmic precision.

The Packing Challenge

Box Size Selection

Choosing the right box for each order is surprisingly complex when items vary in size and quantity.

Complex Math

Optimal 3D bin packing is computationally intensive—too complex for manual calculation.

Varied Item Sizes

When every order has different item combinations, finding optimal packing is a constant challenge.

Shipping Costs

Oversized boxes mean higher dimensional weight charges. Every inch of wasted space costs money.

What StoaPack Does

StoaPack is a REST API that calculates optimal box selection and item placement for your orders.

Send your item dimensions and available box sizes. Our algorithm determines which box to use and exactly where each item should be placed inside it.

Need special handling? Use AI-powered custom instructions to apply your business rules—like keeping certain items together or placing heavy items at the bottom.

Warehouse optimization with 3D bin packing software

Core Capabilities

Optimal Box Selection

Given your available box sizes, the API selects the smallest box that fits all items—reducing dimensional weight charges.

Multi-Warehouse Support

Optimize packing across multiple warehouse locations with location-specific inventory data.

AI Custom Instructions

Use plain English to guide packing logic: "keep fragile items on top" or "group items by order".

Optimization Goals

Choose your priority: minimize boxes, minimize wasted volume, or minimize cost based on box pricing.

How It Works

1

Send Order Data

POST item dimensions, weights, and your available box sizes

2

We Optimize

Algorithm selects best box and calculates exact item placement

3

Get Results

Receive box selection and X, Y, Z coordinates for each item

Ready to Maximize Your Warehouse Efficiency?

Join leading warehousing operations that are optimizing their storage utilization and reducing costs with StoaPack.

Technical Details

REST API

Simple JSON request/response that works with any system

Metric & Imperial

Support for centimeters, inches, grams, and ounces

Nested Packing

Items can be packed inside other items when dimensions allow

Hazmat Support

Built-in compliance for 49 CFR and IATA DGR regulations

Implementation Example

// Simple API integration example
fetch('https://stoapack.stoalogistics.com/api/v1.1/optimize', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'Authorization': 'Bearer YOUR_API_KEY'
  },
  body: JSON.stringify({
    items: warehouseItems,
    warehouses: [
      {
        id: "warehouse_a",
        available_boxes: standardContainers,
        inventory: warehouseAInventory
      }
    ],
    unit: 'cm',
    custom_instructions: 'Place heavier items at the bottom and ensure fragile items are not stacked high'
  })
})
.then(response => response.json())
.then(solution => {
  // Process the optimized packing solution
  console.log(solution);
});

Right-Size Every Shipment

Let our algorithm handle the complex calculations so your team can pack with confidence.

Start Your Free Trial