# トラフィックの一括推定

**API:** Data API

**Endpoint:** `POST /v1/beta/dataforseo/dataforseo_labs/google/bulk_traffic_estimation/live`

**Tags:** DataForSEO

多数のドメインの自然検索トラフィックを 1 回の呼び出しで推定します。このエンドポイントは limit パラメータを受け付けませんが、項目単位ではなく呼び出し単位で課金されるため、リスト全体を一度に送信してください。DataForSEO のエンベロープに包まれます。データは `tasks[0].result`、結果は `tasks[0].status_code` に格納され、拒否されたリクエストでも HTTP 200 が返ります。料金は呼び出し単位なので、関心のあるドメインに個別呼び出しのコストをかける前に、競合リストを安価に順位付けする手段になります。過去版は `post_dataforseo_labs_google_historical_bulk_traffic_live` です。

### 料金の参考情報

- 計量方式：レスポンスで報告されるコスト。
- 参考リクエスト見積もり：0.1356 USD。
- 参考顧客乗数：1.0。確定済みの顧客金額に再適用しないでください。

参照用のメタデータのみであり、アカウントへの見積もり、保証された価格、支出上限ではありません。リソースクレジットは Felo クレジットではありません。最終的な請求は Felo の請求記録に従います。

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Request body

Required: **no**

### application/json

Schema:

```json
{
  "type": "array",
  "items": {
    "type": [
      "object",
      "null"
    ],
    "oneOf": [
      {
        "type": "object",
        "properties": {
          "targets": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "<em>ターゲットのドメイン、サブドメイン、ウェブページ</em><br><strong>必須フィールド</strong><br>このフィールドにはドメイン、サブドメイン、ウェブページを指定できます；<br>ドメインとサブドメインは <code>https://</code> と <code>www.</code> を付けずに指定します；<br>ページは絶対 URL（<code>https://</code> と <code>www.</code> を含む）で指定します；<br>最大 1000 個のドメイン、サブドメイン、ウェブページを設定できます"
          },
          "location_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>ロケーションの正式名称</em><br>このフィールドを使用する場合、<code>location_code</code> を指定する必要はありません<br>別途 <br><code>https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages</code> にリクエストを送信すると、利用可能なロケーションとその <code>location_name</code> の一覧を取得できます<br>このフィールドを無視すると、利用可能なすべてのロケーションの結果を取得できます<br>例：<br><code class=\"long-string\">United Kingdom</code>"
          },
          "location_code": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<em>ロケーションコード</em><br>このフィールドを使用する場合、<code>location_name</code> を指定する必要はありません<br>別途 <br><code>https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages</code> にリクエストを送信すると、利用可能なロケーションとその <code>location_code</code> の一覧を取得できます<br>このフィールドを無視すると、利用可能なすべてのロケーションの結果を取得できます<br>例：<br><code class=\"long-string\">2840</code>"
          },
          "language_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>言語の正式名称</em><br>このフィールドを使用する場合、<code>language_code</code> を指定する必要はありません<br>別途 <br><code>https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages</code> にリクエストを送信すると、利用可能な言語とその <code>language_name</code> の一覧を取得できます<br>このフィールドを無視すると、利用可能なすべての言語の結果を取得できます<br>例：<br><code class=\"long-string\">English</code>"
          },
          "language_code": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>言語コード</em><br>このフィールドを使用する場合、<code>language_name</code> を指定する必要はありません<br>別途 <br><code>https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages</code> にリクエストを送信すると、利用可能な言語とその <code>language_code</code> の一覧を取得できます<br>このフィールドを無視すると、利用可能なすべての言語の結果を取得できます<br>例：<br><code class=\"long-string\">en</code>"
          },
          "item_types": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "description": "<em>アイテムタイプ別に結果を表示</em><br>任意フィールド<br>レスポンスに含める検索結果のタイプを示します<p><strong>注意：</strong><code>item_types</code> 配列に <code>organic</code> 以外のアイテムタイプが含まれている場合、結果は配列内の最初のアイテムタイプ順に並べられます<p>指定可能な値： <br><code>[\"organic\", \"paid\", \"featured_snippet\", \"local_pack\"]</code><br>デフォルト値： <br><code>[\"organic\", \"paid\"]</code>"
          },
          "ignore_synonyms": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "<em>類似性の高いキーワードを無視</em><br>任意フィールド<br><code class=\"prettyprint\">true</code> に設定すると、コアキーワードのみが返され、類似性の高いキーワードはすべて除外されます；  <br>デフォルト値：<code>false</code>"
          },
          "tag": {
            "type": [
              "string",
              "null"
            ],
            "description": "<em>ユーザー定義のタスク識別子</em><br>任意フィールド<br><em>文字数上限は 255 です</em><br>このパラメーターを使ってタスクを識別し、結果と照合できます<br>指定した <code>tag</code> の値は、レスポンスの <code>data</code> オブジェクトに含まれます"
          }
        },
        "example": [
          {
            "targets": [
              "dataforseo.com",
              "cnn.com",
              "forbes.com"
            ],
            "location_code": 2840,
            "language_code": "en",
            "item_types": [
              "organic",
              "paid"
            ]
          }
        ]
      }
    ]
  },
  "example": [
    {
      "targets": [
        "dataforseo.com",
        "cnn.com",
        "forbes.com"
      ],
      "location_code": 2840,
      "language_code": "en",
      "item_types": [
        "organic",
        "paid"
      ]
    }
  ]
}
```

