# Delx Binary Edge Calculator

> Delx Binary Edge Calculator 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-15).

Computes the edge (expected value advantage) for a binary outcome bet given a true probability and a market price

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/binary-edge
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-binary-edge-calculator-d9e2988f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_K8yzEtubwshpHzF5IavGo

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-binary-edge-calculator-d9e2988f -d '<json body>'
```

Example prompt: I think the true probability of this event happening is 55%, but the market is pricing it at 48% — what's my edge on this binary bet?

## When to prefer this

Use this endpoint when you need a lightweight, fast computation of binary bet edge from a true probability estimate and a market price — especially inside agent pipelines that evaluate prediction market or binary outcome positions at high frequency. Prefer this over manual calculation when building automated trading or decision agents that need consistent, auditable edge values at low cost per call.

## Known failure modes

- Missing required fields (true_prob or market_price) returns a validation error
- Values outside [0,1] range for probabilities may produce nonsensical or error results
- Payment failure due to insufficient USDC balance returns a 402 error

## How this service works

Edge = true_prob − market_price for a binary contract. Call when ranking prediction-market opportunities by model edge. Returns signed edge in probability units 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 computed edge (a float representing the expected value advantage, e.g. 0.07), along with the input true_prob and market_price echoed back, and a schema identifier string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "true_prob": {
   "type": "number",
   "description": "Input field: true prob."
  },
  "market_price": {
   "type": "number",
   "description": "Input field: market price."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "edge": 0.07000000000000006,
  "schema": "delx/util-binary-edge/v1",
  "true_prob": 0.55,
  "market_price": 0.48
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-binary-edge-calculator-d9e2988f/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)
