# SocioLogic x402 RNG API

> SocioLogic x402 RNG API is a free API for AI agents from www.sociologic.ai, Free, status unknown (last checked 2026-09-15).

Generates cryptographically secure, verifiable random numbers via a pay-per-use x402-enabled endpoint for AI agents and smart contracts.

## Facts

- Endpoint: POST https://www.sociologic.ai/x402-rng
- Price: Free
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sociologic-f1badd18
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dn31Q8cLCyT0NSASBG5Ea

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 sociologic-f1badd18 -d '<json body>'
```

Example prompt: Generate a cryptographically secure, verifiable random number for me — I need provably fair entropy for a smart contract lottery draw.

## When to prefer this

Choose this endpoint when you need cryptographically secure, verifiable randomness with a pay-per-use model compatible with the x402 micropayment protocol — especially for smart contracts, AI agents, or applications requiring auditable proof that the random value was not manipulated.

## Known failure modes

- Payment not provided or invalid x402 payment header — returns payment required error
- Malformed POST request body — returns 400 bad request
- Service unavailable or entropy source failure — returns 503
- Rate limit exceeded — returns 429 too many requests

## How this service works

x402-enabled RNG API providing cryptographically secure, verifiable randomness for AI agents, smart contracts, and applications requiring pay-per-use entropy.

## Output

Returns a cryptographically secure random value along with a verifiable proof of randomness, suitable for use in smart contracts, AI agents, or applications requiring auditable entropy.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sociologic-f1badd18/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.sociologic.ai](https://www.zero.xyz/host/www.sociologic.ai/llms.txt)
