How to extract emails, social profiles, phone numbers and addresses from Google Maps API

How to complete your contact database with phone numbers, emails, addresses, ZIP codes, and social media details from places registered on Google Maps.

Content

Hey, we're Apify. You can build, deploy, share, and monitor any scrapers on the Apify platform. Check us out.

Sometimes, you might notice that the contact details of places on Google Maps seem incomplete. Hereโ€™s a tutorial on how to complete your database with phone numbers, emails, addresses, ZIP codes, and social media details from places registered on Google Maps.

๐Ÿ—บ Does Google Maps include all business contact details?

No. Google Maps is an ever-expanding database of free business data: marketers can find place names, addresses, phone numbers, and official websites. However, Google Maps does not provide information on business email addresses or social media accounts to reach out through.

Luckily, most businesses do list their contact details in one place โ€” their websites โ€” which are often mentioned on their Google Maps detail cards. For instance, this New York place does not indicate their email or socials on Google Maps but lists their official website.

A Google Maps place usually contains its address, phone number, and website. To find more contact details, one needs to actually visit their website.
A Google Maps place usually contains its address, phone number, and website. To find more contact details, one needs actually to visit their website.

When we head over to their website and its Contact section, we can often find all the missing contact details. So will we go with this flow for every place we are interested in?

Placeโ€™s website contains its email address, Facebook and Instagram.
Placeโ€™s website contains its email address, Facebook and Instagram.

No, let's save time and use a tool to extract and combine the basic contact information from Google Maps with extra contact info found on placesโ€™ websites. Using Google Maps Email Extractor ๐Ÿ”—, you can extract business contact data from Google Maps on a large scale. The tool allows you to retrieve not only comprehensive contact information, including business address, all listed phone numbers, emails, and social account names, but also any other listed details from companies registered on the platform.

๐Ÿคจ How does the Google Maps Email Extractor work?

Google Maps Contact Details Scraper combines the capabilities of three tools: Google Maps Scraper ๐Ÿ”—, Contact Details Scraper ๐Ÿ”—, and the Merge, Dedup & Transform Datasets Actor ๐Ÿ”—. Here's how the process works:

  1. Google Maps Scraper extracts available business data from Google Maps ๐Ÿ“
  2. Contact Details Scraper visits the businesses' websites and supplements contact details with missing info.
  3. Merge Datasets Actor cleans up the dataset, removes duplicates (phone number, for instance), and keeps only the most important Google Maps contact data.
๐Ÿ—บ
Want to learn more about the Google Maps Scraper itself? Here's a tutorial โžœ

โ˜Ž๏ธ What contact details from Google Maps can I get with this tool?

Here's the contact data you can get using Google Maps Email Extractor ๐Ÿ”—

๐Ÿ“ addresses (city, country, ZIP code)
โ˜Ž๏ธ phone numbers
๐Ÿ“ฉ emails
๐ŸŒ indicated website
๐Ÿ“ฑ social media links: Instagram, YouTube, Facebook, LinkedIn, and Twitter handles
โญ๏ธ all the other information available on Google Maps: place name, description and URL, reviews, geolocation, delivery options, popular visiting times, etc.

๐Ÿฅพ How to export business contacts and emails from Google Maps

To extract comprehensive contact details from Google Maps, follow these steps:

  1. Open Google Maps Scraper in the Apify Store.
  2. Provide input for Google Maps Scraper to scrape: location, search query, or place URL.
  3. Copy the Google Maps dataset ID containing the extracted information.
  4. Open Google Maps Email Extractor and paste the copied ID into the input field.
  5. Start the extractor, then preview and download the dataset containing Google Maps emails, addresses, and social media details.

Now, let's go more in-depth on each of these steps.

Step 1. Use Google Maps Scraper to extract place data

We can use Google Maps Scraper ๐Ÿ”— to crawl Google Maps and extract information. Google Maps Scraper is a powerful web scraping tool that allows you to extract contact details from Google Maps on a large scale. This tool will scrape all places data from the chosen area on Google Maps.

Here's how you can use this tool to extract contact details: you can provide the URL of the place you want to scrape as input to the scraper. Or fill in the scraper input yourself.

Google Maps Scraper's page on Apify Store.
Step 1. Use Google Maps Scraper to extract place data.
Input for Google Maps scraper to scrape data from 200 restaurants in NYC
Input for Google Maps scraper to scrape data from 200 restaurants in NYC
Extracted data from 200 restaurants in NYC.

The dataset will already contain contact information with the data available on Google Maps cards: address, phone, and website. Now, letโ€™s add the emails, socials and company phone numbers to complete the set.

Step 2. Copy the Google Maps dataset ID

Copy the task, run, or dataset ID with the extracted information from the Google Maps Scraper.

