TLD not supported
https://developer.hostup.se/errors/tld_not_supported {
"type": "https://developer.hostup.se/errors/tld_not_supported",
"title": "TLD not supported",
"status": 400,
"detail": "WHOIS lookup is not supported for this TLD.",
"code": "tld_not_supported",
"instance": "/api/v2/...",
"requestId": "req_abc123",
"timestamp": "2026-04-27T12:00:00.000Z"
} This error can be returned with different status codes depending on context:
const response = await fetch(url, options);
if (!response.ok) {
const problem = await response.json();
if (problem.code === "tld_not_supported") {
// Handle: TLD not supported
console.error(problem.detail);
}
}