{"uid":"cap_nZOE1eBmqMgF660-dH2m4","slug":"domain-parse-label-splitting-punycode-lookalike-detection-4bf57fbc","name":"Domain Parse – Label Splitting, Punycode & Lookalike Detection","description":"Split a domain or URL host into labels, registrable domain and subdomain; convert punycode and flag lookalike traits.","url":"https://domain-dns.x402tookit.com/domain-parse?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__AMnJs7Zynhekjrw2DFcL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses a domain or URL into its constituent labels, registrable domain, and subdomain; converts punycode to unicode; and flags internationalized and lookalike traits.","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"Phishing URL triage for security tool","prompt":"I got a suspicious link — can you break down 'https://paypal-secure.xn--pypal-4ve.com' into its domain labels and registrable domain, and tell me if it looks like an IDN homograph or lookalike attack?"},{"title":"Data pipeline domain normalization","prompt":"I have a URL 'https://www.amazon.co.uk/products/shoes' — can you extract just the registrable domain and subdomain so I can normalize it in my dataset?"},{"title":"Browser extension hostname analysis","prompt":"Parse the domain 'subdomain.münchen.de' for me — I need the unicode form, the ASCII punycode version, and a breakdown of its labels and suffix."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T18:46:58.152Z","isFirstParty":false,"canonicalSlug":"domain-parse-label-splitting-punycode-lookalike-detection-4bf57fbc"}