keywordsarray
List of keywords (up to 100 per call).
https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/bulk_keyword_difficulty/liveReturns Google keyword difficulty metrics in bulk for target search queries. Enables large-scale SEO competition analysis across multiple keywords simultaneously.
[
{
"cost": 0,
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"cost": 0,
"data": {
"api": "dataforseo_labs",
"function": "bulk_keyword_difficulty",
"se_type": "google"
},
"id": "08200930-2190-0392-0000-fca3519075c2",
"path": [
"v3",
"dataforseo_labs",
"google",
"… 2 more items in the full response"
],
"result": null,
"result_count": 0,
"status_code": 40503,
"status_message": "POST Data Is Invalid.",
"time": "0 sec."
}
],
"tasks_count": 1,
"tasks_error": 1,
"time": "0.0425 sec.",
"version": "0.1.20260806"
}
]選擇一個範例,將其輸入與結果載入 playground。
Look up keyword difficulty scores for multiple Google search terms in bulk.
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/bulk_keyword_difficulty/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keywords": ["running shoes", "trail running shoes"], "location_code": 2840, "language_code": "en"}'
The JSON body is forwarded to the upstream endpoint (one task per call). Fields used above:
| Name | Description |
|---|---|
keywords | List of keywords (up to 100 per call). |
location_code | Location code, e.g. 2840 for the United States. |
language_code | Language code, e.g. "en". |
Billed at the actual cost of each call, about $0.01224 for the request above. The cost grows with the number of rows, targets or pages a call returns. Failed calls are not charged. Searches with no results are billed at their actual cost.
開始建置
具備統一驗證與用量追蹤的平台 API 端點。
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/bulk_keyword_difficulty/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keywords": [
"running shoes",
"trail running shoes"
],
"language_code": "en",
"location_code": 2840
}'請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
keywordsarrayList of keywords (up to 100 per call).
location_codeintegerLocation code, e.g. 2840 for the United States.
language_codestringLanguage code, e.g. "en".
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
[
{
"cost": 0,
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"cost": 0,
"data": {
"api": "dataforseo_labs",
"function": "bulk_keyword_difficulty",
"se_type": "google"
},
"id": "08200930-2190-0392-0000-fca3519075c2",
"path": [
"v3",
"dataforseo_labs",
"google",
"… 2 more items in the full response"
],
"result": null,
"result_count": 0,
"status_code": 40503,
"status_message": "POST Data Is Invalid.",
"time": "0 sec."
}
],
"tasks_count": 1,
"tasks_error": 1,
"time": "0.0425 sec.",
"version": "0.1.20260806"
}
]探索更多
| 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 |
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/bulk_keyword_difficulty/live。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次起 $0.01224,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
不需要任何參數。 選填:keywords (array), location_code (integer) 和 language_code (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。
不需要。DataForSEO Labs Google Bulk Keyword Difficulty 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 DataForSEO API 存取權。