Get WHOIS profile list
Retrieve WHOIS contact profiles. Use this endpoint to view available contact profiles for domain registration.
Retrieve WHOIS contact profiles.
Use this endpoint to view available contact profiles for domain registration.
Authorizations
AuthorizationstringRequired
API Token authentication
Query parameters
tldstringOptionalExample:
Filter by TLD (without leading dot)
comResponses
200
Success response
application/json
Array of Domains.V1.WHOIS.ProfileResource
idintegerOptionalExample:
WHOIS Profile ID
746263tldstringOptionalExample:
TLD to which contact profile can be applied to
comcountrystringOptionalExample:
ISO 3166 2-letter country code
NLentity_typestring · enumOptionalExample:
WHOIS profile entity type
individualPossible values: is_defaultbooleanOptionalExample:
Whether the profile is pre-selected when registering new domains of its TLD
truewhois_detailsobjectOptionalExample:
WHOIS profile details
{"first_name":"John","last_name":"Doe","email":"john@doe.tld"}tld_detailsobjectOptional
TLD details
created_atstring · date-timeOptionalExample:
2025-02-27T11:54:22Zupdated_atstring · date-timeOptionalExample:
2025-03-19T11:54:22Z401
Unauthenticated response
application/json
500
Error response
application/json
get/api/domains/v1/whois
GET /api/domains/v1/whois HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": 746263,
"tld": "com",
"country": "NL",
"entity_type": "individual",
"is_default": true,
"whois_details": {
"first_name": "John",
"last_name": "Doe",
"email": "john@doe.tld"
},
"tld_details": {},
"created_at": "2025-02-27T11:54:22Z",
"updated_at": "2025-03-19T11:54:22Z"
}
]Last updated
Was this helpful?