# id で Bing オーガニック SERP の結果を取得（advanced）

**API:** Data API

**Endpoint:** `GET /v1/beta/dataforseo/serp/bing/organic/task_get/advanced/{id}`

**Tags:** DataForSEO

キューに登録された Bing オーガニック結果を `id` で取得します。`keyword`、`type`、`se_domain`、`location_code`、`language_code`、`check_url`、`datetime`、`spell`、`refinement_chips`、`item_types`、`items_count`、`items` を返します。DataForSEO のエンベロープに包まれます。データは `tasks[0].result`、結果は `tasks[0].status_code` に格納され、拒否されたリクエストでも HTTP 200 が返ります。

### 料金の参考情報

- 計測方法：報告されたレスポンスコスト。
- 参考リクエスト見積もり：0.02 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`)

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `id` | path | yes | string | <em>タスク識別子</em><br><strong>当社システム内で <a href="https://en.wikipedia.org/wiki/Universally_unique_identifier">UUID</a> 形式の一意のタスク識別子</strong><br><strong>30 日</strong>以内であれば、いつでもこれを使ってタスクの結果をリクエストできます |

## Responses

### 200 — 操作成功

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

**application/json**

Schema: object | null

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

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

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

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

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

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

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

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

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

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

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_AiModeRectangleInfo

`#/components/schemas/Response36Afe1097B20_AiModeRectangleInfo`

```json
{
  "type": "object",
  "properties": {
    "x": {
      "type": [
        "number",
        "null"
      ],
      "description": "x 軸座標\n結果スニペットの左上隅の x 軸座標。画面の左上隅を原点とします",
      "format": "double"
    },
    "y": {
      "type": [
        "number",
        "null"
      ],
      "description": "y 軸座標\n結果スニペットの左上隅の y 軸座標。画面の左上隅を原点とします",
      "format": "double"
    },
    "width": {
      "type": [
        "number",
        "null"
      ],
      "description": "要素の幅（ピクセル）",
      "format": "double"
    },
    "height": {
      "type": [
        "number",
        "null"
      ],
      "description": "要素の高さ（ピクセル）",
      "format": "double"
    }
  }
}
```

### Response36Afe1097B20_AmazonLabelElement

`#/components/schemas/Response36Afe1097B20_AmazonLabelElement`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "要素の種類"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "要素のタイトル"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "絞り込みパラメーター付きの検索 URL"
    },
    "domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "SERP のドメイン"
    }
  }
}
```

### Response36Afe1097B20_BaseBingSerpApiElementItem

`#/components/schemas/Response36Afe1097B20_BaseBingSerpApiElementItem`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "要素の種類"
    },
    "rank_group": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>SERP のグループ順位</em><br>同じ <code>type</code> 値を持つ要素のグループ内での位置<br><code>type</code> 値が異なる要素の位置は <code>rank_group</code> から除外されます"
    },
    "rank_absolute": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em> SERP の絶対ランク</em><br>SERP 内のすべての要素の中での絶対位置"
    },
    "page": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>検索結果のページ番号</em><br>要素が配置されている SERP のページ番号を示します"
    },
    "position": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>SERP における要素の配置</em><br>            次の値を指定できます:<br>            <code>left</code>、<code>right</code>"
    },
    "xpath": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>要素の <a href=\"https://en.wikipedia.org/wiki/XPath\">XPath</a></em>"
    },
    "rectangle": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_AiModeRectangleInfo"
        }
      ],
      "description": "<em>矩形パラメータ</em><br>            SERP における結果スニペットのデカルト座標とピクセルサイズを含みます<br>            POST リクエストの <code>calculate_rectangles</code> が <code>true</code> に設定されていない場合は <code>null</code> になります"
    }
  },
  "additionalProperties": false,
  "discriminator": {
    "propertyName": "type",
    "mapping": {
      "organic": "#/components/schemas/Response36Afe1097B20_BingOrganicSerpElementItem",
      "paid": "#/components/schemas/Response36Afe1097B20_BingPaidSerpElementItem",
      "featured_snippet": "#/components/schemas/Response36Afe1097B20_BingFeaturedSnippetSerpElementItem",
      "related_searches": "#/components/schemas/Response36Afe1097B20_BingRelatedSearchesSerpElementItem",
      "ai_overview": "#/components/schemas/Response36Afe1097B20_BingAiOverviewSerpElementItem",
      "images": "#/components/schemas/Response36Afe1097B20_BingImagesSerpElementItem",
      "video": "#/components/schemas/Response36Afe1097B20_BingVideoSerpElementItem",
      "shopping": "#/components/schemas/Response36Afe1097B20_BingShoppingSerpElementItem",
      "answer_box": "#/components/schemas/Response36Afe1097B20_BingAnswerBoxSerpElementItem",
      "local_pack": "#/components/schemas/Response36Afe1097B20_BingLocalPackSerpElementItem",
      "questions_and_answers": "#/components/schemas/Response36Afe1097B20_BingQuestionsAndAnswersSerpElementItem",
      "hotels_pack": "#/components/schemas/Response36Afe1097B20_BingHotelsPackSerpElementItem",
      "jobs": "#/components/schemas/Response36Afe1097B20_BingJobsSerpElementItem",
      "top_stories": "#/components/schemas/Response36Afe1097B20_BingTopStoriesSerpElementItem",
      "carousel": "#/components/schemas/Response36Afe1097B20_BingCarouselSerpElementItem",
      "map": "#/components/schemas/Response36Afe1097B20_BingMapSerpElementItem",
      "events": "#/components/schemas/Response36Afe1097B20_BingEventsSerpElementItem",
      "recipes": "#/components/schemas/Response36Afe1097B20_BingRecipesSerpElementItem",
      "people_also_ask": "#/components/schemas/Response36Afe1097B20_BingPeopleAlsoAskSerpElementItem",
      "people_also_search": "#/components/schemas/Response36Afe1097B20_BingPeopleAlsoSearchSerpElementItem"
    }
  }
}
```

### 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_RefinementChipsElement

`#/components/schemas/Response36Afe1097B20_RefinementChipsElement`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "要素の種類"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "要素のタイトル"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "絞り込みパラメーター付きの検索 URL"
    },
    "domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "SERP のドメイン"
    },
    "options": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_AmazonLabelElement"
          }
        ]
      },
      "description": "さらなる検索絞り込みオプション"
    }
  }
}
```

### Response36Afe1097B20_RefinementChipsInfo

`#/components/schemas/Response36Afe1097B20_RefinementChipsInfo`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "要素の種類"
    },
    "xpath": {
      "type": [
        "string",
        "null"
      ],
      "description": "要素の XPath"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_RefinementChipsElement"
          }
        ]
      },
      "description": "要素の項目"
    }
  }
}
```

### Response36Afe1097B20_SerpBingOrganicTaskGetAdvancedResponseInfo

`#/components/schemas/Response36Afe1097B20_SerpBingOrganicTaskGetAdvancedResponseInfo`

