{"uid":"cap_fq2j1LDxQGc_ZOmIWYpAt","slug":"delx-commerce-binary-fair-price-calculator-38aa0334","name":"Delx Commerce — Binary Fair Price Calculator","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/binary-fair-price?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"prob":{"type":"number","description":"Input field: prob."}}},"responseSchema":{"type":"json","example":{"prob":0.37,"schema":"delx/util-binary-fair-price/v1","fair_price":0.37}},"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_Wxz3QqoJU9gUcU428wCNj","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":"Computes the fair price for a binary outcome given a probability, returning the expected value as a price in USDC.","exampleAgentPrompt":"What is the mathematically fair price for a binary outcome that has a 37% probability of occurring?","exampleUseCases":[{"title":"Prediction market settlement pricing","prompt":"I need to calculate the fair price for a binary prediction market contract where the event has a 65% chance of happening — what should the settlement price be?"},{"title":"Probabilistic bet fair value","prompt":"Before I place a bet on a binary outcome, can you tell me the fair price I should pay given the event has a 0.82 probability of occurring?"},{"title":"Agent decision weighting","prompt":"I'm building an automated decision pipeline — can you compute the fair price for a binary outcome with probability 0.15 so I can weight my options correctly?"}],"resultDescription":"Returns a JSON object containing the echoed input probability, the schema identifier ('delx/util-binary-fair-price/v1'), and the computed fair price (a decimal number equal to the probability, representing the expected value of the binary outcome in USDC terms).","failureModes":["Missing 'prob' field returns a validation error","Probability outside [0, 1] range may return an error or undefined behavior","Payment not provided or insufficient USDC results in x402 payment required response","Network timeout if the service is temporarily unavailable"],"whenToPreferThis":"Use this endpoint when you need a quick, verifiable, mathematically grounded fair price for a binary (yes/no) outcome given a known probability — particularly in agent workflows involving prediction markets, probabilistic decision-making, or automated betting/settlement. It is pay-per-result with no signup and verifiable delivery via x402, making it ideal for trustless agent pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:53.465Z","isFirstParty":false,"canonicalSlug":"delx-commerce-binary-fair-price-calculator-38aa0334"}