# IDN Punycode Converter & Homograph Checker

> IDN Punycode Converter & Homograph Checker is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Converts domain names between Unicode and ASCII (punycode/xn--) forms, lists scripts used per label, and flags mixed-script and confusable-character homograph phishing risks.

## Facts

- Endpoint: GET https://intel.rallylive.ca/dns/idn
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/idn-punycode-converter-homograph-checker-0686f700
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lvTPpPGE6_EMQr4WNaeEP

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability idn-punycode-converter-homograph-checker-0686f700
```

Example prompt: Check if the domain 'раypal.com' is a homograph phishing risk — convert it to punycode, list which Unicode scripts are used in its labels, and flag any confusable characters like Cyrillic lookalikes.

## When to prefer this

Use this endpoint when you need to detect homograph phishing domains, convert between Unicode and punycode domain representations, or audit internationalized domain names for mixed-script and confusable-character risks. Prefer this over generic DNS lookup tools when the security or authenticity of a domain's character set is in question.

## Known failure modes

- Invalid or malformed domain name input returns an error
- Domains with unsupported or unregistered scripts may not resolve confusable mappings
- Network timeout if the upstream service is unavailable
- Payment failure via x402 protocol if insufficient USDC balance

## How this service works

IDN / punycode converter and homograph check: converts between Unicode and ASCII (xn--) domain forms, lists the scripts used, flags mixed-script labels and confusable characters (Cyrillic а vs Latin a) that indicate homograph phishing risk. $0.01 per domain.

## Output

Returns the punycode (xn--) ASCII form and the Unicode form of the domain, a list of Unicode scripts present in each label, a boolean or flag indicating mixed-script labels, and a list of any confusable/look-alike characters (e.g. Cyrillic 'а' vs Latin 'a') that signal homograph phishing risk.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/idn-punycode-converter-homograph-checker-0686f700/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
