Unicode Property Inspector Names Scripts Blocks NFKC NFD API
Free tier included · Text AnalysisUnicode Property Inspector returns per-character and per-text Unicode properties from the official Unicode Character Database (via fontTools.unicodedata) and UTS #39 confusables. For a single character it gives code point, name, general category, script, script extension, block, all four normalization forms (NFC/NFD/NFKC/NFKD), normalization flags, UTF-8/UTF-16 byte sizes, HTML entity, and combining/grapheme flags. For whole text it produces a script inventory and a mixed-script (homoglyph) check using the official confusables.txt skeleton plus UTS #39 5.1 resolved script set.
Use cases: security teams detecting IDN/homoglyph spoofing in domains and usernames; i18n developers normalizing and validating multilingual input; data-quality pipelines cleaning mixed-script text; and any stack that wants Unicode properties over HTTP without installing language-specific libraries.
The service is offline and stateless — no external calls, no storage, no logs. New full-report endpoints (/char/full, /inspect/full, /inspect/batch) give complete property dumps and batch processing up to 100 texts per request.
Honest limits: /inspect/full accepts up to 2000 characters per text; /inspect, /skeleton, /char, /char/full, and /confusable-check accept up to 102400 bytes of UTF-8 text (or a single character for /char). /confusable-check limits input to 500 characters. /inspect/batch accepts up to 100 items. These are request-size limits, not accuracy limits.
Endpoints
| Method | Path | What it does |
|---|---|---|
GET | / | API metadata: name, version, and paths to the interactive docs and health endpoint. |
GET | /health | Liveness probe; returns status "ok" while the process is up. |
GET | /char | Inspect a single character: code point, name, category, script, block, and normalization forms. |
GET | /char/full | Full single-character report: all properties from /char plus UTF-8/UTF-16 sizes, HTML entity, combining and grapheme flags, and is_normalized flags. |
POST | /inspect | Inspect a whole string: per-character breakdown with code point, name, category, script, block, and normalization forms. Up to 102400 bytes of UTF-8 text. |
POST | /inspect/full | Full per-character inspection of a whole string (up to 2000 chars) with all properties from /char/full plus four length metrics: code points, grapheme clusters, UTF-8 bytes and UTF-16 units. |
POST | /inspect/batch | Run /inspect/full on up to 100 texts in one call. Returns a list of results in the same order. |
POST | /skeleton | Compute the UTS #39 confusable skeleton of a text: NFD, map every character through the official confusables.txt, NFD again. Up to 102400 bytes of UTF-8 text. |
GET | /confusable-check | Check text for mixed-script homoglyphs using UTS #39 skeleton and resolved script set. Up to 500 characters. |
Quick start
curl -X GET "https://unicode.p.rapidapi.com/char?char=%D0%96" \
-H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
-H "X-RapidAPI-Host: unicode.p.rapidapi.com"
FAQ
Does this API make any external network calls?
No. All data comes from the Unicode Character Database bundled with fontTools.unicodedata and the official confusables.txt shipped with the service. There are no external calls, no databases, and no logs.
What is the maximum text size I can inspect?
/inspect and /skeleton accept up to 102400 bytes of UTF-8 text. /inspect/full accepts up to 2000 characters. /confusable-check limits input to 500 characters. /inspect/batch accepts up to 100 items, each up to 102400 bytes.
Is the homoglyph detection based on official Unicode data?
Yes. The skeleton is computed per UTS #39: NFD, map every character through the official confusables.txt, then NFD again. Mixed-script detection uses the UTS #39 5.1 resolved script set over Script_Extensions.
Can I process many texts at once?
Yes. POST /inspect/batch runs /inspect/full on up to 100 texts in a single request and returns results in the same order.
Try Unicode Property Inspector Names Scripts Blocks NFKC NFD free
Free tier on every plan. Get an API key and start calling in under a minute.
Open on RapidAPI