# Unicode Normalizer & Script Analyzer

> Unicode Normalizer & Script Analyzer is a paid API for AI agents from api.24klabs.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Apply NFC/NFD/NFKC/NFKD Unicode normalization to a string and return per-codepoint metadata (name, category, script) while flagging mixed-script and potential homoglyph strings.

## Facts

- Endpoint: POST https://api.24klabs.ai/api/unicode-normalize
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/unicode-normalizer-script-analyzer-ac3ee58b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CfOH56rrzewiSwQpezHD5

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 unicode-normalizer-script-analyzer-ac3ee58b -d '<json body>'
```

Example prompt: Can you normalize this string to NFKC and tell me if it has any mixed-script or homoglyph issues: 'pаypal.com' — I suspect some characters might not be standard ASCII?

## When to prefer this

Choose this endpoint when you need both normalization and security analysis in a single call — specifically when you want to detect mixed-script strings or homoglyph attacks alongside standard Unicode normalization. Prefer it over a simple client-side normalization library when you also need per-codepoint metadata (name, category, script) or when building a pipeline that flags potentially confusable identifiers like usernames, domain names, or passwords.

## Known failure modes

- Invalid or unsupported normalization form enum value returns a 400 error
- Empty or null input string returns a validation error
- Extremely long strings may be rejected or truncated
- Non-UTF-8 encoded input may cause parse errors
- Rate limit or payment failure returns a 402/429 error

## How this service works

Apply NFC/NFD/NFKC/NFKD normalization and report per-codepoint name, category and script, flagging mixed-script (possible homoglyph) strings.

## Output

Returns the normalized form of the input string under the chosen normalization form (NFC/NFD/NFKC/NFKD), a per-codepoint breakdown including Unicode name, general category, and script property, plus a boolean mixed-script flag and any homoglyph/confusable warnings for the overall string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "form": {
   "type": "string"
  },
  "text": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "normalized": "file"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/unicode-normalizer-script-analyzer-ac3ee58b/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)
