Step-by-step guide to scraping Google Maps

David Barton
David Barton

How to scrape data from Google Maps

We’re going to show you how to use the Apify platform and a ready-made tool called Google Maps Scraper to extract data from Google Maps. Apify’s scraper, or crawler, will enable you to scrape any information, including reviews, photos, and popular times from Google Places.

You won’t need pushpins to scrape Google Maps and get the Places data you want.

1. Sign in at Apify. If you don’t already have an account, you can sign up by using your email, Google account, or GitHub account.

Apify: the one-stop shop for all your web scraping, data extraction, and robotic process automation (RPA) needs

2. Once you log in, you’ll find yourself on your Apify Dashboard. You can do lots of useful stuff here, but let’s get on with scraping Google Maps for now.

Your Apify Dashboard

3. Click on the Store button. Apify Store is packed with free, ready-to-use web scraping and automation tools called actors. Search for Google Maps Scraper.

The Apify Store is filled with actors — cloud programs to help you scrape and automate

4. When you’re on the actor page, click Try for free.

Free and powerful Google Maps Scraper on Apify

5. Boom — now you’re back in the Apify platform, with access to your Dashboard, but now a new Task has been automatically created! You can specify parameters here for scraping Google Maps.

Actor task ready to be configured with your Google Maps URL

6. Let’s open Google Maps in a new tab and see what kind of data you can scrape and download. Maybe you’re hungry and you want some takeout, so search for that. Once Google Maps has come back with a map filled with tasty takeout places, just copy the URL.

Google Maps finds some takeout places in Prague, Czech Republic

7. Return to the Apify tab and paste the URL into the first line of the input schema in the Apify platform (in the field next to Start URLs).

8. Click on the green Save & Run button and wait for the scraping run to finish.

Your Google Maps scraping task is ready to go — just click Save & Run

9. Your task will change status to show that it is Running. Now you can just sit back and wait for the data to start rolling in. It might take a while if there are a lot of takeout places near you!

Tip: to speed up your scraping run, reduce the number of images to 0

Your task is running and scraping Google Maps for reviews, photos, and everything else it can get

10. As soon as you see that the status has changed to Succeeded, click on the Dataset tab to check your scraped search results.

Your actor run has succeeded!

11. The Dataset tab contains your data in lots of versatile formats, including HTML table, JSON, CSV, Excel, XML, and RSS feed. You can open them by clicking on View or Download. You can then share the data, or upload it anywhere you like. Use it in spreadsheets, other programs or apps, or your own projects.

Download your Google Maps data in all these useful formats
Here’s a preview of your data — you’ll see this if you click “Preview data” in the Datastet tab
And here’s the data as it will appear in JSON format — ready to be downloaded and used anywhere you want

12. Scrape more Google Maps data! Get reviews, popular times, photos and see what else you can come up with. Unlike the official Google Maps API, we don’t limit the number of results, reviews, or photos you can scrape.

One slight caveat is that Google Maps would prefer that you don’t scrape their maps, so Google will try to block you from doing it 😢

But to get around their anti-scraping measures, you can use Apify Proxy. That’s a tool to prevent Google from telling where the scraping traffic is coming from 🐱‍👤

If you get serious about scraping Maps, it will eventually start costing you at least a little cash, but in the meantime, you get one month of Apify Proxy free as soon as you sign up at Apify!

So hurry up and start using your free month with Google Maps Scraper on Apify Store.

Send us a tweet us if you do something interesting with all that data!



Great! Next, complete checkout for full access to Apify
Welcome back! You've successfully signed in
You've successfully subscribed to Apify
Success! Your account is fully activated, you now have access to all content
Success! Your billing info has been updated
Your billing was not updated