# Delx Commerce — Multi-Outcome Normalize

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

Normalizes an array of prices into probability weights that sum to 1, along with summary statistics for multi-outcome decision modeling.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/multi-outcome-normalize?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-multi-outcome-normalize-5de0e955
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_A-zisD0RFQa7TxrO0cJpc

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

Example prompt: Normalize these three outcome prices — 0.2, 0.3, and 0.6 — into probabilities that sum to 1 so I can use them for a decision model.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-use normalization of a price or value array into a probability simplex without standing up your own math service. Ideal for agents operating in prediction markets, multi-outcome betting, or decision modeling that need verifiable, on-demand computation paid in USDC with no signup friction.

## Known failure modes

- Empty or missing prices array returns an error
- Non-numeric values in the prices array cause a parsing failure
- All prices summing to zero causes division-by-zero error
- Malformed JSON body returns a 400 bad request
- Payment not received or insufficient USDC balance returns 402

## 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 with the count of outcomes (n), the raw sum of all prices, an array of normalized probabilities (each price divided by the sum, totaling 1), the original prices array, and a schema identifier string (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-commerce-multi-outcome-normalize-5de0e955/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)
