Domain Name API
Register Domain
API Reference
Domain Name API
- POSTGet Reseller Details
- POSTGet Reseller Balance
- POSTGet TLD List
- POSTSingle Domain Check
- POSTBulk Domain Check
- POSTRegister Domain
- POSTDomain List in a Reseller Account
- POSTGet Registered Domain Details
- POSTGet Domain Contact
- POSTEnable Theft Lock (EPP)
- POSTDisable Theft Lock
- POSTModify Domain Nameserver
- POSTAdd Child Nameserver (Private DNS)
- POSTModify Child Nameserver
- POSTDelete Child Nameserver
- POSTSync Domain From Registry
- POSTTransfer Domain
- POSTCancel Transfer
- POSTModify Privacy (WHOIS)
Server
Auth
Hosting
- GETGet all hosting groups
- POSTCreate a new hosting plan
- DELDelete all hosting groups
- POSTCreate a bulk hosting plan
- GETGet a hosting group by ID
- DELDelete a hosting group by ID
- PATCHupdate a hosting group by id
- GETGet a hosting group by name
- DELDelete a hosting group by name
- POSTCreate a new hosting subgroup
Domain Name API
Register Domain
POST
/
?action=registerdomain
curl --request POST \
--url 'https://domain.hostwithdothost.com/?action=registerdomain' \
--header 'Content-Type: application/json' \
--data '{
"username": "yourUsername",
"password": "yourPassword",
"domain": "vibeconnect.com.ng",
"period": 1,
"contact": {
"FirstName": "Onyeka",
"LastName": "Onah",
"Company": "",
"EMail": "Onahonyeka4real@gmail.com",
"AddressLine1": "Behind Divine Model School Ado",
"AddressLine2": "",
"City": "Karu",
"Country": "NG",
"Phone": "8166947262",
"PhoneCountryCode": 234,
"ZipCode": "961002",
"State": "Nasarawa"
},
"registrant": {
"FirstName": "DotHost",
"LastName": "Technologies",
"Company": "DotHost Technologies",
"EMail": "support@usedothost.com",
"AddressLine1": "Ikeja",
"City": "Lagos",
"Country": "NG",
"Phone": "9041557573",
"PhoneCountryCode": 234,
"ZipCode": "100001",
"State": "Lagos"
},
"nameservers": [
"ns1.usedothost.com",
"ns2.usedothost.com"
],
"privacyProtection": true,
"eppLock": false
}'
{
"result": "OK",
"data": {
"ID": 0,
"Status": "active",
"DomainName": "thegrtnx.com.ng",
"AuthCode": "b_9S?8MwoN/2*4Lm",
"LockStatus": "false",
"PrivacyProtectionStatus": "false",
"IsChildNameServer": "false",
"Contacts": {
"Billing": {
"ID": 14024134
},
"Technical": {
"ID": 14024134
},
"Administrative": {
"ID": 14024134
},
"Registrant": {
"ID": 14024134
}
},
"Dates": {
"Start": "2024-10-30T19:10:34.883Z",
"Expiration": "2025-10-30T19:10:34.883Z",
"RemainingDays": 0
},
"NameServers": [
"ns1.usedothost.com",
"ns2.usedothost.com"
],
"Additional": [],
"ChildNameServers": []
}
}
Body
application/json
Response
200 - application/json
Was this page helpful?
curl --request POST \
--url 'https://domain.hostwithdothost.com/?action=registerdomain' \
--header 'Content-Type: application/json' \
--data '{
"username": "yourUsername",
"password": "yourPassword",
"domain": "vibeconnect.com.ng",
"period": 1,
"contact": {
"FirstName": "Onyeka",
"LastName": "Onah",
"Company": "",
"EMail": "Onahonyeka4real@gmail.com",
"AddressLine1": "Behind Divine Model School Ado",
"AddressLine2": "",
"City": "Karu",
"Country": "NG",
"Phone": "8166947262",
"PhoneCountryCode": 234,
"ZipCode": "961002",
"State": "Nasarawa"
},
"registrant": {
"FirstName": "DotHost",
"LastName": "Technologies",
"Company": "DotHost Technologies",
"EMail": "support@usedothost.com",
"AddressLine1": "Ikeja",
"City": "Lagos",
"Country": "NG",
"Phone": "9041557573",
"PhoneCountryCode": 234,
"ZipCode": "100001",
"State": "Lagos"
},
"nameservers": [
"ns1.usedothost.com",
"ns2.usedothost.com"
],
"privacyProtection": true,
"eppLock": false
}'
{
"result": "OK",
"data": {
"ID": 0,
"Status": "active",
"DomainName": "thegrtnx.com.ng",
"AuthCode": "b_9S?8MwoN/2*4Lm",
"LockStatus": "false",
"PrivacyProtectionStatus": "false",
"IsChildNameServer": "false",
"Contacts": {
"Billing": {
"ID": 14024134
},
"Technical": {
"ID": 14024134
},
"Administrative": {
"ID": 14024134
},
"Registrant": {
"ID": 14024134
}
},
"Dates": {
"Start": "2024-10-30T19:10:34.883Z",
"Expiration": "2025-10-30T19:10:34.883Z",
"RemainingDays": 0
},
"NameServers": [
"ns1.usedothost.com",
"ns2.usedothost.com"
],
"Additional": [],
"ChildNameServers": []
}
}