Google 地图数据 API

API ID 15370

全球地点:按文本或类别搜索,查看评分、地址、电话和营业时间,支持自动补全、地点详情、评价、照片,以及驾车、骑行、步行或乘坐公共交通的路线

API 文档

端点

请求
返回 Google 地图建议的两个地点之间驾车 骑自行车 步行或乘坐公共交通的路线:包括每条路线的距离 时长(以及驾车时在今天交通状况下的时长) 所经道路 公共交通路线的出发和到达时间及发车频率 以及包含逐步转向指引的各路段
Endpoint ID: 41173
GET https://zylalabs.com/api/15370/google+maps+data+api/41173/get+directions
输入参数

获取路线 — 端点功能

对象 描述
origin 必需 Where the route starts: an address, a place name or coordinates as "latitude,longitude".
destination 必需 Where the route ends: an address, a place name or coordinates as "latitude,longitude".
travel_mode 可选 Optional travel mode (defaults to "driving"). Use the /general/travel-modes endpoint to list valid values.
language 可选 Optional language of the instructions (defaults to "en").
country 可选 Optional two-letter country code the route is asked from, which sets the units of the distances (defaults to "us").

剩余免费测试请求:3 / 3。


输入参数

origin
destination
travel_mode
language
country
API 示例响应
JSON
{
    "origin": {
        "name": "Times Square, Manhattan, NY 10036",
        "place_id": "ChIJmQJIxlVYwokRLgeuocVOGVU",
        "feature_id": "0x89c25855c6480299:0x55194ec5a1ae072e",
        "latitude": 40.7579747,
        "longitude": -73.9855426
    },
    "destination": {
        "name": "Brooklyn Bridge, New York, NY 10038",
        "place_id": "ChIJK3vOQyNawokRXEa9errdJiU",
        "feature_id": "0x89c25a2343ce7b2b:0x2526ddba7abd465c",
        "latitude": 40.7060855,
        "longitude": -73.9968643
    },
    "travel_mode": "driving",
    "routes": [
        {
            "summary": "FDR Dr",
            "travel_mode": "driving",
            "distance_meters": 8828,
            "distance": "5.5 miles",
            "duration_seconds": 1193,
            "duration": "20 min",
            "duration_in_traffic": "24 min",
            "departure_time": null,
            "arrival_time": null,
            "frequency": null,
            "fare": null,
            "legs": [
                {
                    "instruction": "Get on FDR Dr from 7th Ave, W 38th St and E 36th St",
                    "travel_mode": "driving",
                    "distance_meters": 2814,
                    "distance": "1.7 mi",
                    "duration_seconds": 838,
                    "duration": "14 min",
                    "transit": null,
                    "steps": [
                        {
                            "instruction": "Head toward Broadway",
                            "maneuver": "depart",
                            "distance_meters": 42,
                            "distance": "138 ft",
                            "duration_seconds": 26,
                            "duration": "26 sec"
                        },
                        {
                            "instruction": "Turn left onto 7th Ave",
                            "maneuver": "turn",
                            "distance_meters": 407,
                            "distance": "0.3 mi",
                            "duration_seconds": 124,
                            "duration": "2 min"
                        },
                        {
                            "instruction": "Turn left onto W 38th St",
                            "maneuver": "turn",
                            "distance_meters": 1050,
                            "distance": "0.7 mi",
                            "duration_seconds": 339,
                            "duration": "6 min"
                        },
                        {
                            "instruction": "Use the left lane to take the FDR Drive ramp",
                            "maneuver": "on_ramp",
                            "distance_meters": 257,
                            "distance": "0.2 mi",
                            "duration_seconds": 24,
                            "duration": "24 sec"
                        }
                    ]
                },
                {
                    "instruction": "Continue on FDR Dr. Drive to Brooklyn Brg",
                    "travel_mode": "driving",
                    "distance_meters": 6014,
                    "distance": "3.7 mi",
                    "duration_seconds": 355,
                    "duration": "6 min",
                    "transit": null,
                    "steps": [
                        {
                            "instruction": "Use the right 2 lanes to take exit 2",
                            "maneuver": "off_ramp",
                            "distance_meters": 699,
                            "distance": "0.4 mi",
                            "duration_seconds": 57,
                            "duration": "57 sec"
                        }
                    ]
                }
            ]
        }
    ]
}
获取路线 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15370/google+maps+data+api/41173/get+directions?origin=Times Square, New York&destination=Brooklyn Bridge&travel_mode=driving&language=en&country=us' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
列出 directions 的“travel_mode”参数所接受的值
Endpoint ID: 41174
GET https://zylalabs.com/api/15370/google+maps+data+api/41174/get+travel+modes
输入参数

剩余免费测试请求:3 / 3。

此端点不需要任何输入参数。

API 示例响应
JSON
[
    {
        "id": "driving",
        "label": "Driving"
    },
    {
        "id": "bicycling",
        "label": "Bicycling"
    },
    {
        "id": "walking",
        "label": "Walking"
    },
    {
        "id": "transit",
        "label": "Public transport"
    }
]
获取出行方式 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15370/google+maps+data+api/41174/get+travel+modes' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回某个地点的 Google 地图页面显示的所有信息:其 ID(地点 ID、要素 ID、CID、知识图谱 ID)、名称、类别、描述、地址、坐标、时区、评分及星级分布、评论数量、网站、电话、菜单和在线订餐链接、所有者、一周的营业时间及节假日备注和今日状态、属性(无障碍设施、服务选项、便利设施、付款方式等)、最相关的评论及其作者、评分、文字、照片和详情、评论亮点、照片,以及酒店的星级和各个预订网站上的每晚价格
Endpoint ID: 41175
GET https://zylalabs.com/api/15370/google+maps+data+api/41175/get+place+details
输入参数

