# Delx Commerce Unit Economics Calculator

> Delx Commerce Unit Economics Calculator is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-01).

Computes unit economics (gross profit, gross margin) given a cost and price, returning a profitability verdict

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/unit-economics?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-unit-economics-calculator-6b9fad30
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lZj7U-y7HC3vTmSMdJo2M

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability delx-commerce-unit-economics-calculator-6b9fad30 -d '<json body>'
```

Example prompt: Can you calculate the unit economics for my product — my cost is $0.002 and I'm selling it for $0.01? I want to know the gross profit, gross margin percentage, and whether it's actually profitable.

## When to prefer this

Use this endpoint when you need a quick, verifiable, pay-per-call computation of unit economics (gross profit and margin) without setting up any account or subscription. Ideal for AI agents that need to programmatically evaluate pricing decisions on-the-fly using USDC micropayments via the x402 protocol.

## Known failure modes

- Missing cost or price fields returns a validation error
- Non-numeric values for cost or price cause a parse error
- Price of zero may cause division-by-zero in margin calculation
- Network or payment failure (x402 USDC payment not verified) blocks the response

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object with the original cost and price, a boolean 'profitable' flag, computed gross_profit (price minus cost), gross_margin_percent as a percentage, and a schema identifier string (delx/util-unit-economics/v1).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "cost": {
   "type": "number",
   "description": "Input field: cost."
  },
  "price": {
   "type": "number",
   "description": "Input field: price."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "cost": 0.002,
  "price": 0.01,
  "schema": "delx/util-unit-economics/v1",
  "profitable": true,
  "gross_profit": 0.008,
  "gross_margin_percent": 80
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-unit-economics-calculator-6b9fad30/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
