# IP ranges for security whitelisting

> Access the IP ranges used by your applications for configuring external service whitelists and firewall rules.

# IP ranges for security whitelisting

When connecting external services to your applications, you may need to whitelist the IP addresses that your application uses for outbound connections.

The platform provides an API endpoint that returns the current IP ranges used by the infrastructure, grouped by region. These IP ranges are provided in CIDR notation (for example, 185.52.172.0/24) and represent the network blocks from which your application traffic may originate.

## Getting the IP ranges

To retrieve the current IP ranges, make an authenticated GET request to `/api/v1/cluster/ip-ranges`. For detailed API documentation and interactive examples, visit the [API documentation](https://ploi.cloud/docs/api#/operations/cluster.ip-ranges). 

The response will contain all active IP ranges organized by region in the following format:

```json
{
  "regions": {
    "ams1": [
      "185.52.172.0/24",
      "185.52.173.0/24"
    ]
  }
}
```
