The following tables list API operations available for use in CDN. For more information, see OpenAPI Explorer.

Data monitoring operations

Operation Description
DescribeDomainSrcHttpCodeData Queries the total number and proportions of HTTP status codes based on back-to-origin statistics with a time granularity of five minutes. You can only query the data within the last 90 days.
DescribeDomainTopReferVisit Queries frequently referenced web pages on a specified day and sort the web pages. You can only query the data within the last 90 days.
DescribeDomainTopUrlVisit Queries frequently referenced URLs on a specified day. You can only query the data within the last 90 days.
DescribeDomainAverageResponseTime Queries the average response time of one or more accelerated domains. You can only query the data within the last 90 days.
DescribeDomainFileSizeProportionData Queries the proportions of file sizes with a time granularity of one hour. You can only query the data within the last 90 days.
DescribeDomainBpsDataByTimeStamp Queries the bandwidth data at a specified time for an accelerated domain.
DescribeDomainISPData Queries the proportions of data usage of different network providers with a time granularity of one day. You can only query the data within the last 90 days.
DescribeCdnRegionAndIsp Queries the network providers in each region.
DescribeRangeDataByLocateAndIspService Queries the bandwidth data at a specified time for each network provider in different regions.
DescribeDomainRealTimeBpsData Queries the bandwidth data with a time granularity of one minute. You can only query the data within the last seven days.
DescribeDomainRealTimeSrcBpsData Queries the bandwidth data based on back-to-origin statistics with a time granularity of one minute. You can only query the data within the last seven days.
DescribeDomainRealTimeSrcHttpCodeData Queries the total number and proportions of HTTP status codes based on back-to-origin statistics with a time granularity of one minute. You can only query the data within the last seven days.
DescribeDomainRealTimeSrcTrafficData Queries the network traffic based on back-to-origin statistics with a time granularity of one minute. The network traffic is measured in bits. You can only query the data within the last 90 days.
DescribeDomainRealTimeByteHitRateData Queries byte hit rates with a time granularity of one minute. You can only query the data within the last seven days.
DescribeDomainRealTimeQpsData Queries the QPS data with a time granularity of one minute. You can only query the data within the last seven days.
DescribeDomainRealTimeHttpCodeData Queries the total number and proportions of HTTP status codes with a time granularity of one minute. You can only query the data within the last seven days.
DescribeDomainRealTimeTrafficData Queries the network traffic data with a time granularity of one minute. The network traffic is measured in bytes. You can only query the data within the last 90 days.
DescribeDomainRealTimeReqHitRateData Queries the request hit rates with a time granularity of one minute. You can only query the data within the last seven days.
DescribeDomainBpsData Queries the bandwidth data. You can only query the data within the last 90 days.
DescribeDomainSrcBpsData Queries the bandwidth data based on back-to-origin statistics. You can only query the data within the last 90 days.
DescribeDomainSrcTrafficData Queries the network traffic based on back-to-origin statistics. The network traffic is measured in bits. You can only query the data with the last 90 days.
DescribeDomainsUsageByDay Queries the monitoring data with a time granularity of one day. You can only query the data with the last 90 days.
DescribeDomainHitRateData Queries the byte hit rates. Hit rates are measured in percentage. You can only query the data within the last 90 days.
DescribeL2VipsByDomain Queries the origin IP addresses of L2 cache nodes by domain name.
DescribeDomainReqHitRateData Queries the request hit rates. Hit rates are measured in percentage. You can only query the data within the last 90 days.
DescribeDomainHttpCodeData Queries the total number and proportions of HTTP status codes. You can only query the data within the last 90 days.
DescribeDomainTrafficData Queries the network traffic data. The network traffic data is measured in bytes. You can only query the data within the last 90 days.
DescribeTopDomainsByFlow Queries Top N domains ranked by network traffic. You can only query the data within the last 90 days.
DescribeDomainRegionData Queries the visitor data classified by region with a time granularity of one day.
DescribeDomainUvData Queries the unique visitor (UV) data with a time granularity of one hour. You can only query the data within the last 90 days.
DescribeDomainPvData Queries the page view (PV) data with a time granularity of one hour.
DescribeDomainQpsData Queries the QPS data with a time granularity of five minutes. You can only query the data within the last 90 days.
ListFCTrigger Queries the Function Compute triggers for an event.
DescribeDomainQpsDataByLayer Queries the QPS data captured at the specified TCP/IP layers. You can only query the data within the last 90 days.
DescribeDomainTopClientIpVisit Queries client IP addresses that are ranked by the number of requests or the network traffic usage within a specific time range. You can only query the data within the last 90 days.
DescribeDomainRealTimeDetailData Queries the data usage of each network provider and the number of visits in different regions with a time granularity of one minute. You can only query the data within the last seven days.
DescribeDomainSrcTopUrlVisit Queries frequently referenced URLs based on back-to-origin statistics.
DescribeDomainSrcQpsData Queries the QPS data based on back-to-origin statistics.

Domain management operations

