Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get domain details

Retrieve detailed information for specified domain.

Get domain details

get

Retrieve detailed information for specified domain.

A domain is found here only once it is registered. Until then, Get domain list shows it, and its verification field says what registration waits for when the domain is held for verification.

After registration, the registry may require the owner contact to be verified by email, phone number or contact name before a deadline, after which the domain is suspended. The contact_verification field shows what needs verifying, its state and the deadline.

Use this endpoint to view comprehensive domain configuration and status.

Authorizations
AuthorizationstringRequired

API Token authentication

Path parameters
domainstringRequired

Domain name

Example: mydomain.tld
Responses
200

Success response

application/json
domainstringOptional

Domain name

Example: mydomain.tld
statusstring · enumOptional

Status of the domain

Example: activePossible values:
messagestring · nullableOptional
is_privacy_protection_allowedbooleanOptional

Is privacy protection allowed for the domain

Example: true
is_privacy_protectedbooleanOptional

Is privacy protection enabled for the domain

Example: false
is_lockablebooleanOptional

Is domain allowed to be locked

Example: true
is_lockedbooleanOptional

Is domain locked

Example: true
created_atstring · date-timeOptionalExample: 2025-02-27T11:54:22Z
updated_atstring · date-timeOptionalExample: 2025-02-27T11:54:22Z
60_days_lock_expires_atstring · date-time · nullableOptionalExample: 2025-04-27T11:54:22Z
registered_atstring · date-time · nullableOptionalExample: 2025-02-27T12:54:22Z
expires_atstring · date-time · nullableOptionalExample: 2025-03-27T11:54:22Z
contact_verificationone of · nullableOptional

Owner contact verification after registration, per channel. null when no channel reports a verification status.

get/api/domains/v1/portfolio/{domain}
GET /api/domains/v1/portfolio/{domain} HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "domain": "mydomain.tld",
  "status": "active",
  "message": "text",
  "is_privacy_protection_allowed": true,
  "is_privacy_protected": false,
  "is_lockable": true,
  "is_locked": true,
  "name_servers": {
    "ns1": "ns1.example.tld",
    "ns2": "ns2.example.tld"
  },
  "child_name_servers": {
    "ns1.example.tld": [
      "258.231.55.321",
      "258.231.55.322"
    ]
  },
  "domain_contacts": {
    "admin_id": 114698,
    "owner_id": 614698,
    "billing_id": 154698,
    "tech_id": 524248
  },
  "created_at": "2025-02-27T11:54:22Z",
  "updated_at": "2025-02-27T11:54:22Z",
  "60_days_lock_expires_at": "2025-04-27T11:54:22Z",
  "registered_at": "2025-02-27T12:54:22Z",
  "expires_at": "2025-03-27T11:54:22Z",
  "contact_verification": {
    "email": {
      "status": "pending",
      "ends_at": "2025-03-14T23:59:59Z"
    },
    "phone": {
      "status": "pending",
      "ends_at": "2025-03-14T23:59:59Z"
    },
    "contact_name": {
      "status": "pending",
      "ends_at": "2025-03-14T23:59:59Z"
    }
  }
}

Last updated

Was this helpful?