# UUID/ULID/NanoID Generator & Parser

> UUID/ULID/NanoID Generator & Parser is a paid API for AI agents from api.24klabs.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-17).

Generate or batch-generate UUID v4/v5/v7, ULID, or NanoID identifiers, or parse and validate an existing ID to extract its embedded timestamp.

## Facts

- Endpoint: POST https://api.24klabs.ai/api/uuid-ulid-gen?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/uuid-ulid-nanoid-generator-parser-183d9771
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ziONMgrKdffOHf9C7wAHr

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 uuid-ulid-nanoid-generator-parser-183d9771 -d '<json body>'
```

Example prompt: Generate a batch of 10 UUID v7 identifiers for me — I need ones with embedded timestamps for sorting records in my new database.

## When to prefer this

Choose this endpoint when you need programmatic generation of standards-compliant unique identifiers (especially ULID or UUID v7 with sortable timestamps) or need to validate and decode an existing ID's embedded metadata. Prefer it over rolling your own UUID logic when correctness, compliance with RFC specs, and timestamp extraction matter.

## Known failure modes

- Invalid ID type enum returns 400 with error message
- Batch count exceeding maximum limit returns 400
- Malformed or non-parseable ID string returns validation failure with reason
- Missing required namespace or name for UUID v5 generation returns 400
- Network timeout returns 5xx error

## How this service works

Generate UUID v4/v5/v7, ULID, or NanoID (single or batch), or parse/validate an existing id and extract its embedded timestamp.

## Output

For generation requests: one or more generated ID strings of the requested type (uuid-v4, uuid-v5, uuid-v7, ulid, or nanoid). For parse/validate requests: structured metadata including whether the ID is valid, its type/version, and any embedded timestamp (millisecond-precision for ULID and UUID v7).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "kind": {
   "type": "string"
  },
  "name": {
   "type": "string"
  },
  "namespace": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ids": [
   "cfbff0d1-9375-5685-968c-48ce8b15ae17"
  ]
 }
}
```

## More

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