# Delx Multi-Outcome Normalize

> Delx Multi-Outcome Normalize is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Normalizes an array of prices into probability weights that sum to 1.0, returning proportional probabilities for each outcome.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/multi-outcome-normalize
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-multi-outcome-normalize-26e909a3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wivQk0PFFt4TA3YR57u-o

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-multi-outcome-normalize-26e909a3 -d '<json body>'
```

Example prompt: Normalize these three outcome prices into probabilities: [0.2, 0.3, 0.6] — I need each one as a proportion of the total so they sum to 1.

## When to prefer this

Use this endpoint when you have a list of numeric outcome prices or scores and need to convert them into a valid probability distribution (values summing to 1.0). Ideal for prediction markets, multi-armed bandit sampling, proportional budget allocation, or any scenario where raw scores must be normalized before probabilistic decision-making. Prefer this over manual computation when you need a governed, auditable, low-latency utility call within an agent workflow.

## Known failure modes

- Empty prices array returns undefined behavior or error
- Non-numeric values in the prices array cause validation failure
- All-zero prices array causes division-by-zero error
- Malformed JSON body returns 400 error
- Single-element array returns probability of 1.0 trivially

## How this service works

Normalize multi-outcome prices into a probability simplex. Call when turning raw multi-outcome quotes into probs that sum to 1. Returns normalized probs and sum as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.

## Output

Returns a JSON object containing: 'n' (count of input prices), 'sum' (total of all prices), 'prices' (the original input array), 'probs' (array of normalized probability values for each price, proportional to its share of the sum, summing to 1.0), and 'schema' identifier ('delx/util-multi-outcome-normalize/v1').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "prices": {
   "type": "array",
   "description": "Input field: prices."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "n": 3,
  "sum": 1.1,
  "probs": [
   0.1818181818181818,
   0.2727272727272727,
   0.5454545454545454
  ],
  "prices": [
   0.2,
   0.3,
   0.6
  ],
  "schema": "delx/util-multi-outcome-normalize/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-multi-outcome-normalize-26e909a3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
