# Delx Commerce — Two-Way Odds Devig API

> Delx Commerce — Two-Way Odds Devig API 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).

Removes the bookmaker overround from two-way market odds to return fair (true) implied probabilities for each outcome

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/devig-two-way?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-two-way-odds-devig-api-94ccbced
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CTZD_B_xuCS068ZSOBYY0

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-two-way-odds-devig-api-94ccbced -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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

## Output

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.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "p_no": {
   "type": "number",
   "description": "Input field: p no."
  },
  "p_yes": {
   "type": "number",
   "description": "Input field: p yes."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "p_no": 0.5,
  "p_yes": 0.5,
  "schema": "delx/util-devig-two-way/v1",
  "overround": 0.1000000000000001
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-two-way-odds-devig-api-94ccbced/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)
