ZeqCargoOptimize
Container/cargo stowage optimization. Weight distribution, stability (GM), dangerous goods segregation, port rotation planning.
| Endpoint | POST /api/maritime/cargo |
| Auth | api-key |
| Rate limit | 10/min |
| Category | maritime |
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
containers | array | Yes | [{ id, weight_kg, type, dangerous, destination }] |
vesselCapacity | object | Yes | Bay/row/tier layout. |
portRotation | array | Yes | Port call sequence. |
Returns
{ stowagePlan, gm_m, trim_m, dangerousSegregation, craneSequence, zeqond }
Example
curl -sS -X POST \
-H "Authorization: Bearer zsm_..." \
-H "Content-Type: application/json" \
-d '{
"containers": [],
"vesselCapacity": {},
"portRotation": []
}' \
"https://zeqsdk.com/api/maritime/cargo"
This protocol is a named building block — one of the operations you
compose inside a state contract. Call it directly with
the request above, or invoke it from a contract that fires on your machine's
clock. Browse the whole library at GET /api/protocols; fetch this one at
GET /api/protocols/zeq-cargo-optimize.