获取地点详情 — 端点功能

对象 描述
place_id 必需 Place id (e.g. "ChIJifIePKtZwokRVZ-UdRGkZzs"), feature id (e.g. "0x89c259ab3c1ef289:0x3b67a41175949f55") or CID (e.g. "4280570365733019477") of the place. Use the /search/places endpoint to find them.
language 可选 Optional language of the texts (defaults to "en").
country 可选 Optional two-letter country code the place is viewed from (defaults to "us").

剩余免费测试请求:3 / 3。


输入参数

place_id
language
country
API 示例响应
JSON
{
    "place_id": "ChIJifIePKtZwokRVZ-UdRGkZzs",
    "feature_id": "0x89c259ab3c1ef289:0x3b67a41175949f55",
    "cid": "4280570365733019477",
    "kg_id": "/g/11bw4ws2mt",
    "name": "Joe's Pizza Broadway",
    "categories": [
        "Pizza restaurant",
        "Pizza delivery",
        "Restaurant"
    ],
    "description": "Modern outpost of a longtime counter-serve pizza joint prepping New York-style slices and pies.",
    "address": "1435 Broadway, New York, NY 10018",
    "full_address": "Joe's Pizza Broadway, 1435 Broadway, New York, NY 10018",
    "neighborhood": "Manhattan",
    "locality": "New York, NY",
    "country_code": "US",
    "latitude": 40.754679499999995,
    "longitude": -73.9870291,
    "rating": 4.4,
    "reviews_count": 27706,
    "website": "https://www.joespizzanyc.com/",
    "phone": "(646) 559-4878",
    "phone_international": "+1 646-559-4878",
    "timezone": "America/New_York",
    "open_status": "Open · Closes 3 AM",
    "opening_hours": [
        {
            "day": "monday",
            "date": "2026-11-23",
            "hours": "10 AM–3 AM",
            "periods": [
                {
                    "open": "10:00",
                    "close": "03:00"
                }
            ],
            "note": null
        },
        {
            "day": "tuesday",
            "date": "2026-11-24",
            "hours": "10 AM–3 AM",
            "periods": [
                {
                    "open": "10:00",
                    "close": "03:00"
                }
            ],
            "note": null
        },
        {
            "day": "wednesday",
            "date": "2026-11-25",
            "hours": "10 AM–3 AM",
            "periods": [
                {
                    "open": "10:00",
                    "close": "03:00"
                }
            ],
            "note": null
        }
    ],
    "thumbnail": "https://lh3.googleusercontent.com/grass-cs/AABkmLeRD06EvohtEp1_3XJNjgtG0jjWYBSQMcQeIVS9FYXG9DYPAEAPheqUBxFDb2puHARQYHuJzOk0K7My_rJHkmAI_BUxo678MYhnvtaLGX9Ukf6NvRDDgjW9wpIxPimpNZXyd6o=w408-h240-k-no",
    "hotel": null,
    "google_maps_url": "https://www.google.com/maps/place/?q=place_id:ChIJifIePKtZwokRVZ-UdRGkZzs",
    "address_lines": [
        "1435 Broadway",
        "New York, NY 10018"
    ],
    "owner": {
        "name": "Joe's Pizza Broadway (Owner)",
        "id": "103877821925204408966"
    },
    "menu_url": "https://www.fooddiscoveryapp.com/new-york-city/joes-pizza",
    "order_online_url": "https://www.google.com/searchviewer/42?cvd=CLw_EicKJeICIjIgEhkiF9LX29IPEQoNL2cvMTFidzR3czJtdBgAOgMI8A0%3D&hl=en-US&gl=us&fo_m=MfohQo559jFvMUOzJVpjPL1YMfZ3bInYwBDuMfaXTPp5KXh-&utm_source=tactile&gei=VVwEa76EGrK0wPAPvIPVoQ4&ei=VVwEa76EGrK0wPAPvIPVoQ4&fo_s=OA,SOE&opi=79508299&ebb=1&cs=0&foub=mcpp",
    "attributes": [
        {
            "category": "Accessibility",
            "items": [
                {
                    "name": "Wheelchair accessible entrance",
                    "available": true
                },
                {
                    "name": "Wheelchair accessible parking lot",
                    "available": true
                },
                {
                    "name": "Wheelchair accessible seating",
                    "available": true
                }
            ]
        }
    ],
    "rating_distribution": {
        "1": 864,
        "2": 692,
        "3": 2318,
        "4": 5339,
        "5": 18493
    },
    "review_highlights": [
        "Best crust, sauce, cheese and toppings at a great per slice price",
        "Ordered delivery for a sausage, pepper and onion pie.",
        "Lines are long but service is quick ⏲️ and the staff 👨‍🍳 is super friendly!"
    ],
    "reviews": [
        {
            "review_id": "Ci9DQUlRQUNvZENodHljRjlvT2tGbFdrbzVSVE5PY0dsVFgyaEhNSEZXY1ZGa1dGRRAB",
            "rating": 5,
            "text": "Joe's Pizza lives up to its fame. There's a reason why a line forms most nights and they have a separate full pie store 2 doors down that also draws a line, albeit shorter.\n\nI grabbed a cheese slice, a pepperoni slice and a caprese slice. The Cheese Pizza was such a classic NY symbol. You can really taste the sauce and cheese while noticing the airy flavorful crust. You need to get a Cheese Pizza at least once.\n\nThe Pepperoni Pizza had quality pepperoni which brings in salty umami flavors, serving the cheese pizza base well. I will get this on repeat.\n\nThe Caprese Pizza was different as the toppings were cold. It was lighter and refreshing. It's different but not what I wanted at midnight.\n\nI will not hesitate to line up again. I wished I had another slice before my trip ended l.",
            "language": "en",
            "published_at": "2026-11-16T03:39:28Z",
            "relative_date": "a week ago",
            "author": {
                "name": "Victor Law",
                "id": "104609121824445017950",
                "photo": "https://lh3.googleusercontent.com/a/ACg8ocIpnZPh7heLHnvp3JcjErTq9VzUaFB6LA67FBNyLyGHNyq0kA=s120-c-rp-mo-ba12-br100",
                "profile_url": "https://www.google.com/maps/contrib/104609121824445017950?hl=en-US",
                "description": "Local Guide · 1.1K reviews"
            },
            "details": [
                {
                    "label": "Order type",
                    "value": "Take out"
                },
                {
                    "label": "Meal type",
                    "value": "Other"
                },
                {
                    "label": "Price per person",
                    "value": "$10–20"
                },
                {
                    "label": "Food",
                    "value": "5"
                },
                {
                    "label": "Service",
                    "value": "5"
                },
                {
                    "label": "Atmosphere",
                    "value": "5"
                },
                {
                    "label": "Recommended dishes",
                    "value": "Pepperoni Pie, Plain Cheese Pizza"
                },
                {
                    "label": "Parking space",
                    "value": "Difficult to find parking"
                },
                {
                    "label": "Can you share more about these topics?",
                    "value": "Parking"
                }
            ],
            "photos": [
                "https://lh3.googleusercontent.com/grass-cs/AABkmLdNH8viazgPQhwD1C1lPJex9aQFRrTT1vr_PuA4t4cPowor2fMxB6RCUc_pxTIGNd3NZ9ZLC9VM_MRRT7AAjk3qR-maWBtFdoUWurN_Xxf0FKByXRspf_dBsQwlwgLNIcDRYCEQLI3WQTPw=w4080-h3072-k-no",
                "https://lh3.googleusercontent.com/grass-cs/AABkmLdn42M-xfrTz-T_VdXPKaaTCsV9Xlk1kzRnmrYFZq8zZoxYVs4FFeo1PG_Ng4jv8ywFXBbV6pYAO3H36oS6gfohr01nv66zyZ8IVztRjWt_NEkXZaGLLp0uXLggl-yICqwe26jdvpEnRopm=w3672-h2765-k-no",
                "https://lh3.googleusercontent.com/grass-cs/AABkmLdTff18QShircW4z-OCbsOryuR0vHvx-d73q-2ztmPWVNZSkUh4roRwmyHMXBzunlQVe2hlO6ziNjzxl6EghT1j-gQ0B8QtkG98GsK9uJzSPLK3J4vXtUV6nrZBxlXPFHGzVqH5wWy8sUU=w3672-h2765-k-no",
                "https://lh3.googleusercontent.com/grass-cs/AABkmLcviIdS2hvmd_WSqO4GOXR-Du9O1xfXriQz9ksBIZ4_ifL2kT6GYllCpX6iz9T6LHybNMIT-t3nDZuLTp1kqVv2o_9Uu4B0_KObhG2Jc6mJX1YaQx6eGsQb1SOm47tpGasHwKFyH6eKDc0=w4080-h3072-k-no"
            ],
            "source": "Google"
        }
    ],
    "photos_count": 24354,
    "photos": [
        {
            "photo_id": "CIHM0ogKEICAgICEwq3WKA",
            "type": "street view",
            "url": "https://lh3.googleusercontent.com/grass-cs/AABkmLeRD06EvohtEp1_3XJNjgtG0jjWYBSQMcQeIVS9FYXG9DYPAEAPheqUBxFDb2puHARQYHuJzOk0K7My_rJHkmAI_BUxo678MYhnvtaLGX9Ukf6NvRDDgjW9wpIxPimpNZXyd6o=w7776-h3888-k-no",
            "thumbnail": "https://lh3.googleusercontent.com/grass-cs/AABkmLeRD06EvohtEp1_3XJNjgtG0jjWYBSQMcQeIVS9FYXG9DYPAEAPheqUBxFDb2puHARQYHuJzOk0K7My_rJHkmAI_BUxo678MYhnvtaLGX9Ukf6NvRDDgjW9wpIxPimpNZXyd6o=w408-h240-k-no",
            "width": 7776,
            "height": 3888,
            "latitude": 40.75466359056196,
            "longitude": -73.98700034255648
        }
    ]
}
获取地点详情 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15370/google+maps+data+api/41175/get+place+details?place_id=ChIJifIePKtZwokRVZ-UdRGkZzs&language=en&country=us' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回某个地点的照片数量以及 Google 地图在其页面上显示的照片(照片、视频和街景),每张照片均包含原始尺寸和缩略图链接、尺寸及拍摄地点
Endpoint ID: 41176
GET https://zylalabs.com/api/15370/google+maps+data+api/41176/get+place+photos
输入参数

