# Live-результати Google Images SERP

**API:** Data API

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

**Tags:** DataForSEO

Синхронно повертає результати зображень за ключовим словом у Google. Повертає `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.

## Related links

- [статті довідкового центру](<https://dataforseo.com/help-center/rules-and-limitations-of-keyword-and-keywords-fields-in-dataforseo-apis>)
- [тарифів](<https://dataforseo.com/pricing/serp/google-images-serp-api>)
- [нашому довідковому центрі](<https://dataforseo.com/help-center/what-is-max-crawl-pages-and-how-does-it-work>)
- [Список доступних параметрів і додаткові відомості див. тут.](<https://dataforseo.com/what-are-google-search-parameters-and-how-to-use-them-with-serp-api.html>)
- [XPath](<https://en.wikipedia.org/wiki/XPath>)

## 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>у полі <code>keyword</code> можна вказати <strong>до 700 символів</strong><p>усі %## буде декодовано (символ '+' декодується в пробіл)<p>якщо в <code>keyword</code> потрібен символ \"%\", укажіть його як \"%25\";<p>якщо в <code>keyword</code> потрібен символ “+”, укажіть його як “%2B”;<p>якщо це поле містить такі параметри, як <em>'allinanchor:', 'allintext:', 'allintitle:', 'allinurl:', 'define:', 'filetype:', 'id:', 'inanchor:', 'info:', 'intext:', 'intitle:', 'inurl:', 'link:', 'related:', 'site:'</em>, <strong>вартість завдання множиться на 5</strong><p><strong>Примітка:</strong> запити з параметром «cache:» не підтримуються й повертають помилку валідації</p><br><p>Докладніше про правила й обмеження полів <code>keyword</code> і <code>keywords</code> в API DataForSEO читайте в цій статті довідкового центру</p>"
          },
          "location_code": {
            "type": "integer",
            "description": "<p><em>код місцезнаходження пошукової системи</em><p><strong>обов'язкове поле, якщо не вказано <code>location_name</code>&nbsp;або <code>location_coordinate</code></strong><p><strong>якщо використовуєте це поле, <code>location_name</code> або <code>location_coordinate</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>"
          },
          "depth": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<p><em>глибина парсингу</em><p>необов'язкове поле<p>кількість результатів у SERP<p>значення за замовчуванням: <code>100</code><p>максимальне значення: <code>200</code></p><br><strong>З кожного SERP, що містить до 100 результатів, з вашого облікового запису стягується плата;</strong><p>Установлення глибини понад 100 може призвести до додаткових витрат, якщо пошукова система поверне більше 100 результатів;<p>Якщо вказана глибина перевищує кількість результатів у відповіді, різницю буде автоматично повернено на баланс вашого облікового запису;<p>Вартість можна розрахувати на сторінці тарифів."
          },
          "location_name": {
            "type": "string",
            "description": "<p><em>повна назва місцезнаходження пошукової системи</em><p><strong>обов'язкове поле, якщо не вказано <code>location_code</code> або <code>location_coordinate</code></strong><p><strong>якщо використовуєте це поле, <code>location_code</code> або <code>location_coordinate</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><strong>зауважте, що цей API надає результати лише для десктопа</strong><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>"
          },
          "max_crawl_pages": {
            "type": [
              "integer",
              "null"
            ],
            "description": "<p><em>ліміт обходу сторінок</em><p>необов'язкове поле<p>кількість сторінок результатів пошуку для обходу<p>максимальне значення: <code>100</code><p><strong>Примітка:</strong> параметри <code>max_crawl_pages</code> і <code>depth</code> доповнюють один одного;<p>докладніше — у нашому довідковому центрі</p>"
          },
          "search_param": {
            "type": [
              "string",
              "null"
            ],
            "description": "<p><em>додаткові параметри пошукового запиту</em><p>необов'язкове поле<p>Список доступних параметрів і додаткові відомості див. тут.</p>"
          },
          "url": {
            "type": [
              "string",
              "null"
            ],
            "description": "<p><em>прямий URL пошукового запиту</em><p>необов'язкове поле<p>ви можете вказати прямий URL, і ми розберемо його за потрібними полями. Зауважте, що цей спосіб найскладніший для обробки нашим API і потребує вказати в URL точну мову та місцеположення. У більшості випадків ми не рекомендуємо цей спосіб.<p>приклад:<p><code class=\"long-string\">https://www.google.co.uk/search?q=%20rank%20tracker%20api&amp;hl=en&amp;gl=GB&amp;uule=w+CAIQIFISCXXeIa8LoNhHEZkq1d1aOpZS</code></p>"
          },
          "location_coordinate": {
            "type": "string",
            "description": "<p><em>GPS-координати місцезнаходження</em><p><strong>обов'язкове поле, якщо не вказано <code>location_name</code>&nbsp;або <code>location_code</code></strong><p><strong>якщо використовуєте це поле, <code>location_name</code> або <code>location_code</code> вказувати не потрібно</strong><p>параметр <code>location_coordinate</code> потрібно вказувати у форматі <em>\"latitude,longitude,radius\"</em><p>максимальна кількість десяткових цифр для <em>\"latitude\"</em> і <em>\"longitude\"</em>: 7<p>мінімальне значення для <em>\"radius\"</em>: 199.9 (мм)<p>максимальне значення для <em>\"radius\"</em>: 199999 (мм)<p>приклад:<p><code class=\"long-string\">53.476225,-2.243572,200</code></p>"
          },
          "se_domain": {
            "type": [
              "string",
              "null"
            ],
            "description": "<p><em>домен пошукової системи</em><p>необов'язкове поле<p>Ми автоматично вибираємо відповідний домен пошукової системи залежно від указаних вами місцезнаходження й мови. Однак у цьому полі можна задати власний домен пошукової системи<p>приклад:<p><code><code></code></code><em>google.co.uk</em>, <code><code></code></code><em>google.com.au</em>, <code><code></code></code><em>google.de</em> і т. д.</p>"
          }
        },
        "example": [
          {
            "language_code": "en",
            "location_code": 2840,
            "keyword": "albert einstein"
          }
        ]
      }
    ]
  },
  "example": [
    {
      "language_code": "en",
      "location_code": 2840,
      "keyword": "albert einstein"
    }
  ]
}
```

