SeerMarTech 文档控制台

批量关键词难度 Live

POST/v3/dataforseo_labs/google/bulk_keyword_difficulty/live

批量查询关键词难度(Keyword Difficulty)分数,快速过滤过高竞争词,聚焦可排名机会。

参考价:¥0.3200 / 次(实际以请求返回为准)

请求体

参数类型必填说明
keywordsarray关键词数组
location_codeinteger目标市场代码
language_codestring语言代码

请求示例

curl

curl -X POST "https://api.seermartech.cn/v3/dataforseo_labs/google/bulk_keyword_difficulty/live" \ -H "Authorization: Bearer smt_live_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '[{"keywords": ["SEO工具", "关键词研究", "外链分析"], "location_code": 2156, "language_code": "zh"}]'

Python

import requests resp = requests.post( "https://api.seermartech.cn/v3/dataforseo_labs/google/bulk_keyword_difficulty/live", headers={"Authorization": "Bearer smt_live_YOUR_KEY"}, json=[{"keywords": ["SEO工具", "关键词研究"], "location_code": 2156, "language_code": "zh"}], timeout=120, ) for item in resp.json()["tasks"][0]["result"]: print(item.get("keyword"), item.get("keyword_difficulty"))

TypeScript

const resp = await fetch( "https://api.seermartech.cn/v3/dataforseo_labs/google/bulk_keyword_difficulty/live", { method: "POST", headers: { Authorization: "Bearer smt_live_YOUR_KEY", "Content-Type": "application/json" }, body: JSON.stringify([{ keywords: ["SEO工具", "关键词研究"], location_code: 2156, language_code: "zh" }]), } ); console.log((await resp.json()).tasks[0].result);

业务提示