# Delx Commerce — Seeded Winners Without Replacement

> Delx Commerce — Seeded Winners Without Replacement 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).

Deterministically selects a specified number of winners from a candidate list using a seed, with no replacement, and returns verifiable evidence of the selection.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/seeded-winners-without-replacement?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-seeded-winners-without-replacement-5653e7d5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6FLqArsORr5VgZf6w80iA

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-seeded-winners-without-replacement-5653e7d5 -d '<json body>'
```

Example prompt: Pick 3 winners from this list of entrants — ['Alice','Bob','Carol','Dave','Eve','Frank'] — using the seed 'summer2025', making sure no one is picked twice, and give me proof the selection was fair.

## When to prefer this

Choose this endpoint when you need a deterministic, reproducible, and auditable random selection of winners from a candidate list — especially when fairness verification matters (e.g. giveaways, lotteries, A/B test assignments). The seeded approach means the same seed + candidates always yields the same winners, enabling independent verification. Prefer this over a local RNG when you need an immutable SHA-256 input hash as evidence of what was submitted. The pay-per-result, no-signup model makes it ideal for agent workflows that need occasional, trustless random selection without managing credentials.

## Known failure modes

- winner_count exceeds the number of candidates — server returns an error since you cannot pick more unique winners than available candidates
- invalid or missing seed — may result in a 400 bad request
- candidates array exceeds 256 items — rejected by schema validation
- payment not included or insufficient USDC — returns HTTP 402 Payment Required
- malformed JSON body — returns 400 or 422 validation error

## 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 list of selected winners, the count of winners, a SHA-256 hash of the input for auditability, confirmation that no data was retained, the number of external calls made (always 0), and a monetary_claim flag. The schema identifier and operation name are also included for traceability.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "seed": {
   "type": "string",
   "maxLength": 8192,
   "description": "Seed supplied to Seeded Winners Without Replacement; used only for this bounded calculation and processed in memory without retention."
  },
  "candidates": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 8192
   },
   "maxItems": 256,
   "description": "Candidates supplied to Seeded Winners Without Replacement; used only for this bounded calculation and processed in memory without retention."
  },
  "winner_count": {
   "type": "integer",
   "description": "Winner Count supplied to Seeded Winners Without Replacement; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "count": 3,
   "winners": [
    "d",
    "c",
    "b"
   ],
   "monetary_claim": false
  },
  "schema": "delx/util-seeded-winners-without-replacement/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "7854633a204eec63fedb89d8b9c7942b2651237bdee78ebb4e3b8378e7a3d424",
   "external_calls": 0
  },
  "operation": "seeded_decision:seeded_winners_without_replacement"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-seeded-winners-without-replacement-5653e7d5/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)
