← Market

Ecommerce Profitability · Unit Economics

Compute landed cost, total cost per unit, contribution margin, ROI, break-even price and break-even ACoS from caller-supplied product costs and marketplace fees or fee rates. Docs: https://www.brainiac.software/api/ecommerce-profitability/unit-economics

POST https://www.brainiac.software/api/v1/ecommerce-profitability/unit-economics

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
{
  "costs": {
    "duty": 60,
    "fulfilmentFees": 420,
    "inboundFreight": 120,
    "marketplaceFees": 750,
    "other": 0,
    "packaging": 30,
    "product": 800,
    "storage": 25
  },
  "currency": "USD",
  "pricePerUnit": 2999,
  "returnLossPerUnit": 1200,
  "returnRate": 0.05,
  "salesTaxIncluded": false
}
{
  "breakEvenAcos": 0.2447,
  "breakEvenPrice": 2265,
  "contributionMargin": 734,
  "currency": "USD",
  "landedCost": 1010,
  "limitations": [
    "landedCost = product + inboundFreight + duty + packaging. Returns allowance = returnRate × returnLossPerUnit.",
    "When marketplaceFeeRate is set, marketplace fees = price × rate and break-even price = ceil((total without fees) / (1 − rate)). Otherwise break-even price"
  ],
  "marginPct": 0.2447,
  "marketplaceFees": 750,
  "returnsAllowance": 60,
  "roi": 0.7267,
  "salesTaxIncluded": false,
  "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"
    }
  ],
  "totalCostPerUnit": 2265
}

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/unit-economics · input in body · spec from live-challenge

Input schema
{
  "type": "object",
  "properties": {
    "currency": {
      "type": "string",
      "minLength": 3,
      "maxLength": 3,
      "description": "Optional ISO currency code for a single-quote request.",
      "example": "USD"
    },
    "pricePerUnit": {
      "type": "integer",
      "maximum": 9007199254740991,
      "description": "price Per Unit supplied by the caller for this operation.",
      "example": 2999
    },
    "costs": {
      "type": "object",
      "description": "costs supplied by the caller for this operation.",
      "example": {
        "product": 800,
        "inboundFreight": 120,
        "duty": 60,
        "packaging": 30,
        "marketplaceFees": 750,
        "fulfilmentFees": 420,
        "storage": 25,
        "other": 0
      }
    },
    "marketplaceFeeRate": {
      "type": "number",
      "minimum": 0,
      "description": "marketplace Fee Rate supplied by the caller for this operation."
    },
    "returnRate": {
      "type": "number",
      "minimum": 0,
      "maximum": 1,
      "description": "return Rate supplied by the caller for this operation.",
      "example": 0.05
    },
    "returnLossPerUnit": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "return Loss Per Unit supplied by the caller for this operation.",
      "example": 1200
    },
    "salesTaxIncluded": {
      "type": "boolean",
      "description": "sales Tax Included supplied by the caller for this operation.",
      "example": false
    }
  },
  "required": [
    "currency",
    "pricePerUnit",
    "costs",
    "returnRate",
    "returnLossPerUnit"
  ],
  "additionalProperties": false
}
Output schema
{
  "type": "object"
}
curl -i -X POST 'https://www.brainiac.software/api/v1/ecommerce-profitability/unit-economics' \
  -H 'content-type: application/json' -d '{"currency":"USD","pricePerUnit":2999,"costs":{"product":800,"inboundFreight":120,"duty":60,"packaging":30,"marketplaceFees":750,"fulfilmentFees":420,"storage":25,"other":0},"returnRate":0.05,"returnLossPerUnit":1200,"salesTaxIncluded":false}'

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

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