QueryDomainList
Performs a paging query for the list of domain names under your account.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
domain:QueryCommonInfo |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| EndExpirationDate |
integer |
No |
The end time for querying the expiration date of domain names. The time is calculated as the number of milliseconds that have elapsed since 00:00:00 UTC on January 1, 1970. Currently, only daily queries are supported. |
1522080000000 |
| StartExpirationDate |
integer |
No |
The start time for querying the expiration date of domain names. The time is calculated as the number of milliseconds that have elapsed since 00:00:00 UTC on January 1, 1970. Currently, only daily queries are supported. |
1522080000000 |
| 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 |
| QueryType |
string |
No |
The type of the list query. Valid values:
|
1 |
| StartRegistrationDate |
integer |
No |
The start time for querying the registration date of domain names. The time is calculated as the number of milliseconds that have elapsed since 00:00:00 UTC on January 1, 1970. Currently, only daily queries are supported. |
1522080000000 |
| EndRegistrationDate |
integer |
No |
The end time for querying the registration date of domain names. The time is calculated as the number of milliseconds that have elapsed since 00:00:00 UTC on January 1, 1970. Currently, only daily queries are supported. |
1522080000000 |
| DomainName |
string |
No |
The domain name. You can search for the domain name in the domain name list. |
test.com |
| OrderByType |
string |
No |
The sort order of the business content, such as the registration time and expiration time. Valid values:
Note
If you do not specify this parameter, the default value is DESC. |
ASC |
| OrderKeyType |
string |
No |
The sort field. Valid values:
Note
If you do not specify this parameter, the default sort field is the creation time. |
RegistrationDate |
| ProductDomainType |
string |
No |
The domain name type. Valid values:
|
New gTLD |
| PageNum |
integer |
Yes |
The page number of the domain name list. |
1 |
| PageSize |
integer |
Yes |
The number of entries per page in the domain name list. |
10 |
| DomainGroupId |
string |
No |
The ID of the domain name group. You can call the QueryDomainGroupList operation to query the ID. |
123456 |
| ResourceGroupId |
string |
No |
The ID of the resource group. |
rg-aek2indvyxgpfti |
| Tag |
array<object> |
No |
The list of tags. |
|
|
object |
No |
The tag. |
||
| Key |
string |
No |
The tag key. |
Remark |
| Value |
string |
No |
The tag value. |
Tag1 |
| Ccompany |
string |
No |
The name of the domain name registrant. |
Guangzhou Jinye Renewable Resources Recycling Co., Ltd |
| Registrar |
string |
No |
Filters domain names by domain name registrar. |
aliyun |
| Dns |
string |
No |
Filters domain names by DNS server name. |
dns1.hichina.com |
| AutoRenewEnabled |
boolean |
No |
The auto-renewal status. Valid values:
|
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| PrePage |
boolean |
Indicates whether a previous page exists. |
false |
| CurrentPageNum |
integer |
The current page number of the domain name list. |
0 |
| RequestId |
string |
The unique request ID. |
B7AB5469-5E38-4AA9-A920-C65B7A9C8E6E |
| PageSize |
integer |
The number of entries per page in the domain name list. |
5 |
| TotalPageNum |
integer |
The total number of pages in the domain name list. |
1 |
| Data |
object |
||
| Domain |
array<object> |
The list of domain names. |
|
|
array<object> |
The list of domain names. |
||
| DomainAuditStatus |
string |
The real-name verification status of the domain name. Valid values:
|
FAILED |
| DomainGroupId |
string |
The ID of the domain name group. |
123456 |
| Remark |
string |
The remark of the domain name. |
Test remark |
| DomainGroupName |
string |
The name of the domain name group. |
Test group |
| RegistrationDate |
string |
The registration time. The time format varies based on the site and the Lang parameter. For the Chinese 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-11-02 04:00:45 |
| InstanceId |
string |
The instance ID. |
ST20151102120031118 |
| DomainName |
string |
The domain name. |
test.com |
| ExpirationDateStatus |
string |
The expiration status of the domain name. Valid values:
|
1 |
| ExpirationDate |
string |
The expiration date of the domain name. The time format varies based on the site and the Lang parameter. For the Chinese 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-11-02 04:00:45 |
| RegistrantType |
string |
The registrant type of the domain name. Valid values:
|
1 |
| ExpirationDateLong |
integer |
The expiration timestamp of the domain name, which is the number of milliseconds that have elapsed since 00:00:00 UTC on January 1, 1970 to the expiration date. |
1522080000000 |
| ExpirationCurrDateDiff |
integer |
The difference in days between the expiration date of the domain name and the current time. |
-30 |
| Premium |
boolean |
Indicates whether the domain name is a premium domain name. |
true |
| RegistrationDateLong |
integer |
The registration timestamp of the domain name, which is the number of milliseconds that have elapsed since 00:00:00 UTC on January 1, 1970. |
1522080000000 |
| ProductId |
string |
The product ID. |
2a |
| DomainStatus |
string |
The status of the domain name. Valid values:
|
3 |
| DomainType |
string |
The domain name type. Valid values:
|
gTLD |
| ResourceGroupId |
string |
The ID of the resource group to which the domain name belongs. |
rg-aek2yyciz557g3q |
| Tag |
object |
||
| Tag |
array<object> |
The list of tags for the domain name. |
|
|
object |
The tag of the domain name. |
||
| Key |
string |
The tag key. |
Cost |
| Value |
string |
The value of the tag. |
Tag1 |
| Ccompany |
string |
The name of the domain name registrant. |
Guangzhou Senlin Advertising Decoration Co., Ltd |
| ChgholderStatus |
string |
The transfer domain name ownership status. Valid values:
|
0 |
| Registrar |
string |
The name of the domain name registrar. |
Alibaba Cloud |
| AutoRenewEnabled |
boolean |
The auto-renewal status. Valid values:
|
|
| DnsList |
object |
||
| DnsList |
array |
The list of DNS servers for the domain name. |
|
|
string |
The name of a DNS server. |
dns1.hichina.com |
|
| TotalItemNum |
integer |
The total number of domain names. |
1 |
| NextPage |
boolean |
Indicates whether a next page exists. |
false |
Examples
Success response
JSON format
{
"PrePage": false,
"CurrentPageNum": 0,
"RequestId": "B7AB5469-5E38-4AA9-A920-C65B7A9C8E6E",
"PageSize": 5,
"TotalPageNum": 1,
"Data": {
"Domain": [
{
"DomainAuditStatus": "FAILED",
"DomainGroupId": "123456",
"Remark": "Test remark",
"DomainGroupName": "Test group",
"RegistrationDate": "2017-11-02 04:00:45",
"InstanceId": "ST20151102120031118",
"DomainName": "test.com",
"ExpirationDateStatus": "1",
"ExpirationDate": "2017-11-02 04:00:45",
"RegistrantType": "1",
"ExpirationDateLong": 1522080000000,
"ExpirationCurrDateDiff": -30,
"Premium": true,
"RegistrationDateLong": 1522080000000,
"ProductId": "2a",
"DomainStatus": "3",
"DomainType": "gTLD",
"ResourceGroupId": "rg-aek2yyciz557g3q",
"Tag": {
"Tag": [
{
"Key": "Cost",
"Value": "Tag1"
}
]
},
"Ccompany": "Guangzhou Senlin Advertising and Decoration Co., Ltd",
"ChgholderStatus": "0",
"Registrar": "阿里云",
"AutoRenewEnabled": false,
"DnsList": {
"DnsList": [
"dns1.hichina.com"
]
}
}
]
},
"TotalItemNum": 1,
"NextPage": false
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.