{"uid":"cap_CTZD_B_xuCS068ZSOBYY0","slug":"delx-commerce-two-way-odds-devig-api-94ccbced","name":"Delx Commerce — Two-Way Odds Devig API","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/devig-two-way?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"p_no":{"type":"number","description":"Input field: p no."},"p_yes":{"type":"number","description":"Input field: p yes."}}},"responseSchema":{"type":"json","example":{"p_no":0.5,"p_yes":0.5,"schema":"delx/util-devig-two-way/v1","overround":0.1000000000000001}},"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_6FmdcZ7JNL0LvAssMiTOv","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":"Removes the bookmaker overround from two-way market odds to return fair (true) implied probabilities for each outcome","exampleAgentPrompt":"Strip the bookmaker margin from these two-way market odds for me — the yes side is priced at 0.55 implied probability and the no side at 0.52, and I want the fair no-vig probabilities for each.","exampleUseCases":[{"title":"Fair value check on sports bet","prompt":"I'm looking at a two-way moneyline where the implied probability for the home team winning is 0.58 and the away team is 0.48 — can you remove the overround and tell me the true fair probability for each side?"},{"title":"Prediction market calibration","prompt":"On this binary prediction market the yes side trades at 0.62 implied and the no side at 0.44 implied. What are the devigged fair probabilities, and how big is the overround?"},{"title":"Odds comparison across books","prompt":"Book A has yes at 0.54 and no at 0.51 implied. Remove the vig so I can compare the fair probability against another book's line."}],"resultDescription":"A JSON object containing the fair (no-vig) implied probability for the yes outcome, the fair implied probability for the no outcome, the calculated overround (total book margin expressed as a decimal excess above 1.0), and a schema identifier string.","failureModes":["Missing p_yes or p_no fields returns a validation error","Probabilities that sum to less than 1.0 (no overround) may produce unexpected results","Values outside 0–1 range may cause computation errors","Payment failure via x402 results in 402 response before computation is attempted"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic, pay-per-call devig calculation for a two-outcome (binary) market and want verifiable delivery with no API key or subscription. Prefer it over building your own normalization when you need auditable on-chain payment proof via x402 on Base or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:36.236Z","isFirstParty":false,"canonicalSlug":"delx-commerce-two-way-odds-devig-api-94ccbced"}