# Price After Percent Discount – IQR Outlier Flags

> Price After Percent Discount – 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-15).

Calculates the price after a percent discount and flags IQR-based statistical outliers across a set of retail price rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-discount-price-outliers?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/price-after-percent-discount-iqr-outlier-flags-3e7913d9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ri8KVq3yBTF3DeCuJfek9

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 price-after-percent-discount-iqr-outlier-flags-3e7913d9 -d '<json body>'
```

Example prompt: I have a batch of retail prices and discount percentages — can you calculate the final discounted prices and flag any IQR outliers? Here's the data: list prices of 100, 110, 95, 500 with discount percents of 20, 22, 20, 22.

## When to prefer this

Choose this endpoint when you need a fast, cheap ($0.01 USDC) local statistical computation to detect pricing anomalies in a set of retail rows using the IQR method on post-discount prices. Prefer it over manual spreadsheet analysis or general-purpose statistics APIs when you have 2–200 retail rows with list prices and discount percents and need outlier flags returned immediately without needing live inventory or order data.

## Known failure modes

- Fewer than 2 rows provided (minItems:2 violation) — request rejected
- list_price or discount_percent outside allowed bounds (0–1e12 and 0–100 respectively) — validation error
- More than 200 rows submitted — request rejected
- Malformed JSON or missing required fields — bad request error
- Insufficient row variance may make IQR flagging trivial or undefined

## How this service works

Price after percent discount - IQR outlier flags: IQR outlier flags for Price after percent discount. 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 per-row computed discounted prices alongside IQR-based outlier flags indicating which rows fall outside the interquartile range of the discounted price distribution. No live inventory, account, or order data is included — purely local statistical computation on the supplied rows.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "list_price",
     "discount_percent"
    ],
    "properties": {
     "list_price": {
      "type": "number",
      "default": 100,
      "maximum": 1000000000000,
      "minimum": 0
     },
     "discount_percent": {
      "type": "number",
      "default": 20,
      "maximum": 100,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "list_price": 100,
     "discount_percent": 20
    },
    {
     "list_price": 110.00000000000001,
     "discount_percent": 22
    },
    {
     "list_price": 100,
     "discount_percent": 20
    },
    {
     "list_price": 110.00000000000001,
     "discount_percent": 22
    }
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/price-after-percent-discount-iqr-outlier-flags-3e7913d9/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)
