QueryDomainByInstanceId
Queries the basic information of a domain name based on the domain name instance ID.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
domain:QueryCommonInfo |
get |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| UserClientIp |
string |
No |
The IP address of the user. You can set this parameter to 127.0.0.1. |
127.0.0.1 |
| Lang |
string |
No |
The language of the error message returned by the API operation. Valid values:
Default value: en. |
en |
| InstanceId |
string |
Yes |
The instance ID of the domain name. You can obtain the ID by calling the QueryDomainList operation. |
S20131205001**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
|
string |
The email address of the domain name registrant. |
username@example.com |
|
| RegistrationDate |
string |
The registration time of the domain name. The time format varies based on the site and the Lang parameter. For the China site, the format is yyyy-MM-dd HH:mm:ss in the default time zone of the service runtime. For the international site, if Lang is set to zh, the format is yyyy-MM-dd HH:mm:ss (UTC). If Lang is set to en or other values, the format is MMM dd,yyyy HH:mm:ss (UTC). |
2017-12-07 17:02:13 |
| RegistrationDateLong |
integer |
The timestamp of the registration time. |
1625111915000 |
| RealNameStatus |
string |
The real-name verification status of the domain name. Valid values:
Note
The real-name verification status is a combination of the domain name naming review status and the real-name verification status. Real-name verification is considered successful only when both the domain name naming review and the real-name verification are approved. |
NONAUDIT |
| Premium |
boolean |
Indicates whether the domain name is a premium word. Valid values:
|
false |
| DomainNameVerificationStatus |
string |
The naming review status of the domain name. Valid values:
|
NONAUDIT |
| ExpirationDateLong |
integer |
The timestamp of the expiration time. |
1625111915000 |
| DnsList |
object |
||
| Dns |
array |
The DNS list. |
|
|
string |
The list of DNS servers configured for the domain name. |
dns1.hichina.com,dns2.hichina.com |
|
| TransferOutStatus |
string |
The transfer-out status of the domain name. Valid values:
|
NORMAL |
| ZhRegistrantOrganization |
string |
The Chinese name of the domain name registrant. Note
This parameter is applicable only to the China site. |
李四 |
| EmailVerificationClientHold |
boolean |
Indicates whether the domain name resolution is suspended. Valid values:
|
false |
| EmailVerificationStatus |
integer |
Indicates whether the email address of the domain name registrant is verified. Valid values:
|
1 |
| RegistrantOrganization |
string |
The domain name registrant organization. |
Test litm |
| TransferProhibitionLock |
string |
The status of the lock to transfer a domain name to another Alibaba Cloud account. Valid values:
|
CLOSE |
| DomainNameProxyService |
boolean |
Indicates whether the domain name privacy protection service is enabled. |
false |
| RegistrantType |
string |
The type of the domain name registrant. Valid values:
|
1 |
| RegistrantUpdatingStatus |
string |
The modification status of the domain name registrant. Valid values:
|
NORMAL |
| RequestId |
string |
The request ID. |
23C9B3C4-9E2C-4405-A88D-BD33E459D140 |
| DomainName |
string |
The queried domain name. |
example.com |
| InstanceId |
string |
The instance ID of the domain name. |
S20179H1BBI9test |
| ZhRegistrantName |
string |
The Chinese name of the contact. Note
This parameter is applicable only to the China site. |
李四 |
| ExpirationDate |
string |
The expiration time of the queried domain name. The time format varies based on the site and the Lang parameter. For the China site, the format is yyyy-MM-dd HH:mm:ss in the default time zone of the service runtime. For the international site, if Lang is set to zh, the format is yyyy-MM-dd HH:mm:ss (UTC). If Lang is set to en or other values, the format is MMM dd,yyyy HH:mm:ss (UTC). |
2019-12-07 17:02:13 |
| RegistrantName |
string |
The name of the contact. |
Test litm |
| UserId |
string |
The ID of the Alibaba Cloud user (Alibaba Cloud account UID). |
121000000**** |
| UpdateProhibitionLock |
string |
The update prohibition lock status of the domain name. Valid values:
|
CLOSE |
| DomainGroupId |
integer |
The ID of the domain name group. You can obtain the ID by calling the QueryDomainGroupList operation. |
1234 |
| Remark |
string |
The remark of the domain name. |
Test remark |
| DomainGroupName |
string |
The name of the domain name group. |
Test group |
| ExpirationDateStatus |
string |
The expiration status of the domain name. Valid values:
|
1 |
| ExpirationCurrDateDiff |
integer |
The difference in days between the expiration date of the domain name and the current time. |
356 |
| DomainType |
string |
The type of the domain name. Valid values:
|
gTLD |
| DomainStatus |
string |
The status of the domain name. Valid values:
|
1 |
| ResourceGroupId |
string |
The resource group ID. |
rg-acfmw6bpc6n7zai |
| Tag |
object |
||
| Tag |
array<object> |
The tag list. |
|
|
object |
The resource tags. |
||
| Key |
string |
The tag key. |
Renewal |
| Value |
string |
The tag value. |
Tag 1 |
| DomainLifecycleStatus |
string |
The lifecycle status of the domain name. Possible values include REGISTRATION_GRACE_PERIOD (registration grace period), ACTIVE (normal), RENEWAL_GRACE_PERIOD (renewal grace period), REDEMPTION_PERIOD (redemption period), PENDING_DELETE (pending deletion), and EXPIRED (expired). The enumerated values may be extended. Do not rely solely on the current values to implement business logic. |
ACTIVE |
| PrivacyServiceStatus |
string |
The domain name privacy service status. Valid values:
|
UN_SUPPORT |
| CnnicPrivacyServiceStatus |
string |
The CNNIC registry privacy protection status. Valid values:
|
UN_SUPPORT |
| AutoRenewEnabled |
string |
Indicates whether auto-renewal is enabled. |
true |
| Registrar |
string |
The registrar. |
aliyun |
Examples
Success response
JSON format
{
"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": "Li Si",
"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": "Li Si",
"ExpirationDate": "2019-12-07 17:02:13",
"RegistrantName": "Test litm",
"UserId": "121000000****",
"UpdateProhibitionLock": "CLOSE",
"DomainGroupId": 1234,
"Remark": "Test remark",
"DomainGroupName": "Test group",
"ExpirationDateStatus": "1",
"ExpirationCurrDateDiff": 356,
"DomainType": "gTLD",
"DomainStatus": "1",
"ResourceGroupId": "rg-acfmw6bpc6n7zai",
"Tag": {
"Tag": [
{
"Key": "Renewal",
"Value": "Tag 1"
}
]
},
"DomainLifecycleStatus": "ACTIVE",
"PrivacyServiceStatus": "UN_SUPPORT",
"CnnicPrivacyServiceStatus": "UN_SUPPORT",
"AutoRenewEnabled": "true",
"Registrar": "aliyun"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.