← Market

Ecommerce Profitability · Packaging Optimize

Try caller boxes and orientations with padding, compute dimensional and billable weight from a caller divisor, and pick the best by billable weight or box cost. Docs: https://www.brainiac.software/api/ecommerce-profitability/packaging-optimize

POST https://www.brainiac.software/api/v1/ecommerce-profitability/packaging-optimize

0.03 USDC on Base · payTo 0x6428665E83F503904571104311bB78CBb29b975c

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.03 USDC · payTo 0x6428665E83F503904571104311bB78CBb29b975c · via cdp · settles direct
{
  "boxes": [
    {
      "cost": 40,
      "h": 12,
      "id": "S",
      "l": 32,
      "tareG": 200,
      "w": 22
    }
  ],
  "dimDivisor": 5000,
  "items": [
    {
      "h": 10,
      "l": 30,
      "qty": 1,
      "w": 20,
      "weightG": 1500
    }
  ],
  "objective": "billable_weight",
  "paddingCm": 1
}
{
  "best": {
    "actualG": 1700,
    "billableG": 1700,
    "boxId": "S",
    "dimWeightG": 1690,
    "orientation": [
      30,
      20
    ]
  },
  "limitations": [
    "Items form one bounding block (identical items stack on the smallest edge). Each box tries all six orientations with padding on every side.",
    "Dimensional weight (g) = ceil(l × w × h / dimDivisor × 1000). Billable = max(actual + tare, dim). Ties prefer smaller box volume."
  ],
  "rejected": [],
  "sources": [
    {
      "retrievedAt": "2026-11-14",
      "source": "Caller-supplied marketplace fees, costs, ads rows and listing text processed locally",
      "status": "ok",
      "url": "https://www.brainiac.software/api/v1/ecommerce-profitability"
    }
  ]
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Sellers · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human store: human checkout, card & crypto · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust scorepending / 100 · breakdown
Probe uptime (30d)— over 0 probes · daily
Avg 402 latency— ms
Paid calls (30d, on-chain)0 calls · 0 buyers

How to call

POST https://www.brainiac.software/api/v1/ecommerce-profitability/packaging-optimize · input in body · spec from live-challenge

Input schema
{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "items supplied by the caller for this operation.",
      "example": [
        {
          "l": 30,
          "w": 20,
          "h": 10,
          "weightG": 1500,
          "qty": 1
        }
      ]
    },
    "boxes": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "boxes supplied by the caller for this operation.",
      "example": [
        {
          "id": "S",
          "l": 32,
          "w": 22,
          "h": 12,
          "tareG": 200,
          "cost": 40
        }
      ]
    },
    "paddingCm": {
      "type": "number",
      "minimum": 0,
      "maximum": 100,
      "description": "padding Cm supplied by the caller for this operation.",
      "example": 1
    },
    "dimDivisor": {
      "type": "number",
      "description": "dim Divisor supplied by the caller for this operation.",
      "example": 5000
    },
    "objective": {
      "type": "string",
      "enum": [
        "billable_weight",
        "box_cost"
      ],
      "description": "objective supplied by the caller for this operation.",
      "example": "billable_weight"
    }
  },
  "required": [
    "items",
    "boxes",
    "dimDivisor"
  ],
  "additionalProperties": false
}
Output schema
{
  "type": "object"
}
curl -i -X POST 'https://www.brainiac.software/api/v1/ecommerce-profitability/packaging-optimize' \
  -H 'content-type: application/json' -d '{"items":[{"l":30,"w":20,"h":10,"weightG":1500,"qty":1}],"boxes":[{"id":"S","l":32,"w":22,"h":12,"tareG":200,"cost":40}],"paddingCm":1,"dimDivisor":5000,"objective":"billable_weight"}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)