# Delx Commerce — Numeric Outlier Scan

> Delx Commerce — Numeric Outlier Scan 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).

Scans an array of numeric values and identifies statistical outliers using z-score thresholding, returning mean, standard deviation, and outlier indexes.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/numeric-outlier-scan?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-numeric-outlier-scan-f3f5db3d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MB3ZYErq_yXGoGUT28Aqd

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-numeric-outlier-scan-f3f5db3d -d '<json body>'
```

Example prompt: Can you scan this list of numbers — [12, 15, 14, 300, 13, 11] — for outliers using a z-score threshold of 2? I want to know which values are anomalous and get the mean and standard deviation.

## When to prefer this

Choose this endpoint when you need a fast, stateless, pay-per-call numeric outlier scan without setting up infrastructure or a data pipeline. Ideal for agents processing ad-hoc numeric arrays where you want exact z-score-based anomaly detection with no recurring subscription cost. Prefer over general-purpose data platforms when you only need this single computation on demand.

## Known failure modes

- Empty or missing 'values' array causes validation error
- Non-numeric values in array may cause computation failure
- Very small arrays (fewer than 2 elements) may produce unreliable standard deviation
- Extremely high z_threshold values may result in zero outliers being detected even for visibly extreme data
- Missing z_threshold defaults to a preset value — results may differ from expectation if not explicitly set

## 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 containing the computed mean, standard deviation, total count of values, the configured z-score threshold, the number of outliers detected, and an array of indexes corresponding to the outlier values in the original input array.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "values": {
   "type": "array",
   "description": "Input field: values."
  },
  "z_threshold": {
   "type": "number",
   "description": "Input field: z_threshold."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "mean": 48.6,
  "count": 5,
  "schema": "delx/util-numeric-outlier-scan/v1",
  "z_threshold": 2,
  "outlier_count": 0,
  "outlier_indexes": [],
  "standard_deviation": 75.703633
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-numeric-outlier-scan-f3f5db3d/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)