```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_SerpBingOrganicTaskGetAdvancedTaskInfo"
              }
            ]
          },
          "description": "<em>タスクの配列</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_SerpBingOrganicTaskGetAdvancedResultInfo

`#/components/schemas/Response36Afe1097B20_SerpBingOrganicTaskGetAdvancedResultInfo`

```json
{
  "type": "object",
  "properties": {
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>POST 配列で受信したキーワード<br>        </em><strong>キーワードはデコードされた %## で返されます（プラス記号 '+' はスペース文字にデコードされます）</strong>"
    },
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "要素の種類"
    },
    "se_domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>POST 配列内の検索エンジンドメイン</em>"
    },
    "location_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>POST 配列内のロケーションコード</em>"
    },
    "language_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>POST 配列内の言語コード</em>"
    },
    "check_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>検索エンジン結果への直接 URL</em><br>            正確な結果が提供されていることを確認するために使用できます"
    },
    "datetime": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>結果を受信した日時</em><br>            UTC 形式：“yyyy-mm-dd hh-mm-ss +00:00”<br>            例：<br>            <code class=\"long-string\">2019-11-15 12:57:46 +00:00</code>"
    },
    "spell": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_SpellInfo"
        }
      ],
      "description": "<em>検索エンジンの自動修正</em><br>            検索エンジンが修正されたキーワードの結果を返した場合、検索エンジンによって修正されたキーワードと自動修正のタイプを示します"
    },
    "refinement_chips": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_RefinementChipsInfo"
        }
      ],
      "description": "<em>検索絞り込みチップ</em><br>            <code>null</code> になります"
    },
    "item_types": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>SERP の検索結果タイプ</em><br>            SERP で見つかった検索結果のタイプ（<code>items</code>）を含みます。<br>            指定可能な項目タイプ：<br>            <span><a href=\"#answer_box\"><code>answer_box</code></a>, <a href=\"#carousel\"><code>carousel</code></a>, <a href=\"#events\"><code>events</code></a>, <a href=\"#featured_snippet\"><code>featured_snippet</code></a>, <a href=\"#hotels\"><code>hotels_pack</code></a>, <a href=\"#images\"><code>images</code></a>, <a href=\"#jobs\"><code>jobs</code></a>, <a href=\"#local_pack\"><code>local_pack</code></a>, <a href=\"#map\"><code>map</code></a>, <a href=\"#organic\"><code>organic</code></a>, <a href=\"#paid\"><code>paid</code></a>, <a href=\"#people_also_ask\"><code>people_also_ask</code></a>, <a href=\"#people_also_search\"><code>people_also_search</code></a>, <a href=\"#questions_and_answers\"><code>questions_and_answers</code></a>,<a href=\"#recipes\"><code>recipes</code></a>, <a href=\"#related_searches\"><code>related_searches</code></a>, <a href=\"#shopping\"><code>shopping</code></a>, <a href=\"#top_stories\"><code>top_stories</code></a>, <a href=\"#video\"><code>video</code></a></span>, <a href=\"#ai_overview\"><code>ai_overview</code></a></span>"
    },
    "se_results_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em> SERP の結果総数</em>",
      "format": "int64"
    },
    "pages_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>取得した合計ページ数</em><br>            結果内で取得された SERP の総数",
      "format": "int64"
    },
    "items_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em><strong><code>items</code></strong> 配列で返された結果数</em>",
      "format": "int64"
    },
    "items": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_BaseBingSerpApiElementItem"
          }
        ]
      },
      "description": "<em>要素に含まれる追加項目</em><br>            ない場合は <code>null</code> になります"
    }
  }
}
```

### Response36Afe1097B20_SerpBingOrganicTaskGetAdvancedTaskInfo

`#/components/schemas/Response36Afe1097B20_SerpBingOrganicTaskGetAdvancedTaskInfo`

```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_SerpBingOrganicTaskGetAdvancedResultInfo"
              }
            ]
          },
          "description": "<em>結果の配列</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_SpellInfo

`#/components/schemas/Response36Afe1097B20_SpellInfo`

```json
{
  "properties": {
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "検索エンジンの自動修正によって取得されたキーワード\n 結果は修正後のキーワードに対して提供されます"
    },
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "自動修正のタイプ\n 指定可能な値：\n did_you_mean、showing_results_for、no_results_found_for、including_results_for\n 注意：Yahoo と Yandex がサポートする自動修正タイプは次のとおりです：\n including_results_for"
    }
  }
}
```
