Google Maps Places API
The Google Maps Places API retrieves a complete business profile for a specific location. Returns ratings, GPS coordinates, operating hours, service options, amenities, accessibility features, and payment methods.
Endpoint: https://api.scrapingdog.com/google_maps/places
API Parameters
🔑
Authentication
api_keyRequiredYour personal API key. Available on your dashboard
Type: String
🔗
Request Parameters
data_idRequiredThe Google Maps data ID for a specific location. You can retrieve it from our Google Maps Search API.
Note: You must pass at least one ofdata_id,place_id, orludocidto identify the place.
Type: Stringplace_idOptionalUniquely identifies a place on Google Maps. Available for most locations, including businesses, landmarks, parks, and intersections. You can retrieve it from our Google Maps Search API.
Note: You must pass at least one ofdata_id,place_id, orludocid.
Type: StringludocidOptionalThe CID (Customer ID) of a Google Maps business listing, also known as the Google local business ID. Can be used as an alternative todata_idorplace_idto identify a place.
Note: You must pass at least one ofdata_id,place_id, orludocid.
Type: StringcountryOptionalThis is the ISO code of the country from which you are seeking the results. Default:us. For a full list, see the Google Country Parameter.
Type: String
API Examples
curl "https://api.scrapingdog.com/google_maps/places?api_key=APIKEY&data_id=0x89c259a61c75684f:0x79d31adb123348d2"
import requests params = { "api_key": "APIKEY", "data_id": "0x89c259a61c75684f:0x79d31adb123348d2", } response = requests.get("https://api.scrapingdog.com/google_maps/places", params=params) print(response.json())
const axios = require("axios"); axios.get("https://api.scrapingdog.com/google_maps/places", { params: { api_key: "APIKEY", data_id: "0x89c259a61c75684f:0x79d31adb123348d2" } }).then(res => console.log(res.data));
<?php $params = http_build_query(["api_key" => "APIKEY", "data_id" => "0x89c259a61c75684f:0x79d31adb123348d2"]); $response = file_get_contents("https://api.scrapingdog.com/google_maps/places?" . $params); print_r(json_decode($response, true));
require "net/http" require "json" uri = URI("https://api.scrapingdog.com/google_maps/places") uri.query = URI.encode_www_form(api_key: "APIKEY", data_id: "0x89c259a61c75684f:0x79d31adb123348d2") puts JSON.parse(Net::HTTP.get_response(uri).body)
HttpURLConnection con = (HttpURLConnection) new URL("https://api.scrapingdog.com/google_maps/places?api_key=APIKEY&data_id=0x89c259a61c75684f:0x79d31adb123348d2").openConnection(); con.setRequestMethod("GET");
{
"title": "Blue Bottle Coffee",
"rating": 4.5,
"reviews": 1568,
"gps_coordinates": {
"latitude": 40.7455096,
"longitude": -74.0083012
},
"type": [
"Coffee shop",
"Cafe"
],
"address": "450 W 15th St, New York, NY 10011",
"phone": "+1 212-989-2494",
"website": "https://bluebottlecoffee.com/",
"operating_hours": {
"Monday": "7 AM–7 PM",
"Tuesday": "7 AM–7 PM",
"Wednesday": "7 AM–7 PM",
"Thursday": "7 AM–7 PM",
"Friday": "7 AM–7 PM",
"Saturday": "8 AM–6 PM",
"Sunday": "8 AM–6 PM"
},
"service_options": {
"dine_in": true,
"takeout": true,
"delivery": false
},
"amenities": {
"wifi": true,
"restroom": true,
"seating": true
},
"accessibility": {
"wheelchair_accessible_entrance": true,
"wheelchair_accessible_seating": true
},
"payment_options": {
"credit_cards": true,
"debit_cards": true,
"nfc_mobile_payments": true
}
}