# agent402.tools UUID Validator

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

Validates a UUID string, reporting its version (1–8) and variant, and accepting hyphenated or braced forms.

## Facts

- Endpoint: POST https://agent402.tools/api/uuid-validate
- 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-tools-uuid-validator-50d06f4a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ViFSzoT_2plBKN9imE5Xb

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-tools-uuid-validator-50d06f4a -d '<json body>'
```

Example prompt: Is this a valid UUID, and if so what version is it? '550e8400-e29b-41d4-a716-446655440000'

## When to prefer this

Use this endpoint when you need to programmatically verify that a string is a legitimate UUID, determine its version (e.g. v4 random vs v1 time-based), or normalize/parse braced and hyphenated UUID formats.

## Known failure modes

- Invalid or missing uuid field returns a validation error or false result
- Non-UUID strings return invalid
- Malformed JSON body returns 400
- Payment not included results in 402 Payment Required

## How this service works

Validate a UUID and report its version (1-8) and variant. Accepts hyphenated or braced forms.

## Output

Returns whether the UUID is valid, its version number (1–8), and its variant — works with standard hyphenated UUIDs and braced forms like {uuid}.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "uuid": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "valid": true,
  "variant": "RFC 9562",
  "version": 7
 }
}
```

## More

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