# Расширенная Live-версия Google Dataset Info

**API:** Data API

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

**Tags:** DataForSEO

Синхронно возвращает запись одного набора данных в Google Dataset Search. Возвращает `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.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`)

## Request body

Required: **no**

### application/json

Schema:

```json
{
  "type": "array",
  "items": {
    "type": [
      "object",
      "null"
    ],
    "oneOf": [
      {
        "type": "object",
        "properties": {
          "dataset_id": {
            "type": "string",
            "description": "<p><em>ID набора данных</em><p><strong>обязательное поле</strong><p>ID набора данных можно найти в URL набора данных или в элементе <code>dataset</code> результата <a href=\"https://docs.dataforseo.com/v3/serp/google/dataset_search/live/advanced\">Google Dataset Search</a><p>пример:<p><code>L2cvMTFqbl85ZHN6MQ==</code></p>"
          },
          "language_code": {
            "type": [
              "string",
              "null"
            ],
            "description": "<p><em>код языка поисковой системы</em><p>необязательное поле<p>если используете это поле, <code>language_name</code> указывать не нужно<p>возможное значение:<p><code class=\"long-string\">en</code></p>"
          },
          "device": {
            "type": [
              "string",
              "null"
            ],
            "description": "<p><em>тип устройства</em><p>необязательное поле<p>возвращает результаты для определённого типа устройства<p>возможное значение: <code>desktop</code></p>"
          },
          "language_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "<p><em>полное название языка поисковой системы</em><p>необязательное поле<p>если используете это поле, <code>language_code</code> указывать не нужно<p>возможное значение:<p><code class=\"long-string\">English</code></p>"
          },
          "os": {
            "type": [
              "string",
              "null"
            ],
            "description": "<p><em>операционная система устройства</em><p>необязательное поле<p>возможные значения: <code>windows</code>, <code>macos</code><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>"
          }
        },
        "example": [
          {
            "dataset_id": "L2cvMTFqbl85ZHN6MQ=="
          }
        ]
      }
    ]
  },
  "example": [
    {
      "dataset_id": "L2cvMTFqbl85ZHN6MQ=="
    }
  ]
}
```

## Responses

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

Headers:
- `X-Request-Id` (string) — Идентификатор запроса, который нужно указать при обращении в поддержку Felo.

**application/json**

Schema: object | null

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

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

`#/components/schemas/Response36Afe1097B20_AuthorsElement`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "тип элемента"
    },
    "name": {
      "type": [
        "string",
        "null"
      ],
      "description": "имя автора набора данных"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "URL ссылки автора"
    },
    "domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "домен ссылки автора"
    }
  }
}
```

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

`#/components/schemas/Response36Afe1097B20_Dataset`

```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"
    },
    "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\" rel=\"noopener noreferrer\" target=\"_blank\">XPath</a> элемента</em>"
    },
    "dataset_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>ID набора данных</em>"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>заголовок элемента</em>"
    },
    "image_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>URL изображения</em><br>URL, ведущий к изображению на исходном ресурсе или в хранилище DataForSEO (если исходный источник недоступен)"
    },
    "scholarly_citations_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>количество статей, ссылающихся на набор данных</em>",
      "format": "int64"
    },
    "scholarly_articles_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>URL научных статей</em><br>ссылка на список научных статей в Google Scholar <br>пример: <code>https://scholar.google.com/scholar?q=%2210.6084%20m9%20figshare%207427933%20v1%22</code>"
    },
    "unique_identifier": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>цифровой идентификатор объекта</em><br>уникальный цифровой идентификатор набора данных <br>пример: <code>https://doi.org/10.5061/dryad.hmgqnk9m3</code>"
    },
    "related_article": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>ссылка на связанную статью</em><br>ссылка на опубликованную статью, связанную с набором данных"
    },
    "links": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_LinkElement"
          }
        ]
      },
      "description": "<em>сайтлинки</em><br>ссылки, показываемые под некоторыми результатами поиска Google Dataset<br>если их нет, равно <code>null</code>"
    },
    "dataset_providers": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_AmazonLabelElement"
          }
        ]
      },
      "description": "<em>список учреждений, предоставивших набор данных</em>"
    },
    "formats": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_FormatsElement"
          }
        ]
      },
      "description": "<em>список форматов файлов набора данных</em>"
    },
    "authors": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_AuthorsElement"
          }
        ]
      },
      "description": "<em>список авторов набора данных</em>"
    },
    "licenses": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_AmazonLabelElement"
          }
        ]
      },
      "description": "<em>список лицензий, выданных на набор данных</em>"
    },
    "updated_date": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>дата и время последнего обновления результата</em><br>в формате UTC: “yyyy-mm-dd hh-mm-ss +00:00”<br>пример:<br><code class=\"long-string\">2022-11-27 02:00:00 +00:00</code>"
    },
    "area_covered": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>список областей, охваченных набором данных</em><br>например: <code>Africa</code>, <code>Global</code>"
    },
    "period_covered": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_PeriodCovered"
        }
      ],
      "description": "<em>период, охваченный набором данных</em>"
    },
    "dataset_description": {
      "type": [
        "object",
        "null"
      ],
      "oneOf": [
        {
          "$ref": "#/components/schemas/Response36Afe1097B20_DatasetDescription"
        }
      ],
      "description": "<em>описание набора данных</em>"
    }
  }
}
```

