tld_not_supported

HTTP 400

TLD not supported

Type URL

https://developer.hostup.se/errors/tld_not_supported

Possible detail messages

WHOIS lookup is not supported for this TLD.
TLD ${normalizedTld} is not offered.
Snapback is only available for .se and .nu domains (got

Example response

{
  "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"
}

HTTP status codes

This error can be returned with different status codes depending on context:

400 404 422

Endpoints that may return this error

Handling this error

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);
  }
}