## Responses

### 200 — 操作成功

Headers:
- `X-Request-Id` (string) — Felo サポートに問い合わせる際に伝えるリクエスト識別子。

**application/json**

Schema: object | null

```json
{
  "type": [
    "object",
    "null"
  ],
  "oneOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_DataforseoLabsGoogleBulkTrafficEstimationLiveResponseInfo"
    }
  ]
}
```

### 400 — リクエストを処理できませんでした。リクエストパラメータを確認してください。

### 401 — 有効な Felo API キーが必要です。

### 402 — 請求要件が満たされていないため、リクエストを続行できません。

### 403 — このアカウントにはこの操作を行う権限がありません。

### 429 — リクエストまたは支出の上限に達しました。

### 502 — サービスがリクエストを完了できませんでした。

### 503 — API または請求サービスが一時的に利用できません。

### 504 — リクエストの処理中にサービスがタイムアウトしました。

### default — エラーレスポンス。上流のパススルーレスポンスはプロバイダーの形式を使用する場合があります

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_BaseResponseInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseInfo`

```json
{
  "properties": {
    "version": {
      "type": [
        "string",
        "null"
      ],
      "description": "API の現在のバージョン"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "一般的なステータスコード\nレスポンスコードの完全な一覧はこちらです"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "一般的な情報メッセージ\n一般的な情報メッセージの完全な一覧はこちらです"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "合計実行時間（秒）"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "タスクの総コスト（USD）",
      "format": "double"
    },
    "tasks_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "tasks 配列内のタスク数",
      "format": "int64"
    },
    "tasks_error": {
      "type": [
        "integer",
        "null"
      ],
      "description": "エラーで返された tasks 配列内のタスク数",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseTaskInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo`

```json
{
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "タスク識別子\n当社システム内で UUID 形式の一意のタスク識別子"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "タスクのステータスコード\nDataForSEO によって生成され、次の範囲の値になります: 10000-60000\nレスポンスコードの完全な一覧はこちらです"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "タスクの情報メッセージ\n一般的な情報メッセージの完全な一覧はこちらです"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "実行時間（秒）"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "タスクの総コスト（USD）",
      "format": "double"
    },
    "result_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "result 配列内の要素数",
      "format": "int64"
    },
    "path": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "URL パス"
    },
    "data": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "object",
          "null"
        ]
      },
      "description": "POST リクエストで指定したものと同じパラメーターを含みます"
    }
  }
}
```

### Response36Afe1097B20_BulkMetricsBundleInfo

`#/components/schemas/Response36Afe1097B20_BulkMetricsBundleInfo`

