DataForSEO Google Search Intent
https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/search_intent/liveClassify up to 100 keywords by search intent (informational, navigational, commercial, transactional) with a probability for each label.
- Цена
- От $0.01224USD / вызов
- Метод
- POST
- Ответ
- JSON
- Параметры
- 0 обязательных · 2 необязательных
Песочница
Ваш результат появится здесь
Заполните входные данные, затем нажмите «Запустить».
README по API
Google Search Intent API
Returns the search intent of each keyword you send: informational, navigational, commercial or transactional. Each keyword gets a main intent label with a probability. The request needs a keywords array and a language_code.
Use cases
- Sort a keyword list into content types, such as guides for informational terms and product pages for transactional terms.
- Filter a keyword research export to keep only terms with buying intent.
- Check whether a target keyword matches the type of page you plan to publish.
- Tag keywords in bulk before you build a content calendar or an ad campaign.
Request
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/search_intent/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keywords": ["buy running shoes", "how to tie shoes"], "language_code": "en"}'
The result is returned in outputs[0].
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
keywords | array | No | |
language_code | string | No |
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"data": {
"api": "dataforseo_labs",
"function": "search_intent",
"keywords": [
"buy running shoes"
],
"se_type": "google"
},
"id": "11030829-1614-0541-0000-d274e03b6bf6",
"path": [
"v3"
],
"result": [
{
"items": [
{
"keyword": "buy running shoes",
"keyword_intent": {
"label": "transactional",
"probability": 1
},
"secondary_keyword_intents": null
}
],
"items_count": 2
}
],
"result_count": 1,
"status_code": 20000,
"status_message": "Ok.",
"time": "0.1011 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "0.1105 sec.",
"version": "0.1.20261022"
}
Response fields
| Field | Meaning |
|---|---|
tasks[].result[].items[].keyword | The keyword from your request that this row classifies. |
tasks[].result[].items[].keyword_intent.label | The main search intent for the keyword. The example shows transactional for buy running shoes and informational for how to tie shoes. |
tasks[].result[].items[].keyword_intent.probability | The probability for the main label, from 0 to 1. Both example keywords return 1. |
tasks[].result[].items[].secondary_keyword_intents | Other intents for the keyword. It is null when the keyword has no secondary intent. |
tasks[].result[].items_count | The number of keyword rows in this result. |
tasks[].data.keywords | The keywords the task processed, echoed from your request. |
tasks[].id | The task ID for this call. |
tasks[].status_code / tasks[].status_message | The status of the task. 20000 with Ok. means the task succeeded. |
Notes
- Send up to 100 keywords in one request. Each keyword gets one row in
tasks[].result[].items[]. - Set
language_codeto a language code such asen. - Check
tasks[].status_codefor each task, as well as the top-levelstatus_code. - Pair this with DataForSEO AI Keyword Search Volume to add volume data to your keywords.
Pricing
Billed at the actual cost of each call, about $0.01224 for the request above. Failed calls are not charged.
Начните разработку
Отправьте свой первый запрос
Конечная точка платформенного API с единообразной аутентификацией и учётом использования.
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/search_intent/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keywords": [
"buy running shoes",
"how to tie shoes"
],
"language_code": "en"
}'2. Аутентификация
Укажите свой ключ SandBase API в окружении сервера. Запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Храните ключ на сервере. Не раскрывайте его в коде браузера.
3. Параметры
language_codestring
4. Ответ
Сохранённый пример ответа для этого API; при просмотре живой запрос не выполняется.
Сохранённый ответ не опубликован. Запустите API в Playground, чтобы посмотреть его ответ.
Посмотреть больше
Связанные APIs
| API | Цена | Ответ |
|---|---|---|
DataForSEO Google Search IntentЭтот API DataForSEO | От $0.01224 за запрос | JSON |
DataForSEO | От $0.0102 за запрос | JSON |
DataForSEO | От $0.000724 за запрос | JSON |
DataForSEO | $0.004 за запрос | JSON |
DataForSEO | От $0.00162 за запрос | JSON |
DataForSEO | От $0.001105 за запрос | JSON |
Вопросы
FAQ
Как использовать API DataForSEO Google Search Intent?
Отправьте POST-запрос на https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/search_intent/live, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
Сколько стоит API DataForSEO Google Search Intent?
От $0.01224 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Какие параметры принимает API DataForSEO Google Search Intent?
Параметры не требуются. Необязательные: keywords (array) и language_code (string). В таблице Parameters и в Playground на этой странице перечислены все поля.
Что возвращает API DataForSEO Google Search Intent?
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.
Нужен ли мне аккаунт разработчика DataForSEO или API key?
Нет. DataForSEO Google Search Intent работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API DataForSEO.
