Data API / DataForSEO / SERP
List of Google AI Mode Languages for SERP
Returns Google's AI Mode answer for a query, with the sources it cites on Google. Returns keyword, type, se_domain, location_code, language_code, check_url, datetime, spell, refinement_chips, item_types, items_count and items. Wrapped in DataForSEO's envelope: data in tasks[0].result, outcome in tasks[0].status_code - a rejected request still returns HTTP 200.
Параметры
Параметров пути, запроса и заголовков нет.
Пример запроса
curl -X GET "https://openapi.felo.ai/v1/beta/dataforseo/serp/google/ai_mode/languages" \
-H "Authorization: Bearer $FELO_API_KEY"Ответ
Поля ответа
versionstringНеобязательныйThe current version of the API
status_codeintegerНеобязательныйGeneral status code
status_messagestringНеобязательныйGeneral informational message
timestringНеобязательныйExecution time, seconds
costnumberНеобязательныйTotal tasks cost, USD
tasks_countintegerНеобязательныйThe number of tasks in the tasks array
tasks_errorintegerНеобязательныйThe number of tasks in the tasks array returned with an error
tasksstring[]НеобязательныйArray of tasks
resultstring[]НеобязательныйArray of available languages
language_namestringНеобязательныйLanguage name
language_codestringНеобязательныйLanguage code