# SiteCheck UUID/ULID/NanoID Generator & Parser

> SiteCheck UUID/ULID/NanoID Generator & Parser is a paid API for AI agents from api.sitecheck-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-30).

Generates or parses unique identifiers including UUID v4, UUID v7, ULID, NanoID, passwords, and passphrases

## Facts

- Endpoint: GET https://api.sitecheck-api.workers.dev/api/uuid?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitecheck-uuid-ulid-nanoid-generator-parser-cd529dc8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kbi6GUBRh8LWOjlIJQhMK

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 sitecheck-uuid-ulid-nanoid-generator-parser-cd529dc8
```

Example prompt: Generate 5 UUID v7 identifiers for me using a cryptographically secure source.

## When to prefer this

Choose this endpoint when you need cryptographically secure unique identifier generation (UUID4, UUID7, ULID, NanoID) or secure password/passphrase generation in a single pay-per-call API, especially when you want to avoid spinning up your own infrastructure. Ideal when you also need to parse or validate an existing UUID or ULID to inspect its version or encoded timestamp.

## Known failure modes

- Invalid 'kind' value returns an error
- Count outside 1-100 range is rejected
- NanoID size outside 2-256 range is rejected
- Password length outside 8-128 range is rejected
- Passphrase word count outside 3-10 range is rejected
- Malformed UUID/ULID when mode=parse returns parse error
- Alphabet with fewer than 2 distinct characters rejected
- Payment not provided returns 402 status

## How this service works

Identifiers and secrets from the Web Crypto random source: UUID v4 and v7, ULID, nanoid (size and alphabet), random passwords (length and character classes) and passphrases (words from the EFF large wordlist, CC BY 3.0 US), up to 100 per call. mode=parse validates a UUID or ULID and reports its version, variant and the time embedded in v1, v6, v7 and ULID. Nothing is stored.

## Output

Returns a JSON object containing the kind of identifier, the mode used, the count requested, an array of generated values (or parsed metadata), a source attribution note (crypto.getRandomValues; EFF wordlist for passphrases), and a checkedAt ISO timestamp.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "kind": {
       "type": "string",
       "description": "uuid4 (default), uuid7, ulid, nanoid, password or passphrase"
      },
      "mode": {
       "type": "string",
       "description": "generate (default) or parse"
      },
      "size": {
       "type": "string",
       "description": "nanoid length, 2 to 256, default 21"
      },
      "count": {
       "type": "string",
       "description": "How many, 1 to 100, default 1"
      },
      "value": {
       "type": "string",
       "description": "mode parse: a UUID or ULID to check"
      },
      "words": {
       "type": "string",
       "description": "passphrase words, 3 to 10, default 6"
      },
      "length": {
       "type": "string",
       "description": "password length, 8 to 128, default 20"
      },
      "classes": {
       "type": "string",
       "description": "password classes: lower, upper, digits, symbols (comma-separated, default all)"
      },
      "alphabet": {
       "type": "string",
       "description": "nanoid alphabet, 2 to 64 distinct characters (optional)"
      },
      "separator": {
       "type": "string",
       "description": "passphrase separator, up to 3 characters, default -"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "kind": "uuid7",
  "mode": "generate",
  "count": 2,
  "source": "Generated here with crypto.getRandomValues (no outside source); passphrase words from the EFF large wordlist (CC BY 3.0 US)",
  "values": [
   "01a13fe4-0b88-7649-b71e-cbe83a02b709",
   "01a13fe4-0b89-7c83-b930-b1632c94f537"
  ],
  "checkedAt": "2026-10-15T14:07:52.201Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitecheck-uuid-ulid-nanoid-generator-parser-cd529dc8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.sitecheck-api.workers.dev](https://www.zero.xyz/host/api.sitecheck-api.workers.dev/llms.txt)
