GeoScraper API Documentation - Google Map Single Place API
Google Map Single Place API
This endpoint is designed to retrieve detailed information about a single place from Google Maps.
Endpoint
- POST:
https://api.geoscraper.net/google/map/place
Headers
X-Berserker-Token
:Your_Access_Token
Request Body
- Format: JSON
- Fields:
data_id
(required): The unique identifier for the place.hl
(optional): Language parameter to specify the response language.catched
(optional): Boolean to indicate if cached data should be used.
Sample Request
import requests
url = "https://api.geoscraper.net/google/map/place"
payload = {
"data_id": "0x89c259a61c75684f:0x79d31adb123348d2",
"hl": "en",
"catched": true
}
headers = {'X-Berserker-Token': 'Your_Access_Token'}
response = requests.post(url, headers=headers, json=payload)
print(response.text)
Sample Response
{
"title": "Stumptown Coffee Roasters",
"place_id": "ChIJT2h1HKZZwokR0kgzEtsa03k",
"data_id": "0x89c259a61c75684f:0x79d31adb123348d2",
"data_cid": 8778389626880739000,
"gps_coordinates": {
"latitude": 40.7457399,
"longitude": -73.9882272
},
"provider_id": "/g/1hhw712x0",
"rating": 4.5,
"reviews": 1495,
"price": "$$",
"type": "Coffee shop",
"types": [
"Coffee shop",
"Cafe",
"Coffee store",
"Tea store"
],
"address": "18 W 29th St, New York, NY 10001, United States",
"open_state": "Closed ⋅ Opens 6:30 AM",
"operating_hours": {
"sunday": "6:30 AM–5 PM",
"monday": "6:30 AM–5 PM",
"tuesday": "6:30 AM–5 PM",
"wednesday": "7 AM–5 PM",
"thursday": "7 AM–5 PM",
"friday": "6:30 AM–5 PM",
"saturday": "6:30 AM–5 PM"
},
"phone": "+1 347-414-7816",
"website": "https://www.stumptowncoffee.com/pages/locations-new-york-ace-hotel",
"description": {
"description one": "Coffee bar serving direct-trade java",
"description two": "Coffee bar chain offering house-roasted direct-trade coffee, along with brewing gear & whole beans"
},
"thumbnail": "https://lh5.googleusercontent.com/p/AF1QipNN0dtaiANXppXmeBjiIFAfgxOU13HpfqunK5lZ=w114-h120-k-no-pi-32.059174-ya203.87148-ro8.126929-fo100"
}
Description
- The response contains detailed information about the place, including its title, ID, GPS coordinates, rating, reviews, type, address, phone number, website, and more.
Note: Replace Your_Access_Token
with your actual API access token.