keywordsarray
Keywords to look up (up to 1,000).
https://api.sandbase.ai/v1/api/dataforseo/v3/keywords_data/google_ads/search_volume/liveGet Google Ads search volume, CPC, competition and 12-month trend for up to 1,000 keywords per request, by location and language.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Google Ads search volume for up to 1,000 keywords per request: average monthly searches, 12-month trend, CPC, competition level and top-of-page bid range, for any location and language Google Ads supports.
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/keywords_data/google_ads/search_volume/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keywords": ["running shoes"], "location_code": 2840, "language_code": "en"}'
The result is returned in outputs[0].
| Name | Type | Required | Description |
|---|---|---|---|
keywords | array | No | Keywords to look up (up to 1,000). |
language_code | string | No | Language code, e.g. "en". |
location_code | integer | No | DataForSEO location code, e.g. 2840 for the United States. |
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": "keywords_data",
"function": "search_volume",
"keywords": [
"running shoes"
],
"language_code": "en",
"location_code": 2840,
"se": "google_ads"
},
"id": "11030141-2190-0367-0000-9041552b839f",
"path": [
"v3"
],
"result": [
{
"competition": "HIGH",
"competition_index": 100,
"cpc": 1.09,
"high_top_of_page_bid": 2.07,
"keyword": "running shoes",
"language_code": "en",
"location_code": 2840,
"low_top_of_page_bid": 0.48
}
],
"result_count": 1,
"status_code": 20000,
"status_message": "Ok.",
"time": "0.0294 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "0.0978 sec.",
"version": "0.1.20261022"
}
| Field | Meaning |
|---|---|
tasks[].result[] | One row per keyword. |
search_volume | Average monthly searches over the last 12 months. |
monthly_searches[] | Searches per month (year, month, search_volume). |
cpc / low_top_of_page_bid / high_top_of_page_bid | Average cost per click and the top-of-page bid range, in USD. |
competition / competition_index | Advertiser competition as LOW/MEDIUM/HIGH and 0-100. |
location_code 2840 is the United States; language_code "en" is English. Low-volume keywords may return null volume.Billed at the actual cost of each call, about $0.09 for the request above. Failed calls are not charged.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/keywords_data/google_ads/search_volume/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keywords": [
"AI agents",
"AI agent runtime",
"multi agent system",
"agentic workflow"
],
"language_code": "en",
"location_code": 2840,
"sort_by": "search_volume"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
keywordsarrayKeywords to look up (up to 1,000).
location_codeintegerDataForSEO location code, e.g. 2840 for the United States.
language_codestringLanguage code, e.g. "en".
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"cost": 0.09,
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"cost": 0.09,
"data": {
"api": "keywords_data",
"function": "search_volume",
"keywords": [
"AI agents",
"AI agent runtime",
"multi agent system",
"… 1 more items in the full response"
],
"language_code": "en",
"location_code": 2840,
"se": "google_ads",
"sort_by": "search_volume"
},
"id": "08150218-2190-0367-0000-94615c1171dd",
"path": [
"v3",
"keywords_data",
"google_ads",
"… 2 more items in the full response"
],
"result": [
{
"competition": "MEDIUM",
"competition_index": 46,
"cpc": 23.77,
"high_top_of_page_bid": 20,
"keyword": "AI agents",
"language_code": "en",
"location_code": 2840,
"low_top_of_page_bid": 7.58,
"monthly_searches": [
{
"month": 7,
"search_volume": 49500,
"year": 2026
},
{
"month": 6,
"search_volume": 49500,
"year": 2026
},
{
"month": 5,
"search_volume": 49500,
"year": 2026
},
"… 9 more items in the full response"
],
"search_partners": false,
"search_volume": 49500,
"spell": "ai agents"
},
{
"competition": "LOW",
"competition_index": 27,
"cpc": 20.23,
"high_top_of_page_bid": 17.39,
"keyword": "multi agent system",
"language_code": "en",
"location_code": 2840,
"low_top_of_page_bid": 4.08,
"monthly_searches": [
{
"month": 7,
"search_volume": 1900,
"year": 2026
},
{
"month": 6,
"search_volume": 1900,
"year": 2026
},
{
"month": 5,
"search_volume": 1900,
"year": 2026
},
"… 9 more items in the full response"
],
"search_partners": false,
"search_volume": 2400,
"spell": null
},
{
"competition": null,
"competition_index": null,
"cpc": null,
"high_top_of_page_bid": null,
"keyword": "AI agent runtime",
"language_code": "en",
"location_code": 2840,
"low_top_of_page_bid": null,
"monthly_searches": null,
"search_partners": false,
"search_volume": null,
"spell": null
},
"… 1 more items in the full response"
],
"result_count": 4,
"status_code": 20000,
"status_message": "Ok.",
"time": "4.2041 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "4.2977 sec.",
"version": "0.1.20260806"
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
DataForSEO | เริ่มต้นที่ $0.09 ต่อครั้ง | JSON |
DataForSEO | เริ่มต้นที่ $0.0102 ต่อครั้ง | JSON |
DataForSEO | เริ่มต้นที่ $0.000724 ต่อครั้ง | JSON |
DataForSEO | $0.004 ต่อการเรียก | JSON |
DataForSEO | เริ่มต้นที่ $0.00162 ต่อครั้ง | JSON |
DataForSEO | เริ่มต้นที่ $0.001105 ต่อครั้ง | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/dataforseo/v3/keywords_data/google_ads/search_volume/live โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
เริ่มต้นที่ $0.09 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: keywords (array), location_code (integer) และ language_code (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น DataForSEO Google Ads Keyword Search Volume ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง DataForSEO API แยกต่างหาก