Skip to content
HALOWERK

Textwerk

confusables detect

Implements UTS #39 (Unicode Security Mechanisms, revision 32 for Unicode 17.0.0): internalSkeleton (NFD, removal of Default_Ignorable_Code_Point, prototype mapping from confusables.txt 17.0.0, NFD again), augmented and resolved script sets from Script_Extensions, restriction levels with IdentifierStatus.txt and the Recommended Scripts of UAX #31 rev. 43. Domains are first mapped with UTS #46 (WHATWG URL, punycode decoded). Each reference is compared by skeleton and classified as.

POST https://text.halowerk.com/v1/confusables-detect

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
textstringYesDomain, name or identifier to analyse.
modestringNoauto treats dotted input without spaces, @, / or : as a domain; everything else as an identifier.
compare_toarrayNoProtected names or domains to compare against.
include_asciibooleanNoAlso list ASCII characters that have a different prototype (e.g. m → rn, 1 → l).
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 1000,
      "description": "Domain, name or identifier to analyse."
    },
    "mode": {
      "type": "string",
      "enum": [
        "auto",
        "domain",
        "identifier"
      ],
      "default": "auto",
      "description": "auto treats dotted input without spaces, @, / or : as a domain; everything else as an identifier."
    },
    "compare_to": {
      "type": "array",
      "maxItems": 200,
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 1000
      },
      "description": "Protected names or domains to compare against."
    },
    "include_ascii": {
      "type": "boolean",
      "default": false,
      "description": "Also list ASCII characters that have a different prototype (e.g. m → rn, 1 → l)."
    }
  }
}

Open original schema

Published input example

{
  "text": "pаypal.com",
  "compare_to": [
    "paypal.com"
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub →