{"uid":"cap_XFFfJ-V2MTJlpVCXwTcfo","slug":"xub-domain-boundary-parser-9e181761","name":"XUB Domain Boundary Parser","description":"Machine-first x402 procurement intelligence and paid utilities.","url":"https://xub.me/api/tools/domain-boundary/invoke?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"tool":"domain-boundary","result":{"results":[{"isIp":false,"input":"a.example.co.uk","isIcann":true,"hostname":"a.example.co.uk","isPrivate":false,"subdomain":"a","publicSuffix":"co.uk","registrableDomain":"example.co.uk","domainWithoutSuffix":"example"},{"isIp":false,"input":"project.github.io","isIcann":false,"hostname":"project.github.io","isPrivate":true,"subdomain":"","publicSuffix":"github.io","registrableDomain":"project.github.io","domainWithoutSuffix":"project"}],"dataVersion":"tldts-7.4.18","includePrivateDomains":true},"version":"1"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hWh2tiv3LaTiG1cLtD-BX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses hostnames to extract domain components including public suffix, registrable domain, subdomain, and IP/ICANN/private classification.","exampleAgentPrompt":"Parse the hostname 'blog.example.co.uk' and tell me its registrable domain, public suffix, subdomain, and whether it's an ICANN-recognized or private domain.","exampleUseCases":[{"title":"Extract root domain from user URLs","prompt":"I have a list of hostnames like 'store.myshop.github.io' and 'api.acme.co.uk' — can you break each one down into its registrable domain, subdomain, and public suffix, and flag which ones are on private registries?"},{"title":"Classify ICANN vs private domains","prompt":"Can you check whether 'myproject.pages.dev' is on an ICANN-recognized public suffix or a private one like a CDN or hosting platform?"},{"title":"Normalize domains for deduplication","prompt":"I'm deduplicating a dataset of URLs and need to group them by registrable domain — can you parse 'mail.google.com', 'docs.google.com', and 'google.co.uk' to get their base domains?"}],"resultDescription":"Returns a JSON array of parsed domain objects for each input hostname, each containing: the original input, hostname, registrable domain, domain without suffix, subdomain, public suffix, and boolean flags for isIp, isIcann, and isPrivate. Also includes the tldts library version used and whether private domains were included in lookup.","failureModes":["Invalid or malformed hostname input may return empty or null component fields","IP addresses are flagged via isIp but may have limited decomposition","Private suffix classification depends on the bundled tldts version and may lag behind latest Public Suffix List updates","Non-existent TLDs may be parsed but flagged as non-ICANN"],"whenToPreferThis":"Choose this endpoint when you need reliable, standards-based domain decomposition using the Mozilla Public Suffix List — especially when you need to distinguish ICANN-recognized TLDs from private registries (e.g. github.io, pages.dev). Prefer this over simple string splitting or regex-based approaches that cannot handle multi-part suffixes like co.uk or com.au correctly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T18:39:33.060Z","isFirstParty":false,"canonicalSlug":"xub-domain-boundary-parser-9e181761"}