{"uid":"cap_9NYr0bcr5AHUp4-lrSSwk","slug":"container-cbm-load-optimizer-3940295f","name":"Container CBM Load Optimizer","description":"Cartons per 20ft/40ft/40HC by volume and weight.","url":"https://x402-niche-briefs.fly.dev/v1/container-cbm-load-optimizer?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["carton_l_cm","carton_w_cm","carton_h_cm","carton_kg"],"properties":{"carton_kg":{"type":"string","description":"Carton kg"},"carton_h_cm":{"type":"string","description":"Carton H cm"},"carton_l_cm":{"type":"string","description":"Carton L cm"},"carton_w_cm":{"type":"string","description":"Carton W cm"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","carton_cbm","containers","as_of"],"properties":{"as_of":{"type":"string"},"input":{"type":"object","required":["carton_l_cm","carton_w_cm","carton_h_cm","carton_kg"],"properties":{"carton_kg":{"type":"number"},"carton_h_cm":{"type":"number"},"carton_l_cm":{"type":"number"},"carton_w_cm":{"type":"number"}}},"carton_cbm":{"type":"number"},"containers":{"type":"object","required":["20ft","40ft","40HC"],"properties":{"20ft":{"type":"object","required":["usable_cbm","max_cartons","limited_by"],"properties":{"limited_by":{"type":"string"},"usable_cbm":{"type":"number"},"max_cartons":{"type":"number"}}},"40HC":{"type":"object","required":["usable_cbm","max_cartons","limited_by"],"properties":{"limited_by":{"type":"string"},"usable_cbm":{"type":"number"},"max_cartons":{"type":"number"}}},"40ft":{"type":"object","required":["usable_cbm","max_cartons","limited_by"],"properties":{"limited_by":{"type":"string"},"usable_cbm":{"type":"number"},"max_cartons":{"type":"number"}}}}}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MFPWjN8ishzVyZ_t5MobK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates how many cartons fit in 20ft, 40ft, and 40HC shipping containers based on carton dimensions and weight.","exampleAgentPrompt":"How many of my cartons fit in a 20ft, 40ft, and 40HC container if each carton is 60cm long, 40cm wide, 30cm tall, and weighs 12kg?","exampleUseCases":[{"title":"Freight planning for product import","prompt":"I'm importing goods from China. Each carton is 55cm x 45cm x 35cm and weighs 18kg. How many cartons can I fit in a 20ft versus a 40ft container, and which constraint limits me — weight or volume?"},{"title":"Choosing the right container size","prompt":"My cartons are 48cm long, 32cm wide, 28cm high, and 8kg each. Can you tell me how many fit in a 40HC container and whether volume or weight is the limiting factor?"},{"title":"E-commerce shipment cost optimization","prompt":"We're shipping 80cm x 60cm x 50cm cartons weighing 25kg each. Calculate how many units we can load into each standard container type so I can figure out the cheapest shipping option per unit."}],"resultDescription":"Returns the carton's CBM, and for each container type (20ft, 40ft, 40HC): the usable CBM, the maximum number of cartons that fit, and whether the constraint is volume or weight. Includes a timestamp of calculation.","failureModes":["Missing required query parameters (carton_l_cm, carton_w_cm, carton_h_cm, carton_kg) returns a validation error","Non-numeric or negative dimension values may cause errors or unexpected results","Extremely large carton dimensions exceeding container size may result in zero cartons","Payment failure via x402 protocol returns 402 response before calculation"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic calculation of carton-to-container fit across all three standard container types simultaneously, factoring in both volume (CBM) and weight limits. Ideal for logistics agents, freight planning tools, or e-commerce import workflows that need to compare container options in a single call without building their own CBM math.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:41:52.544Z","isFirstParty":false,"canonicalSlug":"container-cbm-load-optimizer-3940295f"}