{"uid":"cap_CfOH56rrzewiSwQpezHD5","slug":"unicode-normalizer-script-analyzer-ac3ee58b","name":"Unicode Normalizer & Script 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/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_ilRKd44kImnkA2JIqk6SC","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":"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.","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"Homoglyph phishing URL detection","prompt":"Check this domain name for homoglyph tricks — normalize it to NFKC and tell me which codepoints are suspicious or from mixed scripts: 'аррlе.com'"},{"title":"Username script policy enforcement","prompt":"I need to validate this new username 'МаrkSmith99' — apply NFKC normalization and flag if it mixes Cyrillic and Latin characters, and give me the script for each codepoint."},{"title":"Canonical text normalization for search index","prompt":"Normalize this user-submitted product title to NFC so I can store a canonical version in my search index: 'Ñoño café résumé' — and show me the per-codepoint breakdown."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:01:37.039Z","isFirstParty":false}