# List Shuffle API

> List Shuffle API is a paid API for AI agents from x402-zoo.lolagent.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Randomly reorders a caller-supplied list of items for fairness, games, experiments, or randomized workflows.

## Facts

- Endpoint: GET https://x402-zoo.lolagent.workers.dev/api/shuffle
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/list-shuffle-api-8919332b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EWHuuxpQLpZn5APrz-bdw

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 list-shuffle-api-8919332b
```

Example prompt: Shuffle this list of names randomly for me so we can pick a fair turn order: Alice, Bob, Carol, Dave, Eve.

## When to prefer this

Use this endpoint when you need a quick, stateless, pay-per-call random shuffle of a list without maintaining any server-side state or building your own randomization logic. Ideal for lightweight agent workflows needing fairness in ordering, game mechanics, or randomized assignments at minimal cost ($0.001 USDC per call).

## Known failure modes

- Missing 'items' query parameter returns an error indicating required field is absent
- Empty list or single-item list may return trivially (no meaningful shuffle)
- Very long lists may hit query string length limits
- Non-string or malformed input may result in parsing errors

## How this service works

Randomly reorder a caller-supplied list for fairness, games, experiments and randomized workflows.

## Output

Returns the caller-supplied list reordered in a random sequence, ensuring each item appears exactly once in an unpredictable new position. The response reflects a fair, stateless shuffle of the provided items.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "items"
     ],
     "properties": {
      "items": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/list-shuffle-api-8919332b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-zoo.lolagent.workers.dev](https://www.zero.xyz/host/x402-zoo.lolagent.workers.dev/llms.txt)
