Is This a Homoglyph?
Helps humans and agents decide whether a string or domain is an IDN, looks visually deceptive, and what it likely mimics.
isconfusable
v1
open
live
Use This Skill
Endpoints
| Method | Path | Status | Modes |
|---|---|---|---|
| GET/POST | /api/v1/isconfusable |
live | json |
Input Contract
Provide input or domain as a string up to 512 Unicode characters.
Output Contract
Returns IDN status, input type, A-label, U-label, scripts detected, confusable class, likely mimics, character notes, risk level, and explanation.
Errors
Empty input, invalid UTF-8, overly long input, or malformed punycode warning with fallback string analysis.
Auth and Limits
Anonymous for initial rollout.
Public low-volume use. Formal headers and quotas are planned.
Examples
Requests
{"input":"xn--ypal-43d9g.com"}
GET /api/v1/isconfusable?input=xn--ypal-43d9g.com
Responses
{"is_idn":true,"is_confusable":true,"confusable_class":"mixed-script","likely_mimics":[{"string":"paypal.com"}]}
FAQ
Is this the same as punycode conversion?
No. Punycode conversion is included, but the skill also checks scripts, confusable characters, and likely visual mimic targets.