Skip to main content
GET
/
loadbalancer
Get the list of Load Balancer profiles
curl --request GET \
  --url https://api.bunny.net/loadbalancer \
  --header 'AccessKey: <api-key>'
[
  {
    "LoadBalancerId": 123,
    "Name": "<string>",
    "OriginGroups": [
      {
        "Id": 123,
        "Name": "<string>",
        "Enabled": true,
        "Latitude": 123,
        "Longitude": 123,
        "Weight": 123,
        "Priority": 123,
        "Origins": [
          {
            "Id": 123,
            "Weight": 123,
            "Enabled": true,
            "EdgeScriptId": 123,
            "StorageZoneId": 123,
            "StandardOrigin": {
              "OriginUrl": "<string>",
              "HostHeader": "<string>",
              "VerifySsl": true
            },
            "MagicContainersOrigin": {
              "AppId": "<string>",
              "EndPointId": "<string>"
            }
          }
        ],
        "HealthCheckSettings": {
          "Enabled": true,
          "Path": "<string>"
        }
      }
    ]
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.bunny.net/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

AccessKey
string
header
required

API Access Key authorization header

Query Parameters

page
integer<int32>
default:1
count
integer<int32>
default:50

Response

The list of Load Balancer profiles

LoadBalancerId
integer<int64>

The unique ID of the Load Balancer

Name
string | null

The name of the Load Balancer profile

OriginGroupLoadBalancingMethod
enum<integer>

The load balancing method used for selecting origin groups

Available options:
0,
1,
2,
3
StickySessionType
enum<integer>

The sticky session type used for persisting client sessions

Available options:
0,
1
OriginGroups
object[] | null

The list of origin groups associated with the Load Balancer profile