{
"found": true,
"data": {
"items": [
{
"placeId": "ChIJ1S_Bov20RIYRe7MiR8tYawY",
"name": "Jo's Coffee – South Congress",
"url": "https://www.google.com/maps/place/?q=place_id:ChIJ1S_Bov20RIYRe7MiR8tYawY",
"cid": "462561016830669691",
"category": "Coffee shop",
"categories": [
"Coffee shop",
"Cafe"
],
"address": "1300 S Congress Ave, Austin, TX 78704",
"street": "1300 S Congress Ave",
"city": "Austin",
"postalCode": "78704",
"state": "Texas",
"countryCode": "US",
"latitude": 30.2510458,
"longitude": -97.7493717,
"phone": "(512) 852-2300",
"website": "https://www.joscoffee.com/south-congress-jos",
"rating": 4.4,
"reviewCount": 2016,
"image": "https://lh3.googleusercontent.com/-1zxyRQYl56U/AAAAAAAAAAI/AAAAAAAAAAA/4v4AgNFZBgo/s44-p-k-no-ns-nd/photo.jpg",
"hours": [
{
"day": "Tuesday",
"hours": "7 AM–7 PM"
},
{
"day": "Wednesday",
"hours": "7 AM–7 PM"
}
],
"permanentlyClosed": false
},
{
"placeId": "ChIJTWZhRFW1RIYRrdGa7DPzT7w",
"name": "Mozart's Coffee Roasters",
"url": "https://www.google.com/maps/place/?q=place_id:ChIJTWZhRFW1RIYRrdGa7DPzT7w",
"cid": "13569331606629044653",
"category": "Coffee shop",
"categories": [
"Coffee shop",
"Boat rental service"
],
"address": "3825 Lake Austin Blvd, Austin, TX 78703",
"street": "3825 Lake Austin Blvd",
"city": "Austin",
"postalCode": "78703",
"state": "Texas",
"countryCode": "US",
"latitude": 30.295469599999997,
"longitude": -97.78395119999999,
"phone": "(512) 477-2900",
"website": "https://mozartscoffee.com/",
"rating": 4.5,
"reviewCount": 11038,
"image": "https://lh3.googleusercontent.com/-88EjI7tZSV0/AAAAAAAAAAI/AAAAAAAAAAA/3-Wpwoe7iz0/s44-p-k-no-ns-nd/photo.jpg",
"hours": [
{
"day": "Tuesday",
"hours": "7 AM–12 AM"
},
{
"day": "Wednesday",
"hours": "7 AM–12 AM"
}
],
"permanentlyClosed": false
}
]
}
}
curl --location --request GET 'https://zylalabs.com/api/15591/google+maps+places+search+api/41949/google+maps+places+search?limit=3&query=coffee&location=Austin, TX' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 Google 地图地点搜索 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
按关键词和位置搜索 Google 地图地点,并获取名称、类别、地址、电话、网站、评分、评论、坐标和营业时间
无结果的搜索返回 HTTP 404,found 为 false
不。发送请求并获取结构化 JSON