DELXCOMMERCE Live contract

Commercial operations analytics · commercial-operations

Delx Gross Margin

Calculate gross profit, gross margin, and profitability. Use it as a bounded preflight or analysis step inside an enterprise agent workflow before data, policy, integration, security, or commercial decisions reach production. Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, memory-only, and has no paid upstream or input retention. Results are advisory; the caller remains responsible for authorization and production controls.

x402agentsenterprisecommercial-operationslocal-firstgross

One-command purchase

Run it from an agent.

No account or API key. AgentCash reads the 402 challenge, pays no more than the declared cap, retries the request and returns the result.

npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/gross-margin -m POST -H 'x-delx-source: product-page' --max-amount 0.003 -b '{"price":100,"cost":35}'
InputPOST /api/v1/x402/gross-margin
{
  "price": 100,
  "cost": 35
}
Delivered resultapplication/json
{
  "schema": "delx/util-gross-margin/v1",
  "price": 100,
  "cost": 35,
  "gross_profit": 65,
  "gross_margin_percent": 65,
  "profitable": true
}

Machine-readable evidence

Inspect before paying.