竞品域名 Live
POST
/v3/dataforseo_labs/google/competitors_domain/live发现与目标域名在 organic 搜索中竞争重叠的竞品域名,按重叠关键词数排序。
参考价:约 ¥0.3200 / 次(实际以请求返回为准)
请求体
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| target | string | 是 | 目标域名 |
| location_code | integer | 是 | 目标市场代码 |
| language_code | string | 是 | 语言代码 |
| limit | integer | 否 | 返回竞品数 |
请求示例
curl
curl -X POST "https://api.seermartech.cn/v3/dataforseo_labs/google/competitors_domain/live" \
-H "Authorization: Bearer smt_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '[{"target": "mysite.com", "location_code": 2156, "language_code": "zh", "limit": 20}]'Python
import requests
resp = requests.post(
"https://api.seermartech.cn/v3/dataforseo_labs/google/competitors_domain/live",
headers={"Authorization": "Bearer smt_live_YOUR_KEY"},
json=[{"target": "mysite.com", "location_code": 2156, "language_code": "zh", "limit": 20}],
timeout=120,
)
for c in resp.json()["tasks"][0]["result"][0]["items"][:10]:
print(c.get("domain"), c.get("avg_position"), c.get("intersections"))TypeScript
const resp = await fetch(
"https://api.seermartech.cn/v3/dataforseo_labs/google/competitors_domain/live",
{
method: "POST",
headers: { Authorization: "Bearer smt_live_YOUR_KEY", "Content-Type": "application/json" },
body: JSON.stringify([{ target: "mysite.com", location_code: 2156, language_code: "zh", limit: 20 }]),
}
);
console.log((await resp.json()).tasks[0].result[0].items.slice(0, 10));业务场景
- 关键词研究工作流 Step 0:自动发现竞品