# AgentRXI Verifiable Random Number Generator

> AgentRXI Verifiable Random Number Generator is a paid API for AI agents from agentrxi.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-15).

Generates verifiable random numbers or fair shuffles/picks using the drand public beacon (League of Entropy), with a beacon round ID for independent verification.

## Facts

- Endpoint: GET https://agentrxi.com/v1/random?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentrxi-verifiable-random-number-generator-98457e66
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_r5N8ffcHWigG-BaX0-7xP

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 agentrxi-verifiable-random-number-generator-98457e66
```

Example prompt: Pick a random winner from this list of contestants — Alice, Bob, Carol, Dave, Eve — using a publicly verifiable random source so anyone can check the result was fair.

## When to prefer this

Choose this endpoint when auditability and provable fairness are important — e.g., public giveaways, lotteries, or game mechanics where participants need to verify the random outcome independently. It is superior to pseudo-random alternatives when you need a beacon round ID to prove the result was not manipulated. Prefer over local RNG when a third-party verifiable source is required.

## Known failure modes

- Missing required 'type' or 'method' fields returns a validation error
- Items string not pipe-separated may result in incorrect parsing
- Count exceeding available items in pick mode may return an error
- drand beacon temporarily unreachable causes a service error
- Invalid min/max range (min >= max) returns a validation error

## How this service works

Verifiable random numbers from the drand public beacon (League of Entropy): numbers in a range, or a fair shuffle and pick of your items, with the beacon round so anyone can re-check the result.

## Output

Returns one or more random numbers within the specified range, or a shuffled/picked subset of the provided items, along with the drand beacon round number so any third party can independently re-verify the randomness source.

## 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",
     "properties": {
      "max": {
       "type": "integer"
      },
      "min": {
       "type": "integer"
      },
      "salt": {
       "type": "string"
      },
      "count": {
       "type": "integer"
      },
      "items": {
       "type": "string",
       "description": "| separated items to shuffle or pick from"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentrxi-verifiable-random-number-generator-98457e66/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentrxi.com](https://www.zero.xyz/host/agentrxi.com/llms.txt)
