調用QueryDomainByDomainName按域名查詢域名信息。
調試
您可以在OpenAPI Explorer中直接運行該接口,免去您計算簽名的困擾。運行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。
授權信息
當前API暫無授權信息透出。
請求參數
名稱 | 類型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
UserClientIp | string | 否 | 用戶 IP。 | 127.0.0.1 |
Lang | string | 否 | 接口返回錯誤信息語言。取值:
默認為 en。 | en |
DomainName | string | 是 | 域名。 | example.com |
返回參數
示例
正常返回示例
JSON
格式
{
"Email": "username@example.com",
"RegistrationDate": "2017-12-07 17:02:13",
"RegistrationDateLong": 1584675448000,
"RealNameStatus": "NONAUDIT",
"Premium": false,
"DomainNameVerificationStatus": "SUCCEED",
"ExpirationDateLong": 1625111915000,
"DnsList": {
"Dns": [
"dns1.hichina.com,dns2.hichina.com"
]
},
"TransferOutStatus": "NORMAL",
"ZhRegistrantOrganization": "王先生",
"EmailVerificationClientHold": false,
"EmailVerificationStatus": 1,
"RegistrantOrganization": "Test litm",
"TransferProhibitionLock": "CLOSE",
"DomainNameProxyService": false,
"RegistrantType": "1",
"RegistrantUpdatingStatus": "NORMAL",
"RequestId": "44101664-3E70-4F0E-89E5-CCB74BF*****",
"DomainName": "example.com",
"InstanceId": "S20179H1BBI9****",
"ZhRegistrantName": "王先生",
"ExpirationDate": "2019-12-07 17:02:13",
"RegistrantName": "Test litm",
"UserId": "121000000****",
"UpdateProhibitionLock": "CLOSE",
"DomainGroupId": 123456,
"Remark": "測試備注",
"DomainGroupName": "測試分組",
"ExpirationDateStatus": "1",
"ExpirationCurrDateDiff": 356,
"DomainType": "gTLD",
"DomainStatus": "3",
"ResourceGroupId": "rg-acfmw6bpc6n7zai",
"Tag": {
"Tag": [
{
"Key": "費用",
"Vaue": "標簽1"
}
]
}
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。