# UUID Generator (util/uuid)

> UUID Generator (util/uuid) is a paid API for AI agents from x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-20).

Generates one or more random (v4) or time-sortable (v7) UUIDs entirely on the edge with no external calls or storage

## Facts

- Endpoint: GET https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/util/uuid?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/uuid-generator-util-uuid-949aff94
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fAcGs9m55FehSX3q3rv0j

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-util-uuid-949aff94
```

Example prompt: Generate 5 random UUID v4s for me right now — nothing stored, pure edge-computed.

## When to prefer this

Choose this endpoint when you need fast, privacy-preserving UUID generation with no server-side logging or storage — ideal for agent workflows that require unique IDs at the edge without trusting a third-party identity service. Prefer v7 when you need time-sortable IDs for event ordering; prefer v4 for pure randomness.

## Known failure modes

- n out of range (must be 1–100) returns a validation error
- version not 4 or 7 returns a validation error
- Cloudflare edge outage may cause 5xx errors
- malformed query parameters return 400

## How this service works

An open index of the machine-to-machine (agent) economy. x402 routes: ranked discovery over the live x402 service market, every indexed service scored by real 30-day calls and paying-wallet bounds, with a receipt naming the snapshot hash and scoring revision. /economy routes, for Tempo MPP, Virtuals ACP, Olas, Masumi, ERC-8004 agent registries, Solana agent registries, Base agent contracts and MCP servers (Official MCP Registry): each protocol's published figures (agent or server counts, transactions or payment events; payers and USD volume only where the source publishes them: payers for x402 and Tempo MPP, USD volume for x402 and Virtuals ACP), each with its unit, window and source; units differ, so totals are not summed. L402 and per-service MPP listings are not covered.

## Output

A JSON object containing an array of generated UUIDs (up to 100), the count requested, the UUID version used (4 or 7), an ISO 8601 UTC timestamp of when the response was generated, and a note confirming no external calls were made and nothing was stored.

## 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",
      "HEAD",
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "n": {
       "type": "integer",
       "default": 1,
       "maximum": 100,
       "minimum": 1,
       "description": "How many"
      },
      "version": {
       "enum": [
        4,
        7
       ],
       "type": "integer",
       "default": 4,
       "description": "4 random, 7 time-sortable"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "uuids",
      "n",
      "version",
      "as_of",
      "note"
     ],
     "properties": {
      "n": {
       "type": "integer"
      },
      "note": {
       "type": "string",
       "description": "Fixed text"
      },
      "as_of": {
       "type": "string",
       "description": "ISO 8601 UTC time of the reply"
      },
      "uuids": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "version": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "n": 2,
  "note": "Computed on Cloudflare's edge from your input only; no external call, nothing stored. v4: random (crypto.randomUUID).",
  "as_of": "2026-10-19T12:00:00.000Z",
  "uuids": [
   "3f2b1a9e-7c4d-4e8f-9a0b-1c2d3e4f5a6b",
   "9d8c7b6a-5f4e-4d3c-8b2a-1f0e9d8c7b6a"
  ],
  "version": 4
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/uuid-generator-util-uuid-949aff94/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev](https://www.zero.xyz/host/x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/llms.txt)
