DataForSEO Google Keyword Overview
https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/keyword_overview/liveGet search volume, CPC, competition, search intent, monthly trend and SERP info for up to 100 Google keywords by location and language.
- 价格
- 起价 $0.01212美元 / 次调用
- 方法
- POST
- 响应
- JSON
- 参数
- 0 个必填 · 3 个可选
Playground
您的输出将显示在这里
完成输入,然后点击运行。
API README
Google Keyword Overview API
Returns Google keyword metrics for a list of keywords in one location and language. Each keyword comes back with search volume, CPC, competition, keyword difficulty and backlink averages for the pages that rank. You send keywords, location_code and language_code.
Use cases
- Compare search volume and CPC for a list of candidate keywords before you plan paid or organic campaigns.
- Rank keywords by
keyword_difficultyto find terms that are easier to target. - Chart the monthly search trend of a keyword to spot rising or falling demand.
- Estimate the link-building effort for a keyword from the average backlinks and referring domains of ranking pages.
Request
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/keyword_overview/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keywords": ["openai api"], "location_code": 2840, "language_code": "en"}'
The result is returned in outputs[0].
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
keywords | array | No | |
language_code | string | No | |
location_code | integer | 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": "keyword_overview",
"keywords": [
"openai api"
],
"language_code": "en",
"location_code": 2840,
"se_type": "google"
},
"id": "11030828-2190-0607-0000-86b5b677923c",
"path": [
"v3"
],
"result": [
{
"items": [
{
"avg_backlinks_info": {
"backlinks": 209445.7,
"dofollow": 173685.4,
"last_updated_time": "2026-07-30 04:48:05 +00:00",
"main_domain_rank": 586.1,
"rank": 163.5,
"referring_domains": 6497.9,
"referring_main_domains": 5958,
"referring_pages": 182762.3
},
"clickstream_keyword_info": null,
"keyword": "openai api",
"keyword_info": {
"categories": [
10019
],
"competition": 0.12,
"competition_level": "LOW",
"cpc": 7.57,
"high_top_of_page_bid": 18.55,
"last_updated_time": "2026-10-20 05:57:07 +00:00",
"low_top_of_page_bid": 3.71,
"monthly_searches": [
{
"month": 9,
"search_volume": 49500,
"year": 2026
}
]
},
"keyword_info_normalized_with_bing": null,
"keyword_info_normalized_with_clickstream": null,
"keyword_properties": {
"core_keyword": "api open.ai",
"detected_language": "en",
"is_another_language": false,
"keyword_difficulty": 26,
"se_type": "google",
"synonym_clustering_algorithm": "text_processing"
},
"language_code": "en"
}
],
"items_count": 1,
"language_code": "en",
"location_code": 2840,
"se_type": "google"
}
],
"result_count": 1,
"status_code": 20000,
"status_message": "Ok.",
"time": "0.0263 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "0.0324 sec.",
"version": "0.1.20261022"
}
Response fields
| Field | Meaning |
|---|---|
tasks[].result[].items[].keyword | The keyword this row describes. |
tasks[].result[].items[].keyword_info.monthly_searches[] | Search volume per month. Each row has year, month and search_volume. |
tasks[].result[].items[].keyword_info.cpc | Cost per click for the keyword, as a number. |
tasks[].result[].items[].keyword_info.low_top_of_page_bid / tasks[].result[].items[].keyword_info.high_top_of_page_bid | Low and high bid values for top of page ad placement. |
tasks[].result[].items[].keyword_info.competition / tasks[].result[].items[].keyword_info.competition_level | Competition as a number from 0 to 1 and as a label such as LOW. |
tasks[].result[].items[].keyword_info.categories[] | Numeric category IDs linked to the keyword. |
tasks[].result[].items[].keyword_properties.keyword_difficulty | Difficulty score for ranking on the keyword. A higher number means harder. |
tasks[].result[].items[].keyword_properties.core_keyword | The main keyword of the synonym group this keyword belongs to. |
tasks[].result[].items[].avg_backlinks_info.backlinks / tasks[].result[].items[].avg_backlinks_info.referring_domains | Average backlink and referring domain counts for pages that rank for the keyword. |
tasks[].result[].items_count | Number of keyword rows in the result. |
Notes
- Send up to 100 strings in
keywordsper request. Each one returns one entry initems[]. - Set
location_codeandlanguage_codetogether. The example uses2840anden. clickstream_keyword_infoand the normalized keyword info fields can benull, so check for null before you read them.- Timestamps such as
last_updated_timeuse the formatYYYY-MM-DD HH:MM:SS +00:00.
Pricing
Billed at the actual cost of each call, about $0.01212 for the request above. Failed calls are not charged.
开始构建
发送您的第一条请求
具备统一身份验证和使用情况跟踪的平台 API 端点。
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/keyword_overview/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keywords": [
"openai api"
],
"language_code": "en",
"location_code": 2840
}'2. 身份验证
将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
3. 参数
location_codeinteger
language_codestring
4. 响应
这是该 API 保存的示例响应;查看时不会发起实时请求。
尚未发布已保存的响应。请在 Playground 中运行 API 以查看其响应。
探索更多
相关 APIs
| API | 价格 | 响应 |
|---|---|---|
DataForSEO | 每次调用从 $0.01212 起 | JSON |
DataForSEO | 每次调用从 $0.0102 起 | JSON |
DataForSEO | 每次调用从 $0.000724 起 | JSON |
DataForSEO | $0.004 每次调用 | JSON |
DataForSEO | 每次调用从 $0.00162 起 | JSON |
DataForSEO | 每次调用从 $0.001105 起 | JSON |
问题
常见问题
如何使用 DataForSEO Google Keyword Overview API?
向 https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/keyword_overview/live 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
DataForSEO Google Keyword Overview API 的价格是多少?
起价每次调用 $0.01212,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
DataForSEO Google Keyword Overview API 接受哪些参数?
无需参数。 可选:keywords (array), location_code (integer) 和 language_code (string)。 Parameters 表和本页的 Playground 列出了每个字段。
DataForSEO Google Keyword Overview API 返回什么?
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
我需要 DataForSEO 开发者账户或 API key 吗?
不需要。DataForSEO Google Keyword Overview 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 DataForSEO API 访问权限。