### Response36Afe1097B20_DatasetDescription

`#/components/schemas/Response36Afe1097B20_DatasetDescription`

```json
{
  "type": "object",
  "properties": {
    "text": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>текст описания</em>"
    },
    "links": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "oneOf": [
          {
            "$ref": "#/components/schemas/Response36Afe1097B20_LinkElement"
          }
        ]
      },
      "description": "<em>ссылки, представленные в 'dataset_description'</em>"
    }
  }
}
```

### Response36Afe1097B20_FormatsElement

`#/components/schemas/Response36Afe1097B20_FormatsElement`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "тип элемента"
    },
    "format": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>тип формата файла набора данных</em><br>например: <code>zip</code>, <code>html</code>, <code>csv</code>"
    },
    "size": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>размер файла в байтах</em>",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_LinkElement

`#/components/schemas/Response36Afe1097B20_LinkElement`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "тип элемента"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "заголовок заданного элемента-ссылки"
    },
    "snippet": {
      "type": [
        "string",
        "null"
      ],
      "description": "текст рядом с заголовком ссылки"
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "описание элемента результатов"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "URL"
    },
    "domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "домен, на который ведёт ссылка"
    },
    "xpath": {
      "type": [
        "string",
        "null"
      ],
      "description": "XPath элемента"
    }
  }
}
```

### Response36Afe1097B20_PeriodCovered

`#/components/schemas/Response36Afe1097B20_PeriodCovered`

```json
{
  "type": "object",
  "properties": {
    "start_date": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>дата и время начала периода</em><br>в формате UTC: “yyyy-mm-dd hh-mm-ss +00:00”<br>пример:<br><code class=\"long-string\">2020-03-02 02:00:00 +00:00</code>"
    },
    "end_date": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>дата и время окончания периода</em><br>в формате UTC: “yyyy-mm-dd hh-mm-ss +00:00”<br>пример:<br><code class=\"long-string\">2022-12-09 02:00:00 +00:00</code>"
    },
    "displayed_date": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>период, отображаемый в SERP</em><br>пример:<br><code class=\"long-string\">Mar 2, 2020 - Dec 9, 2022</code>"
    }
  }
}
```

### Response36Afe1097B20_SerpGoogleDatasetInfoLiveAdvancedResponseInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleDatasetInfoLiveAdvancedResponseInfo`

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

### Response36Afe1097B20_SerpGoogleDatasetInfoLiveAdvancedResultInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleDatasetInfoLiveAdvancedResultInfo`

```json
{
  "type": "object",
  "properties": {
    "keyword": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>ключевое слово, полученное в POST-массиве<br></em><strong>ключевое слово возвращается с декодированным %## (символ '+' будет декодирован как пробел)</strong>"
    },
    "se_domain": {
      "type": [
        "string",
        "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>если поисковая система предоставила результаты по исправленному ключевому слову, мы укажем исправленное поисковой системой ключевое слово и тип автокоррекции"
    },
    "item_types": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>типы результатов поиска в SERP</em><br>содержит типы результатов поиска (<code>items</code>), найденных в SERP.<br>возможный тип элемента: <code>dataset</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_Dataset"
          }
        ]
      },
      "description": "<em>элементы результатов поиска, найденные в SERP</em>"
    }
  }
}
```

### Response36Afe1097B20_SerpGoogleDatasetInfoLiveAdvancedTaskInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleDatasetInfoLiveAdvancedTaskInfo`

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