StoaPack

Intelligent 3D Bin Packing

E-commerce businesses waste millions on oversized boxes and inefficient multi-warehouse fulfillment. StoaPack chooses boxes and item placements for parcels and pallets (up to 5 warehouses and 80 parcel units, or 1,000 pallet cases, per synchronous request; approved async jobs allow up to 10 warehouses and 400 units), reducing shipping costs by optimizing every package while increasing order fulfillment speed.

Unlike basic bin packing calculators, StoaPack handles complex real-world constraints like multi-warehouse inventory, box availability, and special handling requirements—all through a simple API call.

# Plan a package

POST /api/v1.1/optimize

{
  "items": [
    { "id": "WIDGET-A", "width": 4, "height": 3, "depth": 2, "weight": 5, "quantity": 1 }
  ],
  "warehouses": [
    {
      "id": "warehouse-west",
      "inventory": { "WIDGET-A": 1 },
      "available_boxes": [
        { "id": "small", "width": 10, "height": 8, "depth": 6, "quantity": 10, "max_weight": 500 },
        { "id": "medium", "width": 16, "height": 12, "depth": 10, "quantity": 10, "max_weight": 1000 }
      ]
    }
  ],
  "unit": "in",
  "weight_unit": "oz",
  "optimization_goal": "minimize_boxes_then_volume"
}

→ 200 OK
→ the box choice and where each item goes, per warehouse

Key Features

Multi-warehouse fulfillment

Send stock and box inventory for up to 5 warehouses in one request; the plan shows which items each warehouse can fulfill and how to pack them.

Flexible optimization goals

New

Choose your packing strategy: minimize total boxes, minimize wasted volume, or minimize cost using box pricing.

Custom instructions and AI review

Optional custom instructions separate items, assign items to a box type, or cap how full a box gets; if StoaPack can't apply one, the request fails. AI review is a separate option, off by default. Either sends item, box and packing data to Google Gemini or OpenAI.

Hazardous materials support

New

Hazmat-aware packing: StoaPack looks up the hazard class for supported UN numbers, packs each dangerous-goods item type in its own box away from other items (whether or not they are compatible), and checks supported package quantity limits. Lithium batteries by air are not supported. Decision support only: it does not certify shipments or replace required DOT training or professional compliance review.

Box inventory management

Send each warehouse's own box stock, with quantities and optional costs, in the request; StoaPack only uses boxes that warehouse has.

Fill percentage control

Limit how full each box can be packed (up to 100% of its volume), useful for fragile items or when using void fillers.

Pallets, nesting and upright items

Plan full or mixed pallet layers, nest items one level inside declared containers, and keep chosen items upright.

Built for real-world logistics

Unit conversion

Support for both metric (cm) and imperial (in) measurements

Unique package identifiers

Each packed box gets a unique ID for tracking and reconciliation

Cost-based box selection

Add cost to boxes and optimize for cheapest packaging regardless of size

Non-boxed items

Support for items that ship without boxing (e.g., furniture, large equipment)

Published limits

Up to 5 warehouses and 80 parcel units, or 1,000 pallet cases, per synchronous request; approved async jobs allow up to 10 warehouses and 400 units. Split larger orders across requests.

Plans and pricing

Start free with 50 calls. No card required, and only successful packing calls count.

See current plans and quotas at stoapack.stoalogistics.com

Ready to optimize your packaging?

Get started in minutes with our Quick Start Guide. Full API documentation available.