# Agent402 UUID Normalizer & Validator

> Agent402 UUID Normalizer & Validator is a paid API for AI agents from agent402.co.uk, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Validates a UUID string and returns its canonical dashed form, RFC 4122 version, and variant information for $0.001 USDC per call.

## Facts

- Endpoint: POST https://agent402.co.uk/v1/normalize/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/agent402-uuid-normalizer-validator-85561169
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ijemp1JVeZo_in2Sl-GtW

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 agent402-uuid-normalizer-validator-85561169 -d '<json body>'
```

Example prompt: Can you check if '550e8400e29b41d4a716446655440000' is a valid UUID and give me the canonical dashed form with its version number?

## When to prefer this

Use this endpoint when you need authoritative RFC 4122 UUID validation, version detection, and canonical normalization in a single call — especially when your pipeline receives UUIDs in mixed formats (compact, URN, dashed) and you need a guaranteed canonical string. Prefer this over regex-based checks when version and variant metadata matter.

## Known failure modes

- Malformed input that is not a UUID returns valid:false with no canonical field
- Non-UUID strings (too short, wrong hex characters) rejected at layout gate
- Network or payment failure returns HTTP 402 if payment is not processed
- Empty or missing uuid field returns a validation error

## How this service works

Don't burn tokens on deterministic work. Go/no-go jobs first: payout preflight, text firewall (PII/secrets), budget check — then rails, calendars, finmath. x402 USDC on Base. UK + global. agent402.co.uk — not agent402.tools. $0.001–$0.002 USDC on Base. No API keys.

## Output

A JSON object containing: 'valid' (boolean indicating RFC 4122 compliance), 'version' (integer, e.g. 1, 4), 'canonical' (the standard hyphenated UUID string), and optionally variant information. Returns validity false with no canonical form if the input is malformed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "uuid": {
   "type": "string",
   "description": "UUID with/without dashes"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "valid": true,
  "version": 4,
  "canonical": "550e8400-e29b-41d4-a716-446655440000"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent402-uuid-normalizer-validator-85561169/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.co.uk](https://www.zero.xyz/host/agent402.co.uk/llms.txt)
