# WritersLogic ID Kind Classifier

> WritersLogic ID Kind Classifier is a paid API for AI agents from agents.writerslogic.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-19).

Classifies up to 100 identifier strings by format (UUID, ULID, KSUID, snowflake, EVM address, email, E.164, Stripe, GitHub token, AWS IAM), decodes embedded timestamps where available, and optionally validates against an expected kind.

## Facts

- Endpoint: POST https://agents.writerslogic.com/api/v1/id-kind?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/writerslogic-id-kind-classifier-294462e6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6XFBO5gWrsGewCDeFNalf

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 writerslogic-id-kind-classifier-294462e6 -d '<json body>'
```

Example prompt: Before we pass these IDs to the payment API, classify each one for me — I have a mix of what should be Stripe customer IDs, UUIDs, and email addresses, and I need to confirm each is the right kind: ['cus_9x8Yz1ABcdef', '550e8400-e29b-41d4-a716-446655440000', 'user@example.com'].

## When to prefer this

Use this endpoint when an AI agent needs to verify the type or format of identifiers before passing them to downstream APIs — especially payment, ledger, or access-control systems where passing the wrong ID kind causes failures or security issues. Prefer it over regex-based client-side checks because it handles ambiguous multi-format cases, decodes embedded timestamps, and covers niche formats like KSUID, ULID, and AWS IAM prefixes in a single batch call.

## Known failure modes

- Ambiguous IDs (e.g. 19-digit all-numeric strings matching both Discord and Twitter snowflake formats) return kind=unknown with all candidate readings listed
- Values that exceed 256 characters or are empty are rejected with a validation error
- Batch exceeding 100 items returns a 400-level error
- A prefix match (e.g. cus_) is flagged as a candidate, not a confirmed Stripe ID — no registry lookup is performed
- EVM addresses failing EIP-55 checksum return as invalid rather than unknown

## How this service works

Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.

## Output

For each submitted value, the endpoint returns the detected kind (uuid, ulid, ksuid, snowflake, evm-address, email, e164, stripe-object-id, github-token, aws-iam-unique-id, or unknown), sub-details like UUID version/variant or whether EIP-55 checksum passed, any decoded embedded timestamp, and — when `expect` is provided — a pass or fail verdict. Credential-shaped values (GitHub tokens, AWS keys) are never echoed back in the response.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "value"
    ],
    "properties": {
     "value": {
      "type": "string",
      "maxLength": 256,
      "minLength": 1
     },
     "expect": {
      "enum": [
       "uuid",
       "ulid",
       "ksuid",
       "snowflake",
       "evm-address",
       "email",
       "e164",
       "stripe-object-id",
       "github-token",
       "aws-iam-unique-id"
      ],
      "type": "string",
      "description": "The kind the caller needs. Then the answer is pass if the value is a valid id of that kind, fail otherwise."
     }
    },
    "additionalProperties": false
   },
   "maxItems": 100,
   "minItems": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/writerslogic-id-kind-classifier-294462e6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.writerslogic.com](https://www.zero.xyz/host/agents.writerslogic.com/llms.txt)
