# ManyLives Tools — Cryptographically Secure Random Integer Generator

> ManyLives Tools — Cryptographically Secure Random Integer Generator is a paid API for AI agents from api.manylives.me, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-10).

Generates up to 1,000 cryptographically secure, unbiased random integers within a caller-specified min/max range per call.

## Facts

- Endpoint: GET https://api.manylives.me/paid/util/random?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/manylives-tools-cryptographically-secure-random-integer-generator-d1adb4c1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tWDHGB_DOU2Y2z6lngfXx

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 manylives-tools-cryptographically-secure-random-integer-generator-d1adb4c1
```

Example prompt: Give me 10 cryptographically secure random integers between 1 and 100 — I need them for a fair lottery draw.

## When to prefer this

Prefer this endpoint when you need cryptographically secure, statistically unbiased random integers — not pseudo-random numbers from a standard math library. Ideal for security-sensitive use cases like cryptographic key material, fair lottery draws, randomized controlled experiments, or game mechanics where predictability must be ruled out. Use it when you need bulk generation (up to 1,000 at once) with a defined integer range.

## Known failure modes

- Invalid range if min >= max — likely returns an error or empty result
- count > 1000 may be rejected or capped
- Non-integer or missing query params may cause a 400 bad request
- Payment failure (x402) if USDC payment not properly attached
- Network timeout for very large counts near the 1,000 limit

## How this service works

Pay-per-call tools for people building AI agents: live web search and page contents, point-in-time crypto market data and news for backtests (no lookahead), verifiable track records of 1,000 crypto strategies locked on the Base network, company profiles, quick AI and batch prices. Ask us to turn a public website into a JSON endpoint. Pay per call, no account, free trial.

## Output

Returns a JSON object containing the array of generated random integers (numbers[]), along with the min and max bounds used. Example: {"min":1,"max":6,"numbers":[4,2,6]}. Up to 1,000 integers can be returned per call.

## 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": {
     "type": "string",
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "max": {
       "type": "string",
       "examples": [
        "6"
       ],
       "description": "optional (default 100)"
      },
      "min": {
       "type": "string",
       "examples": [
        "1"
       ],
       "description": "optional (default 1)"
      },
      "count": {
       "type": "string",
       "examples": [
        "3"
       ],
       "description": "optional (default 1, max 1000)"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "properties": {
      "max": {
       "type": "number"
      },
      "min": {
       "type": "number"
      },
      "numbers": {
       "type": "array",
       "items": {
        "type": "number"
       }
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "max": 6,
  "min": 1,
  "numbers": [
   4,
   2,
   6
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/manylives-tools-cryptographically-secure-random-integer-generator-d1adb4c1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.manylives.me](https://www.zero.xyz/host/api.manylives.me/llms.txt)
