# Delx Commerce — Random UUID v4 Generator

> Delx Commerce — Random UUID v4 Generator is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Generates a cryptographically random UUID v4 and returns it in multiple formats (standard, hex, URN, hyphenated) for $0.001 USDC per call with no signup required.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/random-uuid-v4?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-random-uuid-v4-generator-3a16dc96
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_F2wkXO4h8UEit5_Ygo3bY

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 delx-commerce-random-uuid-v4-generator-3a16dc96 -d '<json body>'
```

Example prompt: Generate me a fresh random UUID v4 — I need it in standard hyphenated format as well as hex and URN.

## When to prefer this

Prefer this endpoint when an AI agent needs a verifiable, pay-per-use UUID v4 with no account setup, especially in crypto-native or x402-payment workflows on Base or Solana. Useful when you want a single UUID returned in multiple formats simultaneously (hex, URN, hyphenated) without building your own utility. Less appropriate when you need bulk UUID generation (high per-call cost at scale) or when a free local library call suffices.

## Known failure modes

- Payment not fulfilled via x402 protocol — returns HTTP 402 with payment instructions
- Malformed request body — returns error if body is not valid JSON
- Service unavailable — transient network or infrastructure error
- Invalid or expired payment token — payment rejected and UUID not returned

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

A JSON object containing the generated UUID v4 in multiple representations: the standard hyphenated UUID string, a hex string without hyphens, a URN-formatted string, the RFC4122 variant label, the version number (4), and a schema identifier. All formats refer to the same underlying random UUID.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [],
     "properties": {},
     "additionalProperties": true
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "const": "POST"
    },
    "bodyType": {
     "type": "string",
     "const": "json"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "properties": {
      "hex": {
       "type": "string"
      },
      "urn": {
       "type": "string"
      },
      "uuid": {
       "type": "string"
      },
      "schema": {
       "type": "string"
      },
      "variant": {
       "type": "string"
      },
      "version": {
       "type": "integer"
      },
      "hyphenated": {
       "type": "string"
      }
     },
     "description": "Bounded first-party JSON result; input is processed in memory and not retained.",
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "hex": "ac752cc704e0472f882777df9988a571",
  "urn": "urn:uuid:ac752cc7-04e0-472f-8827-77df9988a571",
  "uuid": "ac752cc7-04e0-472f-8827-77df9988a571",
  "schema": "delx/util-random-uuid-v4/v1",
  "variant": "RFC4122",
  "version": 4,
  "hyphenated": "ac752cc7-04e0-472f-8827-77df9988a571"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-random-uuid-v4-generator-3a16dc96/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
