# UUID v4 Generator

> UUID v4 Generator is a paid API for AI agents from conclavex402p04.pythonanywhere.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-14).

Generates 1–100 random UUID v4 values per call in uuid, urn, hex, or int format, per RFC 9562.

## Facts

- Endpoint: POST https://conclavex402p04.pythonanywhere.com/u/uuid?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/uuid-v4-generator-be07e3ea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Gx5H7jWtGCSoNrfsR0K1I

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-v4-generator-be07e3ea -d '<json body>'
```

Example prompt: Generate 5 random UUID v4s in URN format for me.

## When to prefer this

Choose this endpoint when you need RFC 9562-compliant UUID v4s on demand without running a local library, especially in serverless or constrained environments. It supports batch generation (up to 100 per call) and multiple output formats (uuid, urn, hex, int), making it more flexible than simple one-shot generators. It is ideal for agents that need to provision unique IDs mid-workflow without a dependency on a local UUID library.

## Known failure modes

- Count out of range (less than 1 or more than 100) — likely a 400 or validation error
- Invalid format value not in {uuid, urn, hex, int} — likely a 400 bad request
- Missing required body fields — 400 validation error
- Service unavailability on PythonAnywhere — 502 or 503
- Payment not attached or insufficient — 402 Payment Required

## How this service works

Generate a random UUID (uuid v4, RFC 9562) — 1..100 per call; format uuid|urn|hex|int.

## Output

Returns a JSON object containing one or more UUID v4 values in the requested format (uuid, urn, hex, or int). For a single UUID the response includes a field like `uuid4` with the value; batch responses return an array of formatted identifiers.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "uuid4": "3b12f1df-5232-4f8e-9c1f-6a6b8e4a1c2d"
 }
}
```

## More

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