Skip to content
登录 注册

Google 本地服务 API

抓取 Google 本地服务广告,适用于特定区域的商家,例如电工、水管工或锁匠。设置 engine=google_local_services,在 q 中传入服务查询,并在 place 中指定区域。

GET https://serp.shifter.io/v1?engine=google_local_services&api_key=YOUR_API_KEY
ParameterTypeRequiredDescription
api_keystringyes您的 SERP API 密钥
enginestringyes必须为 google_local_services
qstringyes您要查找的服务
placestringyes要在其中搜索的城市或区域
Terminal window
curl "https://serp.shifter.io/v1?engine=google_local_services&api_key=YOUR_API_KEY&q=electrician&place=orlando"
{
"search_parameters": {
"engine": "google_local_services",
"q": "electrician",
"place": "orlando"
},
"local_ads": [
{
"title": "Super Fast Electric",
"link": "https://google.com/localservices/profile?q=electrician+near+orlando&...",
"rating": 5,
"reviews": 7,
"phone": "+14074996813",
"bagde": "GOOGLE GUARANTEED",
"service_area": "Serves Orlando",
"experience": "6+ years in business",
"open_hours": "Open, Closes 4:30PM"
},
{
"title": "A-Lumination Electric",
"rating": 4.3,
"reviews": 95,
"phone": "+14076334044",
"bagde": "GOOGLE GUARANTEED",
"service_area": "Serves Orlando",
"experience": "33+ years in business"
}
]
}