{"uid":"cap_wivQk0PFFt4TA3YR57u-o","slug":"delx-multi-outcome-normalize-26e909a3","name":"Delx Multi-Outcome Normalize","description":"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.","url":"https://api.delx.ai/api/v1/x402/multi-outcome-normalize","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"prices":{"type":"array","description":"Input field: prices."}}},"responseSchema":{"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"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zHhe0ZoOIaM9bw3Vzt4vN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Normalizes an array of prices into probability weights that sum to 1.0, returning proportional probabilities for each outcome.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Prediction market probability display","prompt":"I have outcome prices [0.15, 0.35, 0.50] from a prediction market — can you normalize them into probabilities so I can show each outcome's implied likelihood as a percentage?"},{"title":"Multi-option bid weight allocation","prompt":"I need to allocate budget proportionally across three bids priced at 0.4, 0.8, and 1.2 — normalize those prices into probability weights so I know what fraction to assign each."},{"title":"Agent scoring result ranking","prompt":"My agent scored three candidate answers at 0.1, 0.5, and 0.9 — normalize those scores into a probability distribution so I can sample from them proportionally."}],"resultDescription":"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').","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:18:30.714Z","isFirstParty":false}