# Halowerk Random Bytes Generator

> Halowerk Random Bytes Generator is a paid API for AI agents from agent.halowerk.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-21).

Returns 1–1024 cryptographically random bytes as a hexadecimal string, suitable for use as application nonces or secrets.

## Facts

- Endpoint: POST https://agent.halowerk.com/v1/random-bytes?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/halowerk-random-bytes-generator-890e06d3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WKfqzGC6txBmockNL6CZy

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 halowerk-random-bytes-generator-890e06d3 -d '<json body>'
```

Example prompt: Generate 64 cryptographically random bytes as a hex string — I need it as a nonce for my application.

## When to prefer this

Choose this endpoint when your agent needs cryptographically strong random bytes for security-sensitive purposes (nonces, token seeds, CSRF values) and does not have access to a local CSPRNG, or when you need an auditable, externally-sourced entropy value. This is not a wallet or key-management service — it only produces raw random bytes.

## Known failure modes

- bytes parameter below 1 or above 1024 returns a validation error
- missing or malformed request body results in a 400 error
- payment failure or insufficient USDC balance prevents the call from completing
- service unavailability returns a 5xx error

## How this service works

Returns 1 to 1024 cryptographically random bytes as hexadecimal. Suitable for application nonces; this service does not create or manage a wallet.

## Output

A hex-encoded string of 1–1024 cryptographically random bytes, suitable for use as nonces, token seeds, or other security-sensitive randomness needs in application code.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "bytes": {
   "type": "integer",
   "default": 32,
   "maximum": 1024,
   "minimum": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/halowerk-random-bytes-generator-890e06d3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent.halowerk.com](https://www.zero.xyz/host/agent.halowerk.com/llms.txt)
