Skip to main content
GET
/
cdn
/
advanced
/
v1
/
capacity
Python
from gcore import Gcore

client = Gcore(
    api_key="My API Key",
)
network_capacity = client.cdn.network_capacity.list()
print(network_capacity)
[
  {
    "country_code": "NL",
    "country": "Netherlands",
    "capacity": 974.09
  },
  {
    "country_code": "DE",
    "country": "Germany",
    "capacity": 913.05
  },
  {
    "country_code": "JP",
    "country": "Japan",
    "capacity": 851.77
  }
]

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Response

200 - application/json

Successful.

country_code
string

ISO country code.

country
string

Country name.

capacity
number

Network capacity in Gbit/s.

I