{"uid":"cap_S1svqJcZRpZb5Wwmoj-rO","slug":"delx-commerce-odds-ratio-calculator-8e0e8e6c","name":"Delx Commerce — Odds Ratio 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/odds-ratio?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"prob":{"type":"number","description":"Input field: prob."}}},"responseSchema":{"type":"json","example":{"prob":0.75,"schema":"delx/util-odds-ratio/v1","odds_ratio":3}},"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_Efrsy1bdDWDceQKt_TlmR","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":"Converts a probability value into its corresponding odds ratio","exampleAgentPrompt":"What is the odds ratio for a probability of 0.75?","exampleUseCases":[{"title":"Biostatistics odds reporting","prompt":"I have a logistic regression model that outputs a probability of 0.62 for disease risk — what is the corresponding odds ratio I should report in my paper?"},{"title":"Sports betting probability conversion","prompt":"If a team has a 40% chance of winning, what is the odds ratio I should quote for the bet?"},{"title":"Risk communication for finance","prompt":"My model gives a default probability of 0.05 for this loan applicant — can you convert that to an odds ratio so I can include it in the risk report?"}],"resultDescription":"Returns a JSON object containing the input probability echoed back, the schema identifier ('delx/util-odds-ratio/v1'), and the computed odds ratio as a numeric value (e.g. prob: 0.75, odds_ratio: 3).","failureModes":["Probability value outside [0, 1] range may return an error or undefined result","Missing 'prob' field in request body causes a validation error","Probability of exactly 1 results in division by zero (infinite odds ratio)","Payment failure via x402 protocol prevents the call from completing"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap ($0.001 USDC), no-signup conversion of a single probability value to its odds ratio — particularly useful in statistical reporting, logistic regression output interpretation, risk communication, or betting odds derivation. Prefer it over implementing the formula yourself when you want verifiable, pay-per-result delivery with no infrastructure setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:56:43.259Z","isFirstParty":false,"canonicalSlug":"delx-commerce-odds-ratio-calculator-8e0e8e6c"}