SeerMarTech 文档控制台

Google 商家信息 Live

POST/v3/business_data/google/my_business_info/live/advanced

实时获取 Google 商家详情:名称、地址、电话、营业时间、评分、类别等。

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

请求体

参数类型必填说明
keywordstring商家名称
location_codeinteger地区代码
cidstringGoogle 商家 CID
place_idstringGoogle Place ID

请求示例

curl

curl -X POST "https://api.seermartech.cn/v3/business_data/google/my_business_info/live/advanced" \ -H "Authorization: Bearer smt_live_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '[{"keyword": "星巴克", "location_code": 2156, "language_code": "zh"}]'

Python

import requests resp = requests.post( "https://api.seermartech.cn/v3/business_data/google/my_business_info/live/advanced", headers={"Authorization": "Bearer smt_live_YOUR_KEY"}, json=[{"keyword": "星巴克", "location_code": 2156, "language_code": "zh"}], timeout=60, ) print(resp.json()["tasks"][0]["result"][0])

TypeScript

const resp = await fetch( "https://api.seermartech.cn/v3/business_data/google/my_business_info/live/advanced", { method: "POST", headers: { Authorization: "Bearer smt_live_YOUR_KEY", "Content-Type": "application/json", }, body: JSON.stringify([{ keyword: "星巴克", location_code: 2156, language_code: "zh" }]), } ); console.log((await resp.json()).tasks[0].result[0]);

业务场景