# Delx Commerce — Probability to Decimal Odds Converter

> Delx Commerce — Probability to Decimal Odds Converter 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-01).

Converts an implied probability (0–1) into its equivalent decimal odds representation

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/prob-to-odds-decimal?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-probability-to-decimal-odds-converter-5985420d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GP8UjxQOgB4FzHIbQb_Lc

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-probability-to-decimal-odds-converter-5985420d -d '<json body>'
```

Example prompt: Convert a win probability of 0.4 into decimal odds for me.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call, no-signup computation to convert a probability float into decimal odds — especially useful in agent workflows handling sports analytics, betting models, or expected-value calculations that already use USDC micropayments via x402.

## Known failure modes

- Probability value outside [0,1] range may return an error or undefined result
- prob=0 would produce infinite odds (division by zero case)
- Missing or non-numeric 'prob' field returns a validation error
- Network or payment failure returns a 402 or connection error

## 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 computed decimal odds (e.g. 2.5 for prob=0.4), and a schema identifier string ('delx/util-prob-to-odds-decimal/v1') confirming the computation type.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "odds": 2.5,
  "prob": 0.4,
  "schema": "delx/util-prob-to-odds-decimal/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-probability-to-decimal-odds-converter-5985420d/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)
