{"uid":"cap_K8yzEtubwshpHzF5IavGo","slug":"delx-binary-edge-calculator-d9e2988f","name":"Delx Binary Edge Calculator","description":"Edge = true_prob − market_price for a binary contract. Call when ranking prediction-market opportunities by model edge. Returns signed edge in probability units 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/binary-edge","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"true_prob":{"type":"number","description":"Input field: true prob."},"market_price":{"type":"number","description":"Input field: market price."}}},"responseSchema":{"type":"json","example":{"edge":0.07000000000000006,"schema":"delx/util-binary-edge/v1","true_prob":0.55,"market_price":0.48}},"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_VJazsSo7maQ9hXHqfa5im","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 edge (expected value advantage) for a binary outcome bet given a true probability and a market price","exampleAgentPrompt":"I think the true probability of this event happening is 55%, but the market is pricing it at 48% — what's my edge on this binary bet?","exampleUseCases":[{"title":"Evaluating a prediction market position","prompt":"I believe there's a 62% chance this event resolves yes, but Polymarket has it at 54% — can you calculate how much edge I have on this trade?"},{"title":"Checking value in sports betting","prompt":"I estimate the true probability of this team winning is 70%, and the sportsbook is implying 65% from their odds — what's my binary edge?"},{"title":"Calibrating agent trading decisions","prompt":"Before my agent places a bid on this binary outcome contract, tell me the edge when my model says true prob is 0.58 and the current market price is 0.51."}],"resultDescription":"Returns a JSON object containing the computed edge (a float representing the expected value advantage, e.g. 0.07), along with the input true_prob and market_price echoed back, and a schema identifier string.","failureModes":["Missing required fields (true_prob or market_price) returns a validation error","Values outside [0,1] range for probabilities may produce nonsensical or error results","Payment failure due to insufficient USDC balance returns a 402 error"],"whenToPreferThis":"Use this endpoint when you need a lightweight, fast computation of binary bet edge from a true probability estimate and a market price — especially inside agent pipelines that evaluate prediction market or binary outcome positions at high frequency. Prefer this over manual calculation when building automated trading or decision agents that need consistent, auditable edge values at low cost per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:14:51.187Z","isFirstParty":false}