Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

DataForSEO Google Search Intent

Tài liệu 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.

Giá
Từ $0.01224USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
0 bắt buộc · 2 tùy chọn

Phòng thử nghiệm

Đầu vào
Nhập một mảng JSON.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

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

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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
DataForSEOTừ $0.01224 mỗi lần gọiJSON
DataForSEOTừ $0.0102 mỗi lần gọiJSON
DataForSEOTừ $0.000724 mỗi lần gọiJSON
DataForSEO$0.004 mỗi lần gọiJSON
DataForSEOTừ $0.00162 mỗi lần gọiJSON
DataForSEOTừ $0.001105 mỗi lần gọiJSON

Câu hỏi

FAQ

Làm thế nào để dùng API DataForSEO Google Search Intent?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/search_intent/live với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API DataForSEO Google Search Intent có giá bao nhiêu?

Từ $0.01224 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API DataForSEO Google Search Intent chấp nhận những tham số nào?

Không có tham số bắt buộc. Tùy chọn: keywords (array) và language_code (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API DataForSEO Google Search Intent trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của DataForSEO không?

Không. DataForSEO Google Search Intent chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của DataForSEO.