Get domain details
Retrieve detailed information for specified domain.
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.
API Token authentication
Domain name
mydomain.tldSuccess response
Domain name
mydomain.tldStatus of the domain
activePossible values: Is privacy protection allowed for the domain
trueIs privacy protection enabled for the domain
falseIs domain allowed to be locked
trueIs domain locked
true2025-02-27T11:54:22Z2025-02-27T11:54:22Z2025-04-27T11:54:22Z2025-02-27T12:54:22Z2025-03-27T11:54:22ZOwner contact verification after registration, per channel. null when no channel reports a
verification status.
Unauthenticated response
Error response
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?