Google Place API
The Google Place API allows access to detailed information about specific places. It provides data such as address, phone number, ratings, reviews, popular times, delivery services, and more.
API Parameters
Search Query
-
- Name
-
kgmid - Required
- Optional
- Description
-
Defines a Knowledge Graph identifier (kgmid), representing entities in Google's Knowledge Graph. Format:
-
Location Identifier (
/m/): Typically followed by 2 to 7 characters. Used primarily to represent specific locations. Find the identifier by searching for the "Freebase ID" on Wikidata. Example:kgmid=/m/02_286refers to New York. -
Google Knowledge Graph Identifier (
/g/): Typically followed by a longer alphanumeric string. Represents general entities in Google's Knowledge Graph. Find details on Wikidata. Example:kgmid=/g/11f555cn8lrefers to TikTok.
-
Location Identifier (
Localization
-
- Name
-
hl - Required
- Optional
- Description
-
The default parameter
endefines the interface language of the search. Check the full list of supported Googlehllanguages.
-
- Name
-
gl - Required
- Optional
- Description
-
The default parameter
usdefines the country of the search. Check the full list of supported Googleglcountries.
Engine
-
- Name
-
engine - Required
- Required
- Description
-
Parameter defines an engine that will be used to retrieve real-time data. It must be set to
google_place.
API key
-
- Name
-
api_key - Required
- Required
- Description
-
The
api_keyauthenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY) or in the Authorization header (Bearer YOUR_API_KEY).
Zero Data Retention
-
- Name
-
zero_retention - Enterprise Only
- Enterprise Only
- Required
- Optional
- Description
-
Set this parameter to
trueto disable all logging and persistent storage. No request parameters, HTML, or JSON responses are stored or logged. Suitable for high-compliance use cases. Debugging and support may be limited while enabled.
API Examples
Full Response
https://www.searchapi.io/api/v1/search?engine=google_place&kgmid=%2Fg%2F11b_3cn7rv
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google_place",
"kgmid": "/g/11b_3cn7rv"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_Q8LGJb0430Zbc0n4gw59nyzN",
"status": "Success",
"created_at": "2025-09-30T12:42:42Z",
"request_time_taken": 1.65,
"parsing_time_taken": 0.03,
"total_time_taken": 1.68,
"request_url": "https://www.google.com/viewer/place?mid=/g/11b_3cn7rv&hl=en&gl=us",
"html_url": "https://www.searchapi.io/api/v1/searches/search_Q8LGJb0430Zbc0n4gw59nyzN.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_Q8LGJb0430Zbc0n4gw59nyzN"
},
"search_parameters": {
"engine": "google_place",
"kgmid": "/g/11b_3cn7rv",
"hl": "en",
"gl": "us"
},
"place_result": {
"title": "Istanbul Glenrothes",
"price": {
"text": "£10–20",
"min": 10,
"max": 20
},
"type": "Pizza Takeout",
"address": "340c High St, Leslie, Glenrothes KY6 3AX, United Kingdom",
"address_link": "https://maps.google.com/maps?hl=en&gl=us&um=1&ie=UTF-8&fb=1&sa=X&ftid=0x4886357bfeb30b17:0x51f792474247bcbd",
"directions_link": "https://maps.google.com/maps?hl=en&gl=us&um=1&ie=UTF-8&fb=1&sa=X&geocode=KRcLs_57NYZIMb28R0JHkvdR&daddr=340c+High+St,+Leslie,+Glenrothes+KY6+3AX,+United+Kingdom",
"phone": "+441592328484",
"rating": 4.0,
"reviews": 81,
"menu": "https://ky6.istanbulkebabglenrothes.co.uk/Menu/",
"place_actions": [
{
"link": "https://www.google.com/viewer/chooseprovider?mid=/g/11b_3cn7rv&g2lbs=AO8LyOLimwds7mO4yfVWa6ZW3shGDqob-_c7eyWA0kZp9MMTB-F2-ORjwnHCmClmP1kKZUgBd91PS2CdNAURErGuBWvcNLknV3YQMOUkblVVWQyG9xyivac%3D&hl=en-US&gl=us&ssta=1&fo_m=MfohQo559jFvMUOzJVpjPL1YMfZ3bInYwBDuMfaXTPp5KXh-&utm_source=search&gei=RNDbaJ2UJuiIptQPn9zy6Aw&ei=RNDbaJ2UJuiIptQPn9zy6Aw&fo_s=OA,SOE&opi=89978449&ebb=1&foub=mcpp&orderType=2",
"text": "Order pickup"
},
...
],
"order_online": {
"delivery": [
{
"name": "Mealzo",
"thumbnail": "https://lh3.googleusercontent.com/9pwQoAOl7mxfTNueGpjXkTWgtLOlbAwXoUsRykwGSc8U9QH1UOw8Qtlua98H7oaWAKw",
"link": "https://mealzo.co.uk/istanbul-pizza-and-kebab-house/menu?rwg_token=ACgRB3f3MKkk4rgXVWPWspO9AJFNUlImV-EQGEOGw764OosMXzEMt7Vgr1zBW9WqozQfLP5cHTmD3J8ANtfIXnmlmNg223YehQ%3D%3D",
"delivery_time": "Delivers in 40 min",
"fee_description": "Fees may apply"
},
...
],
"pickup": [
{
"name": "Mealzo",
"thumbnail": "https://lh3.googleusercontent.com/9pwQoAOl7mxfTNueGpjXkTWgtLOlbAwXoUsRykwGSc8U9QH1UOw8Qtlua98H7oaWAKw",
"link": "https://mealzo.co.uk/istanbul-pizza-and-kebab-house/menu?rwg_token=ACgRB3c8C9yzDnYgyMxaEVdxYnXn-_2AAQgJy5af7YfRzKE8KZZ0UQ_svcf6vPfzGojm_l5HZxB9YI5XjegoA_620WuHDs7a1A%3D%3D",
"delivery_time": "Ready in 20 min"
},
...
]
},
"review_results": [
{
"link": "https://www.google.com/maps/reviews/data=!4m5!14m4!1m3!1m2!1s108912512553767864098!2s0x4886357bfeb30b17:0x51f792474247bcbd",
"text": "\"Top quality food friendly staff\"",
"rating": 5.0
},
...
],
"hours": [
{
"day": "Tuesday",
"time": "4–11:45 PM"
},
{
"day": "Wednesday",
"time": "4–11:45 PM"
},
...
],
"images": [
"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4QF8RXhpZgAASUkqAAgAAAACADEBAgAHAAAAJgAAAGmHBAABAAAALgAAAAAAAABHb29nbGUAAAMAAJAHAAQAAAAwMjIwA5ACABQAAABYAAAAhpIHAAgBAABsAAAAAAAAADIwMTc6MDk6MTEgMjI6MDU6MDEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/9sAhAADAgIKCAgICAgICAgICAgICAgICggKCAoKCAoICAgICAgI...",
"https://lh3.googleusercontent.com/p/AF1QipNheW42g_L15AGxHzn__uqiIiexVtykSNVCouTq=s294-w294-h220-n-k-no",
...
],
"popular_times": {
"live": {
"time": "5 PM",
"info": "Usually a little busy"
},
"chart": {
"monday": [
{
"time": "9 PM",
"info": "Usually not too busy",
"busyness_score": 50
},
{
"time": "10 PM",
"info": "Usually not too busy",
"busyness_score": 50
},
...
],
...
}
},
"more_information": "https://www.google.com/search?q=istanbul+glenrothes+reviews&si=AMgyJEtREmoPL4P1I5IDCfuA8gybfVI2d5Uj7QMwYCZHKDZ-E8N3AKKbQ1_8oBDG2r9LmKIZBFZ58DkIKnkRf3kir9ZE2xtIFU4Nr0Cj0eHCRVAw9l9Ga2bMiVCAwc5qPPOMU8-F6uuutbXZ-qKm6HcC-WafciavzA%3D%3D&sa=X&ved=2ahUKEwjCm6a1wYCQAxXchIkEHV17AV0Q7JgMegUIABCZAQ"
}
}
Menu Images
https://www.searchapi.io/api/v1/search?engine=google_place&kgmid=%2Fg%2F11fkptd63p
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google_place",
"kgmid": "/g/11fkptd63p"
}
response = requests.get(url, params=params)
print(response.text)
{
"place_result": {
"menu_images": [
"https://lh3.googleusercontent.com/gps-cs-s/AC9h4noeJrK6i2u0Gc8xOE9_1tf4YylW_ri4kfW79bLNlvMQ9joBCo2iNrQV7tRDPjX_EEvGYT-rgosBEmE-Af6jr_YvhcrJLD54IxWC2SRHZC7fY2jSUH4Ls4pry-HZSCcP3SMXKS0H5gU8vRcp=s112-w112-h112-p-k-no",
"https://lh3.googleusercontent.com/gps-cs-s/AC9h4noI00dX7Tc2DoXTRwjiDRR83YxulJCVYENLYbxJyvRqHfctpH_S8yS2UbqDE1Io555PAmrwnUFBIsuZwgYStwGii_vTTTT1mlvSHQwSBxeaZDRTKMl2BvWzBNhyNd99GD_LeKah6lVwx15Y=s112-w112-h112-p-k-no",
"https://lh3.googleusercontent.com/gps-cs-s/AC9h4npKVLxE1Hj4Js5sArIDPws1NQgLoTwPWSpX8pfEY0mIjE9gGWFRn0oYUVvG3IxGOLSx2d8D0RicXEuR3EdcD7LHHqzmH7LK_rzV0z9-XGZSdv_wPX-JL0ztwy8NVhNF4tsfjAWzzk6ZoqI=s112-w112-h112-p-k-no",
"https://lh3.googleusercontent.com/gps-cs-s/AC9h4nqLcXRuPpDxkPp-FVrOnzIiKUImxzYNzQt2U4uNk4TiGxAeCMqLFDOg9zHNk5n2p7ZWDCCvC0CDOlg9q0PvF69v4KFkMKxQ7Y786dNd8qnZTZQvd4jMuTlseWUBVDNPhC0aYidm=s112-w112-h112-p-k-no",
...
],
...
}
}
Popular Times
https://www.searchapi.io/api/v1/search?engine=google_place&kgmid=%2Fg%2F11gyc6jp6q
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google_place",
"kgmid": "/g/11gyc6jp6q"
}
response = requests.get(url, params=params)
print(response.text)
{
"place_result": {
"popular_times": {
"live": {
"time": "8 PM",
"info": "Usually a little busy"
},
"people_typically_spend": "People typically spend up to 2 hours here",
"chart": {
"monday": [
{
"time": "9 PM",
"info": "Usually a little busy",
"busyness_score": 50
},
{
"time": "10 PM",
"info": "Usually not too busy",
"busyness_score": 41
},
...
],
"tuesday": [
{
"time": "9 PM",
"info": "Usually a little busy",
"busyness_score": 58
},
{
"time": "10 PM",
"info": "Usually not too busy",
"busyness_score": 48
},
...
],
...
}
},
...
}
}