# Delx Commerce Seeded Derangement

> Delx Commerce Seeded Derangement 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-02).

Generates a deterministic, seed-driven derangement (permutation where no element appears in its original position) of a list of items

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/seeded-derangement?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-seeded-derangement-e0d0ec5a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_umAwIGWcOdPkAUbUjoZ7s

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-derangement-e0d0ec5a -d '<json body>'
```

Example prompt: Can you use seeded derangement to shuffle this list — ['Alice','Bob','Carol','Dave'] — using the seed 'giftseed42', making sure no one ends up in their original position?

## When to prefer this

Choose this endpoint when you need a deterministic, reproducible derangement — a permutation guaranteed to have no fixed points — driven by a specific seed string, with cryptographic evidence of the computation (input hash, no retention, no external calls). Ideal for scenarios like secret santa draws, role rotation, or reproducible test fixtures where auditability and repeatability both matter. Prefer it over generic shuffle APIs when you need the no-fixed-point guarantee and verifiable, pay-per-result delivery without signup.

## Known failure modes

- Empty or missing 'items' array returns an error or trivially deranged empty list
- Single-item list cannot be deranged (no valid derangement exists) and may return an error or deranged:false
- Items array exceeding 256 elements is rejected
- Seed string exceeding 8192 characters is rejected
- Invalid JSON body returns a 400-level error
- Payment not included or insufficient USDC triggers a 402 response

## 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 with a 'result' field containing the deranged item list and a boolean confirming derangement, plus an 'evidence' block with the input SHA256 hash, a flag confirming no data retention, and a count of external calls made (always 0). The 'status' field confirms pass/fail and the 'operation' field identifies the computation type.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "seed": {
   "type": "string",
   "maxLength": 8192,
   "description": "Seed supplied to Seeded Derangement; 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 Derangement; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "items": [
    "d",
    "c",
    "b",
    "a"
   ],
   "deranged": true
  },
  "schema": "delx/util-seeded-derangement/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "f561874b3e88794b12ca33fdf8a62ffe0b8f93dd08edf86088c58253e0378b49",
   "external_calls": 0
  },
  "operation": "seeded_decision:seeded_derangement"
 }
}
```

## More

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