Google 问答与扩展评价
POST
/v3/business_data/google/questions_and_answers/live参考价:约 ¥0.3200 / 次(实际以请求返回为准)
另含 extended_reviews、my_business_updates。
请求体
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| keyword | string | 是 | 商家名 |
| location_code | integer | 否 | 地区 |
请求示例
curl
curl -X POST "https://api.seermartech.cn/v3/business_data/google/questions_and_answers/live" \
-H "Authorization: Bearer smt_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '[{"keyword":"Coffee Shop","location_code":2840}]'Python
import requests
resp = requests.post(
"https://api.seermartech.cn/v3/business_data/google/questions_and_answers/live",
headers={"Authorization": "Bearer smt_live_YOUR_KEY"},
json=[{"keyword":"Coffee Shop","location_code":2840}],
timeout=120,
)
print(resp.json()["tasks"][0]["result"])TypeScript
const resp = await fetch("https://api.seermartech.cn/v3/business_data/google/questions_and_answers/live", {
method: "POST",
headers: { Authorization: "Bearer smt_live_YOUR_KEY", "Content-Type": "application/json" },
body: JSON.stringify([{"keyword":"Coffee Shop","location_code":2840}]),
});
console.log((await resp.json()).tasks[0].result);业务场景
- API 集成与数据分析