All Products
Search
Document Center

CDN:DescribeDomainsBySource

Last Updated:Oct 10, 2026

Queries accelerated domain names by origin server.

Operation description

Note

The rate limit per user is 30 calls per second.

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

cdn:DescribeDomainsBySource

none

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

Sources

string

Yes

The origin servers. Separate multiple origin servers with commas (,). Fuzzy match is not supported.

example.com

Response elements

Element

Type

Description

Example

object

The parameter descriptions.

Sources

string

The requested origin servers.

example.com,aliyundoc.com

RequestId

string

The request ID.

B0F074E5-A1AC-4B32-8EA2-6F450410D1E0

DomainsList

object

DomainsData

array<object>

The array of DomainsData elements, which returns the list of domain names corresponding to each origin server.

array<object>

The array of DomainsData elements, which returns the list of domain names corresponding to each origin server.

Source

string

A requested origin server.

example.com

DomainInfos

object

domainInfo

array<object>

The list of domainInfo elements, which returns the detailed information of the domain names.

object

The list of domainInfo elements, which returns the detailed information of the domain names.

Status

string

The status of the domain name. Valid values:

  • applying: Under review.

  • configuring: Being configured.

  • online: Running normally.

  • stopping: Stopping.

  • offline: Stopped.

  • disabling: Being deleted.

online

UpdateTime

string

The update time. The time is formatted in ISO 8601 and includes a UTC offset.

2017-03-31T04:49:00+08:00

CreateTime

string

The creation time. The time is formatted in ISO 8601 and includes a UTC offset.

2016-07-12T11:53:19+08:00

DomainCname

string

The CNAME.

***.alikunlun.com

CdnType

string

The business type of the accelerated domain name. Valid values:

  • web: Images and small files.

  • download: Large file downloads.

  • video: On-demand video/audio streaming.

web

DomainName

string

The domain name.

example.org

Domains

object

domainNames

array

The domain names that correspond to each origin server.

string

The domain name.

example.org

Examples

Success response

JSON format

{
  "Sources": "example.com,aliyundoc.com",
  "RequestId": "B0F074E5-A1AC-4B32-8EA2-6F450410D1E0",
  "DomainsList": {
    "DomainsData": [
      {
        "Source": "example.com",
        "DomainInfos": {
          "domainInfo": [
            {
              "Status": "online",
              "UpdateTime": "2017-03-31T04:49:00+08:00",
              "CreateTime": "2016-07-12T11:53:19+08:00",
              "DomainCname": "***.alikunlun.com",
              "CdnType": "web",
              "DomainName": "example.org"
            }
          ]
        },
        "Domains": {
          "domainNames": [
            "example.org"
          ]
        }
      }
    ]
  }
}

Error codes

HTTP status code

Error code

Error message

Description

400 MissingParameter The parameter Sources miss.
400 InvalidSources.Malformed Specified Sources is malformed. The specified origin address is invalid.
400 InvalidSources.NotFound The sources provided does not found in your domains

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.