# Delx Commerce — Binary Fair Price Calculator

> Delx Commerce — Binary Fair Price 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-01).

Computes the fair price for a binary outcome given a probability, returning the expected value as a price in USDC.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/binary-fair-price?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-binary-fair-price-calculator-38aa0334
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fq2j1LDxQGc_ZOmIWYpAt

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-binary-fair-price-calculator-38aa0334 -d '<json body>'
```

Example prompt: What is the mathematically fair price for a binary outcome that has a 37% probability of occurring?

## When to prefer this

Use this endpoint when you need a quick, verifiable, mathematically grounded fair price for a binary (yes/no) outcome given a known probability — particularly in agent workflows involving prediction markets, probabilistic decision-making, or automated betting/settlement. It is pay-per-result with no signup and verifiable delivery via x402, making it ideal for trustless agent pipelines.

## Known failure modes

- Missing 'prob' field returns a validation error
- Probability outside [0, 1] range may return an error or undefined behavior
- Payment not provided or insufficient USDC results in x402 payment required response
- Network timeout if the service is temporarily unavailable

## 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 echoed input probability, the schema identifier ('delx/util-binary-fair-price/v1'), and the computed fair price (a decimal number equal to the probability, representing the expected value of the binary outcome in USDC terms).

## 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.37,
  "schema": "delx/util-binary-fair-price/v1",
  "fair_price": 0.37
 }
}
```

## More

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