# Delx Probability to Decimal Odds Converter

> Delx Probability to Decimal Odds Converter is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Converts a probability (0–1) into its equivalent decimal odds representation for use in betting, forecasting, or risk modeling workflows.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/prob-to-odds-decimal
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-probability-to-decimal-odds-converter-b14bb863
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sdzDaz4qmCtag2qKPazn1

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

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

## When to prefer this

Choose this endpoint when an agent or workflow needs a quick, reliable, single-call conversion from a probability score to decimal odds — especially within automated pipelines where betting, forecasting, or risk outputs need to be expressed in odds format without implementing the math locally. Prefer this over manual computation when consistency, traceability via schema versioning, and pay-per-call economics matter.

## Known failure modes

- Probability value outside valid range (0–1) may return an error or undefined odds
- Missing 'prob' field in request body returns a validation error
- Probability of 0 or 1 may cause division-by-zero or infinite odds edge cases
- Network or payment authorization failure returns a 402 or 5xx status

## How this service works

Convert a probability into decimal odds. Call when publishing agent fair prices as book-style decimal odds. Returns decimal odds from probability 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.

## Output

Returns a JSON object containing the input probability echoed back, the computed decimal odds (e.g. 2.5 for a probability of 0.4), and a schema identifier string ('delx/util-prob-to-odds-decimal/v1') for downstream validation.

## 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-probability-to-decimal-odds-converter-b14bb863/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
