Load Optimizer API
Pack real-world cargo into real-world transport. Get back exactly where every item goes, and how to physically build it.
The API solves 3D load optimization: place boxes into carriers (pallets, containers, trucks) in a single job, with per-item rotation and stacking constraints, and secondary objectives that centre the load's mass or choose the axis it packs along.
What you can do
- Pack boxes into carriers. A job takes
carriers[](what you load into) andcargo[](what you ship). Both are flat lists, each entry described by box geometry or by a reference to a saved carrier or SKU. Omit a carrier'squantityand the solver decides how many instances of it to use. - Async by design. Every solve is a job: submit, poll, and collect the result. Use an
Idempotency-Keyfor safe retries, and cancel a job you no longer need. - Your own units. Five unit kinds per job, metric or imperial; the result echoes back whichever it used.
- Save carriers and SKUs once. Keep the carriers and cargo units you use again and again in libraries of your own, next to a system catalogue of standard carriers, and reference them from a job by id.
- Find and keep your runs. The job list pages through the orders you submitted, and a run you want to keep becomes a saved load.
- Hand the plan on. Turn a result into loading-instruction PDFs, one per carrier, or share it as a read-only 3D view with someone who has no API key.
- Build mixed pallets. The same request with
problemTypeset plans mixed palletizing: how many pallets an order needs, and how to stack each one.
Company libraries, share links and mixed palletizing depend on your plan: each one's guide names the answer you get without it, and Limits & quotas lists the limits your plan sets.
How these docs are organized
- Core concepts: the mental model. Read this first; everything else assumes it.
- Authentication: how to call the API.
- Quickstart: your first job end-to-end, in ~5 minutes.
- Anatomy of a job: a single-page tour of the whole
JobRequestshape. - Guides are task-focused walkthroughs:
- Optimization objectives, the core control: what to optimize for
- Building load units: carriers and cargo described inline
- Libraries: carriers and SKUs saved once and referenced by id
- Units: the units a job speaks
- Constraints: stacking and rotation per cargo line
- Stacking rules: cargo classes and the rules about which may rest on which
- Group separation: cargo loaded as contiguous blocks along the carrier
- Mixed palletizing: building mixed pallets instead of planning a load
- Async & validate: the job lifecycle, validating first, safe retries and the job list
- Saved loads: keeping a run under a name
- Instructions & sharing: loading-instruction PDFs and share links
- Errors & troubleshooting: every error shape and code, and how to react
- Reference:
- Limits & quotas: what your plan allows, and how long the API keeps what you create
- Changelog: what changed, and the compatibility policy
- Example clients: complete Python and Node programs to start from
- API reference: the full, interactive endpoint/schema reference
Get access
You need an account and an API key. Sign up in the web app, then create a key there. The application's own API keys documentation has the current steps. The key authenticates and authorizes each call for your account. See Authentication for the full key + access story.
Base URL & versioning
The base URL carries the major version in the path:
https://api.loadoptimizer.ai/v2
A change that keeps an integration working (a new endpoint, optional request field, response field or error code) ships under /v2; a breaking change ships only under a new major version, announced in advance. The one exception is the earliest release in the Changelog, which carries four breaking changes, each listed with what to do; the Changelog records every change from that release on, and the full policy.