# x402.forgemesh.io UUID & Secure Token Generator

> x402.forgemesh.io UUID & Secure Token Generator is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-16).

Generates cryptographically random UUIDs (batch up to 20), hex tokens, or unambiguous alphanumeric secrets at configurable lengths from 8 to 128 characters.

## Facts

- Endpoint: POST https://x402.forgemesh.io/generate-uuid
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-forgemesh-io-uuid-secure-token-generator-d2c9fa96
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sFqRzLgGvGrbWE-WrzOjh

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-forgemesh-io-uuid-secure-token-generator-d2c9fa96 -d '<json body>'
```

Example prompt: Give me a batch of 10 UUIDs for seeding our test database, and also generate a 64-character alphanumeric secret I can use as an API key.

## When to prefer this

Use this endpoint when you need cryptographically strong random identifiers — UUIDs for database primary keys, hex tokens for CSRF or OAuth nonces, or unambiguous alphanumeric strings for human-readable API keys or secrets. Prefer this over client-side generation when auditability, server-side entropy, or batch generation of up to 20 IDs in a single call is needed.

## Known failure modes

- count exceeds 20 — request rejected
- length outside 8–128 range — validation error
- invalid type value — falls back to hex or returns error
- missing required fields — returns 400-level error

## How this service works

UUID and secure token API: cryptographically random UUIDs (up to 20 per call), hex tokens, or unambiguous alphanumeric secrets at any length 8-128. For ids, API keys, and nonce generation.

## Output

Returns one or more cryptographically random values: UUIDs (v4-style), hex-encoded tokens, or alphanumeric strings free of ambiguous characters (e.g. no 0/O or 1/l confusion), in the requested count and length.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "type": {
   "type": "string",
   "description": "uuid | hex (default) | alphanumeric"
  },
  "count": {
   "type": "string",
   "description": "uuid batch size, max 20"
  },
  "length": {
   "type": "string",
   "description": "8-128, default 32"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "type": "uuid",
  "tokens": [
   "4fa2f1f6-1e6f-4b1c-9c3a-2b8f0e6d4a11",
   "0b8e2c44-7a2e-4f6e-8e11-d2b9c1a0f9e2"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-forgemesh-io-uuid-secure-token-generator-d2c9fa96/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.forgemesh.io](https://www.zero.xyz/host/x402.forgemesh.io/llms.txt)
