QueryDomainList

Updated at:

Performs a paging query for the list of domain names under your account.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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:

  • zh: Chinese.

  • en: English.

Default value: en.

en

QueryType

string

No

The type of the list query. Valid values:

  • 1: urgent renewal list

  • 2: urgent redemption list

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:

  • ASC: ascending order

  • DESC: descending order

Note

If you do not specify this parameter, the default value is DESC.

ASC

OrderKeyType

string

No

The sort field. Valid values:

  • RegistrationDate: sorts by registration time

  • ExpirationDate: sorts by expiration time

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: new generic top-level domain

  • gTLD: generic top-level domain

  • ccTLD: country code top-level domain

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:

  • true: enabled

  • false: disabled

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: real-name verification failed

  • SUCCEED: real-name verification succeeded

  • NONAUDIT: real-name verification not performed

  • AUDITING: under review

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: The domain name has not expired.

  • 2: The domain name has expired.

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: individual

  • 2: enterprise

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:

  • 1: urgent renewal

  • 2: urgent redemption

  • 3: normal

3

DomainType

string

The domain name type. Valid values:

  • New gTLD

  • gTLD

  • ccTLD

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: The domain name status is normal.

  • 1: Transferring domain name ownership.

  • 2: Failed to transfer domain name ownership.

0

Registrar

string

The name of the domain name registrar.

Alibaba Cloud

AutoRenewEnabled

boolean

The auto-renewal status. Valid values:

  • true: enabled

  • false: disabled

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.