# Delx Commerce Multi-Outcome Kelly Criterion Calculator

> Delx Commerce Multi-Outcome Kelly Criterion 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 optimal bet stakes and fractions across multiple outcomes using the Kelly Criterion given outcome probabilities, market prices, and a bankroll size.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/multi-outcome-kelly?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-multi-outcome-kelly-criterion-calculator-6879be35
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8BIU81-rMz7N9zQ8j07c9

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-multi-outcome-kelly-criterion-calculator-6879be35 -d '<json body>'
```

Example prompt: I have a bankroll of 1000 USDC and three outcomes with probabilities [0.6, 0.3, 0.1] and market prices [1.5, 3.0, 9.0] — calculate the optimal Kelly stakes and fractions I should bet on each outcome.

## When to prefer this

Use this endpoint when you need mathematically optimal multi-outcome Kelly Criterion stake sizing in a single API call without requiring signup or subscription — especially useful for AI agents operating autonomously in prediction markets, sports betting, or portfolio allocation contexts where pay-per-call USDC micropayment via x402 is acceptable and verifiable delivery is required.

## Known failure modes

- Probabilities that do not sum to 1 may produce unexpected or invalid fractions
- Negative or zero prices may cause computation errors
- Bankroll of zero returns zero stakes for all outcomes
- Mismatched array lengths between probs and prices will likely cause a 400 error
- Market prices implying negative expected value may result in all-zero stakes (no bet recommended)

## 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 with the schema identifier 'delx/util-multi-outcome-kelly/v1', an array of 'stakes' (dollar amounts to bet on each outcome in bankroll units) and an array of 'fractions' (proportion of bankroll to allocate to each outcome), both ordered to match the input arrays.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "probs": {
   "type": "array",
   "description": "Outcome probabilities (same order as prices)"
  },
  "prices": {
   "type": "array",
   "description": "Market prices / samples depending on tool"
  },
  "bankroll": {
   "type": "number",
   "description": "Bankroll in quote units"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "schema": "delx/util-multi-outcome-kelly/v1",
  "stakes": [
   0,
   100,
   0
  ],
  "fractions": [
   0,
   1,
   0
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-multi-outcome-kelly-criterion-calculator-6879be35/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)
