# Random Pick

> Random Pick is a paid API for AI agents from flat-rate-llm.kikoribera03.workers.dev, paid per call via x402, $0.0025/call, status unknown (last checked 2026-09-15).

Picks one or more items at random from a comma-separated list, with optional repetition allowed.

## Facts

- Endpoint: POST https://flat-rate-llm.kikoribera03.workers.dev/v1/random/pick
- Price: $0.0025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/random-pick-f60f2549
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qzR_2o5iNtL_Iml4V8ExY

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 random-pick-f60f2549 -d '<json body>'
```

Example prompt: Randomly pick 3 names from this list without repeats: Alice, Bob, Carol, Dave, Eve, Frank — I need to assign them to teams.

## When to prefer this

Choose this endpoint when an agent needs unbiased random selection from a caller-supplied list, especially when no account or API key is wanted and the list is dynamic. Prefer this over client-side Math.random() when auditability, neutrality, or simplicity of implementation matters. It is ideal for agent workflows doing random assignment, sampling, or winner selection where the agent itself should not be the decision-maker.

## Known failure modes

- Missing or empty 'items' parameter returns a validation error
- Requesting more items than available without repeat=true will fail or return fewer items
- Count exceeding the 1-100 allowed range may be rejected
- Malformed comma-separated list may cause unexpected results
- Payment failure returns 402 before processing occurs

## How this service works

60 paid endpoints with no metering, no API key and no account. Each endpoint has one flat price per call, whatever the size of the request: LLM completions with automatic failover across several large models, read-only EVM tooling over Base, Ethereum, Polygon, Arbitrum and Optimism, and pure crypto utilities that touch no network.

## Output

Returns a JSON object containing the number of picks requested, the total number of items in the input list, and a 'picked' array of the randomly selected items.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "items"
 ],
 "properties": {
  "count": {
   "type": "number",
   "description": "How many to pick, 1-100. Defaults to 1."
  },
  "items": {
   "type": "string",
   "description": "The options, comma-separated. A JSON array of strings is also accepted in a POST body."
  },
  "repeat": {
   "type": "boolean",
   "description": "Allow the same item more than once. Defaults to false."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "count": {
   "type": "number"
  },
  "items": {
   "type": "number"
  },
  "picked": {
   "type": "array",
   "items": {
    "type": "object"
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/random-pick-f60f2549/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from flat-rate-llm.kikoribera03.workers.dev](https://www.zero.xyz/host/flat-rate-llm.kikoribera03.workers.dev/llms.txt)
