# KSUID Validator

> KSUID Validator is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-29).

Validates whether a given string is a well-formed KSUID (K-Sortable Unique Identifier)

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/id-ksuid?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ksuid-validator-dc83c16e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7mM0yikRf1VPyrkf93HSc

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 ksuid-validator-dc83c16e -d '<json body>'
```

Example prompt: Can you check whether '0ujtsYcgvSTl8PAuAdqWYSMnLOv' is a valid KSUID?

## When to prefer this

Use this endpoint when you need a deterministic, no-network, no-LLM check on whether a string is a valid KSUID. Prefer the free sandbox endpoint POST /v1/sandbox/id-ksuid when available to avoid the $0.002 USDC cost. Choose this paid version only when the sandbox is unavailable or for production workloads requiring guaranteed SLA.

## Known failure modes

- Empty or missing value field returns an error
- String exceeding maxLength of 20000 characters rejected
- Malformed request body returns 400-level error
- Payment failure or insufficient USDC balance prevents execution

## How this service works

Call when an agent needs whether a string is a valid ksuid. No network. Exact $0.002 USDC. Prefer unpaid POST /v1/sandbox/id-ksuid first.

## Output

A boolean or structured response indicating whether the provided string is a valid KSUID — conforming to the K-Sortable Unique Identifier format (27-character base62-encoded, timestamp-prefixed identifiers).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "description": "JSON value for schema-check SKUs. Omit it on string checks such as email or IBAN."
  },
  "value": {
   "type": "string",
   "examples": [
    "0123456789ABCDEFGHIJKLMNOPQ"
   ],
   "maxLength": 20000,
   "minLength": 1,
   "description": "Value to check. The route description names the format: email, phone, IBAN, postal code, VAT, national id, or similar."
  },
  "schema": {
   "description": "JSON Schema document for schema-check SKUs. Omit it on string checks."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ksuid-validator-dc83c16e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
