# Domain Parse – Label Splitting, Punycode & Lookalike Detection

> Domain Parse – Label Splitting, Punycode & Lookalike Detection is a paid API for AI agents from domain-dns.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-25).

Parses a domain or URL into its constituent labels, registrable domain, and subdomain; converts punycode to unicode; and flags internationalized and lookalike traits.

## Facts

- Endpoint: GET https://domain-dns.x402tookit.com/domain-parse?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-25
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/domain-parse-label-splitting-punycode-lookalike-detection-4bf57fbc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nZOE1eBmqMgF660-dH2m4

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 domain-parse-label-splitting-punycode-lookalike-detection-4bf57fbc
```

Example prompt: Can you parse 'https://www.bbc.co.uk/news' and tell me its registrable domain, subdomain, TLD suffix, and whether it uses any internationalized or lookalike characters?

## When to prefer this

Choose this endpoint when you need structural decomposition of a domain or URL — splitting into labels, registrable domain, subdomain, and suffix — along with punycode-to-unicode conversion and IDN/lookalike flagging. It is the right choice for phishing detection pipelines, URL normalization, and security screening workflows. Prefer it over DNS record lookups (which resolve live DNS) or WHOIS/RDAP lookups (which return registration data); this endpoint is purely a parse-time structural analysis requiring no live DNS queries.

## Known failure modes

- Invalid or unparseable domain string returns null fields or an error verdict
- Punycode conversion failure for malformed internationalized labels
- Missing 'domain' query parameter returns a 400-level error
- Very long or deeply nested domains may exceed parsing limits
- Newly registered TLDs not yet in the public suffix list may produce incorrect registrable domain splits

## How this service works

Split a domain or URL host into labels, registrable domain and subdomain; convert punycode and flag lookalike traits.

## Output

Returns a structured object containing: domain labels array, label count, registrable domain, subdomain, TLD suffix, ASCII and unicode representations of the domain, domain length, internationalized flag, a lookalike/verdict field with reasons, a human-readable summary, and metadata like source and timestamp. Also includes a disclaimer and a list of any checks not performed.

## 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",
     "required": [
      "domain"
     ],
     "properties": {
      "domain": {
       "type": "string",
       "description": "Domain name or URL, e.g. https://www.bbc.co.uk/news"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "ascii": {
       "type": [
        "null",
        "string"
       ]
      },
      "labels": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "length": {
       "type": [
        "null",
        "number"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "suffix": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ]
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "unicode": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "subdomain": {
       "type": [
        "null",
        "string"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "labelCount": {
       "type": [
        "null",
        "number"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "internationalized": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "registrableDomain": {
       "type": [
        "null",
        "string"
       ]
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/domain-parse-label-splitting-punycode-lookalike-detection-4bf57fbc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from domain-dns.x402tookit.com](https://www.zero.xyz/host/domain-dns.x402tookit.com/llms.txt)
