# 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

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