Look-alike (homograph) check
check_lookalikeCheck whether one domain or Web3 name is a visual look-alike (homograph): letters from different scripts mixed in one label, or every non-ASCII letter having a Latin twin, so раураl.com reads as paypal.com. Returns the scripts used and the Latin name it imitates.
Use it to screen candidate or incoming names quickly (phishing triage, brand monitoring). lookup_target already includes this warning for the name it looks up, so there is no need to call both for one name.
Behavior: offline and instant; no DNS, registry or network call. It catches script tricks only, not typos or digit swaps such as paypa1.com, so a clean result does not mean the domain is safe.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | one domain or Web3 name, Unicode (раураl.com) or punycode (xn--...); a full URL is not accepted |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | name in Unicode form | |
| scripts | No | scripts the letters come from | |
| look_alike | Yes | ||
| looks_like | No | the Latin name it imitates | |
| mixed_script | No | one label mixes scripts |