# x402 Utils – Random ID Generator

> x402 Utils – Random ID Generator is a paid API for AI agents from qcb7fnxsbd7fbhj4.68r.lambda-web.us-east-1.on.aws, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-30).

Generates up to 100 cryptographically random IDs in UUID v4, UUID v7 (time-ordered), ULID, or nanoid format per request.

## Facts

- Endpoint: GET https://qcb7fnxsbd7fbhj4.68r.lambda-web.us-east-1.on.aws/v1/id?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-utils-random-id-generator-64f82379
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ULqLHp7f9A6VSJ_8irdow

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-utils-random-id-generator-64f82379
```

Example prompt: Generate 10 ULIDs for me — I need them to use as sortable unique keys for new database records.

## When to prefer this

Use this endpoint when you need cryptographically secure random IDs in one of four well-known formats (UUID v4, UUID v7, ULID, nanoid) and want to generate up to 100 at once without running local crypto libraries. Particularly useful for agents operating in serverless or sandboxed environments where native UUID/ULID libraries are unavailable, or when you need time-ordered IDs (UUID v7, ULID) for sortable primary keys.

## Known failure modes

- Invalid 'type' parameter (not one of uuid4, uuid7, ulid, nanoid) — returns error
- Count out of range (less than 1 or greater than 100) — returns validation error
- Missing required query params use defaults (type=uuid4, count=1)
- Lambda cold-start may add occasional latency spike

## How this service works

Generate random IDs from a cryptographic source: UUID v4, UUID v7 (time ordered), ULID or nanoid, up to 100 at a time.

## Output

A JSON object containing an array of generated IDs (the 'ids' field) and the 'type' field confirming which format was generated. Up to 100 IDs are returned per call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "type": {
       "enum": [
        "uuid4",
        "uuid7",
        "ulid",
        "nanoid"
       ],
       "type": "string",
       "description": "kind of ID (default uuid4)"
      },
      "count": {
       "type": "integer",
       "description": "how many (1-100, default 1)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ids": {},
      "type": {}
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-utils-random-id-generator-64f82379/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from qcb7fnxsbd7fbhj4.68r.lambda-web.us-east-1.on.aws](https://www.zero.xyz/host/qcb7fnxsbd7fbhj4.68r.lambda-web.us-east-1.on.aws/llms.txt)
