Google Maps scraping manual: how to extract reviews, images, restaurants, and more 📍 📚
Tags: googlemaps, dataextraction
Published: 2023-10-25 08:50:54

---
title: Google Maps scraping manual: how to extract reviews, images, restaurants, and more 📍 📚
published: true
date: 2023-07-25 22:00:00 UTC
tags: googlemaps, dataextraction
canonical_url: https://blog.apify.com/google-maps-scraping-manual/
---

Welcome to your comprehensive guide to extracting valuable data from Google Maps. In this manual, we will walk you through various techniques and tools to help you scrape images, extract restaurant data, gather contact details, scrape reviews, and much more.

**We're** [**Apify**](https://apify.it/platform-pricing) **. You can build, deploy, share, and monitor any scrapers on the Apify platform.** [**Check us out**](https://apify.it/platform-pricing) **.**

Welcome to your comprehensive guide to extracting valuable data from Google Maps. In this manual, we will walk you through various techniques and tools to help you scrape images, extract restaurant data, gather contact details, scrape reviews, and much more. Whether you're a researcher, developer, or simply someone looking to make good use of publicly available Google Maps data, this manual is designed to assist you in achieving your data-related goals.

## **What is this manual for?**

📍 [Google Maps Scraper](https://apify.com/compass/crawler-google-places) was one of the first Apify scrapers developed. As the Google Maps website underwent changes and evolved over time, our scraper adapted to reflect those changes and make sure it extracted high-quality Google Maps data.

Over the years, our scraper has gained a fan base of over 45,000 users, along with numerous new features. Many of these features may not be immediately apparent due to the complexity of the scraper. So we've created this manual to help you out with specific Google Maps scraping cases. We do, however, have other general tutorials on how to use the scraper:

- [How to scrape data from Google Maps](https://blog.apify.com/step-by-step-guide-to-scraping-google-maps/): general tutorial on scraping Google Maps

- [How to scrape Google Maps by URLs](https://blog.apify.com/google-maps-how-to-overcome-google-api-limit-120-places/), coordinates or other geolocation parameters

- [How to extract emails](https://blog.apify.com/how-to-extract-emails-from-google-places/), social profiles, phone numbers and addresses from Google Maps

- [How to extract gas prices](https://blog.apify.com/how-to-scrape-gas-prices-near-me-with-google-maps) from Google Maps

- [Google Maps webinar](https://www.youtube.com/watch?v=tVJS0hAAu7A) with a demo of using Google Maps Crawler

{% embed https://youtu.be/tVJS0hAAu7A %}


Feel free to explore them. If you notice that the manual might be lacking a case or that the guide instructions don't work for you, please let us know.

## **Restaurants**

### **👩🍳 How to extract restaurant data from Google Maps?**

By using 📍 [Google Maps Scraper](https://apify.com/compass/crawler-google-places). All you have to do is put _restaurants_ into the **Search term** field, City name in the **Location** field, and **Number of results**. The resulting dataset will contain the scraped restaurants from the city you've indicated.

![](https://blog.apify.com/content/images/2023/07/google-maps-download-restaurant-data.png)

![Scrape all restaurants from the city you've indicated.](https://blog.apify.com/content/images/2023/06/Restaurant-data-scraped-from-Google-Maps.png)

**_Put restaurants into Search term field, City name in the Location field, and Number of results. Then scrape all restaurants from the city you've indicated._**

### **🍟 How to scrape restaurant chains?**

📍 [Google Maps Scraper](https://apify.com/compass/crawler-google-places) allows you to easily scrape not only restaurants in general but also restaurant chains such as McDonalds or Starbucks. All you have to do is use an input for **scraping places that are called the same way**. First of all, you should put the name of the chain in **Search terms,** and add **Location** and **Number of results.**

Then scroll down to 🔍 **Search options** and choose to scrape only places that include the search term in their title. Click **Start**. After the scrape, you should get a result with all franchise restaurants in one dataset.

![](https://blog.apify.com/content/images/2023/07/how-to-data-mine-all-mcdonalds-locations.png)

![](https://blog.apify.com/content/images/2023/07/how-to-scrape-restaurants-in-us.png)

![](https://blog.apify.com/content/images/2023/07/starbucks-locations-google-maps-data.png)

**_To scrape a franchise from Google Maps, indicate its name and location. Then make a change in the Search options._**

### **🥘 How to scrape restaurant menus from Google Maps?**

You can use Google Maps scraper to scrape cafes, restaurants, pubs, and any other gastronomic spots. Theres no need to specify menu scraping in input, you can scrape restaurants as usual any amount and anywhere you want. The output dataset will contain the links to menus if they are indicated on Google Maps.

![](https://blog.apify.com/content/images/2023/07/google-maps-menu.png)

![You can find the menu URL in the scraped dataset in restaurants include it on their Google Maps card](https://blog.apify.com/content/images/2023/06/Menu-Google-Maps-scraping.png)

**_You can find the menu URL in the scraped dataset in restaurants include it on their Google Maps card_**

## **Contact Details**

### ☎️ **How to extract phone numbers from Google Maps?**

Use [Google Maps data extraction tool](https://apify.com/compass/crawler-google-places). No matter what, where, and how you will decide to scrape using this tool (by URL, search term+location or coordinates), it will make sure you **always** get phone numbers and addresses of the places you were targeting. As long as these listings mention their contact details on Google Maps website, you will be able to extract them by default.

Here's an example of extracting phone numbers from 100 places that sell bagels in NYC:

![Example of extracted phone numbers from 100 places that sell bagels in NYC](https://blog.apify.com/content/images/2023/07/scrape-leads-from-maps.png)

**_Example of extracted phone numbers from 100 places that sell bagels in NYC_**

To make sure you get **all** listed phone numbers from business listings in Google Maps (not only the default ones), you might want to run the [Google Maps Email Extractor](https://apify.com/lukaskrivka/google-maps-with-contact-details) on top. It will visit the websites of these listings and get all the phone numbers mentioned there.

![Enhanced dataset containing all phone numbers from Google business listings](https://blog.apify.com/content/images/2023/07/Get-phone-numbers-from-business-listings-on-Google-Maps.png)

**_Enhanced dataset containing all phone numbers from Google business listings_**

### **📍How to scrape Google Maps for addresses?**

Use [Google Maps data extraction tool](https://apify.com/compass/crawler-google-places). No matter what method, location, or scraping technique you choose (by URL, search term or coordinates), this tool will make sure you always extract the addresses of the places you're targeting. As long as those listings have their contact info listed on the Google Maps website, you'll be able to extract them without any hassle.

![Example of location and address scraped from Google Maps](https://blog.apify.com/content/images/2023/07/Extract-addresses-from-Google-Maps.png)

![](https://blog.apify.com/content/images/2023/07/Extract-restaurant-addresses-from-Google-Maps.png)

**_Example of location and address scraped from Google Maps: one place vs. 200 places_**

If you want to enhance the addresses from business listings on Google Maps with their social media details, you should add the [Google Maps Email Extractor](https://apify.com/lukaskrivka/google-maps-with-contact-details) on top. It goes the extra mile by visiting the websites linked to those listings and snatching up all the socials mentioned there: Facebook, Twitter, Instagram, etc. It's a great way to create a relevant database full of contact details.

![Example of social media details scraped from listings on Google Maps](https://blog.apify.com/content/images/2023/07/scrape-social-media-from-google-maps.png)

**_Example of social media details scraped from listings on Google Maps_**

### **📩 How to extract emails from Google Maps?**

Your best bet is to use the [Google Maps Scraper](https://apify.com/compass/crawler-google-places) and then [Google Maps Email Extractor](https://apify.com/lukaskrivka/google-maps-with-contact-details). The reason for using two tools is, you cannot scrape business emails from Google Maps directly. You have to visit every place on Google Maps separately, see if they indicate their website address, and then visit these websites one by one to check for email in Contact Us section. The process of visiting every place is covered by the Maps Scraper and the process of [web scraping](https://apify.com/web-scraping) every website of that place by the Email Extractor.

> 📮 **You can read how we've extracted emails from Google Maps businesses along with their social media profiles** [**in this tutorial**](https://blog.apify.com/how-to-extract-emails-from-google-places/) **.**

![Extracted emails from restaurants on Google Maps](https://blog.apify.com/content/images/2023/07/scrape-business-emails-from-google-maps.png)

**_Extracted contact details from restaurants on Google Maps_**

### ⬇️ **Can I download emails of Google Maps business listings in Excel?**

Yes. After extracting contact data from Google Maps you can also filter and download it in Excel. In order to do that, pick relevant categories in **Selected fields** (such as contactDetails, address, phone, etc.) and the file format you prefer.

![An example of filtering out contact details on Google Maps and downloading them in Excel](https://blog.apify.com/content/images/2023/07/scrape-google-maps-business-listings.png)

**_An example of filtering out contact details on Google Maps and downloading them in Excel_**

## **Reviews**

### **🌟 How to scrape Google reviews?**

The easiest way is to use the reviews option in📍 [Google Maps Scraper](https://apify.com/compass/crawler-google-places). First pick places to scrape either by URL or search term. Then you can set up everything around reviews, starting from review freshness, URL, and number of them per place to the reviewer's details. You can also scrape only reviews containing specific keywords and sort them by relevance, ranking, or newness.

As a result, you'll get a dataset with Google reviews and all information surrounding them: review text, the response from the owner, number of upvotes, posting time, how often reviewer leaves reviews, and whether the review is marked as a Local Guide on Google Maps. For our example, we've decided to scrape Google restaurant reviews.

![](https://blog.apify.com/content/images/2023/07/scrape-google-maps-reviews-python.png)

![An example of reviews extracted from Google](https://blog.apify.com/content/images/2023/06/Export-reviews-only-from-Google-Maps.png)

**_Fill out the Reviews part of the input to get Google review data_**

### ⬇️ **Can I download only the reviews from Google Maps in Excel?**

Yes. If youve extracted all kinds of Google Maps data, and you dont want to clean the dataset for reviews, you can do it directly on the platform. To preview the reviews before downloading them just pick the **Reviews**  **tab** in **Output**. Now to only download Google reviews, all you have to do is choose **Reviews** in **Export** tab and Excel format.

![](https://blog.apify.com/content/images/2023/07/google-maps-api-get-reviews.png)

![](https://blog.apify.com/content/images/2023/07/google-maps-business-reviews.png)

**_Pick the Reviews tab in Output. Choose to download Google Reviews in Export tab._**

## **Categories**

### **🚁 Can I scrape Google Maps by categories?**

Yes. You can choose from **over 2,500 official Google Maps place categories**. From car dealerships and dollar stores to book shops and air taxis you can find them all in one long drop-down list. Main advantages include:

- more convenient search

- one-word categories or two-word subcategories

- adding as many categories as you want at once

- combining search words with category or only using category

You can give it a try in the **🔍 Search filters & categories** section:

![2,500+ official Google Maps place categories to choose from](https://blog.apify.com/content/images/2023/10/Can-I-scrape-Google-Maps-by-categories-.gif)

**2,500+ official Google Maps place categories to choose from**

## **Visualizations**

### **🗺 Can I visualize data scraped from Google Maps?**

Yes. You can view your scraped data on a map as you're extracting it and export it later. Visualization of your data on OpenStreetMap can always be found in Live View tab. After the run has finished, you'll find your map safe and sound in Key-Value Store as `results-map.html` file for further use.

![Visualization of data extracted from Google Maps](https://blog.apify.com/content/images/2023/10/Can-I-visualize-data-scraped-from-Google-Maps-1.gif)

**Visualization of data extracted from Google Maps**

The data you extract from Google Maps with📍 [Google Maps Scraper](https://apify.com/compass/crawler-google-places) is highly adaptable. You can export it in JSON, CSV, HTML, and XLS and plug it into any visualization tool or platform of your choice. Here's an example of how we used scraped gas prices with kepler.pl

{% embed https://natashalekh.github.io/kepler.gl(1).html %}


## **Big ambitions**

### **🌆 Can I scrape an entire city on Google Maps? I want to extract all places.**

Yes. You can scrape all the Google places from the city by using special parameters on 📍 [Google Maps Scraper](https://apify.com/compass/crawler-google-places). Bear in mind, it's going to take some time. However, all you need to provide is the name of the city and a big number. Then scroll down to choose the **Scraping places without search terms** -> **Scrape by OCR tool** in the dropdown list.

![](https://blog.apify.com/content/images/2023/07/scrape-data-from-google-maps-and-input-it-into-google-sheets-1.png)

![](https://blog.apify.com/content/images/2023/07/scrape-google-maps-free.png)

**_Example of input of how to scrape all places from a city on Google Maps_**

Here's an example of [web scraping](https://apify.com/web-scraping) all places on Google Maps from Albuquerque, New Mexico. As you can see from the dataset, we have gotten a wide range of places that include but are not limited to sculptures, mailing services, airlines, and restaurants. We've got 459 places in total and although it took us over an hour and much of our memory, scraping an entire city cost us only $2.50 in credits. This means you can scrape an entire city basically for free within the **Free plan**.

![Example of scraping all places from an entire city. no code scraping solution](https://blog.apify.com/content/images/2023/07/scrape-google-local-places-results.png)

**_Example of scraping all places from an entire city_**

### **🌐 Can I scrape an entire country on Google Maps?**

Yes. All you have to provide are the search terms and the name of the country in Google Maps Scraper tool. Set the maximum number as high as possible and you're all set. Here's an example of scraping all hospitals across Switzerland.

![Example of scraping all hospitals across Switzerland.](https://blog.apify.com/content/images/2023/07/google-maps-scraping-hospital.png)

**_Example of scraping all hospitals across Switzerland_**

It took us almost an hour but we've got all the hospital facilities in Switzerland, which ended up being 166. We have their general info, contact info, location, rating, and if we want to we can add reviews as well. Crawling Google Maps and extracting that data across the entire albeit small country cost us only $1.70 credits.

![Example of extracting Google Maps data across the territory of an entire country](https://blog.apify.com/content/images/2023/07/scrape-google-maps-search-results.png)

**_Example of extracting Google Maps data across the territory of an entire country_**

### **🏙 Can I scrape only cities and skip unpopulated areas on Google Maps?**

Yes. You can extract more places from Google Maps with the **Deeper region scrape option** in Google Maps Scraper. If you're extracting maps data from countries like Australia or Canada, or just regions with vast areas of low population, this feature will be essential for uncovering every single Google Maps place.

With this setting, the scraper will skip unpopulated areas; this includes deserts, forests, mountains, lakes. The scraper will instead focus on the places that actually include Google Maps pins - which are usually cities. The areas will be divided into cities and zoomed in enough, ensuring you don't miss a single pin on Google Maps.

![Setting for city-focused scraping on Google Maps](https://blog.apify.com/content/images/2023/07/How-to-scrape-only-cities.png)

**_Setting for city-focused scraping on Google Maps_**

Note: enabling this feature may increase runtime, as more places will be extracted. But trust us, it's worth it since you'll be able to efficiently scrape huge areas like states or even an entire continent!

## **Sentiment analysis**

### **🌹 Can I use this tool to do sentiment analysis of Google Maps reviews?**

You can combine the capabilities of [Google Maps Reviews Scraper](https://apify.com/compass/google-maps-reviews-scraper) and 🤖 [AI Text Analyzer](https://apify.com/geneea-analytics/reviews-text-nlp-analyzer) to do full-text analytics of Google reviews. You can scrape any type of reviews you'd like: Google restaurant reviews, museum reviews, business reviews, etc., ratings, and replies from business owners. However, for Google sentiment analysis, it's not enough just to just scrape the reviews. The second Actor is a text analysis tool built to go through the whole dataset and identify the most important attributes of each review. That way the dataset will be ready to be further processed by any sentiment analysis tools of your choice.

> 🏰 **You can read how we've analyzed** [**hundreds of negative Google reviews**](https://blog.apify.com/text-analyzer-tool-google-reviews/) **using the AI text analysis tool mentioned above.**

![Example of extracted Google reviews that are pre-processed for sentiment analysis](https://blog.apify.com/content/images/2023/07/ai-text-analyzer-for-google-reviews.png)

**_Example of extracted Google reviews that are pre-processed for sentiment analysis_**

## **Geolocation**

### **📡 How to extract longitude and latitude from Google Maps places?**

It's enough to scrape a place on Google Maps using📍[Google Maps Scraper](https://apify.com/compass/crawler-google-places). Usually, the Google Maps URLs already include the coordinates of any chosen place. All we have to do is to extract them.

![](https://blog.apify.com/content/images/2023/07/geolocation-google-maps.png)

**_An example of Google Maps coordinates already seen in the URL_**

Head over to **Google Maps URL 🔗** section and copy-paste the URL of Google place that interests you. You can add as many places as you need coordinates from. In the dataset, you'll see both longitude and latitude of the place.

![](https://blog.apify.com/content/images/2023/07/Screenshot-2023-07-04-at-13.23.33.png)

![](https://blog.apify.com/content/images/2023/07/Screenshot-2023-07-04-at-13.24.52.png)

**_Extracted longitude and latitude of the Google Maps_**

The scraper will extract geolocation data even if you use the first section with Search, Location, and number of results. The option with URLs is just more specific to easier to demonstrate the scraping results on.

## **Specific Google Maps data**

### **📇 How to get Google place id?**

Every place on Google Maps has a `placeid` tied to it, a unique identifier in the Google Maps database. Place IDs are a part of the URL and are really useful for organizing your Google Maps data. Knowing just the ID, you can retrieve the whole information about the place from Google Maps. You can extract placeid using 📍 [Google Maps Scraper](https://apify.com/compass/crawler-google-places). No matter which way you will chose to scrape the places (by URL, geolocation or search term), the dataset will always include a placeid. Here's an example of placeid after scraping Vasco da Gama Bridge.

![Where to find a place id in Google Maps dataset](https://blog.apify.com/content/images/2023/07/google-place-id-finder.png)

**_Where to find a place id in the Google Maps dataset_**

If you have a dataset with many places scraped and you want to keep only a few fields such as place name and place ID, simply **preselect the fields you prefer** before downloading them.

![](https://blog.apify.com/content/images/2023/07/How-to-get-Google-place-id-1.png)

![](https://blog.apify.com/content/images/2023/07/google-my-business-place-id-1.png)

**_Example of sorting the dataset that contains 200 scraped places to get only their titles and place ids_**

## **Google Maps Images**

### **📸 How to scrape Google Maps images and photos?**

To scrape images from Google Maps places, you will need to use two Actors: 📍 [Google Maps Scraper](https://apify.com/compass/crawler-google-places) to extract the images and ⬇️[Download Images from Dataset](https://apify.com/zuzka/download-images-from-dataset) Actor to download them in bulk. You need the second Actor because the scraper will extract not the image files but only their URLs. Since you wouldnt want to open each image URL and Save the image as a file, the ⬇️[Download Images from Dataset](https://apify.com/zuzka/download-images-from-dataset) is here to do it for you. Alternatively, you can build a [Google Images Scraper](https://apify.com/templates) yourself.

In short, this is your action plan:

1. **Extract data from Google places to make a dataset**

2. Open the 📍 [Google Maps Scraper](https://apify.com/compass/crawler-google-places).

3. Configure the scraper to extract data from the places, including the images.

4. Run the scraper and find the dataset containing extracted Google Maps data.

5. Note the dataset ID for future reference.

![](https://blog.apify.com/content/images/2023/07/How-to-scrape-images-from-Google-Maps.png)

![Here's where you can find the ID of your dataset](https://blog.apify.com/content/images/2023/06/Google-Maps-image-download.png)

**2. Find the image attribute**

![Image attribute of Google Maps](https://blog.apify.com/content/images/2023/06/download-images-from-Google-Maps-.png)

**_Image attribute of Google Maps_**

- Preview the resulting dataset in JSON.

- Use Ctrl+F or Cmd+F to find a specific attribute with image URLs. Typically for Google Maps data, this field is called `imageUrls`

**3. Move on to image download**

![Open Download Images from Dataset and copy the dataset ID and image field](https://blog.apify.com/content/images/2023/06/Google-Maps-download-images.png)

**_Open Download Images from Dataset and copy the dataset ID and image field_**

- Open [Download Images from Dataset](https://apify.com/zuzka/download-images-from-dataset) Actor.

- Copy the dataset ID from the previous steps and paste it into the respective field.

- Paste the image field (e.g. `imageUrls`) into the other field.

- Specify the number of images you want to download.

- Click **Start**.

Open [Download Images from Dataset](https://apify.com/zuzka/download-images-from-dataset). Paste dataset ID and `imageUrls`into the fields, choose number of images, and click **Start** to download.

**4.⬇️ Download the images**

![Click on result to download zip with all the images from Google Maps](https://blog.apify.com/content/images/2023/06/Download-images-from-URL.png)

**_Click on result to download a zip folder with all the images from Google Maps_**

- Click on Zip File URL to start downloading the images from Google Maps.

If in doubt, follow the steps in the ⬇️[Download Images from Dataset](https://apify.com/zuzka/download-images-from-dataset) readme.

### **🌟 How to scrape images from Google Maps reviews?**

Scraping images from Google Maps reviews can provide valuable insights and visual content for your projects. In this part of the manual, we will guide you through the process of scraping images from Google Maps reviews using the necessary tools and steps. Here's your action plan to get started.

**Get the required tools:**

- 📍 Google Maps Scraper: this tool will help you extract the reviews and relevant information from Google Maps.

- ⬇️ Download Images from Dataset Actor: this Actor will assist you in downloading the images in bulk from the dataset.

1. **Extract reviews and create a dataset**

- Open the 📍 [Google Maps Scraper](https://apify.com/compass/crawler-google-places) tool.

- Set up the scraper to extract the places, their reviews, and images.

- Run the scraper and open the dataset to check for images and reviews.

- Note the dataset ID for future reference.

![Set up Google Maps Scraper to scrape reviews and their images](https://blog.apify.com/content/images/2023/06/Google-Maps-download-pictures-from-reviews.png)

**_Set up Google Maps Scraper to scrape reviews and their images_**

**2. Identify the image field**

![Image attribute of Google Maps reviews](https://blog.apify.com/content/images/2023/06/reviewImageUrls.png)

**_Image attribute of Google Maps reviews_**

- Open the resulting dataset containing the extracted reviews.

- Find the specific attribute that holds the image URLs of reviews. Typically for Google Maps reviews, this field is named `reviewImageUrls`

**3. Move on to image download**

![Copy the dataset ID containing reviews and review image attribute](https://blog.apify.com/content/images/2023/07/google-maps-image-data-api.png)

**_Copy the dataset ID containing reviews and review image attribute_**

- Open the [Download Images from Dataset](https://apify.com/zuzka/download-images-from-dataset).

- Copy the dataset ID from the previous steps and paste it into the respective field.

- Paste the image field (e.g., `reviewImageUrls`) into the appropriate field.

- Specify the number of images you want to download (if needed).

- Click **Start** to initiate the image download process.

**4. Download the images**

![Click on result to download a zip folder with all the images from Google Maps reviews](https://blog.apify.com/content/images/2023/07/google-maps-images-download.png)

**_Click on result to download a zip folder with all the images from Google Maps reviews_**

- After the download process completes, click on the _Zip File URL_.

- This will download a zip file containing all the images from the Google Maps reviews.

If you encounter any issues with the part of downloading images in bulk, check the visual instructions in the [Actor's readme](https://apify.com/zuzka/download-images-from-dataset).

## **That's it - you're ready to scrape Google Maps!**

We hope this guide has equipped you with the knowledge and tools necessary to effectively scrape, extract, and analyze data from Google Maps. Whether you're interested in scraping images, extracting contact details, or delving into specific Google Maps data, you now have the know-how to embark on your own scraping journey.

Remember, with each data extraction, it's important to ensure compliance with Google's terms of service and respect the privacy and rights of others. As technology evolves, so do the possibilities offered by Google Maps. Stay curious, explore new features, and continue to leverage the wealth of information available through this powerful platform.

🛸If you still want more Google Maps scraping tips, how about finding out [how to scrape Area 51 on Google Maps](https://blog.apify.com/how-to-scrape-area-51-web-scraping/)?