{"openapi":"3.1.0","info":{"title":"Shipping & Logistics Calc","version":"1.0.0","description":"Dimensional weight, CBM, box and pallet packing, container load, landed cost and unit-price maths. One call, one computed answer, no accounts or API keys. Machine-payable over x402.","x-guidance":"Shipping & Logistics Calc: Dimensional weight, CBM, box and pallet packing, container load, landed cost and unit-price maths. Use /dim-weight for carrier billable weight, /cbm for cubic meters and volumetric weight, /box-packing for how many items fit in a box, /container-load for 20ft and 40ft containers, /pallet-stack for pallet layers and height, /landed-cost for per-unit cost with freight and duty and /unit-price to compare package sizes. Each paid GET returns a computed verdict with the reasons, the source and what was NOT checked. A verdict of UNVERIFIED means a lookup failed: treat it as unknown. No account or key: pay per call in USDC over x402."},"servers":[{"url":"https://shipping-calc.x402tookit.com"}],"paths":{"/box-packing":{"get":{"operationId":"box_packing","summary":"How many identical boxes fit inside a larger box or crate: best of six orientations in a simple grid, with utilization.","description":"How many identical boxes fit inside a larger box or crate: best of six orientations in a simple grid, with utilization.","tags":["packing","carton","fit","shipping"],"parameters":[{"name":"outerLength","in":"query","required":true,"description":"Inside length of the larger box, crate or container","schema":{"type":"number"}},{"name":"outerWidth","in":"query","required":true,"description":"Inside width","schema":{"type":"number"}},{"name":"outerHeight","in":"query","required":true,"description":"Inside height","schema":{"type":"number"}},{"name":"itemLength","in":"query","required":true,"description":"Length of one item or carton","schema":{"type":"number"}},{"name":"itemWidth","in":"query","required":true,"description":"Width of one item","schema":{"type":"number"}},{"name":"itemHeight","in":"query","required":true,"description":"Height of one item","schema":{"type":"number"}},{"name":"unit","in":"query","required":false,"description":"in (default), cm or m; both boxes use the same unit","schema":{"type":"string"}},{"name":"upright","in":"query","required":false,"description":"true to keep the item height vertical, allowing only a spin (default false)","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"unit":{"type":["null","string"]},"fits":{"type":["null","number"]},"gridAlongLengthWidthHeight":{"type":["array","null"],"items":{"type":"number"}},"itemOrientation":{"type":["array","null"],"items":{"type":"number"}},"volumeUtilizationPercent":{"type":["null","number"]},"volumeUpperBound":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"FITS","summary":"72 item(s) fit (4 x 6 x 3 grid) at 83.3% of the volume.","reasons":["Best orientation lays the item as 5 x 3 x 4 in.","Volume upper bound is 86 items; a skilled packer might approach it, a grid will not always."],"unit":"in","fits":72,"gridAlongLengthWidthHeight":[4,6],"itemOrientation":[5,3],"volumeUtilizationPercent":83.33,"volumeUpperBound":86,"degraded":false,"notChecked":["mixed-orientation or staggered layouts that can fit more","wall thickness, padding, dunnage or void fill","…2 more"],"source":"computed locally (orientation search)","asOf":"2026-10-11T23:32:55.403Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://shipping-calc.x402tookit.com/box-packing"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://shipping-calc.x402tookit.com/box-packing"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://shipping-calc.x402tookit.com/box-packing"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://shipping-calc.x402tookit.com/box-packing"}}]}}},"/cbm":{"get":{"operationId":"cbm","summary":"Cubic metres (CBM) and cubic feet of cartons, air volumetric weight (1:6000) and sea chargeable volume.","description":"Cubic metres (CBM) and cubic feet of cartons, air volumetric weight (1:6000) and sea chargeable volume.","tags":["cbm","shipping","freight","volumetric"],"parameters":[{"name":"length","in":"query","required":true,"description":"Carton length in the chosen unit","schema":{"type":"number"}},{"name":"width","in":"query","required":true,"description":"Carton width","schema":{"type":"number"}},{"name":"height","in":"query","required":true,"description":"Carton height","schema":{"type":"number"}},{"name":"unit","in":"query","required":false,"description":"cm (default), in or m","schema":{"type":"string"}},{"name":"cartons","in":"query","required":false,"description":"Number of identical cartons, 1 to 1,000,000 (default 1)","schema":{"type":"integer"}},{"name":"grossWeightKg","in":"query","required":false,"description":"Gross weight per carton in kg, to compare against volume","schema":{"type":"number"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"cbmPerCarton":{"type":["null","number"]},"cbmTotal":{"type":["null","number"]},"cubicFeetTotal":{"type":["null","number"]},"airVolumetricWeightKg":{"type":["null","number"]},"cartons":{"type":["null","number"]},"grossWeightTotalKg":{"type":["null","number"]},"airChargeableKg":{"type":["null","number"]},"airBasis":{"type":["null","string"]},"seaChargeableRevenueTons":{"type":["null","number"]},"seaBasis":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"COMPUTED","summary":"100 carton(s): 9.6 CBM (339 cubic feet), air volumetric weight 1600 kg.","reasons":["CBM = length x width x height in metres, times the number of cartons.","Air volumetric weight uses 6000 cubic cm per kg (about 167 kg per CBM).","…1 more"],"cbmPerCarton":0.096,"cbmTotal":9.6,"cubicFeetTotal":339.021,"airVolumetricWeightKg":1600,"cartons":100,"grossWeightTotalKg":1200,"airChargeableKg":1600,"airBasis":"volume","seaChargeableRevenueTons":9.6,"seaBasis":"measurement (CBM)","degraded":false,"notChecked":["the actual rule of your forwarder or airline (some use 1:5000, 1:6000 or 1:7000)","pallet and packing overhead","…1 more"],"source":"computed locally (volume arithmetic)","asOf":"2026-10-11T23:32:55.665Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://shipping-calc.x402tookit.com/cbm"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://shipping-calc.x402tookit.com/cbm"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://shipping-calc.x402tookit.com/cbm"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://shipping-calc.x402tookit.com/cbm"}}]}}},"/container-load":{"get":{"operationId":"container_load","summary":"Cartons per 20GP, 40GP or 40HC container by grid packing and payload limit, with CBM used and what limits the load.","description":"Cartons per 20GP, 40GP or 40HC container by grid packing and payload limit, with CBM used and what limits the load.","tags":["container","shipping","cbm","freight","fcl"],"parameters":[{"name":"length","in":"query","required":true,"description":"Carton length","schema":{"type":"number"}},{"name":"width","in":"query","required":true,"description":"Carton width","schema":{"type":"number"}},{"name":"height","in":"query","required":true,"description":"Carton height","schema":{"type":"number"}},{"name":"unit","in":"query","required":false,"description":"cm (default), in or m","schema":{"type":"string"}},{"name":"container","in":"query","required":false,"description":"20GP, 40GP or 40HC (default 40HC)","schema":{"type":"string"}},{"name":"cartonWeightKg","in":"query","required":false,"description":"Gross weight of one carton in kg, to apply the payload limit","schema":{"type":"number"}},{"name":"maxPayloadKg","in":"query","required":false,"description":"Override the typical payload limit in kg","schema":{"type":"number"}},{"name":"upright","in":"query","required":false,"description":"true to keep cartons upright (this side up), default false","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"container":{"type":["null","string"]},"interiorMetres":{"type":["array","null"],"items":{"type":"number"}},"interiorCbm":{"type":["null","number"]},"cartonsByVolumeGrid":{"type":["null","number"]},"cartonsByPayload":{"type":["null","number"]},"cartonsLoaded":{"type":["null","number"]},"limitedBy":{"type":["null","string"]},"cbmUsed":{"type":["null","number"]},"volumeUtilizationPercent":{"type":["null","number"]},"payloadUsedKg":{"type":["null","number"]},"payloadLimitKg":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"COMPUTED","summary":"600 carton(s) in a 40HC, limited by volume (space); 57.6 CBM used of 76.4 CBM interior.","reasons":["40ft high cube: interior 12.032 x 2.352 x 2.698 m, typical payload 26500 kg (override with maxPayloadKg).","Grid layout 20 x 5 x 6 along length, width and height."],"container":"40HC","interiorMetres":[12.032,2.352],"interiorCbm":76.35,"cartonsByVolumeGrid":600,"cartonsByPayload":2208,"cartonsLoaded":600,"limitedBy":"volume (space)","cbmUsed":57.6,"volumeUtilizationPercent":75.4,"payloadUsedKg":7200,"payloadLimitKg":26500,"degraded":false,"notChecked":["pallets, dunnage, door gaps, lashing and wheel-arch intrusions","your shipping line's real internal dimensions and payload (they vary by a few centimetres and tonnes)","…3 more"],"source":"computed locally; container dimensions are nominal published ISO figures","asOf":"2026-10-11T23:32:55.931Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://shipping-calc.x402tookit.com/container-load"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://shipping-calc.x402tookit.com/container-load"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://shipping-calc.x402tookit.com/container-load"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://shipping-calc.x402tookit.com/container-load"}}]}}},"/dim-weight":{"get":{"operationId":"dim_weight","summary":"Dimensional weight and billable weight for a parcel from its size and actual weight, with an overridable carrier divisor.","description":"Dimensional weight and billable weight for a parcel from its size and actual weight, with an overridable carrier divisor.","tags":["shipping","dimensional-weight","billable-weight","parcel"],"parameters":[{"name":"length","in":"query","required":true,"description":"Package length in the chosen unit","schema":{"type":"number"}},{"name":"width","in":"query","required":true,"description":"Package width","schema":{"type":"number"}},{"name":"height","in":"query","required":true,"description":"Package height","schema":{"type":"number"}},{"name":"weight","in":"query","required":true,"description":"Actual weight: pounds when unit=in, kilograms when unit=cm","schema":{"type":"number"}},{"name":"unit","in":"query","required":false,"description":"in (default; result in pounds) or cm (result in kilograms)","schema":{"type":"string"}},{"name":"divisor","in":"query","required":false,"description":"Carrier divisor override. Defaults: 139 cubic inches per pound, or 5000 cubic cm per kg","schema":{"type":"number"}},{"name":"roundDims","in":"query","required":false,"description":"true to round each dimension up to a whole unit first, as many carriers do (default false)","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"unit":{"type":["null","string"]},"weightUnit":{"type":["null","string"]},"dimensionsUsed":{"type":["array","null"],"items":{"type":"number"}},"volume":{"type":["null","number"]},"divisor":{"type":["null","number"]},"dimensionalWeight":{"type":["null","number"]},"actualWeight":{"type":["null","number"]},"billableWeightExact":{"type":["null","number"]},"billableWeightRoundedUp":{"type":["null","number"]},"heavierBasis":{"type":["null","string"]},"shipsBelowDimWeightByAmount":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"BILLED_ON_DIMENSIONAL_WEIGHT","summary":"Dimensional weight 12.43 lb vs actual 5 lb: billable 13 lb (dimensional weight wins, rounded up to a whole lb).","reasons":["Volume 1728 cubic inches divided by 139.","Dimensions were used as given (set roundDims=true for carriers that round each side up)."],"unit":"in","weightUnit":"lb","dimensionsUsed":[12,12],"volume":1728,"divisor":139,"dimensionalWeight":12.432,"actualWeight":5,"billableWeightExact":12.432,"billableWeightRoundedUp":13,"heavierBasis":"dimensional","shipsBelowDimWeightByAmount":7.432,"degraded":false,"notChecked":["the real current divisor and rounding rules of your carrier and service (they change and differ by contract)","oversize, large-package and additional-handling surcharges","…2 more"],"source":"computed locally (volume divided by divisor)","asOf":"2026-10-11T23:32:56.181Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://shipping-calc.x402tookit.com/dim-weight"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://shipping-calc.x402tookit.com/dim-weight"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://shipping-calc.x402tookit.com/dim-weight"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://shipping-calc.x402tookit.com/dim-weight"}}]}}},"/freight-density":{"get":{"operationId":"freight_density","summary":"Cargo density in kg/m3 and lb/ft3, stowage factor, and whether air (1:6000) or sea freight bills on weight or volume.","description":"Cargo density in kg/m3 and lb/ft3, stowage factor, and whether air (1:6000) or sea freight bills on weight or volume.","tags":["density","freight","stowage","cbm"],"parameters":[{"name":"weightKg","in":"query","required":true,"description":"Gross weight of the cargo in kg","schema":{"type":"number"}},{"name":"length","in":"query","required":true,"description":"Cargo length","schema":{"type":"number"}},{"name":"width","in":"query","required":true,"description":"Cargo width","schema":{"type":"number"}},{"name":"height","in":"query","required":true,"description":"Cargo height","schema":{"type":"number"}},{"name":"unit","in":"query","required":false,"description":"cm (default), in or m","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"cbm":{"type":["null","number"]},"cubicFeet":{"type":["null","number"]},"densityKgPerM3":{"type":["null","number"]},"densityLbPerFt3":{"type":["null","number"]},"stowageFactorM3PerTonne":{"type":["null","number"]},"airBillsOn":{"type":["null","string"]},"seaBillsOn":{"type":["null","string"]},"airChargeableKg":{"type":["null","number"]},"seaChargeableRevenueTons":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"BULKY","summary":"Density 125 kg/m3 (7.8 lb/ft3): air bills on volume, sea on measurement.","reasons":["Air breaks even at about 166.7 kg/m3 (1:6000); sea breaks even at 1000 kg/m3 (1 tonne = 1 CBM).","Stowage factor 8 m3 per tonne."],"cbm":0.96,"cubicFeet":33.902,"densityKgPerM3":125,"densityLbPerFt3":7.803,"stowageFactorM3PerTonne":8,"airBillsOn":"volume","seaBillsOn":"measurement","airChargeableKg":160,"seaChargeableRevenueTons":0.96,"degraded":false,"notChecked":["the actual chargeable-weight rule and minimums of your airline or forwarder","LCL minimum charges and per-shipment fees","…1 more"],"source":"computed locally (density arithmetic)","asOf":"2026-10-11T23:32:56.445Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://shipping-calc.x402tookit.com/freight-density"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://shipping-calc.x402tookit.com/freight-density"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://shipping-calc.x402tookit.com/freight-density"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://shipping-calc.x402tookit.com/freight-density"}}]}}},"/landed-cost":{"get":{"operationId":"landed_cost","summary":"Per-unit landed cost from unit price, freight, insurance, duty (FOB or CIF basis), VAT/tax and fees.","description":"Per-unit landed cost from unit price, freight, insurance, duty (FOB or CIF basis), VAT/tax and fees.","tags":["landed-cost","import","duty","vat","freight"],"parameters":[{"name":"unitCost","in":"query","required":true,"description":"Price per unit at the factory or supplier","schema":{"type":"number"}},{"name":"units","in":"query","required":true,"description":"Number of units, 1 to 100,000,000","schema":{"type":"integer"}},{"name":"freight","in":"query","required":false,"description":"Total international freight for the shipment (default 0)","schema":{"type":"number"}},{"name":"insurance","in":"query","required":false,"description":"Total cargo insurance (default 0)","schema":{"type":"number"}},{"name":"dutyPct","in":"query","required":false,"description":"Import duty percent (default 0)","schema":{"type":"number"}},{"name":"taxPct","in":"query","required":false,"description":"VAT or import tax percent charged on the goods plus duty (default 0)","schema":{"type":"number"}},{"name":"otherFees","in":"query","required":false,"description":"Brokerage, port and inland fees in total (default 0)","schema":{"type":"number"}},{"name":"dutyBasis","in":"query","required":false,"description":"cif (default; duty on goods + freight + insurance, EU/UK style) or fob (duty on goods only, US style)","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"goods":{"type":["null","number"]},"freight":{"type":["null","number"]},"insurance":{"type":["null","number"]},"dutyBasis":{"type":["null","string"]},"dutyBaseValue":{"type":["null","number"]},"duty":{"type":["null","number"]},"tax":{"type":["null","number"]},"otherFees":{"type":["null","number"]},"totalLandedCost":{"type":["null","number"]},"landedCostPerUnit":{"type":["null","number"]},"markupOverFactoryPercent":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"COMPUTED","summary":"Landed cost 6961.74 for 1000 unit(s): 6.9617 per unit, 54.7% above the factory price.","reasons":["Duty is charged on the CIF value (5330).","Tax is charged on goods + freight + insurance + duty (5676.45)."],"goods":4500,"freight":800,"insurance":30,"dutyBasis":"cif","dutyBaseValue":5330,"duty":346.45,"tax":1135.29,"otherFees":150,"totalLandedCost":6961.74,"landedCostPerUnit":6.9617,"markupOverFactoryPercent":54.71,"degraded":false,"notChecked":["the correct tariff code, duty rate or trade agreement preference for your goods","country-specific valuation rules, de minimis thresholds and anti-dumping duties","…3 more"],"source":"computed locally (arithmetic on the inputs)","asOf":"2026-10-11T23:32:56.696Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://shipping-calc.x402tookit.com/landed-cost"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://shipping-calc.x402tookit.com/landed-cost"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://shipping-calc.x402tookit.com/landed-cost"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://shipping-calc.x402tookit.com/landed-cost"}}]}}},"/pallet-stack":{"get":{"operationId":"pallet_stack","summary":"Cartons per pallet layer and per pallet within a height limit: GMA 48x40, Euro 120x80 or ISO, with weight check.","description":"Cartons per pallet layer and per pallet within a height limit: GMA 48x40, Euro 120x80 or ISO, with weight check.","tags":["pallet","palletizing","logistics","cartons"],"parameters":[{"name":"length","in":"query","required":true,"description":"Carton length","schema":{"type":"number"}},{"name":"width","in":"query","required":true,"description":"Carton width","schema":{"type":"number"}},{"name":"height","in":"query","required":true,"description":"Carton height","schema":{"type":"number"}},{"name":"unit","in":"query","required":false,"description":"cm (default) or in","schema":{"type":"string"}},{"name":"pallet","in":"query","required":false,"description":"gma (default), euro or 1200x1000","schema":{"type":"string"}},{"name":"maxHeightCm","in":"query","required":false,"description":"Maximum loaded height including pallet, in cm (default 180)","schema":{"type":"number"}},{"name":"cartonWeightKg","in":"query","required":false,"description":"Weight of one carton in kg","schema":{"type":"number"}},{"name":"maxWeightKg","in":"query","required":false,"description":"Maximum pallet load weight in kg (default 1000)","schema":{"type":"number"}},{"name":"allowOverhang","in":"query","required":false,"description":"true to allow cartons to overhang the pallet by up to 2.5 cm per side (default false)","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"pallet":{"type":["null","string"]},"palletName":{"type":["null","string"]},"footprintCm":{"type":["array","null"],"items":{"type":"number"}},"cartonsPerLayer":{"type":["null","number"]},"layersByHeight":{"type":["null","number"]},"cartonsByHeight":{"type":["null","number"]},"cartonsByWeight":{"type":["null","number"]},"cartonsLoaded":{"type":["null","number"]},"layersLoaded":{"type":["null","number"]},"limitedBy":{"type":["null","string"]},"loadedHeightCm":{"type":["null","number"]},"loadWeightKg":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"COMPUTED","summary":"48 carton(s) per euro pallet: 8 per layer, 6 layer(s), limited by space.","reasons":["EUR / EPAL 120 x 80 cm, pallet height 14.4 cm, height limit 180 cm.","Carton laid as 40 x 30 x 25 cm."],"pallet":"euro","palletName":"EUR / EPAL 120 x 80 cm","footprintCm":[120,80],"cartonsPerLayer":8,"layersByHeight":6,"cartonsByHeight":48,"cartonsByWeight":125,"cartonsLoaded":48,"layersLoaded":6,"limitedBy":"space","loadedHeightCm":164.4,"loadWeightKg":384,"degraded":false,"notChecked":["interlocked or pinwheel layer patterns, which often fit more","carton crush strength and stacking limits","…3 more"],"source":"computed locally; pallet sizes are standard published footprints","asOf":"2026-10-11T23:32:56.959Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://shipping-calc.x402tookit.com/pallet-stack"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://shipping-calc.x402tookit.com/pallet-stack"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://shipping-calc.x402tookit.com/pallet-stack"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://shipping-calc.x402tookit.com/pallet-stack"}}]}}},"/unit-price":{"get":{"operationId":"unit_price","summary":"Compare package sizes by price per 100 g, 100 ml or per item across mixed units, ranked with savings.","description":"Compare package sizes by price per 100 g, 100 ml or per item across mixed units, ranked with savings.","tags":["unit-price","shopping","compare","price"],"parameters":[{"name":"items","in":"query","required":true,"description":"JSON array of 2 to 20 objects like {\"name\":\"A\",\"price\":3.99,\"amount\":16,\"unit\":\"oz\"}; units g kg oz lb ml l floz pt qt gal ct m ft yd","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"standardUnit":{"type":["null","string"]},"bestName":{"type":["null","string"]},"bestPricePerStandardUnit":{"type":["null","number"]},"worstName":{"type":["null","string"]},"savingsBestVsWorstPercent":{"type":["null","number"]},"ranked":{"type":["array","null"],"items":{"type":"object","properties":{"name":{"type":["null","string"]},"price":{"type":["null","number"]},"amount":{"type":["null","number"]},"unit":{"type":["null","string"]},"pricePerStandardUnit":{"type":["null","number"]}}}},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"BEST_FOUND","summary":"Best value is Large at 0.8378 per 100 g, 40.2% cheaper than Bulk.","reasons":["All prices converted to a standard unit: per 100 g."],"standardUnit":"100 g","bestName":"Large","bestPricePerStandardUnit":0.8378,"worstName":"Bulk","savingsBestVsWorstPercent":40.2,"ranked":[{"name":"Large","price":3.8,"amount":1,"unit":"lb","pricePerStandardUnit":0.8378},{"name":"Small","price":4,"amount":16,"unit":"oz","pricePerStandardUnit":0.8818}],"degraded":false,"notChecked":["coupons, loyalty prices, tax and deposits","quality, brand, shelf life or waste","…1 more"],"source":"computed locally (exact unit definitions)","asOf":"2026-10-11T23:32:57.211Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://shipping-calc.x402tookit.com/unit-price"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://shipping-calc.x402tookit.com/unit-price"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://shipping-calc.x402tookit.com/unit-price"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://shipping-calc.x402tookit.com/unit-price"}}]}}}}}