# Получить расширенные результаты органической выдачи Bing по id（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.

### Справочные цены

- Тарификация: стоимость ответа по данным провайдера.
- Справочная оценка запроса: USD 0.02.
- Справочный множитель для клиента: 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 — Требуется действительный API-ключ Felo.

### 402 — Запрос не может быть выполнен: не выполнено требование биллинга.

### 403 — Аккаунту не разрешено выполнять эту операцию.

### 429 — Достигнут лимит запросов или расходов.

### 502 — Сервис не смог выполнить запрос.

### 503 — API или сервис биллинга временно недоступны.

### 504 — Истекло время ожидания обработки запроса.

### default — Ответ с ошибкой; сквозные ответы upstream могут использовать форматы провайдера

**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>            равно <code>null</code>, если <code>calculate_rectangles</code> в POST-запросе не задан как <code>true</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": "код состояния задачи\nформируется DataForSEO, может находиться в диапазоне 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>            содержит типы результатов поиска (<code>items</code>), найденных в SERP.<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возможные значения:\ndid_you_mean, showing_results_for, no_results_found_for, including_results_for\nпримечание: Yahoo и Yandex поддерживают только следующий тип автокоррекции:\nincluding_results_for"
    }
  }
}
```
