Articles on: API & HostFact
This article is also available in:

API Documentation: Domains Module

This is the guide for the domains module of our API. Below you'll find an overview of all available actions within this module. Click on an action to jump directly to its description.

📑 Table of Contents



🔍 m: domains, a: check – Check Availability
📄 m: domains, a: list – Retrieve Domain List
🛒 m: domains, a: order – Register or Transfer Domain
📋 m: domains, a: show – View Domain Details
❌ m: domains, a: del, t: cancel / cancel-direct / undo – Cancel Domain
✍️ m: domains, a: edit-contact – Update WHOIS Details
🛠️ m: domains, a: edit-nameserver – Update Nameservers
🔒 m: domains, a: lock – Lock Domain
🔓 m: domains, a: unlock – Unlock Domain
🔑 m: domains, a: get-authkey – Retrieve Transfer Code
👥 m: domains, a: list, t: contact – Contact Overview
👤 m: domains, a: show, t: contact – View Contact Details
➕ m: domains, a: add, t: contact – Add Contact
✏️ m: domains, a: edit, t: contact – Edit Contact
🔎 m: domains, a: check, t: contact – Check Contact
🗑️ m: domains, a: del, t: contact – Delete Contact
📡 m: domains, a: show-dns-zone – View DNS Zone
⚙️ m: domains, a: edit-dns-zone – Edit DNS Zone


🔍 m: domains, a: check – Check Availability



VariableRequiredDescription
Domaine.g. example.nl

Status values:
available – the domain name is available
unavailable – the domain name is already registered


📄 m: domains, a: list – Retrieve Domain List



VariableRequiredDescription
No input needed

Status values:
success – domain list successfully retrieved


🛒 m: domains, a: order – Register or Transfer Domain



⚠️ See also: Real-time domain registration via the API

VariableRequiredDescription
Domaine.g. example
Tlde.g. nl
OwnerHandleUnique ID of registrant
AdminHandleUnique ID of admin contact
TechHandleUnique ID of tech contact
DNS1Primary nameserver
DNS2Secondary nameserver
DNS3Tertiary nameserver (optional)
AuthKeyTransfer code if required

Status values:
success – domain was successfully registered
not-authorized – post-payment not enabled
not-found-service – TLD not supported
not-found-contact – contact not found
not-available – domain already ordered
validation-domain – invalid domain format


📋 m: domains, a: show – View Domain Details



VariableRequiredDescription
Domaine.g. example
Tlde.g. nl

Status values:
success – domain was found
not-authorized – no access to domain
not-found – domain not found


❌ m: domains, a: del, t: cancel / cancel-direct / undo – Cancel Domain



VariableRequiredDescription
Domaine.g. example
Tlde.g. nl

Status values:
success – domain successfully cancelled
pending-deletion – already marked for deletion
not-supported – cancellation not supported
not-authorized – no access to domain
not-found – domain not found


✍️ m: domains, a: edit-contact – Update WHOIS Details



VariableRequiredDescription
DomainDomain name
TldExtension
OwnerHandleRegistrant contact handle
AdminHandleAdmin contact handle
TechHandleTech contact handle

Status values:
success – contacts updated
error – update failed
not-authorized – no access to domain
not-found – domain not found


🛠️ m: domains, a: edit-nameserver – Update Nameservers



VariableRequiredDescription
DomainDomain name
TldExtension
DNS1First nameserver
DNS2Second nameserver
DNS3Third nameserver

Status values:
success – nameservers updated
warning – no changes applied
error – update failed
not-authorized – no access to domain
not-found – domain not found


🔒 m: domains, a: lock – Lock Domain



VariableRequiredDescription
DomainDomain name
TldExtension

Status values:
success – domain locked
not-supported – not supported for this TLD
not-authorized – no access
not-found – domain not found


🔓 m: domains, a: unlock – Unlock Domain



VariableRequiredDescription
DomainDomain name
TldExtension

Status values:
success – domain unlocked
not-supported – not supported
not-authorized – no access
not-found – domain not found


🔑 m: domains, a: get-authkey – Retrieve Transfer Code



VariableRequiredDescription
DomainDomain name
TldExtension

Status values:
success – transfer code retrieved
warning – no code available
error – failed to retrieve
not-supported – TLD not supported
not-authorized – no access
not-found – domain not found


👥 m: domains, a: list, t: contact – Contact Overview



VariableRequiredDescription

Status values:
success – contacts retrieved
pending – still processing
not-authorized – no access
not-found – no contacts found


👤 m: domains, a: show, t: contact – View Contact Details



VariableRequiredDescription
HandleUnique contact handle

Status values:
success – contact found
pending – still being created
not-authorized – no access
not-found – contact not found


➕ m: domains, a: add, t: contact – Add Contact



(same fields as in edit, see below)

Status values:
success – contact added
error-processing – add failed
validation-handle – invalid handle
validation-emailaddress – invalid email
validation-address – invalid address
validation-phonenumber – invalid phone number
not-found – contact not found


✏️ m: domains, a: edit, t: contact – Edit Contact



VariableRequiredDescription
HandleUnique name
CompanyNameOptional
CompanyNumberDutch companies only
TaxNumberEU companies only
InitialsFirst name or initials
SurNameLast name
AddressNo P.O. boxes allowed
ZipCodee.g. 1234AB
CityOnly letters and spaces allowed
CountryISO 3166-1 code
EmailAddressMust be valid and reachable
PhoneNumberDigits only

Status values:
success – contact updated
error-processing – update failed
validation-handle – invalid handle
validation-emailaddress – invalid email
validation-address – invalid address
validation-phonenumber – invalid phone number
pending-processing – still processing
pending-modification – being updated
pending-deletion – being deleted
not-found – contact not found


🔎 m: domains, a: check, t: contact – Check Contact



VariableRequiredDescription
InitialsFirst name/initials
SurNameLast name
CompanyNameOptional

Status values:
success – contact exists
not-found – contact not found


🗑️ m: domains, a: del, t: contact – Delete Contact



VariableRequiredDescription
HandleUnique contact handle

Status values:
success – contact deleted
pending-processing – processing started
pending-modification – contact being updated
pending-deletion – contact already scheduled for removal
not-found – contact not found


📡 m: domains, a: show-dns-zone – View DNS Zone



VariableRequiredDescription
DomainDomain name
TldExtension

Status values:
success – DNS zone found
not-found – DNS zone not found


⚙️ m: domains, a: edit-dns-zone – Edit DNS Zone



VariableRequiredDescription
DomainDomain name
TldExtension
DNSZoneModified zone as array

Status values:
success – DNS zone updated
error-processing – update failed
not-found – zone not found

Updated on: 23/05/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!