Skip to main content
GET
/
region
Region list
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>"
  }
]

Authorizations

AccessKey
string
header
required

API Access Key authorization header

Response

Returns the list of region codes

Id
integer<int64>
required

The unique ID of the region

PricePerGigabyte
number<decimal>
required

The traffic pricing per gigabyte for the region

Latitude
number<double>
required

The latitude coordinate for this region

Longitude
number<double>
required

The longitude coordinate for this region

AllowLatencyRouting
boolean
required

Determines weather this region can be selected as a DNS latency routing region

Name
string | null

The display name of the region

RegionCode
string | null

The region short code

ContinentCode
string | null

The continent code of the region

CountryCode
string | null

The country code of the region