搜索意图 Live
POST
/v3/dataforseo_labs/google/search_intent/live参考价:约 ¥0.3200 / 次(实际以请求返回为准)
请求体
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| keywords | array | 是 | 关键词列表 |
请求示例
curl
curl -X POST "https://api.seermartech.cn/v3/dataforseo_labs/google/search_intent/live" \
-H "Authorization: Bearer smt_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '[{"keywords":["buy seo software","what is seo"]}]'Python
import requests
resp = requests.post(
"https://api.seermartech.cn/v3/dataforseo_labs/google/search_intent/live",
headers={"Authorization": "Bearer smt_live_YOUR_KEY"},
json=[{"keywords":["buy seo software","what is seo"]}],
timeout=120,
)
print(resp.json()["tasks"][0]["result"])TypeScript
const resp = await fetch("https://api.seermartech.cn/v3/dataforseo_labs/google/search_intent/live", {
method: "POST",
headers: { Authorization: "Bearer smt_live_YOUR_KEY", "Content-Type": "application/json" },
body: JSON.stringify([{"keywords":["buy seo software","what is seo"]}]),
});
console.log((await resp.json()).tasks[0].result);业务场景
- API 集成与数据分析