Delx Commerce Weight Normalize 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).
Normalizes an array of non-negative weights so that they sum to 1, returning normalized values along with count and sum metadata.
Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.
Returns a JSON object containing the normalized weight array (each value divided by the total sum), the original sum of all weights, the count of input weights, and a validity flag indicating whether normalization was possible (i.e., sum is non-zero).
POSThttps://commerce.delx.ai/api/v1/x402/weight-normalize?utm_source=zero.xyzChoose this endpoint when you need a quick, pay-per-use normalization of a numeric weight vector without setting up your own math library or server-side computation. Ideal for agents that need on-the-fly probability distribution computation, especially in contexts where verifiable, micropayment-gated utility functions are preferred over self-hosted solutions.
| Field | Type | Description |
|---|---|---|
| weights | array | Non-negative weights to normalize so they sum to 1 when possible. |
{
"type": "json",
"example": {
"sum": 4,
"count": 3,
"valid": true,
"schema": "delx/util-weight-normalize/v1",
"normalized": [
0.25,
0.5,
0.25
]
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"