Claim free domain
Claim a free domain available on your account and register it.
Claim a free domain available on your account and register it.
Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required.
A successful response means the domain is registered. If registration fails, login to hPanel and check domain registration status.
If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account.
Some TLDs require additional_details to be provided and these will be validated before claiming.
Requests which cannot be fulfilled are rejected with an error code in the response body,
for example 2037 when no free domain is available.
Use this endpoint to register a domain using a free domain from your account.
API Token authentication
Domain name
my-new-domain.tldAdditional registration data, possible values depends on TLD
Success response
Domain name
mydomain.tldDomain status
activePossible values: 2026-08-05T10:14:22ZUnauthenticated response
Validation error response
Error response
POST /api/domains/v1/portfolio/claim HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 147
{
"domain": "my-new-domain.tld",
"domain_contacts": {
"owner_id": 741288,
"admin_id": 546123,
"billing_id": 741288,
"tech_id": 741288
},
"additional_details": {}
}{
"domain": "mydomain.tld",
"status": "active",
"created_at": "2026-08-05T10:14:22Z"
}Last updated
Was this helpful?