Retrieve all CDN IP Addresses
You can retrieve the list of all IP addresses using pagination and optional filters. The number of results displayed on each page depends on the following values:
limit
limits the number of response elements.offset
specifies the starting point within the collection of resource results returned from the server.
Endpoints
Use the following endpoint to retrieve all IP adresses: https://cdn.de-fra.ionos.com
Request
curl -X GET 'https://cdn.de-fra.ionos.com/ips?offset=0&limit=10'
-H 'Authorization: Bearer $Token' \
-H 'Content-Type: application/json' \
Request Header Parameters
To make authenticated requests to the API, the following fields are mandatory in the request header:
Header Parameters
Required
Type
Description
Content-Type
yes
string
Set this to application/json
.
Response
A 200 message confirms that all public IP addresses are successfully retrieved.
{
"id": "0893d9a48-f7af2-662d-b9c05-acd3a48dc87fb",
"type": "collection",
"href": "https://cdn-de.fra.ionos.com/ips",
"items": [
{
"id": "6878a8ad8-ace4-11e6-9bc16-748c5b90a2c72",
"type": "edgeserveripinfo",
"href": "https://cdn-de.fra.ionos.com/ips/6878a8ad8-ace4-11e6-9bc16-748c5b90a2c72",
"metadata": { },
"properties": {
"cidr": "2001:8d8:105::/64",
"description": "Content Distribution",
"type": "ipv6"
}
},
{
"id": "c9f986de-ace4b-11e6-9a19b-748c590a2c72",
"type": "edgeserveripinfo",
"href": "https://cdn-de.fra.ionos.com/ips/c9f986de-ace4b-11e6-9a19b-748c590a2c72",
"metadata": { },
"properties": {
"cidr": "2607:f1c0:105::/64",
"description": "Content Distribution",
"type": "ipv6"
}
},
{
"id": "c2f716d4a-ace6-c11e6-9cc7-74a8c590a2c72",
"type": "edgeserveripinfo",
"href": "https://cdn-de.fra.ionos.com/ips/c2f716d4a-ace6-c11e6-9cc7-74a8c590a2c72",
"metadata": { },
"properties": {
"cidr": "212.227.172.0/24",
"description": "Content Distribution",
"type": "ipv4"
}
},
{
"id": "078667c8-ace6-11e6-a266-748cb590a2c72",
"type": "edgeserveripinfo",
"href": "https://cdn-de.fra.ionos.com/ips/078667c8-ace6-11e6-a266-748cb590a2c72",
"metadata": { },
"properties": {
"cidr": "216.250.123.0/25",
"description": "Content Distribution",
"type": "ipv4"
}
}
],
"offset": 0,
"limit": 42,
"_links": {
"prev": "http://PREVIOUS-PAGE-URI",
"self": "http://THIS-PAGE-URI",
"next": "http://NEXT-PAGE-URI"
}
}
Last updated
Was this helpful?