# PennyRail Random Secure Integer Generator

> PennyRail Random Secure Integer Generator is a paid API for AI agents from pennyrail.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Generates a cryptographically secure random integer via a paid micro-settlement endpoint

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/nano/utility.random-secure--random-integer
- 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/pennyrail-random-secure-integer-generator-8bb65822
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AA0Fz7PApFAEC4Q-ocYuL

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 pennyrail-random-secure-integer-generator-8bb65822 -d '<json body>'
```

Example prompt: Generate a cryptographically secure random integer for me using PennyRail's random utility — I need one now for a token generation step in my workflow.

## When to prefer this

Prefer this endpoint when you need a cryptographically secure random integer via a paid, metered API with x402 micropayment settlement — ideal for agents that require auditability of randomness sourcing or need an external trusted entropy source rather than local PRNG.

## Known failure modes

- Payment not settled — endpoint returns 402 if the x402 micropayment is not included or fails
- Malformed input object causes a 400 or unstructured error response
- Vercel cold-start latency may cause occasional timeouts
- Response schema is open (additionalProperties: true), so the exact field name for the integer is undocumented and may require inspection

## How this service works

Machine-readable settlement service

## Output

Returns a JSON object containing a cryptographically secure random integer value, suitable for security-sensitive applications such as nonce generation, token seeding, or unbiased random selection.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pennyrail-random-secure-integer-generator-8bb65822/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pennyrail.vercel.app](https://www.zero.xyz/host/pennyrail.vercel.app/llms.txt)