Operation Description
AddCdnDomain Adds a domain to Alibaba Cloud CDN as an accelerated domain.
DeleteCdnDomain Removes a domain from Alibaba Cloud CDN.
StopCdnDomain Disables an accelerated domain. After the accelerated domain is disabled, the value of the DomainStatus parameter is changed to Offline.
StartCdnDomain Enables a disabled accelerated domain. After the accelerated domain is enabled, the value of the DomainStatus parameter is changed to Online.
BatchStartCdnDomain Enables one or more disabled accelerated domains. After an accelerated domain is enabled, the value of the DomainStatus parameter is changed to Online.
BatchSetCdnDomainConfig Configures one or more accelerated domains.
ModifyCdnDomain Modifies an accelerated domain.
DescribeUserDomains Queries domains and their status under your account. You can filter domains by name or by status. Fuzzy match is supported.
DescribeCdnCertificateList Queries the list of certificates for an accelerated domain.
DescribeDomainCertificateInfo Queries the certificate information of an accelerated domain.
DescribeCdnDomainDetail Queries the basic information about an accelerated domain.
DescribeDomainsBySource Queries all domain names corresponding to one or more origins under your account.
SetDomainServerCertificate Configures an SSL certificate for an accelerated domain.
BatchStopCdnDomain Disables one or more accelerated domains. After an accelerated domain is disabled, the value of the DomainStatus parameter is changed to Offline.
DescribeCdnDomainConfigs Queries one or more configurations of an accelerated domain.
DeleteSpecificConfig Deletes specific configurations of an accelerated domain.
DescribeUserVipsByDomain Queries VIP users by domain name.
BatchAddCdnDomain Adds one or more domains to CDN. Each account can add up to 20 domains to CDN in one request.
DescribeCdnHttpsDomainList Queries all certificate information under your account.
ModifyCdnDomainSchdmByProperty Modifies the scheduling region for an accelerated domain.
BatchUpdateCdnDomain Updates the configurations of one or more accelerated domains.
BatchSetCdnDomainServerCertificate Configures an SSL certificate for one or more accelerated domains.
SetWafConfig Configures WAF for an accelerated domain.
DescribeCdnDomainByCertificate Queries accelerated domains by certificate.
SetWaitingRoomConfig Configures the virtual waiting room feature for an accelerated domain. This operation is available only for accelerated domains of the DCDN business type.
DescribeCdnCertificateDetail Queries the detailed information about a CDN certificate.

Log operations

Operation Description
DescribeCdnDomainLogs Queries the download link of the raw access log for an accelerated domain.
CreateRealTimeLogDelivery Enables real-time log delivery for specific accelerated domains.
DeleteRealtimeLogDelivery Disables real-time log delivery for specific accelerated domains.
DescribeDomainRealtimeLogDelivery Queries the real-time log delivery information for an accelerated domain.
DescribeRealtimeDeliveryAcc Queries the number of real-time log deliveries.
DisableRealtimeLogDelivery Stops real-time log delivery for specific accelerated domains.
EnableRealtimeLogDelivery Starts real-time log delivery for specific accelerated domains.
ListRealtimeLogDeliveryDomains Queries all domains that are associated with a specific real-time log delivery configuration.
ListRealtimeLogDeliveryInfos Queries all real-time log delivery information.
ModifyRealtimeLogDelivery Modifies the real-time log delivery configuration for an accelerated domain. You can import log data of an accelerated domain to only one Logstore.
DescribeDomainCustomLogConfig Queries the custom log configuration of an accelerated domain.
ListDomainsByLogConfigId Queries all accelerated domains associated with a custom log configuration.
ListUserCustomLogConfig Queries all custom log configurations under your account.
ModifyUserCustomLogConfig Modifies a custom log configuration.
DescribeCustomLogConfig Queries the detailed information about a custom log configuration.

Refresh and prefetch operations

Operation Description
PushObjectCache Prefetches content from origins to L2 cache nodes. This helps to reduce workloads on origins because users can directly hit cache upon their first visits.
DescribeRefreshQuota Queries the maximum number and remaining number of URLs and directories for object refresh and URLs for object prefetching.
DescribeRefreshTasks Queries the status information for refresh or prefetch tasks.
RefreshObjectCaches Refreshes the file content on the CDN cache nodes. Alibaba Cloud CDN supports refreshing content of multiple URLs at a time.

Service operations

Operation Description
OpenCdnService Activates the CDN service. Before you manage domains in CDN, you must activate the CDN service.
ModifyCdnService Changes the billing method for the CDN service.
DescribeCdnService Queries the status of the CDN service. The status information includes the current billing method, the service activation time, the next effective billing method, and the current service status.
DescribeCdnUserResourcePackage Queries the current resource plans that you have purchased for CDN.
DescribeCdnUserQuota Queries the resource quotas and usage.

Resource usage query operations

Operation Description
DescribeUserUsageDataExportTask Queries the tasks created in the last three months for exporting resource usage information.
CreateUserUsageDataExportTask Creates a task to export your resource usage information. The information is exported to a PDF file.
CreateUsageDetailDataExportTask Creates a task to export the detailed resource usage information. The information is exported to an EXCEL file.
DescribeUserUsageDetailDataExportTask Queries tasks for exporting resource usage details for one or more accelerated domains under your account. The task is to export detailed information about the resource usage that is queried at intervals of five minutes within a specific time range.
DescribeDomainUsageData Queries the resource usage information of the specified domain names in a specified region.
DeleteUserUsageDataExportTask Deletes a usage history export task.
DeleteUsageDetailDataExportTask Deletes a usage details export task.

Tag management operations

Operation Description
DescribeTagResources Queries the tags of one or more resources.
DescribeUserTags Queries user tags.
UntagResources Removes one or more tags from specific resources.
TagResources Attaches one or more tags to specific resources.

Auxiliary tool operations

Operation Description
DescribeIpInfo Queries whether the specified IP address is the IP address assigned to an Alibaba Cloud CDN node.