# Delx Commerce — Odds Ratio Calculator

> Delx Commerce — Odds Ratio Calculator is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-02).

Converts a probability value into its corresponding odds ratio

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/odds-ratio?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-odds-ratio-calculator-8e0e8e6c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_S1svqJcZRpZb5Wwmoj-rO

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability delx-commerce-odds-ratio-calculator-8e0e8e6c -d '<json body>'
```

Example prompt: What is the odds ratio for a probability of 0.75?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

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).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "prob": {
   "type": "number",
   "description": "Input field: prob."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "prob": 0.75,
  "schema": "delx/util-odds-ratio/v1",
  "odds_ratio": 3
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-odds-ratio-calculator-8e0e8e6c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