## Responses

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

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

**application/json**

Schema: object | null

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

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

`#/components/schemas/Response36Afe1097B20_BaseSerpApiGoogleImagesElementItem`

```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"
    },
    "xpath": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>XPath елемента</em>"
    }
  },
  "additionalProperties": false,
  "discriminator": {
    "propertyName": "type",
    "mapping": {
      "carousel": "#/components/schemas/Response36Afe1097B20_SerpApiGoogleImagesCarouselElementItem",
      "images_search": "#/components/schemas/Response36Afe1097B20_SerpApiGoogleImagesImagesSearchElementItem",
      "related_searches": "#/components/schemas/Response36Afe1097B20_SerpApiGoogleImagesRelatedSearchesElementItem"
    }
  }
}
```

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

`#/components/schemas/Response36Afe1097B20_SerpGoogleImagesLiveAdvancedResponseInfo`

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

### Response36Afe1097B20_SerpGoogleImagesLiveAdvancedResultInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleImagesLiveAdvancedResultInfo`

```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 до результатів пошукової системи<br></em>його можна використовувати, щоб переконатися, що ми надали точні результати"
    },
    "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>"
    },
    "item_types": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "<em>типи результатів пошуку в SERP</em><br>містить типи результатів пошуку (<code>items</code>), знайдених у SERP.<br>можливі типи елементів:<br><code>carousel</code>, <code>images_search</code>, <code>related_searches</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_BaseSerpApiGoogleImagesElementItem"
          }
        ]
      },
      "description": "<em>елементи, що входять до елемента</em>"
    }
  }
}
```

### Response36Afe1097B20_SerpGoogleImagesLiveAdvancedTaskInfo

`#/components/schemas/Response36Afe1097B20_SerpGoogleImagesLiveAdvancedTaskInfo`

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