from gcore import Gcoreclient = Gcore()ip_ranges = client.cloud.ip_ranges.list()print(ip_ranges.ranges)
Copy
Ask AI
{ "ranges": [ "203.0.113.0/24" ]}
IP Ranges
List cloud egress public IPs
Returns the complete list of IPv4 and IPv6 address ranges that Cloud uses for outbound (egress) traffic.
Typical reasons to call this endpoint:
Host-file delivery workflows – You upload images or other assets to the Cloud and share a download link
that points to your own infrastructure. Add these egress prefixes to your firewall or object-storage allow-list
so our clients can fetch the files without being blocked.
Push integrations / webhooks – You subscribe to the user-actions event log and Cloud pushes events to your
listener endpoint. Whitelisting the egress IP ranges lets you accept only traffic that originates from us.
General security controls, audit tooling, or SIEM rules that need to verify that traffic truly comes
from the Cloud.
The list is global (covers all regions) and refreshed automatically whenever Gcore allocates
new egress IP space. The response is an array of CIDR blocks; duplicate prefixes are not returned.
GET
/
cloud
/
public
/
v1
/
ipranges
/
egress
Python
Copy
Ask AI
from gcore import Gcoreclient = Gcore()ip_ranges = client.cloud.ip_ranges.list()print(ip_ranges.ranges)