# Получение расширенных результатов Google Finance Quote по id

**API:** Data API

**Endpoint:** `GET /v1/beta/dataforseo/serp/google/finance_quote/task_get/advanced/{id}`

**Tags:** DataForSEO

Получает поставленный в очередь результат котировки Google Finance по `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_SerpGoogleFinanceQuoteTaskGetAdvancedResponseInfo"
    }
  ]
}
```

### 400 — Запрос не удалось обработать. Проверьте параметры запроса.

### 401 — Требуется действительный API-ключ Felo.

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

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

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

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

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

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

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

**application/json**

Schema:

```json
{}
```

## Schema definitions

### 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_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_BaseSerpApiGoogleFinanceElementItem

`#/components/schemas/Response36Afe1097B20_BaseSerpApiGoogleFinanceElementItem`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "тип элемента"
    }
  },
  "additionalProperties": false,
  "discriminator": {
    "propertyName": "type",
    "mapping": {
      "google_finance_asset_pair_element": "#/components/schemas/Response36Afe1097B20_SerpApiGoogleFinanceAssetPairElementElementItem",
      "google_finance_market_index_element": "#/components/schemas/Response36Afe1097B20_SerpApiGoogleFinanceMarketIndexElementElementItem",
      "google_finance_market_instrument_element": "#/components/schemas/Response36Afe1097B20_SerpApiGoogleFinanceMarketInstrumentElementElementItem",
      "google_finance_hero_groups": "#/components/schemas/Response36Afe1097B20_SerpApiGoogleFinanceHeroGroupsElementItem",
      "google_finance_interested": "#/components/schemas/Response36Afe1097B20_SerpApiGoogleFinanceInterestedElementItem",
      "google_finance_news": "#/components/schemas/Response36Afe1097B20_SerpApiGoogleFinanceNewsElementItem",
      "google_finance_earnings_calendar": "#/components/schemas/Response36Afe1097B20_SerpApiGoogleFinanceEarningsCalendarElementItem",
      "google_finance_most_followed": "#/components/schemas/Response36Afe1097B20_SerpApiGoogleFinanceMostFollowedElementItem",
      "google_finance_market_trends": "#/components/schemas/Response36Afe1097B20_SerpApiGoogleFinanceMarketTrendsElementItem",
      "google_finance_people_also_search": "#/components/schemas/Response36Afe1097B20_SerpApiGoogleFinancePeopleAlsoSearchElementItem",
      "google_finance_explore_market_trends": "#/components/schemas/Response36Afe1097B20_SerpApiGoogleFinanceExploreMarketTrendsElementItem",
      "google_finance_quote": "#/components/schemas/Response36Afe1097B20_SerpApiGoogleFinanceQuoteElementItem",
      "google_finance_compare_to": "#/components/schemas/Response36Afe1097B20_SerpApiGoogleFinanceCompareToElementItem",
      "google_finance_financial": "#/components/schemas/Response36Afe1097B20_SerpApiGoogleFinanceFinancialElementItem",
      "google_finance_futures_chain": "#/components/schemas/Response36Afe1097B20_SerpApiGoogleFinanceFuturesChainElementItem",
      "google_finance_details": "#/components/schemas/Response36Afe1097B20_SerpApiGoogleFinanceDetailsElementItem",
      "google_finance_about": "#/components/schemas/Response36Afe1097B20_SerpApiGoogleFinanceAboutElementItem"
    }
  }
}
```

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

`#/components/schemas/Response36Afe1097B20_SerpGoogleFinanceQuoteTaskGetAdvancedResponseInfo`

```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_SerpGoogleFinanceQuoteTaskGetAdvancedTaskInfo"
              }
            ]
          },
          "description": "<em>массив задач</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_SerpGoogleFinanceQuoteTaskGetAdvancedResultInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleFinanceQuoteTaskGetAdvancedResultInfo`

```json
{
  "type": "object",
  "properties": {
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>ключевое слово, полученное в массиве POST</em><br><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>возможные типы элементов: <a href=\"#google_finance_hero_groups\"><code>google_finance_hero_groups</code></a>, <a href=\"#google_finance_quote\"><code>google_finance_quote</code></a>, <a href=\"#google_finance_compare_to\"><code>google_finance_compare_to</code></a>, <a href=\"#google_finance_news\"><code>google_finance_news</code></a>, <a href=\"#google_finance_financial\"><code>google_finance_financial</code></a>, <a href=\"#google_finance_futures_chain\"><code>google_finance_futures_chain</code></a>, <a href=\"#google_finance_details\"><code>google_finance_details</code></a>, <a href=\"#google_finance_about\"><code>google_finance_about</code></a>, <a href=\"#google_finance_interested\"><code>google_finance_interested</code></a>, <a href=\"#google_finance_people_also_search\"><code>google_finance_people_also_search</code>"
    },
    "se_results_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em> общее количество результатов в SERP</em>",
      "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_BaseSerpApiGoogleFinanceElementItem"
          }
        ]
      },
      "description": "<em>рыночные индексы, связанные с элементом рыночных трендов</em>"
    }
  }
}
```

### Response36Afe1097B20_SerpGoogleFinanceQuoteTaskGetAdvancedTaskInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleFinanceQuoteTaskGetAdvancedTaskInfo`

```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_SerpGoogleFinanceQuoteTaskGetAdvancedResultInfo"
              }
            ]
          },
          "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"
    }
  }
}
```
