# Delx Weight Normalize

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

Normalizes an array of non-negative weights so they sum to 1.0, returning a probability simplex representation suitable for ensemble models and signal preparation.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/weight-normalize
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-weight-normalize-1ba7cc65
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SQ_n1fIk53rotORvkZqR9

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-weight-normalize-1ba7cc65 -d '<json body>'
```

Example prompt: I have these raw ensemble weights [0.5, 1.5, 3.0] — can you normalize them so they all sum to 1?

## When to prefer this

Choose this endpoint when you need a stateless, deterministic, local-only normalization of non-negative weights with no external dependencies or data retention — ideal for agent pipelines that need simplex projection of ensemble weights, portfolio allocations, or probability distributions without a licensed data feed or heavyweight ML dependency.

## Known failure modes

- All-zero input array — cannot normalize a zero-sum vector, returns error
- Negative values in weights array — violates non-negative constraint, returns validation error
- Empty array — no weights to normalize, returns error
- Non-numeric values in array — schema validation failure

## How this service works

Normalize non-negative weights so they sum to one when possible — call when normalizing non-negative ensemble weights to sum 1. Use on caller-supplied ticks/returns when agents need signal prep without a licensed live market feed (ottoai-class demand, first-party transform). Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, and no claim of live chain tip, web s…

## Output

A deterministic JSON object containing the normalized weights array where all values are non-negative and sum to 1.0, suitable for direct use as probability weights, ensemble blending coefficients, or allocation fractions.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "weights": {
   "type": "array",
   "description": "Non-negative weights to normalize so they sum to 1 when possible."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "sum": 4,
  "count": 3,
  "valid": true,
  "schema": "delx/util-weight-normalize/v1",
  "normalized": [
   0.25,
   0.5,
   0.25
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-weight-normalize-1ba7cc65/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)
