# Break-even Ad Cost Per Order – IQR Outlier Flags

> Break-even Ad Cost Per Order – IQR Outlier Flags is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-14).

Calculates break-even advertising cost per order for retail orders and flags statistical outliers using IQR (interquartile range) method across a batch of supplied rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-break-even-ad-cost-outliers?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/break-even-ad-cost-per-order-iqr-outlier-flags-61a5cb08
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_77eQhzpp0wrWO1JILBEjU

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 break-even-ad-cost-per-order-iqr-outlier-flags-61a5cb08 -d '<json body>'
```

Example prompt: I have a batch of retail orders with revenue, product cost, fulfilment cost, payment fees, and other variable costs — can you calculate the break-even ad cost per order for each one and flag any IQR outliers?

## When to prefer this

Use this endpoint when you have a batch of retail order rows with known cost components and want to both compute break-even advertising cost per order and automatically identify statistical outliers via IQR — without needing live inventory, platform, or account data. Prefer this over generic statistics APIs when your domain is specifically retail/ecommerce unit economics and you want pre-built break-even logic combined with outlier detection in one call.

## Known failure modes

- Fewer than 2 rows supplied — minimum 2 rows required for IQR calculation
- More than 200 rows submitted — exceeds maxItems limit
- Missing required fields (order_revenue, product_cost, fulfilment_cost, payment_fees, other_variable_costs) in any row
- Negative or non-numeric values for cost/revenue fields
- Payment failure or insufficient USDC balance for the $0.01 per-call fee

## How this service works

Break-even ad cost per order - IQR outlier flags: IQR outlier flags for Break-even ad cost per order. Supplied retail figures only. Local calculation and scenario analysis; no live inventory, account access, platform fee lookup or order execution. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded iqr outlier flags deliverable.

## Output

Returns IQR outlier flags for each input row's computed break-even ad cost per order. Each row indicates whether its break-even advertising cost is a statistical outlier (below Q1 − 1.5×IQR or above Q3 + 1.5×IQR) based on the distribution across all supplied rows. No live data, inventory, or platform fee lookups are performed — all calculations use the supplied figures only.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "order_revenue",
     "product_cost",
     "fulfilment_cost",
     "payment_fees",
     "other_variable_costs"
    ],
    "properties": {
     "payment_fees": {
      "type": "number",
      "default": 5,
      "maximum": 1000000000000,
      "minimum": 0
     },
     "product_cost": {
      "type": "number",
      "default": 40,
      "maximum": 1000000000000,
      "minimum": 0
     },
     "order_revenue": {
      "type": "number",
      "default": 100,
      "maximum": 1000000000000,
      "minimum": 0
     },
     "fulfilment_cost": {
      "type": "number",
      "default": 10,
      "maximum": 1000000000000,
      "minimum": 0
     },
     "other_variable_costs": {
      "type": "number",
      "default": 5,
      "maximum": 1000000000000,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "payment_fees": 5,
     "product_cost": 40,
     "order_revenue": 100,
     "fulfilment_cost": 10,
     "other_variable_costs": 5
    },
    {
     "payment_fees": 5.5,
     "product_cost": 44,
     "order_revenue": 110.00000000000001,
     "fulfilment_cost": 11,
     "other_variable_costs": 5.5
    },
    {
     "payment_fees": 5,
     "product_cost": 40,
     "order_revenue": 100,
     "fulfilment_cost": 10,
     "other_variable_costs": 5
    },
    {
     "payment_fees": 5.5,
     "product_cost": 44,
     "order_revenue": 110.00000000000001,
     "fulfilment_cost": 11,
     "other_variable_costs": 5.5
    }
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/break-even-ad-cost-per-order-iqr-outlier-flags-61a5cb08/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
