# ForgeMesh UUID & Token Generator

> ForgeMesh UUID & 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-13).

Generates cryptographically random UUIDs (batch up to 20), hex tokens, or unambiguous alphanumeric secrets of custom length using OS-grade entropy

## Facts

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

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

Example prompt: Generate a batch of 15 UUIDs using OS-grade entropy for use as database primary keys.

## When to prefer this

Use this endpoint when you need cryptographically strong random identifiers without importing a UUID library, especially when generating batches of up to 20 UUIDs at once, or when you need hex tokens or unambiguous alphanumeric secrets of a specific length for nonces, session tokens, or pipeline IDs.

## Known failure modes

- count exceeds 20 — request rejected or clamped
- length out of 8–128 range — error returned
- invalid type value outside uuid/hex/alphanumeric — bad request error
- payment failure — x402 payment required error

## How this service works

Generates cryptographically random UUIDs in batches of up to 20 using OS-grade entropy, alongside hex tokens and unambiguous alphanumeric secrets of custom length. Built for request IDs, database primary keys, nonces, and any pipeline that needs collision-resistant identifiers without pulling in a UUID library.

## Output

Returns one or more cryptographically random identifiers: up to 20 UUIDs, a hex token, or an unambiguous alphanumeric secret of 8–128 characters, suitable for use as request IDs, nonces, or primary keys.

## 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/forgemesh-uuid-token-generator-e26786eb/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)
