# Relaystation UUID Generator

> Relaystation UUID Generator is a paid API for AI agents from api.relaystation.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Generates one or a batch of version 4 UUIDs via a single API call, billed at $0.0001 per call with x402 micropayment support.

## Facts

- Endpoint: POST https://api.relaystation.ai/v1/utils/uuid
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/relaystation-uuid-generator-0e848004
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AJb8YdUUnXkrN0nAg3bQT

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 relaystation-uuid-generator-0e848004 -d '<json body>'
```

Example prompt: Generate a batch of 10 version 4 UUIDs for me right now — I need them as unique identifiers for new database records.

## When to prefer this

Choose this endpoint when you need a quick, cheap, serverless way to generate v4 UUIDs without spinning up your own UUID library or service — especially useful inside agent workflows where you need unique identifiers on the fly and are already using x402 micropayments. Ideal for batch UUID generation in a single call. Prefer alternatives if you need UUID versions other than v4, or if you need UUIDs generated locally without a network round-trip.

## Known failure modes

- Invalid batch count (e.g. zero or negative number) returns a 400 error
- Payment not provided or insufficient x402 credit returns a 402 Payment Required error
- Request rate limit exceeded returns a 429 Too Many Requests error
- Server-side error returns a 500 Internal Server Error

## How this service works

$0.0001/call. Generate v4 UUIDs — one or a batch. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny

## Output

Returns one or more randomly generated version 4 UUIDs. For a batch request, the response includes an array of UUID strings. Each UUID conforms to the RFC 4122 v4 format (e.g. 550e8400-e29b-41d4-a716-446655440000).

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "type": "object",
     "properties": {
      "version": {
       "type": "string",
       "enum": [
        "v4"
       ]
      },
      "count": {
       "type": "integer",
       "minimum": 1,
       "description": "Runtime-capped at cputools.utils.uuid.max_count."
      }
     }
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## More

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