POST
/
?action=getdomainlist
curl --request POST \
  --url 'https://domain.hostwithdothost.com/?action=getdomainlist' \
  --header 'Content-Type: application/json' \
  --data '{
  "username": "yourUsername",
  "password": "yourPassword"
}'
{
  "data": {
    "Domains": [
      {
        "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": []
      },
      {
        "ID": 1097447,
        "Status": "Active",
        "DomainName": "vibeconnect.com.ng",
        "AuthCode": "H*i7sQ2/3_ZpF8m+",
        "LockStatus": "false",
        "PrivacyProtectionStatus": "true",
        "IsChildNameServer": "false",
        "Contacts": {
          "Billing": {
            "ID": 14024175
          },
          "Technical": {
            "ID": 14024175
          },
          "Administrative": {
            "ID": 14024174
          },
          "Registrant": {
            "ID": 14024176
          }
        },
        "Dates": {
          "Start": "2024-10-30T19:43:50.047",
          "Expiration": "2025-10-30T19:43:50.047",
          "RemainingDays": 365
        },
        "NameServers": [
          "ns1.usedothost.com",
          "ns2.usedothost.com"
        ],
        "Additional": [],
        "ChildNameServers": []
      }
    ]
  },
  "result": "OK",
  "TotalCount": 2
}

Body

application/json
username
string
required
password
string
required

Response

200 - application/json
data
object
required
result
string
required
TotalCount
integer
required