POST
/
?action=getdetails
curl --request POST \
  --url 'https://domain.hostwithdothost.com/?action=getdetails' \
  --header 'Content-Type: application/json' \
  --data '{
  "username": "yourUsername",
  "password": "yourPassword",
  "domain": "thegrtnx.com.ng"
}'
{
  "data": {
    "ID": 1097426,
    "Status": "Active",
    "DomainName": "thegrtnx.com.ng",
    "AuthCode": "b_9S?8MwoN/2*4Lm",
    "LockStatus": "false",
    "PrivacyProtectionStatus": "true",
    "IsChildNameServer": "false",
    "Contacts": {
      "Billing": {
        "ID": 14024134
      },
      "Technical": {
        "ID": 14024134
      },
      "Administrative": {
        "ID": 14024134
      },
      "Registrant": {
        "ID": 14024134
      }
    },
    "Dates": {
      "Start": "2024-10-30T19:10:34.883",
      "Expiration": "2025-10-30T19:10:34.883",
      "RemainingDays": 365
    },
    "NameServers": [
      "ns1.usedothost.com",
      "ns2.usedothost.com"
    ],
    "Additional": [],
    "ChildNameServers": []
  },
  "result": "OK"
}

Body

application/json
username
string
required
password
string
required
domain
string
required

Response

200
application/json
data
object
required
result
string
required