📖API List
- pack_packages: Optimize Packing into bins for shipping, storage and transport.
🌍Endpoints
Currently, we provide these Endpoints, and RapidAPI will automatically select the nearest Endpoint based on the region.
1. US East(Virginia, USA)
2. Europe(London, UK)
3. Southeast Asia(Singapore)
4. Asia(Hangzhou, China)
⚙️Pack Packages
Optimize Packing into bins for shipping, storage and transport.
Good for Warehousing and Logistics.
Core Features
1. Fast and accurate result
2. Support multi-objective optimization which provides greater flexibility and is more aligned with business needs.
3. For third parties/fourth parties who are unaware of the Bin costs, the optimization target supports optimizing the surface area of packaging materials. Assuming that the material and specifications are not considered, the cost of BIn is linearly related to the surface area.
4. Support custom orientation of items. For example, fragile items can be placed upright, and heavy items can be placed flat. This can prevent damage caused by gravitational shift or compression during transportation.
5. Support the grouping of goods. For example, chemicals and food should not be packed in the same box, and this also facilitates the classification and management of goods.
6. Support independent packaging. Certain items, such as high-value goods, should be packaged independently to prevent damage caused by friction with other items during transportation.
7. Support both final and step-by-step packing guidance. Algorithm provides the order of goods placement and coordinate data, which facilitates data visualization to guide the packing process.
8. Provide detailed data for each package to facilitate verification and reduce the workload of later data processing and subsequent algorithm integration. For example, the volume utilization rate and weight of the package.
9. supports weight capacity to prevent recommending excessively heavy goods for the lightweight plastic packaging bags in the Bin
🚀Application Scenarios
Box Recommend
During warehouse packing operations, the system automatically recommends the most cost-effective packaging materials that can accommodate all items based on product dimensions, weight, orientation, and other factors.
1. Improves packing efficiency by eliminating guesswork: With dozens of packaging options at the packing station, selecting the optimal one can be overwhelming and time-consuming. (save 100% thinking(guesswork) time)
2. Reduces packaging costs by preventing oversized boxes: Relying on experience alone often leads to using excessively large packaging for small items—a common source of material waste in warehouse operations. (save 5%-17% bin costs)
Order Splitting
When an outbound order contains too many items to fit into any single packaging material, it must be split into multiple packages.
1. Precise order splitting cuts labor costs and eliminates the issue of items not fitting even after manual splitting. (save 100% manual work)
2. Automated packaging recommendations boost efficiency and save on packaging costs. (save 5%-17% bin costs)
{"code":"SUCCESS","msg":null,"result":{"package_list":[{"bin":{"bin_code":"SMALL_SIZE_BIN","bin_length":10.0,"bin_width":10.0,"bin_height":10.0,"bin_weight":0.5,"bin_weight_capacity":10.0,"bin_cost":0.3,"bin_surface":600.0,"bin_volume":1000.0},"item_list":[{"item_code":"SNEAK","item_length":5.0,"item_width":5.0,"item_height":10.0,"item_num":1,"item_weight":0.5,"item_acceptable_orientation":["width_vertical","height_vertical","length_vertical"],"item_group":"default","item_individual_packing":0,"item_coordinate":{"x_start":0.0,"y_start":0.0,"z_start":0.0,"x_end":5.0,"y_end":5.0,"z_end":10.0},"item_volume":250.0}],"package_volume":1000.0,"item_volume":250.0,"unused_volume":750.0,"package_volume_fill_ratio":25.0,"item_weight":0.5,"bin_weight":0.5,"package_weight":1.0,"package_weight_use_ratio":5.0},{"bin":{"bin_code":"LARGE_SIZE_BIN","bin_length":10.0,"bin_width":30.0,"bin_height":10.0,"bin_weight":0.5,"bin_weight_capacity":15.0,"bin_cost":0.7,"bin_surface":1400.0,"bin_volume":3000.0},"item_list":[{"item_code":"CHEMICAL_ITEM","item_length":10.0,"item_width":10.0,"item_height":10.0,"item_num":1,"item_weight":1.0,"item_acceptable_orientation":["width_vertical","height_vertical","length_vertical"],"item_group":"CHEMICALS","item_individual_packing":0,"item_coordinate":{"x_start":0.0,"y_start":0.0,"z_start":0.0,"x_end":10.0,"y_end":10.0,"z_end":10.0},"item_volume":1000.0},{"item_code":"CHEMICAL_ITEM","item_length":10.0,"item_width":10.0,"item_height":10.0,"item_num":1,"item_weight":1.0,"item_acceptable_orientation":["width_vertical","height_vertical","length_vertical"],"item_group":"CHEMICALS","item_individual_packing":0,"item_coordinate":{"x_start":10.0,"y_start":0.0,"z_start":0.0,"x_end":20.0,"y_end":10.0,"z_end":10.0},"item_volume":1000.0},{"item_code":"CHEMICAL_ITEM","item_length":10.0,"item_width":10.0,"item_height":10.0,"item_num":1,"item_weight":1.0,"item_acceptable_orientation":["width_vertical","height_vertical","length_vertical"],"item_group":"CHEMICALS","item_individual_packing":0,"item_coordinate":{"x_start":20.0,"y_start":0.0,"z_start":0.0,"x_end":30.0,"y_end":10.0,"z_end":10.0},"item_volume":1000.0}],"package_volume":3000.0,"item_volume":3000.0,"unused_volume":0.0,"package_volume_fill_ratio":100.0,"item_weight":3.0,"bin_weight":0.5,"package_weight":3.5,"package_weight_use_ratio":20.0}],"non_packed_item_list":[{"item_code":"TOO_BIG_ITEM","item_length":1000.0,"item_width":1000.0,"item_height":1000.0,"item_num":2,"item_weight":100.0,"item_acceptable_orientation":["width_vertical","height_vertical","length_vertical"],"item_group":"default","item_individual_packing":0,"item_coordinate":null,"item_volume":1000000000.0}]}}
curl --location --request POST 'https://zylalabs.com/api/11237/3d+bin+packer+api/21484/pack+packages' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"param": {
"objective_priority": [
"bin_num",
"bin_cost",
"fill_ratio"
]
},
"data": {
"item_list": [
{
"item_code": "SNEAK",
"item_width": 5,
"item_height": 10,
"item_length": 5,
"item_num": 1,
"item_weight": 0.5,
"item_acceptable_orientation": null,
"item_individual_packing": 0
},
{
"item_code": "CHEMICAL_ITEM",
"item_width": 10,
"item_height": 10,
"item_length": 10,
"item_num": 3,
"item_weight": 1,
"item_group": "CHEMICALS",
"item_acceptable_orientation": null,
"item_individual_packing": 0
},
{
"item_code": "TOO_BIG_ITEM",
"item_width": 1000,
"item_height": 1000,
"item_length": 1000,
"item_num": 2,
"item_weight": 100
}
],
"bin_list": [
{
"bin_code": "SMALL_SIZE_BIN",
"bin_width": 10,
"bin_height": 10,
"bin_length": 10,
"bin_weight": 0.5,
"bin_weight_capacity": 10,
"bin_cost": 0.3
},
{
"bin_code": "MEDIUM_SIZE_BIN",
"bin_width": 20,
"bin_height": 10,
"bin_length": 10,
"bin_weight": 0.5,
"bin_weight_capacity": 12,
"bin_cost": 0.5
},
{
"bin_code": "LARGE_SIZE_BIN",
"bin_width": 30,
"bin_height": 10,
"bin_length": 10,
"bin_weight": 0.5,
"bin_weight_capacity": 15,
"bin_cost": 0.7
}
]
}
}'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The Pack Packages endpoint returns a JSON response containing a list of optimized packaging solutions, including details about the bins and items. Each package includes information such as bin dimensions, weight capacity, item coordinates, and acceptable orientations.
Key fields in the response include `bin_code`, `bin_dimensions`, `item_code`, `item_weight`, `item_group`, and `item_coordinate`. These fields provide essential information for understanding how items are packed into bins.
The response data is structured in a JSON format with a top-level object containing a `package_list`. Each entry in this list details a bin and its corresponding items, allowing users to easily access packing configurations.
Users can customize their requests by specifying parameters such as item dimensions, weights, orientations, and grouping preferences. This allows for tailored packing solutions based on specific needs.
The endpoint provides information on bin specifications, item characteristics, packing orientations, and grouping rules. This comprehensive data helps optimize packing for various logistics scenarios.
Users can leverage the returned data to visualize packing arrangements, verify volume utilization, and ensure compliance with weight limits. This aids in efficient packing and reduces the risk of damage during transport.
Typical use cases include optimizing warehouse packing, automating order splitting, and recommending packaging materials. These applications enhance efficiency and reduce costs in logistics operations.
Data accuracy is maintained through algorithmic optimization and validation checks during the packing process. The API ensures that packing recommendations align with specified constraints and item characteristics.
The Pack Packages endpoint can handle a variety of items, including fragile goods, heavy items, and grouped products like chemicals and food. Users can specify item dimensions, weights, and acceptable orientations to optimize packing based on specific characteristics.
Users can define acceptable orientations for each item in their request. For example, fragile items can be set to be packed upright, while heavy items can be oriented flat to prevent damage during transport.
The API allows users to set grouping rules to prevent incompatible items from being packed together, such as keeping chemicals separate from food. This enhances safety and simplifies inventory management.
Users can specify that certain items, like high-value goods, should be packaged independently. This prevents damage from friction with other items during transport, ensuring the integrity of valuable products.
The API offers both final packing guidance and step-by-step instructions, including the order of item placement and coordinate data. This helps users visualize the packing process and implement it effectively.
The API provides detailed data for each package, including volume utilization rates and weights. Users can analyze this information to evaluate packing efficiency and make necessary adjustments.
If a packing request cannot be fulfilled due to constraints, the API may return partial results or indicate which items could not be packed. Users can then adjust their parameters or item selections accordingly.
The API optimizes packaging materials based on item dimensions, weights, and orientations, recommending the most cost-effective options. This minimizes waste and reduces overall packaging costs in logistics operations.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
8,959ms
Service Level:
100%
Response Time:
12,980ms
Service Level:
100%
Response Time:
51ms
Service Level:
100%
Response Time:
557ms
Service Level:
100%
Response Time:
937ms
Service Level:
100%
Response Time:
960ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
68ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
362ms
Service Level:
100%
Response Time:
2,667ms
Service Level:
100%
Response Time:
1,389ms
Service Level:
100%
Response Time:
1,876ms
Service Level:
100%
Response Time:
1,161ms
Service Level:
100%
Response Time:
540ms
Service Level:
100%
Response Time:
487ms
Service Level:
100%
Response Time:
777ms
Service Level:
100%
Response Time:
1,319ms
Service Level:
100%
Response Time:
1,665ms
Service Level:
100%
Response Time:
122ms