/v1/pallet
Cartons per pallet
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/freight-api/v1/pallet" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/freight-api/v1/pallet", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/freight-api/v1/pallet");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/freight-api/v1/pallet",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"note": "Cartons per layer takes the better of the two footprint orientations; layers fill the usable height. The pallet holds the smaller of the cube and weight limits.",
"inputs": {
"max_height": 60,
"max_weight": 2200,
"carton_width": 12,
"pallet_width": 40,
"carton_height": 12,
"carton_length": 12,
"carton_weight": 20,
"pallet_length": 48
},
"layers": 4,
"stack_height": 54,
"cartons_by_cube": 48,
"limiting_factor": "cube",
"cartons_by_weight": 110,
"cartons_per_layer": 12,
"cartons_per_pallet": 48,
"pallet_cargo_weight": 960
},
"meta": {
"timestamp": "2026-06-05T21:48:47.557Z",
"request_id": "1a03e167-98f9-4354-9d2f-799d747e011c"
},
"status": "ok",
"message": "Palletization",
"success": true
}