# UUID Generator

> UUID Generator is a paid API for AI agents from uuid.use.x402atlas.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-21).

Generates 1–100 UUIDs per call in either time-ordered UUIDv7 (sortable, database-key friendly) or fully random UUIDv4 format, returned as lowercase canonical strings.

## Facts

- Endpoint: GET https://uuid.use.x402atlas.com/generate?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/uuid-generator-15554e14
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_T8TLu3MD6e-NV9FcKKNp6

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 uuid-generator-15554e14
```

Example prompt: Generate 10 time-ordered UUIDv7s I can use as primary keys for a batch of new database records I'm inserting.

## When to prefer this

Choose this endpoint when you need deterministic, RFC-compliant UUID generation without running your own UUID library — especially when you want sortable UUIDv7 keys for database primary keys or event ordering, or when you need a batch of up to 100 UUIDs in a single call. Prefer it over local generation when the agent environment lacks a UUID library or when you want server-authoritative timestamps embedded in UUIDv7.

## Known failure modes

- count out of range (must be 1–100) returns an error
- version not 4 or 7 returns an error
- network timeout on slow connections
- payment failure if USDC balance insufficient for the $0.005 fee

## How this service works

Random UUID generator — returns time-ordered UUIDv7 (RFC 9562, sortable, database-key friendly) or fully random UUIDv4, 1 to 100 per call, as lowercase canonical strings. Use for unique IDs, primary keys, request and correlation IDs, idempotency keys.

## Output

A JSON object containing the UUID version used, the count of UUIDs generated, an array of freshly generated lowercase canonical UUID strings (8-4-4-4-12 format), and the server UTC timestamp of generation. UUIDv7 values are returned in creation order (sortable).

## 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": {
      "count": {
       "type": "integer",
       "default": 1,
       "maximum": 100,
       "minimum": 1,
       "description": "Number of UUIDs to return."
      },
      "version": {
       "enum": [
        4,
        7
       ],
       "type": "integer",
       "default": 7,
       "description": "7 = time-ordered RFC 9562 UUIDv7 (sortable); 4 = fully random UUIDv4."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "version",
      "count",
      "uuids",
      "generated_at"
     ],
     "properties": {
      "count": {
       "type": "integer",
       "description": "Length of uuids."
      },
      "uuids": {
       "type": "array",
       "items": {
        "type": "string",
        "format": "uuid",
        "description": "Lowercase canonical 8-4-4-4-12 form."
       },
       "description": "Freshly generated UUIDs; version 7 values are in creation order."
      },
      "version": {
       "enum": [
        4,
        7
       ],
       "type": "integer",
       "description": "UUID version of every value in uuids."
      },
      "generated_at": {
       "type": "string",
       "format": "date-time",
       "description": "Server UTC time of generation."
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/uuid-generator-15554e14/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from uuid.use.x402atlas.com](https://www.zero.xyz/host/uuid.use.x402atlas.com/llms.txt)
