# ID Generator: UUID v4, UUID v7, ULID, NanoID, Base62, Hex

> ID Generator: UUID v4, UUID v7, ULID, NanoID, Base62, Hex is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-30).

Generates multiple unique ID formats (UUID v4, UUID v7, ULID, NanoID, base62, hex) in a single call and optionally decodes the timestamp embedded in a ULID or UUID v7.

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/pack/id-toolbox?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Provider: agent-data-tools.revmesh2074.workers.dev
- Website: https://agent-data-tools.revmesh2074.workers.dev
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-id-generator-uuid-v4-uuid-v7-7b57622b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bXZjfESNCYpt7FrIqfL8l

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 agent-data-tools-revmesh2074-workers-dev-id-generator-uuid-v4-uuid-v7-7b57622b
```

Example prompt: Generate 5 of each — UUID v4, UUID v7, ULID, and NanoID — plus 5 random base62 strings of length 32, and decode this ULID to find out when it was created: 01HQ2K8M1N5X7Y3Z9V4B6C0D2E

## When to prefer this

Choose this endpoint when you need multiple ID formats generated in a single HTTP call from a cryptographic random source, especially when you want time-ordered IDs (ULID or UUID v7) that sort by creation time, or when you need to decode the creation timestamp hidden inside an existing ULID or UUID v7. It is more efficient than calling separate generators for each type.

## Known failure modes

- count out of range (not 1–20) returns an error
- length out of range (not 8–128) returns an error for string types
- invalid ULID or UUID v7 passed to decode returns an error or null decoded field
- network timeout from Cloudflare Workers edge
- malformed query parameters return a 400 error

## How this service works

Generate unique IDs of every common kind in one call: UUID v4 (random), UUID v7 and ULID (time-ordered, sort by creation), NanoID (21 URL-safe characters) and random base62 and hex strings, up to 20 of each, from the platform's cryptographic random source; and decode the creation time hidden in a ULID or UUID v7. Use for database keys, request and trace IDs, file names or test data.

## Output

Returns a JSON object with arrays of generated IDs for each requested type (uuidV4, uuidV7, ulid, nanoid, base62, hex — each containing up to 20 entries), and optionally a 'decoded' object with the input ID, its kind (ULID or UUID v7), the embedded timestamp as an ISO string, and the raw millisecond value.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "count": {
   "type": "integer",
   "description": "How many of each kind, 1-20 (default 3)"
  },
  "decode": {
   "type": "string",
   "description": "Optional ULID or UUID to read the timestamp from"
  },
  "length": {
   "type": "integer",
   "description": "Length of the random strings, 8-128 (default 24)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "hex": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "ulid": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "base62": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "nanoid": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "uuidV4": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "uuidV7": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "decoded": {
   "type": "object",
   "properties": {
    "ms": {
     "type": "number"
    },
    "kind": {
     "type": "string"
    },
    "input": {
     "type": "string"
    },
    "timestamp": {
     "type": "string"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-id-generator-uuid-v4-uuid-v7-7b57622b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
