> ## Documentation Index
> Fetch the complete documentation index at: https://docs.squarecloud.app/llms.txt
> Use this file to discover all available pages before exploring further.

# ロードバランサーの一覧取得

> アカウントのカスタムドメインのロードバランサーを一覧表示します。60秒あたり20リクエストのレート制限があります。

アカウントのアプリケーションを、割り当てられたカスタムドメインごとにグループ化します。各カスタムドメインは、それを提供するアプリケーションを含む1つのグループとして表示されます。2つ以上のアプリケーションを含むグループはアクティブなロードバランサーであり、トラフィックはエッジでアプリケーション間に分散され、いずれかがオフラインになると自動的にフェイルオーバーします。

[カスタムドメインの設定](/ja/api-reference/endpoint/apps/network/custom)ルートで、同一ドメインを複数のアプリケーションに割り当てられます。

<ParamField header="Authorization" type="string" placeholder="API Key" required>
  アカウントの API キーです。これは[アカウント設定](https://squarecloud.app/ja/account/security)で確認できます。
</ParamField>

### レスポンス

<ResponseField name="status" type="string">
  呼び出しが成功したかどうかを示します。成功した場合は `success`、失敗した場合は `error` です。
</ResponseField>

<ResponseField name="response" type="object">
  <Expandable title="properties" defaultOpen>
    <ResponseField name="limit" type="integer">
      アカウントのプランで1つのドメインに割り当て可能なアプリケーションの最大数: Standard で2、Pro で5、Enterprise で10。
    </ResponseField>

    <ResponseField name="balancers" type="array">
      ホスト名ごとにグループ化されたカスタムドメイン。カスタムドメインを持つアプリケーションがない場合は空の配列になります。

      <Expandable title="properties">
        <ResponseField name="hostname" type="string">
          カスタムドメイン。
        </ResponseField>

        <ResponseField name="apps" type="array">
          このドメインを提供するアプリケーション(`id`、`name`、および各アプリケーションを現在ホストしている `cluster`)。
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json theme={null}
  {
    "status": "success",
    "response": {
      "limit": 2,
      "balancers": [
        {
          "hostname": "example.com",
          "apps": [
            { "id": "abc123def456abc123def456", "name": "web-1", "cluster": "suki-cluster" },
            { "id": "def456abc123def456abc123", "name": "web-2", "cluster": "nasa-cluster" }
          ]
        }
      ]
    }
  }
  ```
</ResponseExample>
