curl --request GET \
--url https://api.bunny.net/region \
--header 'AccessKey: <api-key>'[
{
"Id": 123,
"PricePerGigabyte": 123,
"Latitude": 123,
"Longitude": 123,
"AllowLatencyRouting": true,
"Name": "<string>",
"RegionCode": "<string>",
"ContinentCode": "<string>",
"CountryCode": "<string>"
}
]Returns the list of region codes
curl --request GET \
--url https://api.bunny.net/region \
--header 'AccessKey: <api-key>'[
{
"Id": 123,
"PricePerGigabyte": 123,
"Latitude": 123,
"Longitude": 123,
"AllowLatencyRouting": true,
"Name": "<string>",
"RegionCode": "<string>",
"ContinentCode": "<string>",
"CountryCode": "<string>"
}
]API Access Key authorization header
Returns the list of region codes
The unique ID of the region
The traffic pricing per gigabyte for the region
The latitude coordinate for this region
The longitude coordinate for this region
Determines weather this region can be selected as a DNS latency routing region
The display name of the region
The region short code
The continent code of the region
The country code of the region
Was this page helpful?