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 / คำขอ
- Method
- POST
- การตอบกลับ
- JSON
- พารามิเตอร์
- 0 จำเป็น · 2 ไม่บังคับ
Playground
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
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
| 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.
เริ่มสร้าง
ส่งคำขอแรกของคุณ
เอ็นด์พอยต์ของ Platform 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 key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
3. พารามิเตอร์
language_codestring
4. การตอบกลับ
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
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 ได้อย่างไร?
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/search_intent/live โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน 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 ส่งคืนอะไร?
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ DataForSEO ไหม?
ไม่จำเป็น DataForSEO Google Search Intent ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง DataForSEO API แยกต่างหาก
