# Delx Commerce — Seeded Permutation Index

> Delx Commerce — Seeded Permutation Index 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).

Given a seed string and a count, deterministically computes a bounded permutation index using a seeded algorithm, with verifiable evidence of no data retention.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/seeded-permutation-index?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-permutation-index-95686c51
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iHN-83eHjiZqFL4objXtb

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-permutation-index-95686c51 -d '<json body>'
```

Example prompt: Using the seed 'morning-shuffle-42' and a permutation count of 1000, compute a deterministic seeded permutation index for me — I need it to be reproducible and verifiably processed without retaining my input.

## When to prefer this

Choose this endpoint when you need a deterministic, reproducible permutation index derived from a seed with verifiable evidence of no data retention — particularly in agent workflows requiring auditable pseudorandom selection, fair slot assignment, or reproducible decision-making without trusting an opaque RNG. Prefer it over in-process RNG when you need an externally verifiable audit trail or when cryptographic-grade evidence of computation honesty matters.

## Known failure modes

- Missing or empty seed string causes validation error
- permutation_count not provided or non-integer causes rejection
- permutation_count of zero or negative may produce undefined behavior
- Payment failure via x402 protocol blocks the call
- Seed string exceeding 8192 characters is rejected

## 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 computed permutation_index (integer), a cryptographic flag indicating whether cryptographic methods were used, a status of 'pass', and an evidence block with the SHA-256 hash of the input, a flag confirming no data was retained, and a count of zero external calls made — enabling full auditability of the computation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "seed": {
   "type": "string",
   "maxLength": 8192,
   "description": "Seed supplied to Seeded Permutation Index; used only for this bounded calculation and processed in memory without retention."
  },
  "permutation_count": {
   "type": "integer",
   "description": "Permutation Count supplied to Seeded Permutation Index; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "cryptographic": false,
   "permutation_index": 630
  },
  "schema": "delx/util-seeded-permutation-index/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "937802095c874e8dbf650e4af5cd07ddb5c7691d8eb727c6466e648e0050b056",
   "external_calls": 0
  },
  "operation": "seeded_decision:seeded_permutation_index"
 }
}
```

## More

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