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.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp 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.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
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"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
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".
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
[
{
"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"
}
]Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
DataForSEO | Từ $0.09 mỗi lần gọi | JSON |
DataForSEO | Từ $0.0102 mỗi lần gọi | JSON |
DataForSEO | Từ $0.000724 mỗi lần gọi | JSON |
DataForSEO | $0.004 mỗi lần gọi | JSON |
DataForSEO | Từ $0.00162 mỗi lần gọi | JSON |
DataForSEO | Từ $0.001105 mỗi lần gọi | JSON |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/dataforseo/v3/keywords_data/google_ads/search_volume/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.
Từ $0.09 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ý.
Không có tham số bắt buộc. Tùy chọn: keywords (array), location_code (integer) và language_code (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
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.
Không. DataForSEO Google Ads Keyword Search Volume 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.