# X Pay UUID Generator

> X Pay UUID Generator is a paid API for AI agents from www.api-xpay.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Generates a unique UUID via a pay-per-request HTTP GET call, billed at $0.001 USDC on Base via x402.

## Facts

- Endpoint: GET https://www.api-xpay.com/x402/uuid
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x-pay-uuid-generator-1072fb17
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ic7NHmJZB2qfU-V67WyB0

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 x-pay-uuid-generator-1072fb17
```

Example prompt: Generate a fresh UUID for me using the X Pay API — I need a new unique identifier right now and I'm fine with the $0.001 USDC charge on Base.

## When to prefer this

Choose this endpoint when you need a quick, pay-per-use UUID generation with micropayment billing via x402 on Base/USDC, especially in agentic or automated workflows where you want programmatic, trustless, per-call billing without a subscription. It's ideal when you want a UUID from a neutral third-party source rather than generating one locally, or when auditability of UUID provenance matters.

## Known failure modes

- Payment not received or insufficient funds: request fails with 402 Payment Required
- Invalid HTTP method (e.g. POST): rejected, only GET/HEAD/DELETE allowed
- Network unavailability on Base: payment cannot be verified, request blocked
- Malformed query parameters: may return error or unexpected result
- Service downtime: endpoint unavailable, check sibling health/status endpoint

## How this service works

Pay-per-request utility APIs powered by x402 using USDC on Base.

## Output

Returns a JSON object containing a UUID string (e.g. '550e8400-e29b-41d4-a716-446655440000'), the asset used for payment ('USDC'), the network ('base'), and a boolean success flag indicating whether the request was processed correctly.

## 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",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "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": {
  "uuid": "550e8400-e29b-41d4-a716-446655440000",
  "asset": "USDC",
  "network": "base",
  "success": true
 }
}
```

## More

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