Get TLD

Returns a single TLD by name. Returns the TLD regardless of enabled status.

Error Codes
Code HTTP Description
tld.not_found 404 TLD does not exist
Path Parameters
  • name
    Type: string
    required

    TLD name (e.g., com, net, io)

Responses
  • application/json
  • application/json
Request Example for get/tlds/{name}
curl 'https://api.nametrust.com/tlds/{name}'
{
  "object": "tld",
  "name": "com",
  "category": "gtld"
}