获取地点照片 — 端点功能

对象 描述
place_id 必需 Place id, feature id or CID of the place. Use the /search/places endpoint to find them.
language 可选 Optional language of the texts (defaults to "en").
country 可选 Optional two-letter country code the place is viewed from (defaults to "us").

剩余免费测试请求:3 / 3。


输入参数

place_id
language
country
API 示例响应
JSON
{
    "place_id": "ChIJifIePKtZwokRVZ-UdRGkZzs",
    "name": "Joe's Pizza Broadway",
    "photos_count": 24354,
    "photos": [
        {
            "photo_id": "CIHM0ogKEICAgICEwq3WKA",
            "type": "street view",
            "url": "https://lh3.googleusercontent.com/grass-cs/AABkmLeRD06EvohtEp1_3XJNjgtG0jjWYBSQMcQeIVS9FYXG9DYPAEAPheqUBxFDb2puHARQYHuJzOk0K7My_rJHkmAI_BUxo678MYhnvtaLGX9Ukf6NvRDDgjW9wpIxPimpNZXyd6o=w7776-h3888-k-no",
            "thumbnail": "https://lh3.googleusercontent.com/grass-cs/AABkmLeRD06EvohtEp1_3XJNjgtG0jjWYBSQMcQeIVS9FYXG9DYPAEAPheqUBxFDb2puHARQYHuJzOk0K7My_rJHkmAI_BUxo678MYhnvtaLGX9Ukf6NvRDDgjW9wpIxPimpNZXyd6o=w408-h240-k-no",
            "width": 7776,
            "height": 3888,
            "latitude": 40.75466359056196,
            "longitude": -73.98700034255648
        },
        {
            "photo_id": "CIHM0ogKEICAgICEwoONbA",
            "type": "street view",
            "url": "https://lh3.googleusercontent.com/grass-cs/AABkmLfAGKzmhUzO6d2bjmA9QKwMILxZG440QFZeskEbWcGWRPLpAMBw7mzEagbHlLUI4aqsdFdv3YuwhWiklmZOMJ4mnH5t01e0IYMMQFzlc_gD7FtKfoLREqVWMbCqi_cc5SYmn-1u=w7776-h3888-k-no",
            "thumbnail": "https://lh3.googleusercontent.com/grass-cs/AABkmLfAGKzmhUzO6d2bjmA9QKwMILxZG440QFZeskEbWcGWRPLpAMBw7mzEagbHlLUI4aqsdFdv3YuwhWiklmZOMJ4mnH5t01e0IYMMQFzlc_gD7FtKfoLREqVWMbCqi_cc5SYmn-1u=w408-h240-k-no",
            "width": 7776,
            "height": 3888,
            "latitude": 40.75465058993121,
            "longitude": -73.98693263996633
        },
        {
            "photo_id": "CIABIhD1kVAH-tKdIWsTYlEqB3dY",
            "type": "photo",
            "url": "https://lh3.googleusercontent.com/grass-cs/AABkmLcw9odo0XwLrK_NaVUAvqwbJTnpPcP2KX0Zc0skXUtuTuSxcr4tSt63sAVy3I-8OhYotnmoD1MZUEny4zN2yym-PGkQ9Xsmx7ER9qhmQ0bjaobKGU0XfPlaxhMXsEvvyCwX7ELGk-L-JVNF=w750-h773-k-no",
            "thumbnail": "https://lh3.googleusercontent.com/grass-cs/AABkmLcw9odo0XwLrK_NaVUAvqwbJTnpPcP2KX0Zc0skXUtuTuSxcr4tSt63sAVy3I-8OhYotnmoD1MZUEny4zN2yym-PGkQ9Xsmx7ER9qhmQ0bjaobKGU0XfPlaxhMXsEvvyCwX7ELGk-L-JVNF=w408-h240-k-no",
            "width": 750,
            "height": 773,
            "latitude": 40.7546795103376,
            "longitude": -73.98702912735911
        },
        {
            "photo_id": "CIABIhCK6XAsrUsrHydumE7Is94y",
            "type": "photo",
            "url": "https://lh3.googleusercontent.com/grass-cs/AABkmLeh5jnLQJp5bYQfS5jyolafNF17XQbTrUWQZDzGb3VtaAd-Uz5uhfkuLAoIX3JBqIzinXL-ORV-x8a-Bf3ohv0tL45-83OLuZTVzgfdZ2r_uDegcO4Tx3b81y70UsT79K6EP4Gz6apbm4_B=w1600-h1200-k-no",
            "thumbnail": "https://lh3.googleusercontent.com/grass-cs/AABkmLeh5jnLQJp5bYQfS5jyolafNF17XQbTrUWQZDzGb3VtaAd-Uz5uhfkuLAoIX3JBqIzinXL-ORV-x8a-Bf3ohv0tL45-83OLuZTVzgfdZ2r_uDegcO4Tx3b81y70UsT79K6EP4Gz6apbm4_B=w408-h240-k-no",
            "width": 1600,
            "height": 1200,
            "latitude": 40.7546795103376,
            "longitude": -73.98702912735911
        },
        {
            "photo_id": "CIHM0ogKEICAgICGgNfJ4wE",
            "type": "video",
            "url": "https://lh3.googleusercontent.com/grass-cs/AABkmLdSFyUJEGWvRn9r6yV-jIJrYTA0QqIslqAWTNiw10mypva26WHcRnkQ69RGZJk1nv_ivSJbtvIcbQQ7Bc4rZOhRJIebPjO6LU09Vy5C3MRyVTQhepxgIRcOG6TCIDpAFwQT6-LAxQ=w1920-h1080-k-no",
            "thumbnail": "https://lh3.googleusercontent.com/grass-cs/AABkmLdSFyUJEGWvRn9r6yV-jIJrYTA0QqIslqAWTNiw10mypva26WHcRnkQ69RGZJk1nv_ivSJbtvIcbQQ7Bc4rZOhRJIebPjO6LU09Vy5C3MRyVTQhepxgIRcOG6TCIDpAFwQT6-LAxQ=w408-h240-k-no",
            "width": 1920,
            "height": 1080,
            "latitude": 40.7546795103376,
            "longitude": -73.98702912735911
        },
        {
            "photo_id": "CIABIhCun6Jy5YeafxkcJ5dsVC5s",
            "type": "photo",
            "url": "https://lh3.googleusercontent.com/grass-cs/AABkmLeaWp8VXTbri5H1WnEXgTH4ccODD3SPCBLPx5FFyGcrBqCJdUZePgifVu_GqhP-aZcl95EWe3kr7xxNS9iNzdlqOayUoTpG2zeysSdwJDr4rSEXEQAQG3_bPQ8XptPb7qpjdUT6NJki7AKZ=w4096-h2304-k-no",
            "thumbnail": "https://lh3.googleusercontent.com/grass-cs/AABkmLeaWp8VXTbri5H1WnEXgTH4ccODD3SPCBLPx5FFyGcrBqCJdUZePgifVu_GqhP-aZcl95EWe3kr7xxNS9iNzdlqOayUoTpG2zeysSdwJDr4rSEXEQAQG3_bPQ8XptPb7qpjdUT6NJki7AKZ=w408-h240-k-no",
            "width": 4096,
            "height": 2304,
            "latitude": 40.7546795103376,
            "longitude": -73.98702912735911
        }
    ]
}
获取地点照片 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15370/google+maps+data+api/41176/get+place+photos?place_id=ChIJifIePKtZwokRVZ-UdRGkZzs&language=en&country=us' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
返回某个地点的评分、评价数量、星级分布、评价亮点以及 Google 地图为其显示的最相关评价,每条评价均包含作者、评分、文字、语言、日期、照片以及评价者提供的详细信息(用餐类型、人均价格、食物、服务和氛围评分……)
Endpoint ID: 41177
GET https://zylalabs.com/api/15370/google+maps+data+api/41177/get+place+reviews
输入参数

