# Lookproof IDN Validator

> Lookproof IDN Validator is a paid API for AI agents from api.lookproof.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-31).

Convert a domain name between Unicode and punycode (ACE/A-label) and validate it against IDNA2008, UTS 46, bidi, context, hyphen, and mixed-script homograph rules per label

## Facts

- Endpoint: GET https://api.lookproof.dev/v1/dns/idn?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lookproof-idn-validator-452697f2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YNUW_Q4hYODRLNNeV0ydk

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 lookproof-idn-validator-452697f2
```

Example prompt: Can you validate 'bücher.example.com' against IDNA2008 and UTS 46 rules, convert it to its punycode form, and flag any homograph risks or disallowed characters per label?

## When to prefer this

Use this endpoint when you need to validate, convert, or compare internationalized domain names (IDNs) before registration, display, or comparison — especially when homograph phishing risk, IDNA2008 compliance, or punycode conversion accuracy matters. Prefer this over general DNS lookup tools when you need offline, standards-based structural validation of Unicode and ACE labels with per-label detail. It is ideal for domain registrar workflows, security scanning pipelines, and any UI that must safely display or store IDN hostnames.

## Known failure modes

- Empty or missing 'name' parameter returns a 422 validation error
- Domain name exceeding 1024 characters is rejected
- Malformed input that cannot be parsed as a domain label may return an error response
- Endpoint only validates structure and encoding — it does not check if the domain is actually registered or resolvable

## How this service works

Check SPF, DMARC, DKIM, MTA-STS, DNSSEC and more, with results that explain what was found and why. Free browser checks and a pay-per-request API with x402.

## Output

A per-label breakdown of the domain name including: its Unicode and punycode (ACE/A-label) representations, IDNA2008 and UTS 46 compliance status, any disallowed characters, bidi rule violations, context rule failures, hyphen placement errors, label length issues, and mixed-script homograph risk flags. All checks are performed offline without any DNS queries.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "title": "IdnInput",
     "required": [
      "name"
     ],
     "properties": {
      "name": {
       "type": "string",
       "title": "Name",
       "maxLength": 1024,
       "minLength": 1
      }
     },
     "description": "A name in Unicode or ASCII form; whether it is valid IDNA is the check's answer.",
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lookproof-idn-validator-452697f2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.lookproof.dev](https://www.zero.xyz/host/api.lookproof.dev/llms.txt)
