# Delx Seeded Lottery Draw

> Delx Seeded Lottery Draw 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).

Performs a deterministic, reproducible lottery draw from a labeled list using a caller-supplied seed, returning a fixed count of winners.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/seeded-lottery-draw
- 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-lottery-draw-ff16da89
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SdFr6Ljchcm7qIzMcUlBJ

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-lottery-draw-ff16da89 -d '<json body>'
```

Example prompt: Run a seeded lottery draw with seed 'summer2024' from the list ['Alice','Bob','Carol','Dave','Eve'] and pick 2 winners.

## When to prefer this

Choose this endpoint when you need a deterministic, reproducible, and auditable random draw from a labeled list — particularly when you must replay or verify the result later using the same seed. It is ideal for agent workflows requiring fair selection (raffles, task assignment, A/B testing) without relying on external randomness sources. Prefer it over general RNG when auditability via SHA-256 input hashing matters.

## Known failure modes

- draw_count exceeds the number of labels provided — returns an error or empty/partial draw
- missing required fields (seed, labels, or draw_count) — returns a validation error
- labels array exceeds 256 items — rejected by schema limit
- seed or label strings exceed 8192 character limit — rejected
- malformed JSON body — returns a parse error

## How this service works

Seeded Lottery Draw: Seeded Lottery Draw draws unique labels reproducibly from a caller-owned pool without monetary claims from bounded caller-supplied values without an external provider. Call Seeded Lottery Draw 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 Lottery Draw as versioned deterministic JSON. Price: $0.001 USDC via x402 o…

## Output

Returns a JSON object containing the list of drawn winners, the count of winners drawn, a boolean indicating whether a monetary claim is involved, plus evidence metadata including whether inputs were retained (always false), a SHA-256 hash of the input for auditability, and the number of external calls made (always 0).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "seed": {
   "type": "string",
   "maxLength": 8192,
   "description": "Seed supplied to Seeded Lottery Draw; used only for this bounded calculation and processed in memory without retention."
  },
  "labels": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 8192
   },
   "maxItems": 256,
   "description": "Labels supplied to Seeded Lottery Draw; used only for this bounded calculation and processed in memory without retention."
  },
  "draw_count": {
   "type": "integer",
   "description": "Draw Count supplied to Seeded Lottery Draw; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "count": 2,
   "winners": [
    "A",
    "C"
   ],
   "monetary_claim": false
  },
  "schema": "delx/util-seeded-lottery-draw/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "30fdaea9dd102f586715000ed359c830e8c6a4f617e772a7eb534dcf023999b8",
   "external_calls": 0
  },
  "operation": "seeded_decision:seeded_lottery_draw"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-seeded-lottery-draw-ff16da89/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)