Step 2. Copy the Google Maps dataset ID
Step 2. Copy the Google Maps dataset ID.

Step 3. Open Google Maps Email Extractor tool

In Apify Console, head to the Store tab and navigate to Google Maps Email Extractor. You can find it in the Lead generation section or by searching.

Search for maps email in Store brings us to Google Maps Email Extractor Tool.
Step 3. Open Google Maps Email Extractor tool

Step 4. Paste the ID into Google Maps Email Extractor input

Then, paste the ID into the designated field of Google Maps Email Extractor ๐Ÿ”— and click on Start.

Step 4. Paste the ID into Google Maps Email Extractor input
Step 4. Paste the ID into Google Maps Email Extractor input

It might take some time for the scraper to finish its job, depending on the length of your dataset.

Step 5. Get the emails, addresses, and social media details

Once the scraping process is complete, you can preview and download the dataset containing the extracted contact details.

Example of a large Google Maps dataset containing 200 contacts of scraped NYC restaurants. To see the extracted business data, seek out Contact Details column
Example of a large Google Maps dataset containing 200 contacts of scraped NYC restaurants. To see the extracted business data, seek out Contact Details column

Step 6. Download the contact details dataset

You can also clean up your dataset before exporting it. Since the dataset can contain many fields from Google Maps, it might be convenient to preselect the fields format you want to keep in your final dataset. You can download your data in any of the given formats: Excel, XML, JSON, CSV, HTML.

Step 6. Download the contact details dataset
Step 6. Download the contact details dataset.

๐Ÿ–‡ How to use the extracted contact details from Google Maps

Extracting contact details from Google Maps can be incredibly useful in various scenarios, including:

Our Google Maps scrapers are ethical and do not extract private user data. They only extract what businesses have chosen to share publicly on the web.

However, you should know that some results, such as reviews, could contain personal data. You should not scrape personal data unless you have a legitimate reason. For legitimate details, read our blog post on the legality of web and ethical scraping.

โ“FAQ

โฌ‡๏ธ Do I need to install an extension to scrape contacts from Google Maps?

No. Google Maps Email Extractor runs in the cloud, you donโ€™t need to install anything. All you need to do to start using the tool is to create a free Apify account using your email.

๐ŸŒ† Can I scrape an entire city for contact details?

Yes. But this type of Google Maps scraping will take some time and resources. You can extract all places in that area or a specific type of place (restaurants, museums, cafes, universities, hospitals, grocery shops, pharmacies, etc.) Moreover, you can scrape an entire country for contact details, too. Just don't forget to use Google Maps Email Extractor ๐Ÿ”— to get all the contact details missing from Google Maps.

๐ŸŒ†
For detailed instructions on how to scrape data from an entire city or restaurant chains across the country, follow this manual โžœ

๐Ÿง‘โ€๐Ÿณ Can I scrape restaurant chains and their contact details?

Yes. You can scrape, for instance, all Starbucks or all McDonald's in the area by using the Search options parameter in Google Maps Scraper ๐Ÿ”—. Then, enhance your dataset with all the contact details with Google Maps Email Extractor ๐Ÿ”— as we did in this tutorial.

How to scrape restaurant chains from a city, state or country.
How to scrape restaurant chains from a city, state or country.

๐Ÿ›ฐ Can I extract longitude and latitude from Google Maps?

Yes, every place on Google has longitude and latitude assigned to them. You can easily scrape those using Google Maps Scraper ๐Ÿ”—.

๐Ÿ†” Can I scrape specific Google Maps places by place ID?

Yes. Google Maps Business Scraper ๐Ÿ’ผ is the best web scraping tool for that. Instead of search queries, this scraper takes place IDs or place URLs as input. It then delivers place data including contact details, prices, categories, opening hours, menus, & more.

๐Ÿ’Œ Can this scraping tool extract emails from any website?

No. Google Maps Scraper and Google Maps Email Extractor can extract contact details only from google.com/maps website. To learn how to extract addresses, emails and social media details from other websites, follow this guide with Contact Details Scraper.

๐Ÿ“ก Can I scrape entire areas of Google Maps for contact details?

Yes. If your area has a name (City, State, or Country), you can scrape Google Maps places by simply inputting the name. But you can also extract data by geolocation (multiple longitude and latitude points). you can create irregular shapes for specific areas on the map, such as circles, squares, and polygons. We recommend using Geojson.io for an easy coordinates definition and following our guide to see how to apply those coordinates in Google Maps Scraper ๐Ÿ”—. You might also find this video guide helpful:

Natasha Lekh
Natasha Lekh
Crafting content that charms both readers and Googleโ€™s algorithms: readmes, blogs, and SEO secrets.

Get started now

Step up your web scraping and automation