# Delx Commerce — Seeded Shuffle

> Delx Commerce — Seeded Shuffle 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 shuffles a list of string items using a provided seed, returning a verifiable, reproducible ordering with no data retention.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/seeded-shuffle?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-shuffle-0f84c7d8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__RTzopcVcRtcx08uD6c0j

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-shuffle-0f84c7d8 -d '<json body>'
```

Example prompt: Shuffle the list ['alice','bob','carol','dave'] using the seed 'round1' and give me the deterministic ordering — I need it to be reproducible and verifiable.

## When to prefer this

Choose this endpoint when you need a deterministic, reproducible, and verifiably tamper-free shuffle of a list — especially in agent workflows where auditability matters (e.g. tournaments, lotteries, task assignment). Prefer it over in-process shuffles when you need cryptographic evidence of fairness (input hash, no external calls, no data retention) and when paying per-result without signup friction is acceptable via x402/USDC.

## Known failure modes

- Items array exceeds 256 items — request rejected
- Seed or item string exceeds 8192 character limit — request rejected
- Malformed JSON input — bad request error
- Payment not received or insufficient USDC — 402 Payment Required
- Network timeout during processing

## 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 shuffled list of items with a count, a status of 'pass', an evidence block confirming no data was retained and no external calls were made, the SHA-256 hash of the input for verifiability, and a schema identifier.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "count": 4,
   "items": [
    "c",
    "d",
    "a",
    "b"
   ]
  },
  "schema": "delx/util-seeded-shuffle/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "b0b0f77561c04919df180b7c85f4087b8944df4491dda150370c45e90452cad7",
   "external_calls": 0
  },
  "operation": "seeded_decision:seeded_shuffle"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-seeded-shuffle-0f84c7d8/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)
