Skip to main content
GET
/
cdn
/
public-net-list
Python
from gcore import Gcore

client = Gcore()
public_network_list = client.cdn.ip_ranges.list()
print(public_network_list.addresses)
{
  "addresses": [
    "185.239.155.0/24"
  ],
  "addresses_v6": [
    "2a03:90c0:391:2801::/112"
  ]
}

Headers

Accept
enum<string>

Content negotiation header. Defaults to application/json if not provided.

Available options:
application/json,
text/plain

Query Parameters

format
enum<string>

Optional format override. When set, this takes precedence over the Accept header.

Available options:
json,
plain

Response

Successful.

addresses
string[]

List of IPv4 networks.

Example:
["185.239.155.0/24"]
addresses_v6
string[]

List of IPv6 networks.

Example:
["2a03:90c0:391:2801::/112"]