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.004JSON
DataForSEO每次呼叫 $0.00162 起JSON
DataForSEO每次呼叫 $0.001105 起JSON

問題

常見問題

我要如何使用 DataForSEO Google Search Intent API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/search_intent/live。您也可以直接在本頁的 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 金鑰嗎?

不需要。DataForSEO Google Search Intent 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 DataForSEO API 存取權。