All Products
Search
Document Center

CDN:BatchDescribeCdnIpInfo

Last Updated:Mar 28, 2024

Queries whether one or more IP addresses are assigned to Alibaba Cloud CDN.

Operation description

Note The maximum number of times that each user can call this operation per second is 20.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
IpAddrListstringYes

The list of IP addresses to query. Separate IP addresses with commas (,). You can specify up to 20 IP addresses at a time.

Note
  • Example of an IPv4 address: 192.0.2.1
  • Example of an IPv6 address: 2001:db8:ffff:ffff:ffff:****:ffff.
  • 111.XXX.XXX.230,47.XXX.XXX.243

    Response parameters

    ParameterTypeDescriptionExample
    object

    Schema of Response

    RequestIdstring

    The ID of the request.

    55ADD936-763F-5E1A-BF54-2EA3F6E94A52
    IpInfoListobject []

    The results about IP addresses returned.

    IpAddressstring

    The IP address.

    111.XXX.XXX.230
    IspNamestring

    The ISP to which the IP address belongs.

    Move
    Countrystring

    The country to which the IP address belongs.

    China
    Provincestring

    The province to which the IP address belongs.

    Beijing
    Citystring

    The city to which the IP address belongs.

    Beijing
    CdnIpstring

    Indicates whether the IP address belongs to an Alibaba Cloud CDN point of presence (POP).

    • true
    • false
    true

    Examples

    Sample success responses

    JSONformat

    {
      "RequestId": "55ADD936-763F-5E1A-BF54-2EA3F6E94A52",
      "IpInfoList": [
        {
          "IpAddress": "111.XXX.XXX.230",
          "IspName": "Move\n",
          "Country": "China\n",
          "Province": "Beijing\n",
          "City": "Beijing\n",
          "CdnIp": "true"
        }
      ]
    }

    Error codes

    HTTP status codeError codeError messageDescription
    400InvaildBatchIp.LengthTooLong The batchIp parameter is too long-
    403InvaildParameterThe parameter you provided is invalid.The format of the domain name is invalid. Correct the format and try again.

    For a list of error codes, visit the Service error codes.

    Change history

    Change timeSummary of changesOperation
    No change history