获取地点评价 — 端点功能

对象 描述
place_id 必需 Place id, feature id or CID of the place. Use the /search/places endpoint to find them.
language 可选 Optional language of the texts (defaults to "en").
country 可选 Optional two-letter country code the place is viewed from (defaults to "us").

剩余免费测试请求:3 / 3。


输入参数

place_id
language
country
API 示例响应
JSON
{
    "place_id": "ChIJifIePKtZwokRVZ-UdRGkZzs",
    "name": "Joe's Pizza Broadway",
    "rating": 4.4,
    "reviews_count": 27706,
    "rating_distribution": {
        "1": 864,
        "2": 692,
        "3": 2318,
        "4": 5339,
        "5": 18493
    },
    "review_highlights": [
        "Best crust, sauce, cheese and toppings at a great per slice price",
        "Ordered delivery for a sausage, pepper and onion pie.",
        "Lines are long but service is quick ⏲️ and the staff 👨‍🍳 is super friendly!"
    ],
    "reviews": [
        {
            "review_id": "Ci9DQUlRQUNvZENodHljRjlvT2tGbFdrbzVSVE5PY0dsVFgyaEhNSEZXY1ZGa1dGRRAB",
            "rating": 5,
            "text": "Joe's Pizza lives up to its fame. There's a reason why a line forms most nights and they have a separate full pie store 2 doors down that also draws a line, albeit shorter.\n\nI grabbed a cheese slice, a pepperoni slice and a caprese slice. The Cheese Pizza was such a classic NY symbol. You can really taste the sauce and cheese while noticing the airy flavorful crust. You need to get a Cheese Pizza at least once.\n\nThe Pepperoni Pizza had quality pepperoni which brings in salty umami flavors, serving the cheese pizza base well. I will get this on repeat.\n\nThe Caprese Pizza was different as the toppings were cold. It was lighter and refreshing. It's different but not what I wanted at midnight.\n\nI will not hesitate to line up again. I wished I had another slice before my trip ended l.",
            "language": "en",
            "published_at": "2026-11-16T03:39:28Z",
            "relative_date": "a week ago",
            "author": {
                "name": "Victor Law",
                "id": "104609121824445017950",
                "photo": "https://lh3.googleusercontent.com/a/ACg8ocIpnZPh7heLHnvp3JcjErTq9VzUaFB6LA67FBNyLyGHNyq0kA=s120-c-rp-mo-ba12-br100",
                "profile_url": "https://www.google.com/maps/contrib/104609121824445017950?hl=en-US",
                "description": "Local Guide · 1.1K reviews"
            },
            "details": [
                {
                    "label": "Order type",
                    "value": "Take out"
                },
                {
                    "label": "Meal type",
                    "value": "Other"
                },
                {
                    "label": "Price per person",
                    "value": "$10–20"
                },
                {
                    "label": "Food",
                    "value": "5"
                },
                {
                    "label": "Service",
                    "value": "5"
                },
                {
                    "label": "Atmosphere",
                    "value": "5"
                },
                {
                    "label": "Recommended dishes",
                    "value": "Pepperoni Pie, Plain Cheese Pizza"
                },
                {
                    "label": "Parking space",
                    "value": "Difficult to find parking"
                },
                {
                    "label": "Can you share more about these topics?",
                    "value": "Parking"
                }
            ],
            "photos": [
                "https://lh3.googleusercontent.com/grass-cs/AABkmLdNH8viazgPQhwD1C1lPJex9aQFRrTT1vr_PuA4t4cPowor2fMxB6RCUc_pxTIGNd3NZ9ZLC9VM_MRRT7AAjk3qR-maWBtFdoUWurN_Xxf0FKByXRspf_dBsQwlwgLNIcDRYCEQLI3WQTPw=w4080-h3072-k-no",
                "https://lh3.googleusercontent.com/grass-cs/AABkmLdn42M-xfrTz-T_VdXPKaaTCsV9Xlk1kzRnmrYFZq8zZoxYVs4FFeo1PG_Ng4jv8ywFXBbV6pYAO3H36oS6gfohr01nv66zyZ8IVztRjWt_NEkXZaGLLp0uXLggl-yICqwe26jdvpEnRopm=w3672-h2765-k-no",
                "https://lh3.googleusercontent.com/grass-cs/AABkmLdTff18QShircW4z-OCbsOryuR0vHvx-d73q-2ztmPWVNZSkUh4roRwmyHMXBzunlQVe2hlO6ziNjzxl6EghT1j-gQ0B8QtkG98GsK9uJzSPLK3J4vXtUV6nrZBxlXPFHGzVqH5wWy8sUU=w3672-h2765-k-no",
                "https://lh3.googleusercontent.com/grass-cs/AABkmLcviIdS2hvmd_WSqO4GOXR-Du9O1xfXriQz9ksBIZ4_ifL2kT6GYllCpX6iz9T6LHybNMIT-t3nDZuLTp1kqVv2o_9Uu4B0_KObhG2Jc6mJX1YaQx6eGsQb1SOm47tpGasHwKFyH6eKDc0=w4080-h3072-k-no",
                "https://lh3.googleusercontent.com/grass-cs/AABkmLcasaWoy8k0TJHzaoSPZyb6Hr8h4rUHIEcMr791MDQNxFF76nIa1Q0HnRyn58mrdZXYn_mAyijHqxANuZtHS4XRle-RFwkt9oF3dFvKNtU-RCj8-NIXOI2tPfH3SFvrpzEuMwMolwVjtwcS=w4080-h3072-k-no",
                "https://lh3.googleusercontent.com/grass-cs/AABkmLcSPlzrXRgVqJwPsvg7Us6CLqaA6YW7tKu6quSMfHRtCMFNFjV9HPomQWO1z787rhO1L_v7O-70_jQbmRQOKA_UkqM6ya7Nc4d7rhgG5vToVdy7c97M0Zlf4u6000Ad0QSJaHonlEbszmo=w4080-h3072-k-no",
                "https://lh3.googleusercontent.com/grass-cs/AABkmLdEAAsYYvwRt-ncbQR-BINpmM3rbtcx_ybFKt7aD45figJLLamoe3pwlIZs1ji10aZJD8aAH6dp1mxETlEjvhniJ2j4DHOGLRXYbM8z63e7ZFFfoEedtEhlId2_7qs_H9jY7D4vZ9VzmYgy=w3072-h4080-k-no",
                "https://lh3.googleusercontent.com/grass-cs/AABkmLfmYby4-HC7wNQBzKcYAMLmbn_7xF0WtyT4HyBBjNxt4eoT9gmiDrLZkUx26b0vuf14NgOaGJ6OCxpr0V2rumenfzB_aZO9YXnk4p7veqetJxkR4a7urgyBtXlVbRXE73JSCvcOVeIH1Ls=w4080-h3072-k-no",
                "https://lh3.googleusercontent.com/grass-cs/AABkmLci27NfjV4Op0cQlxxLNNxxoaXmI-mPE-KIR0STI72Rnc5RC3vW1hy8RYPiUTpxqZdTjTb0F-XK8CW-qyy-TPFOs22aveSJLvFsDIr9AY49Z8OwXdCi2eil5NiWg5bFq5cHExUnM8mSXJSq=w3072-h4080-k-no"
            ],
            "source": "Google"
        }
    ]
}
获取地点评价 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15370/google+maps+data+api/41177/get+place+reviews?place_id=ChIJifIePKtZwokRVZ-UdRGkZzs&language=en&country=us' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
在输入文本时提供地点和搜索建议,类似于 Google 地图搜索框。地点建议包含地点 ID、要素 ID 和坐标;搜索建议是传递给 /search/places 的文本񎏁
Endpoint ID: 41178
GET https://zylalabs.com/api/15370/google+maps+data+api/41178/autocomplete
输入参数

