> For the complete documentation index, see [llms.txt](https://docs.ionos.com/cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/cloud/network-services/cdn/api-how-tos/retrieve-all-cdn-edge-public-ip-addresses.md).

# Retrieve all CDN IP Addresses

IONOS CLOUD CDN: retrieve all CDN edge public IP addresses using pagination and filters using the API

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/ips`

## Request

{% hint style="info" %}
**Note:** The following request contains sample values. Remember to replace them with the relevant information.
{% endhint %}

```bash
curl --location \
--request GET 'https://cdn.de-fra.ionos.com/ips?offset=0&limit=10' \
--header 'Authorization: Bearer $Token' \
--header '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**                                                                                                  |
| --------------------- | ------------ | -------- | ---------------------------------------------------------------------------------------------------------------- |
| `Authorization`       | yes          | string   | Use a `Bearer token`. For more information, see [Authentication](https://api.ionos.com/docs/authentication/v1/). |
| `Content-Type`        | yes          | string   | Set this to `application/json`.                                                                                  |

## Response

A 200 message confirms that all public IP addresses are successfully retrieved.

```bash
{
  "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"
    } 
  } 
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ionos.com/cloud/network-services/cdn/api-how-tos/retrieve-all-cdn-edge-public-ip-addresses.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
