# Delx Bankroll Fraction Stake

> Delx Bankroll Fraction Stake is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-20).

Computes the stake amount by multiplying a bankroll integer by a fractional value, returning the resulting stake.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/bankroll-fraction-stake?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-bankroll-fraction-stake-15d7ac40
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YyUNVKoirzfYAMtuHrjPh

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-bankroll-fraction-stake-15d7ac40 -d '<json body>'
```

Example prompt: I have a bankroll of 1000 and want to stake 5% of it — can you calculate the exact stake amount for me?

## When to prefer this

Choose this endpoint when you need a simple, deterministic computation of a stake from a bankroll and fraction in an agent pipeline, especially when you want a governed, auditable service call rather than computing inline. Useful when your agent needs a canonical schema-tagged result for downstream validation or logging.

## Known failure modes

- Missing required field 'bankroll' or 'fraction' returns a validation error
- Non-integer bankroll or non-numeric fraction may return a type error
- Fraction values outside [0,1] may produce unexpected or out-of-range stake amounts
- Network or payment failure returns a 402 or 5xx error

## How this service works

Stake size from bankroll and fraction (Kelly or fixed-f). Call when turning a fraction into dollars to risk this bet. Returns stake amount 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 stake (bankroll × fraction), along with the original bankroll and fraction values and a schema identifier (delx/util-bankroll-fraction-stake/v1) for traceability.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bankroll": {
   "type": "integer",
   "description": "Input field: bankroll."
  },
  "fraction": {
   "type": "number",
   "description": "Input field: fraction."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "stake": 50,
  "schema": "delx/util-bankroll-fraction-stake/v1",
  "bankroll": 1000,
  "fraction": 0.05
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-bankroll-fraction-stake-15d7ac40/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)
