Queries the numbers of IP addresses in the whitelist and blacklist of an Anti-DDoS Pro or Anti-DDoS Premium instance.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeAutoCcListCount

The operation that you want to perform. Set the value to DescribeAutoCcListCount.

InstanceId String Yes ddoscoo-cn-mp91j1ao****

The ID of the instance.

Note You can call the DescribeInstanceIds operation to query the IDs of all instances.
RegionId String No cn-hangzhou

The region ID of the instance. Valid values:

  • cn-hangzhou: mainland China, which indicates an Anti-DDoS Pro instance
  • ap-southeast-1: outside mainland China, which indicates an Anti-DDoS Premium instance
QueryType String No manual

The mode of how an IP address is added to the whitelist or blacklist. Valid values:

  • manual: manually added
  • auto: automatically added

Response parameters

Parameter Type Example Description
BlackCount Integer 0

The total number of IP addresses in the blacklist.

RequestId String 5AC3785F-C789-4622-87A4-F58BE7F6B184

The ID of the request.

WhiteCount Integer 2

The total number of IP addresses in the whitelist.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

    "BlackCount": 0,
    "RequestId": "5AC3785F-C789-4622-87A4-F58BE7F6B184",
    "WhiteCount": 2

Error codes

For a list of error codes, visit the API Error Center.