调用QueryDomainByInstanceId根据域名实例编号查询域名的基本信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
domain:QueryCommonInfo |
get |
*Domain
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| UserClientIp |
string |
否 |
用户 IP,可以设置为127.0.0.1。 |
127.0.0.1 |
| Lang |
string |
否 |
接口返回错误信息语言。取值:
默认为 en。 |
en |
| InstanceId |
string |
是 |
域名实例编号,通过查询域名列表 QueryDomainList 接口获取。 |
S20131205001**** |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
|
string |
域名所有者邮箱。 |
username@example.com |
|
| RegistrationDate |
string |
域名注册时间。 |
2017-12-07 17:02:13 |
| RegistrationDateLong |
integer |
注册时间的时间戳。 |
1625111915000 |
| RealNameStatus |
string |
域名实名认证状态。取值:
说明
域名实名认证状态是域名命名审核和实名审核的组合状态,只有域名命名审核和实名审核均通过才算域名实名认证成功。 |
NONAUDIT |
| Premium |
boolean |
是否是溢价词。取值:
|
false |
| DomainNameVerificationStatus |
string |
域名命名审核状态。取值:
|
NONAUDIT |
| ExpirationDateLong |
integer |
到期时间的时间戳。 |
1625111915000 |
| DnsList |
object |
||
| Dns |
array |
DNS 列表。 |
|
|
string |
返回域名已配置的 DNS 列表。 |
dns1.hichina.com,dns2.hichina.com |
|
| TransferOutStatus |
string |
域名转出状态。取值:
|
NORMAL |
| ZhRegistrantOrganization |
string |
中文域名持有者。 说明
该参数仅适用于中国站。 |
李四 |
| EmailVerificationClientHold |
boolean |
域名是否被暂停解析。取值:
|
false |
| EmailVerificationStatus |
integer |
域名持有者邮箱是否已通过验证。取值:
|
1 |
| RegistrantOrganization |
string |
域名持有者。 |
Test litm |
| TransferProhibitionLock |
string |
域名转移锁状态。取值:
|
CLOSE |
| DomainNameProxyService |
boolean |
是否已开启域名隐私保护服务。 |
false |
| RegistrantType |
string |
域名注册联系人类型。取值:
|
1 |
| RegistrantUpdatingStatus |
string |
域名持有者修改状态。取值:
|
NORMAL |
| RequestId |
string |
请求 ID。 |
23C9B3C4-9E2C-4405-A88D-BD33E459D140 |
| DomainName |
string |
查询的域名。 |
example.com |
| InstanceId |
string |
域名实例编号。 |
S20179H1BBI9test |
| ZhRegistrantName |
string |
中文联系人。 说明
该参数仅适用于中国站。 |
李四 |
| ExpirationDate |
string |
查询的域名到期时间。 |
2019-12-07 17:02:13 |
| RegistrantName |
string |
联系人名称。 |
Test litm |
| UserId |
string |
阿里云用户编号(阿里云账号 UID)。 |
121000000**** |
| UpdateProhibitionLock |
string |
域名安全锁状态。取值:
|
CLOSE |
| DomainGroupId |
integer |
域名分组 ID,可通过 QueryDomainGroupList 接口获取。 |
1234 |
| Remark |
string |
域名备注。 |
测试备注 |
| DomainGroupName |
string |
域名分组名称。 |
测试分组 |
| ExpirationDateStatus |
string |
域名过期状态。取值:
|
1 |
| ExpirationCurrDateDiff |
integer |
域名到期日和当前的时间的天数差值。 |
356 |
| DomainType |
string |
域名类型。取值:
|
gTLD |
| DomainStatus |
string |
域名状态。取值:
|
1 |
| ResourceGroupId |
string |
资源组 id。 |
rg-acfmw6bpc6n7zai |
| Tag |
object |
||
| Tag |
array<object> |
标签列表。 |
|
|
object |
资源标签 |
||
| Key |
string |
标签键。 |
续费 |
| Value |
string |
标签值。 |
标签1 |
| DomainLifecycleStatus |
string |
||
| PrivacyServiceStatus |
string |
UN_SUPPORT |
|
| CnnicPrivacyServiceStatus |
string |
UN_SUPPORT |
示例
正常返回示例
JSON格式
{
"Email": "username@example.com",
"RegistrationDate": "2017-12-07 17:02:13",
"RegistrationDateLong": 1625111915000,
"RealNameStatus": "NONAUDIT",
"Premium": false,
"DomainNameVerificationStatus": "NONAUDIT",
"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": "23C9B3C4-9E2C-4405-A88D-BD33E459D140",
"DomainName": "example.com",
"InstanceId": "S20179H1BBI9test",
"ZhRegistrantName": "李四",
"ExpirationDate": "2019-12-07 17:02:13",
"RegistrantName": "Test litm",
"UserId": "121000000****",
"UpdateProhibitionLock": "CLOSE",
"DomainGroupId": 1234,
"Remark": "测试备注",
"DomainGroupName": "测试分组",
"ExpirationDateStatus": "1",
"ExpirationCurrDateDiff": 356,
"DomainType": "gTLD",
"DomainStatus": "1",
"ResourceGroupId": "rg-acfmw6bpc6n7zai",
"Tag": {
"Tag": [
{
"Key": "续费",
"Value": "标签1"
}
]
},
"DomainLifecycleStatus": "",
"PrivacyServiceStatus": "UN_SUPPORT",
"CnnicPrivacyServiceStatus": "UN_SUPPORT"
}
异常返回示例
JSON格式
{
"dnsList": [
"dns1.hichina.com",
"dns2.hichina.com"
],
"domainName": "test.com",
"domainNameProxyService": false,
"email": "test@alibaba-inc.com",
"emailVerificationClientHold": false,
"emailVerificationStatus": 1,
"expirationDate": "2019-12-07 17:02:13",
"instanceId": "S20179H1BBI9test",
"premium": false,
"realNameStatus": "NONAUDIT",
"domainNameVerificationStatus": "NONAUDIT",
"registrantInfoStatus": "NORMAL",
"registrantName": "Test litm",
"registrantOrganization": "Test litm",
"registrationDate": "2017-12-07 17:02:13",
"transferOutStatus": "NORMAL",
"transferProhibitionLock": "CLOSE",
"updateProhibitionLock": "CLOSE",
"userId": "121000000test"
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。