# x402 UUID Generator

> x402 UUID Generator is a paid API for AI agents from api.gptshopltd.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-19).

Generates one or more random UUIDs (universally unique identifiers) via a pay-per-call API requiring no account or API key.

## Facts

- Endpoint: GET https://api.gptshopltd.com/v1/util/uuid?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-uuid-generator-dc256bd7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rE9z4vsELjzQer12yCaSb

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-uuid-generator-dc256bd7
```

Example prompt: Can you generate 5 UUIDs for me right now? I need them to assign unique IDs to some new database records.

## When to prefer this

Choose this endpoint when your AI agent needs to generate UUIDs on demand without setting up an API key or account — ideal for lightweight, pay-per-call agent workflows using x402 micropayments on Base or Solana. It supports batch generation of up to 100 UUIDs per call, making it efficient for bulk ID creation. Prefer this over local UUID libraries when running in constrained or serverless agent environments where installing packages isn't feasible.

## Known failure modes

- Invalid n parameter (out of 1-100 range) may result in an error or default behavior
- Payment failure via x402 protocol results in 402 response and no UUIDs returned
- Network timeout if the x402 payment handshake stalls
- Malformed query parameter type may cause a 400 bad request

## How this service works

Pay-per-call tools for AI agents. USDC on Base or Solana via x402 v2; no keys, no accounts.

## Output

Returns a JSON object containing an array of one or more UUID v4 strings (e.g. {"uuids": ["3f2c...", ...]}) based on the requested count (1–100). Each UUID is a standard randomly generated universally unique identifier.

## 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": {
      "n": {
       "type": "string",
       "description": "How many UUIDs (1-100, default 1)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "uuids": [
   "3f2c..."
  ]
 }
}
```

## More

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