Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

DataForSEO Google Search Intent

API 文档
https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/search_intent/live

Classify up to 100 keywords by search intent (informational, navigational, commercial, transactional) with a probability for each label.

价格
起价 $0.01224美元 / 次调用
方法
POST
响应
JSON
参数
0 个必填 · 2 个可选

Playground

输入
请输入 JSON 数组。
输出就绪

您的输出将显示在这里

完成输入,然后点击运行。

API README

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

NameTypeRequiredDescription
keywordsarrayNo
language_codestringNo

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

FieldMeaning
tasks[].result[].items[].keywordThe keyword from your request that this row classifies.
tasks[].result[].items[].keyword_intent.labelThe 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.probabilityThe probability for the main label, from 0 to 1. Both example keywords return 1.
tasks[].result[].items[].secondary_keyword_intentsOther intents for the keyword. It is null when the keyword has no secondary intent.
tasks[].result[].items_countThe number of keyword rows in this result.
tasks[].data.keywordsThe keywords the task processed, echoed from your request.
tasks[].idThe task ID for this call.
tasks[].status_code / tasks[].status_messageThe 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_code to a language code such as en.
  • Check tasks[].status_code for each task, as well as the top-level status_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.

探索更多

相关 APIs

全部 APIs
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

问题

常见问题

如何使用 DataForSEO Google Search Intent API?

向 https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/search_intent/live 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

DataForSEO Google Search Intent API 的价格是多少?

起价每次调用 $0.01224,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。

DataForSEO Google Search Intent API 接受哪些参数?

无需参数。 可选:keywords (array) 和 language_code (string)。 Parameters 表和本页的 Playground 列出了每个字段。

DataForSEO Google Search Intent API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 DataForSEO 开发者账户或 API key 吗?

不需要。DataForSEO Google Search Intent 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 DataForSEO API 访问权限。