# Розширена Live-версія Google Finance Quote

**API:** Data API

**Endpoint:** `POST /v1/beta/dataforseo/serp/google/finance_quote/live/advanced`

**Tags:** DataForSEO

Синхронно повертає котирування тікера в тому вигляді, як його показує Google Finance. Повертає `keyword`, `type`, `se_domain`, `location_code`, `language_code`, `check_url`, `datetime`, `spell`, `refinement_chips`, `item_types`, `items_count` і `items`. `advanced` — вибір за замовчуванням; беріть `regular`, коли потрібен лише ранжований список, і `html`, лише щоб перевірити, що пропустив парсер. Обгорнуто в конверт DataForSEO: дані в `tasks[0].result`, результат у `tasks[0].status_code` — відхилений запит усе одно повертає HTTP 200.

### Довідкові ціни

- Тарифікація: вартість відповіді за даними постачальника.
- Довідкова оцінка запиту: USD 0.002.
- Довідковий множник для клієнта: 1.0. Не застосовуйте його повторно до вже розрахованої суми клієнта.

Лише довідкові метадані, а не котирування для облікового запису, гарантована ціна чи ліміт витрат. Кредити ресурсів — це не кредити Felo. Остаточні списання здійснюються за записами білінгу Felo.

## Related links

- [статті Help Center](<https://dataforseo.com/help-center/rules-and-limitations-of-keyword-and-keywords-fields-in-dataforseo-apis>)

## 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": {
          "keyword": {
            "type": "string",
            "description": "<p><em>тикер або біржовий символ</em><p><strong>обов'язкове поле</strong><p>у цьому полі можна передати тикер акцій, що публічно торгуються, конкретної компанії або цінного папера на конкретній біржі;<p>у полі <code>keyword</code> можна вказати <strong>до 700 символів</strong>;<p>усі %## буде декодовано (символ «+» декодується в пробіл)<p>якщо в <code>keyword</code> потрібен символ «%», укажіть його як «%25»;<p>якщо в <code>keyword</code> потрібен символ «+», укажіть його як «%2B»;</p><br><p>Докладніше про правила й обмеження полів <code>keyword</code> і <code>keywords</code> в API DataForSEO читайте в статті Help Center</p>"
          },
          "location_code": {
            "type": "integer",
            "description": "<p><em>код місцезнаходження пошукової системи</em><p><strong>обов'язкове поле, якщо не вказано <code>location_name</code></strong><p><strong>якщо використовуєте це поле, <code>location_name</code> вказувати не потрібно</strong><p>список доступних місцезнаходжень пошукових систем і відповідних <code>location_code</code> можна отримати окремим запитом до <code>https://api.dataforseo.com/v3/serp/google/locations</code><p>приклад:<p><code class=\"long-string\">2840</code></p>"
          },
          "language_code": {
            "type": "string",
            "description": "<p><em>код мови пошукової системи</em><p><strong>обов'язкове поле, якщо не вказано <code>language_name</code></strong><p><strong>якщо використовуєте це поле, <code>language_name</code> вказувати не потрібно</strong><p>список доступних мов пошукової системи й відповідних <code>language_code</code>&nbsp;можна отримати окремим запитом до <code>https://api.dataforseo.com/v3/serp/google/languages</code><em><p></em>приклад:<em><p></em><code class=\"long-string\">en</code></p>"
          },
          "device": {
            "type": [
              "string",
              "null"
            ],
            "description": "<p><em>тип пристрою</em><p>необов'язкове поле<p>повертає результати для певного типу пристрою<p>можливе значення: <code>desktop</code></p>"
          },
          "location_name": {
            "type": "string",
            "description": "<p><em>повна назва місцезнаходження пошукової системи</em><p><strong>обов'язкове поле, якщо не вказано <code>location_code</code></strong><p><strong>якщо використовуєте це поле, <code>location_code</code> вказувати не потрібно</strong><p>список доступних місцезнаходжень пошукової системи й відповідних <code>location_name</code> можна отримати окремим запитом до  <code>https://api.dataforseo.com/v3/serp/google/locations</code><p>приклад:<p><code class=\"long-string\">London,England,United Kingdom</code></p>"
          },
          "language_name": {
            "type": "string",
            "description": "<p><em>повна назва мови пошукової системи</em><p><strong>обов'язкове поле, якщо не вказано <code>language_code</code> </strong><p><strong>якщо використовуєте це поле, <code>language_code</code> вказувати не потрібно</strong><p>список доступних мов пошукової системи й відповідних <code>language_name</code> можна отримати окремим запитом до <code>https://api.dataforseo.com/v3/serp/google/languages</code><p>приклад:<p><code class=\"long-string\">English</code></p>"
          },
          "os": {
            "type": [
              "string",
              "null"
            ],
            "description": "<p><em>операційна система пристрою</em><p>необов'язкове поле<p>можливі значення: <code>windows</code></p>"
          },
          "tag": {
            "type": [
              "string",
              "null"
            ],
            "description": "<p><em>визначений користувачем ідентифікатор завдання</em><p>необов'язкове поле<p><em>обмеження — 255 символів</em><p>цей параметр дає змогу ідентифікувати завдання та зіставити його з результатом<p>вказане значення <code>tag</code> ви знайдете в об'єкті <code>data</code> відповіді</p>"
          },
          "window": {
            "type": [
              "string",
              "null"
            ],
            "description": "<p><em>часовий діапазон графіка <code>google_finance_quote</code></em><p>необов'язкове поле<p>можливі значення: <code>1D</code>, <code>5D</code>, <code>1M</code>, <code>6M</code>, <code>YTD</code>, <code>1Y</code>, <code>5Y</code>, <code>MAX</code><p>значення за замовчуванням: <code>1D</code><p><strong>Примітка:</strong> якщо вказати значення, відмінне від <code>1D</code>, вартість завдання множиться на 2</p>"
          }
        },
        "example": [
          {
            "keyword": "CLW00:NYMEX",
            "location_code": 2840,
            "language_name": "English"
          }
        ]
      }
    ]
  },
  "example": [
    {
      "keyword": "CLW00:NYMEX",
      "location_code": 2840,
      "language_name": "English"
    }
  ]
}
```

## Responses

### 200 — Успішна операція

Headers:
- `X-Request-Id` (string) — Ідентифікатор запиту, який потрібно вказати під час звернення до підтримки Felo.

**application/json**

Schema: object | null

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

### 400 — Не вдалося обробити запит. Перевірте параметри запиту.

### 401 — Потрібен дійсний API-ключ Felo.

### 402 — Запит неможливо виконати: умови білінгу не виконано.

### 403 — Обліковий запис не має дозволу на цю операцію.

### 429 — Досягнуто ліміту запитів або витрат.

### 502 — Служба не змогла виконати запит.

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

### 504 — Час очікування обробки запиту вичерпано.

### default — Відповідь із помилкою; наскрізні відповіді апстріму можуть використовувати формати постачальника

**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_SerpGoogleFinanceQuoteLiveAdvancedResponseInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleFinanceQuoteLiveAdvancedResponseInfo`

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

### Response36Afe1097B20_SerpGoogleFinanceQuoteLiveAdvancedResultInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleFinanceQuoteLiveAdvancedResultInfo`

```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>можливі типи елементів: google_finance_hero_groups, google_finance_quote, google_finance_compare_to, google_finance_news, google_finance_financial, google_finance_futures_chain, google_finance_details, google_finance_about, google_finance_interested, <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>елементи результатів пошуку, знайдені в SERP</em>"
    }
  }
}
```

### Response36Afe1097B20_SerpGoogleFinanceQuoteLiveAdvancedTaskInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleFinanceQuoteLiveAdvancedTaskInfo`

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