# Delx Seeded Dice Roll

> Delx Seeded Dice Roll 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).

Rolls a configurable number of dice with a given number of sides using a deterministic seed, returning reproducible random results.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/seeded-dice-roll
- 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-seeded-dice-roll-022435ef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8M_XRB5CsYKbXt-OA9OPs

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-seeded-dice-roll-022435ef -d '<json body>'
```

Example prompt: Roll 3 dice with 6 sides each using the seed 'myseed42' and tell me the individual results and the total.

## When to prefer this

Choose this endpoint when you need deterministic, reproducible dice rolls tied to a specific seed — ideal for auditable agent decisions, game simulations, or test suites where the same seed must always produce the same output. Prefer it over true random number generators when reproducibility and verifiability are required.

## Known failure modes

- Invalid dice or sides value (non-integer or out of range) may return a validation error
- Seed exceeding 8192 characters will be rejected
- Missing required fields may return a 400 bad request
- Payment failure or insufficient USDC balance returns a 402 response

## How this service works

Seeded Dice Roll: Seeded Dice Roll rolls bounded virtual dice reproducibly for simulations from bounded caller-supplied values without an external provider. Call Seeded Dice Roll when an agent needs a reproducible decision that another run can independently replay. Returns the deterministic selection plus seed provenance, population bounds, and the operation-specific outcome for Seeded Dice Roll as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, stateless, memory…

## Output

Returns an array of individual die roll values, their sum as a total, an SHA-256 hash of the input for auditability, a confirmation that no data was retained, the number of external calls made (always 0), and an operation identifier. The response is fully deterministic given the same seed, dice count, and sides.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "dice": {
   "type": "integer",
   "description": "Dice supplied to Seeded Dice Roll; used only for this bounded calculation and processed in memory without retention."
  },
  "seed": {
   "type": "string",
   "maxLength": 8192,
   "description": "Seed supplied to Seeded Dice Roll; used only for this bounded calculation and processed in memory without retention."
  },
  "sides": {
   "type": "integer",
   "description": "Sides supplied to Seeded Dice Roll; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "rolls": [
    4,
    5,
    2
   ],
   "total": 11
  },
  "schema": "delx/util-seeded-dice-roll/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "e5fdf978b5cda920d66c6eba6e0fbe9d8a6f7b4ea6e1bc7b308afee464f3682c",
   "external_calls": 0
  },
  "operation": "seeded_decision:seeded_dice_roll"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-seeded-dice-roll-022435ef/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)