自动完成 — 端点功能

对象 描述
query 必需 The text typed so far (e.g. "empire sta").
latitude 可选 Optional latitude of the point to suggest places around, in decimal degrees (needs "longitude").
longitude 可选 Optional longitude of the point to suggest places around, in decimal degrees (needs "latitude").
zoom 可选 Optional zoom level of the map around the point, from 3 to 21 (defaults to 13).
language 可选 Optional language of the suggestions (defaults to "en").
country 可选 Optional two-letter country code the search is made from (defaults to "us").

剩余免费测试请求:3 / 3。


输入参数

query
latitude
longitude
zoom
language
country
API 示例响应
JSON
[
    {
        "type": "place",
        "text": "Empire State Building, West 34th Street, New York, NY",
        "main_text": "Empire State Building",
        "secondary_text": "West 34th Street, New York, NY",
        "place_id": "ChIJaXQRs6lZwokRY6EFpJnhNNE",
        "feature_id": "0x89c259a9b3117469:0xd134e199a405a163",
        "latitude": 40.7484405,
        "longitude": -73.98566439999999
    },
    {
        "type": "place",
        "text": "Empire State Driving School, West 61st Street, New York, NY",
        "main_text": "Empire State Driving School",
        "secondary_text": "West 61st Street, New York, NY",
        "place_id": "ChIJ38tglF5YwokRgNoJx1goqC8",
        "feature_id": "0x89c2585e9460cbdf:0x2fa82858c709da80",
        "latitude": 40.7722488,
        "longitude": -73.98830459999999
    },
    {
        "type": "place",
        "text": "Empire State of Wine, West 23rd Street, New York, NY",
        "main_text": "Empire State of Wine",
        "secondary_text": "West 23rd Street, New York, NY",
        "place_id": "ChIJT6fxUqNZwokRpp5KAvYohyY",
        "feature_id": "0x89c259a352f1a74f:0x268728f6024a9ea6",
        "latitude": 40.7427299,
        "longitude": -73.99186399999999
    },
    {
        "type": "query",
        "text": "empire state university",
        "main_text": "empire state university",
        "secondary_text": null,
        "place_id": null,
        "feature_id": null,
        "latitude": null,
        "longitude": null
    },
    {
        "type": "place",
        "text": "Empire State Ambulatory Surgery Center, Webster Avenue, The Bronx, NY",
        "main_text": "Empire State Ambulatory Surgery Center",
        "secondary_text": "Webster Avenue, The Bronx, NY",
        "place_id": "ChIJF55j1m3zwokRowLmScPGtFA",
        "feature_id": "0x89c2f36dd6639e17:0x50b4c6c349e602a3",
        "latitude": 40.872734,
        "longitude": -73.874724
    }
]
自动完成 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15370/google+maps+data+api/41178/autocomplete?query=empire state&latitude=40.7580&longitude=-73.9855&zoom=13&language=en&country=us' --header 'Authorization: Bearer YOUR_API_KEY' 


    
请求
像 Google 地图搜索框一样搜索地点:按名称 类别或自由文本(例如“纽约的披萨店”)搜索商家 兴趣点和地址。提供一个点(纬度和经度)以在其周围搜索 就像地图在该位置打开时一样;不提供则搜索整个世界。每个地点包含其 ID 名称 类别 地址 坐标 评分 评论数量 网站 电话 营业时间及今日营业状态和一张照片 酒店还包含等级和每晚价格。每页 20 个地点
Endpoint ID: 41179
GET https://zylalabs.com/api/15370/google+maps+data+api/41179/search+places
输入参数

