# Unit Return Rate – IQR Outlier Flags

> Unit Return Rate – 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-18).

Flags statistical outliers in unit return rate data using the interquartile range (IQR) method across up to 200 supplied retail records.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-retail-unit-return-outliers?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/unit-return-rate-iqr-outlier-flags-2e98607a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PKo477myZNN-3FHU-JQ_7

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 unit-return-rate-iqr-outlier-flags-2e98607a -d '<json body>'
```

Example prompt: I have a list of products with their sold and returned unit counts — can you run IQR outlier detection on the return rates and flag which ones are statistical outliers? Here are 6 rows: [{sold_units:200,returned_units:10},{sold_units:180,returned_units:9},{sold_units:150,returned_units:45},{sold_units:220,returned_units:11},{sold_units:190,returned_units:9},{sold_units:170,returned_units:8}]

## When to prefer this

Choose this endpoint when you have a batch of retail records with sold and returned unit counts and want to statistically flag which records are outliers by return rate using the IQR method. It is ideal for local, scenario-based analysis without needing live inventory or platform integration. Prefer it over simple mean/threshold approaches when you want a robust, percentile-based outlier detection that is resistant to skewed distributions.

## Known failure modes

- Fewer than 2 rows supplied — minimum is 2 rows
- sold_units value of 0 or missing (exclusiveMinimum enforced)
- returned_units exceeds sold_units in a way that produces implausible rates — accepted but may skew IQR
- More than 200 rows submitted — maxItems limit exceeded
- Malformed row objects with extra properties rejected due to additionalProperties:false

## How this service works

Unit return rate - IQR outlier flags: IQR outlier flags for Unit return rate. 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 outlier flag indicators for each supplied row, identifying which records have unit return rates that fall outside the IQR-defined bounds (typically below Q1 − 1.5×IQR or above Q3 + 1.5×IQR), based purely on the locally supplied data with no live inventory or platform data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "returned_units",
     "sold_units"
    ],
    "properties": {
     "sold_units": {
      "type": "number",
      "default": 100,
      "maximum": 1000000000000,
      "minimum": 0,
      "exclusiveMinimum": 0
     },
     "returned_units": {
      "type": "number",
      "default": 5,
      "maximum": 1000000000000,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "sold_units": 100,
     "returned_units": 5
    },
    {
     "sold_units": 110.00000000000001,
     "returned_units": 5.5
    },
    {
     "sold_units": 100,
     "returned_units": 5
    },
    {
     "sold_units": 110.00000000000001,
     "returned_units": 5.5
    }
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/unit-return-rate-iqr-outlier-flags-2e98607a/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)