```json
{
  "type": "object",
  "properties": {
    "organic": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_BulkMetricsInfo"
        }
      ],
      "description": "<em>オーガニック検索のトラフィックデータ</em>"
    },
    "paid": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_BulkMetricsInfo"
        }
      ],
      "description": "<em>有料検索のトラフィックデータ</em>"
    },
    "local_pack": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_BulkMetricsInfo"
        }
      ],
      "description": "<em>SERP のローカルパック結果のトラフィックデータ</em>"
    },
    "featured_snippet": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_BulkMetricsInfo"
        }
      ],
      "description": "<em>Google SERP の注目スニペット結果のトラフィックデータ</em>"
    }
  }
}
```

### Response36Afe1097B20_BulkMetricsInfo

`#/components/schemas/Response36Afe1097B20_BulkMetricsInfo`

```json
{
  "type": "object",
  "properties": {
    "etv": {
      "type": [
        "number",
        "null"
      ],
      "description": "<em>推定トラフィック量</em><br>ドメインへの推定オーガニック月間トラフィック<br>ドメインが上位表示されるすべてのキーワードの CTR（クリック率）と検索ボリュームの積で算出されます<br>指標の計算方法の詳細については、<a href=\"https://dataforseo.com/help-center/how-is-etv-calculated\" rel=\"noopener noreferrer\" target=\"_blank\">このヘルプセンター記事</a>をご覧ください"
    },
    "count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>ドメインを含むオーガニック SERP の総数</em>",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_DataforseoLabsGoogleBulkTrafficEstimationLiveItem

`#/components/schemas/Response36Afe1097B20_DataforseoLabsGoogleBulkTrafficEstimationLiveItem`

```json
{
  "type": "object",
  "properties": {
    "se_type": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>検索エンジンの種類</em>"
    },
    "target": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>POST 配列のターゲットドメイン</em>"
    },
    "metrics": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_BulkMetricsBundleInfo"
        }
      ],
      "description": "<em>指定したドメインに関連するトラフィックデータ</em>"
    }
  }
}
```

### Response36Afe1097B20_DataforseoLabsGoogleBulkTrafficEstimationLiveResponseInfo

`#/components/schemas/Response36Afe1097B20_DataforseoLabsGoogleBulkTrafficEstimationLiveResponseInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseInfo"
    },
    {
      "type": "object",
      "properties": {
        "tasks": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_DataforseoLabsGoogleBulkTrafficEstimationLiveTaskInfo"
              }
            ]
          },
          "description": "<em>タスクの配列</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_DataforseoLabsGoogleBulkTrafficEstimationLiveResultInfo

`#/components/schemas/Response36Afe1097B20_DataforseoLabsGoogleBulkTrafficEstimationLiveResultInfo`

```json
{
  "type": "object",
  "properties": {
    "se_type": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>検索エンジンの種類</em>"
    },
    "location_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>POST 配列内のロケーションコード</em><br>データがない場合、値は <code>null</code> になります"
    },
    "language_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>POST 配列内の言語コード</em><br>データがない場合、値は <code>null</code> になります"
    },
    "total_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>当社データベース内のリクエストに関連する結果の総数</em>",
      "format": "int64"
    },
    "items_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em><code>items</code> 配列で返される結果の数</em>",
      "format": "int64"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_DataforseoLabsGoogleBulkTrafficEstimationLiveItem"
          }
        ]
      },
      "description": "<em>関連するトラフィック推定データを含む項目の配列</em>"
    }
  }
}
```

### Response36Afe1097B20_DataforseoLabsGoogleBulkTrafficEstimationLiveTaskInfo

`#/components/schemas/Response36Afe1097B20_DataforseoLabsGoogleBulkTrafficEstimationLiveTaskInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo"
    },
    {
      "type": "object",
      "properties": {
        "result": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_DataforseoLabsGoogleBulkTrafficEstimationLiveResultInfo"
              }
            ]
          },
          "description": "<em>結果の配列</em>"
        }
      }
    }
  ]
}
```