搜索地点 — 端点功能

对象 描述
query 必需 What to search for: a business, a category or an address (e.g. "pizza in new york", "coffee", "Eiffel Tower").
latitude 可选 Optional latitude of the point to search around, in decimal degrees (needs "longitude").
longitude 可选 Optional longitude of the point to search around, in decimal degrees (needs "latitude").
zoom 可选 Optional zoom level of the map around the point, from 3 (a continent) to 21 (a building) (defaults to 13, a city district).
page 可选 Optional page number, 1 to 10 (defaults to 1).
language 可选 Optional language of the results (defaults to "en").
country 可选 Optional two-letter country code the search is made from, which ranks the results (defaults to "us").

剩余免费测试请求:3 / 3。


输入参数

query
latitude
longitude
zoom
page
language
country
API 示例响应
JSON
{
    "page": 1,
    "has_more": true,
    "places": [
        {
            "place_id": "ChIJifIePKtZwokRVZ-UdRGkZzs",
            "feature_id": "0x89c259ab3c1ef289:0x3b67a41175949f55",
            "cid": "4280570365733019477",
            "kg_id": "/g/11bw4ws2mt",
            "name": "Joe's Pizza Broadway",
            "categories": [
                "Pizza restaurant",
                "Pizza delivery",
                "Restaurant"
            ],
            "description": "Modern outpost of a longtime counter-serve pizza joint prepping New York-style slices and pies.",
            "address": "1435 Broadway, New York, NY 10018",
            "full_address": "Joe's Pizza Broadway, 1435 Broadway, New York, NY 10018",
            "neighborhood": "Manhattan",
            "locality": "New York, NY",
            "country_code": "US",
            "latitude": 40.754679499999995,
            "longitude": -73.9870291,
            "rating": 4.4,
            "reviews_count": 27706,
            "website": "https://www.joespizzanyc.com/",
            "phone": "(646) 559-4878",
            "phone_international": "+1 646-559-4878",
            "timezone": "America/New_York",
            "open_status": "Open · Closes 3 AM",
            "opening_hours": [
                {
                    "day": "monday",
                    "date": "2026-11-23",
                    "hours": "10 AM–3 AM",
                    "periods": [
                        {
                            "open": "10:00",
                            "close": "03:00"
                        }
                    ],
                    "note": null
                },
                {
                    "day": "tuesday",
                    "date": "2026-11-24",
                    "hours": "10 AM–3 AM",
                    "periods": [
                        {
                            "open": "10:00",
                            "close": "03:00"
                        }
                    ],
                    "note": null
                },
                {
                    "day": "wednesday",
                    "date": "2026-11-25",
                    "hours": "10 AM–3 AM",
                    "periods": [
                        {
                            "open": "10:00",
                            "close": "03:00"
                        }
                    ],
                    "note": null
                },
                {
                    "day": "thursday",
                    "date": "2026-11-26",
                    "hours": "10 AM–4 AM",
                    "periods": [
                        {
                            "open": "10:00",
                            "close": "04:00"
                        }
                    ],
                    "note": "Thanksgiving might affect these hours"
                },
                {
                    "day": "friday",
                    "date": "2026-11-27",
                    "hours": "10 AM–5 AM",
                    "periods": [
                        {
                            "open": "10:00",
                            "close": "05:00"
                        }
                    ],
                    "note": "Black Friday might affect these hours"
                },
                {
                    "day": "saturday",
                    "date": "2026-11-28",
                    "hours": "10 AM–5 AM",
                    "periods": [
                        {
                            "open": "10:00",
                            "close": "05:00"
                        }
                    ],
                    "note": null
                },
                {
                    "day": "sunday",
                    "date": "2026-11-29",
                    "hours": "10 AM–3 AM",
                    "periods": [
                        {
                            "open": "10:00",
                            "close": "03:00"
                        }
                    ],
                    "note": null
                }
            ],
            "thumbnail": "https://lh3.googleusercontent.com/grass-cs/AABkmLdOrjpqf14oGW-3YGbPLCRhcWl7KIqTbPqtsEZBMS9mjZbvxMWkNnIZloaKn3DDdNviLsW-p12AlPwkG1NaqjAkZDZtAvr21ljTm643W96ASgFq4k3Vnp0qmZTf3WcU0YP9fG94=w408-h240-k-no",
            "hotel": null,
            "google_maps_url": "https://www.google.com/maps/place/?q=place_id:ChIJifIePKtZwokRVZ-UdRGkZzs"
        },
        {
            "place_id": "ChIJv7k-VQBZwokR0EHM1hUVKR4",
            "feature_id": "0x89c25900553eb9bf:0x1e291515d6cc41d0",
            "cid": "2173291478725181904",
            "kg_id": "/g/11ypsfxts0",
            "name": "Madison Pizza NYC",
            "categories": [
                "Pizza restaurant"
            ],
            "description": null,
            "address": "14 E 37th St, New York, NY 10016",
            "full_address": "Madison Pizza NYC, 14 E 37th St, New York, NY 10016",
            "neighborhood": "Manhattan",
            "locality": "New York, NY",
            "country_code": "US",
            "latitude": 40.7497811,
            "longitude": -73.9823088,
            "rating": 4.8,
            "reviews_count": 251,
            "website": "http://madisonpizzaofnyc.com/",
            "phone": "(212) 300-4068",
            "phone_international": "+1 212-300-4068",
            "timezone": "America/New_York",
            "open_status": "Open · Closes 8:30 PM",
            "opening_hours": [
                {
                    "day": "monday",
                    "date": "2026-11-23",
                    "hours": "10:30 AM–8:30 PM",
                    "periods": [
                        {
                            "open": "10:30",
                            "close": "20:30"
                        }
                    ],
                    "note": null
                },
                {
                    "day": "tuesday",
                    "date": "2026-11-24",
                    "hours": "10:30 AM–8:30 PM",
                    "periods": [
                        {
                            "open": "10:30",
                            "close": "20:30"
                        }
                    ],
                    "note": null
                },
                {
                    "day": "wednesday",
                    "date": "2026-11-25",
                    "hours": "10:30 AM–8:30 PM",
                    "periods": [
                        {
                            "open": "10:30",
                            "close": "20:30"
                        }
                    ],
                    "note": null
                },
                {
                    "day": "thursday",
                    "date": "2026-11-26",
                    "hours": "10:30 AM–8:30 PM",
                    "periods": [
                        {
                            "open": "10:30",
                            "close": "20:30"
                        }
                    ],
                    "note": "Thanksgiving might affect these hours"
                },
                {
                    "day": "friday",
                    "date": "2026-11-27",
                    "hours": "10:30 AM–8:30 PM",
                    "periods": [
                        {
                            "open": "10:30",
                            "close": "20:30"
                        }
                    ],
                    "note": "Black Friday might affect these hours"
                },
                {
                    "day": "saturday",
                    "date": "2026-11-28",
                    "hours": "10:30 AM–8:30 PM",
                    "periods": [
                        {
                            "open": "10:30",
                            "close": "20:30"
                        }
                    ],
                    "note": null
                },
                {
                    "day": "sunday",
                    "date": "2026-11-29",
                    "hours": "10:30 AM–8:30 PM",
                    "periods": [
                        {
                            "open": "10:30",
                            "close": "20:30"
                        }
                    ],
                    "note": null
                }
            ],
            "thumbnail": "https://lh3.googleusercontent.com/grass-cs/AABkmLeNT3fhIhKRsMZDlpoJdnxfJQClkdOxkqhctD4umYMRx69pvfJso10d0hf6NjvsHN5N9S5eiYr0h-405us9XYgeHkPQTS4_QMpTFsHGWKan_fbvYbnRFwGxA4G0L-3MLjadPCHCJ2Pu29pZ=w408-h240-k-no",
            "hotel": null,
            "google_maps_url": "https://www.google.com/maps/place/?q=place_id:ChIJv7k-VQBZwokR0EHM1hUVKR4"
        }
    ]
}
搜索地点 — 代码片段

curl --location --request GET 'https://zylalabs.com/api/15370/google+maps+data+api/41179/search+places?query=pizza in new york&latitude=40.7580&longitude=-73.9855&zoom=13&page=1&language=en&country=us' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 Google 地图数据 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。

标头
标头 描述
授权 必需 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。

(年度计费可节省 2 个月 🎉)

起价
$10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

概览

全球地点:按文本或类别搜索,查看评分、地址、电话和营业时间,支持自动补全、地点详情、评论、照片以及驾车、骑行、步行或乘坐公共交通的路线

一般常见问题

Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。
价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]

此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。
定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。
有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]
价格由月度或年度订阅决定,具体取决于所选计划。
API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。
Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。
要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。
要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。
要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。
"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。
是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。
为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。
7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。
当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。
付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。
您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]

相关 API