Queries whether one or more IP addresses are assigned to Alibaba Cloud CDN.
Operation description
The maximum number of times that each user can call this operation per second is 20.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| IpAddrList |
string |
Yes |
The list of IP addresses to query. Separate IP addresses with commas (,). You can specify up to 20 IP addresses at a time. Note
|
111.XXX.XXX.230,47.XXX.XXX.243 |
| Language |
string |
No |
The language of the query results. Valid values:
Valid values:
|
en |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The ID of the request. |
55ADD936-763F-5E1A-BF54-2EA3F6E94A52 |
| IpInfoList |
array<object> |
The results about IP addresses returned. |
|
|
object |
|||
| IpAddress |
string |
The IP address. |
111.XXX.XXX.230 |
| IspName |
string |
The ISP to which the IP address belongs. |
Move |
| Country |
string |
The country to which the IP address belongs. |
China |
| Province |
string |
The province to which the IP address belongs. |
Beijing |
| City |
string |
The city to which the IP address belongs. |
Beijing |
| CdnIp |
string |
Indicates whether the IP address belongs to an Alibaba Cloud CDN point of presence (POP).
|
true |
Examples
Success response
JSON format
{
"RequestId": "55ADD936-763F-5E1A-BF54-2EA3F6E94A52",
"IpInfoList": [
{
"IpAddress": "111.XXX.XXX.230",
"IspName": "China Mobile",
"Country": "China",
"Province": "Beijing",
"City": "Beijing",
"CdnIp": "true"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvaildBatchIp.LengthTooLong | The batchIp parameter is too long | The length of the IP addresses exceeds the limit. |
| 403 | InvaildParameter | The parameter you provided is invalid. | The format of the domain name is invalid. Correct the format and try again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.