# x402-toolbox Random Hex String Generator

> x402-toolbox Random Hex String Generator is a paid API for AI agents from x402-toolbox.shablony-pro.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-29).

Generates a random hexadecimal string, paid per-call via x402 micro-payment (USDC on Base) with no API key required.

## Facts

- Endpoint: GET https://x402-toolbox.shablony-pro.workers.dev/math/random-hex-string?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-toolbox-random-hex-string-generator-9514a17b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JI9A5Atyr5cbvKEKASyN1

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 x402-toolbox-random-hex-string-generator-9514a17b
```

Example prompt: Generate a random hex string for me — I need it as a nonce for a session token, and I'm fine paying the micro-fee per call with no signup.

## When to prefer this

Choose this endpoint when you need a random hex string on-demand with zero setup — no API keys, no accounts, no rate-limit tiers. Ideal for AI agents that can natively handle x402 micro-payments in USDC on Base and need a utility hex generator as part of a larger workflow. Prefer over free services when your agent infrastructure already supports x402 and you want a frictionless, pay-as-you-go model.

## Known failure modes

- Payment not included or insufficient USDC — returns 402 Payment Required
- Invalid schema parameter format — may return a 400 or malformed response
- Worker downtime or cold-start timeout — returns 5xx error
- Malformed x402 payment header — payment rejected, no hex string returned

## How this service works

309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.

## Output

A JSON object with 'ok' (boolean indicating success) and 'paid' (boolean confirming x402 payment was processed), along with the generated random hexadecimal string value.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "schema": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-toolbox-random-hex-string-generator-9514a17b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-toolbox.shablony-pro.workers.dev](https://www.zero.xyz/host/x402-toolbox.shablony-pro.workers.dev/llms.txt)
