{"uid":"cap_LGjSscTxKZReltya0RudT","slug":"unicode-normalize-codepoint-analyzer-da345c27","name":"Unicode Normalize & Codepoint Analyzer","description":"Apply NFC/NFD/NFKC/NFKD normalization and report per-codepoint name, category and script, flagging mixed-script (possible homoglyph) strings.","url":"https://api.24klabs.ai/api/v1/unicode-normalize","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"form":{"type":"string"},"text":{"type":"string"}}},"responseSchema":{"type":"json","example":{"normalized":"file"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3yzxI_3e74Xga1fYv6WJG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Applies NFC/NFD/NFKC/NFKD Unicode normalization to a string and returns per-codepoint metadata (name, category, script), flagging mixed-script and potential homoglyph attacks.","exampleAgentPrompt":"Run NFKC normalization on this string — 'раyраl.com' — and check whether it mixes scripts or contains any homoglyph lookalike characters, giving me the Unicode name, category, and script for each codepoint.","exampleUseCases":[{"title":"Phishing domain homoglyph detection","prompt":"Check this domain 'xn--pypal-4ve.com' — normalize it with NFKC and tell me if any characters are from mixed scripts or look like Latin lookalikes that could be used for a phishing attack."},{"title":"Username input sanitization","prompt":"A user just signed up with the display name 'Αdmin' — run NFC normalization on it and flag whether it mixes scripts or contains any homoglyph characters that might be impersonating 'Admin'."},{"title":"Canonical text deduplication before indexing","prompt":"I need to normalize these product titles before storing them — apply NFKC to 'Ｈello Ｗorld' and give me the normalized output plus a breakdown of each codepoint's Unicode category and script."}],"resultDescription":"Returns the normalized form of the input string, along with a per-codepoint breakdown including each character's Unicode name, general category (e.g. Ll, Lu, Nd), and script (e.g. Latin, Cyrillic, Han). Also includes a boolean mixed-script flag and any detected homoglyph/confusable warnings for security review.","failureModes":["Invalid normalization form specified — returns 400 with supported forms listed","Input string contains unpaired surrogates or malformed UTF-8 — returns 400 or error per codepoint","Empty string input — may return empty array with no warnings","Payment not attached or insufficient — returns 402 requiring x402 USDC micropayment","Request timeout for very long strings"],"whenToPreferThis":"Use this endpoint when you need both Unicode normalization and security-aware codepoint analysis in one call — specifically when detecting homoglyph/confusable character attacks in usernames, domains, or free-text input. Prefer it over a basic string normalize function when you need per-codepoint script/category metadata or mixed-script detection. It is a pay-per-call x402 micropayment service, making it suitable for on-demand agent workflows without subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:48:58.557Z","isFirstParty":false}