# Delx Commerce — Seeded Batch Order

> Delx Commerce — Seeded Batch Order 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).

Deterministically reorders a list of batch IDs using a seed string, returning a shuffled order that is reproducible and verifiable without external calls or data retention.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/seeded-batch-order?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-batch-order-2fd9e554
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Y2aNEgky12ULKeLcIYq73

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-batch-order-2fd9e554 -d '<json body>'
```

Example prompt: I have a list of batch IDs — b1, b2, b3, b4 — and I want to shuffle them into a reproducible random order using the seed 'myseed42'. Can you run the seeded batch order and tell me the result?

## When to prefer this

Choose this endpoint when you need a deterministic, verifiable, and auditable shuffling of a list of batch IDs without any external data calls or server-side retention — ideal for fairness-critical scenarios like lotteries, A/B test assignments, or queue ordering where reproducibility and proof of non-manipulation matter. Prefer it over client-side shuffling when you need an on-chain payment trail and evidence hash for auditability.

## Known failure modes

- Invalid or missing seed string returns validation error
- Batch IDs array exceeds 256 items limit returns error
- Malformed JSON body returns 400 bad request
- Payment not provided or insufficient USDC triggers 402 payment required
- Seed or batch ID strings exceeding 8192 character limit 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 reordered list of batch IDs under result.items, the operation name, a status of 'pass', and an evidence block including whether data was retained (always false), a SHA256 hash of the input for auditability, and the count of external calls made (always 0).

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "items": [
    "b1",
    "b4",
    "b3",
    "b2"
   ]
  },
  "schema": "delx/util-seeded-batch-order/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "75bbf1f9c5ed2b50d258c5b426f75becd0960e6a76e91d048952e456ce4769e9",
   "external_calls": 0
  },
  "operation": "seeded_decision:seeded_batch_order"
 }
}
```

## More

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