Table of Contents

Why Hotels or Other Businesses on Google Maps?

Google Maps Search Query

Every hotel with millions of potential customers benefits from listing its business on Google Maps. A significant part of hotel data comes from the owners or managers of the hotels. Another part is supplied by enthusiastic customers. This makes Google Places the best source of truth for hotels and other categories (e.g., restaurants, bars, shopping malls, etc.).

Ok, Google Does Have It, but How Can I Get the Data?

The first thing that comes to mind for those who understand scraping is to scrape the data. Google Maps scraping, harvesting, or extracting is a process of getting all the information about places (name, address, coordinates, site, phone, working hours, etc.) from the Google Maps site. It automates the manual exporting of data and saves a lot of time for marketing teams.

4 Ways to Scrape Google Places

There are several ways to get the data into a CSV or Excel file:

The first option will work if you have a few years of experience in the scraping field and the resources to build and maintain the scraper. Be prepared to handle Google protection with browser emulators/proxies/reCaptcha solvers, etc.

Using the official Google Places API will be a good option but might be costly for small teams. Moreover, the fields are limited, but fortunately, you can still get some main data like names, coordinates, addresses, etc.

Hiring a freelancer can work, although you must maintain a relationship with them. Make sure the freelancer doesn’t disappear after Google updates its security and you want to fix the program.

Using an existing cloud scraper like Google Maps scraper will be the ultimate option, as it will not require any developer’s skills and the prices are much lower than using the Official API. You can get the results in a CSV/XLSX file. The results contain a variety of fields, including phone numbers, emails, social links, etc.

The Challenge of Scraping the Hotels From the Entire Country

If you open a query like “hotels near NYC, NY, USA,” you will see only about 500 places for your search. Since Google Maps limits the number of results to a single search query, you will only see some hotels (unless it’s a city with fewer than 500 hotels).

Result Limit on Google Maps

Therefore, the challenge of getting all the results from a country is to create a list of queries that will search for specific places in some limited areas.

What Queries Do You Need to Scrape Hotels From the US?

The solution will be a combination of different categories (Hotel, Family Hotel, Luxury Hotel, etc.) along with locations split into small areas (neighborhoods, counties, etc.), for example:

  • McDonald’s, Albany, New York, United States
  • McDonald’s, Amherst, New York, United States

Additionally, you can use postal codes to create precise queries. Using this approach will allow you to use only one business category, for instance:

  • Hotels, 04781, CA, US
  • Hotels, 04783, CA, US
  • Hotels, 04785, CA, US
  • Hotels, 04786, CA, US

Categories

The entire list of all the categories in Google Places can be found here. In this example, we are using Google Maps scraper, so we don’t need to combine the categories with locations now. Moreover, as we are going to use postal codes, it will be enough to use only one main category, “hotel”:

Categories Selection

Locations

The ideal location will be a postal code with a city and a country name. Using small cities or neighborhoods will also work great. If you are using Outscraper, there is no need to find postal codes or a list of cities. Just select the required regions from the dropdown. You can also use this file to get all the locations and use it inside any other app:

Location Selection

To specify the locations manually, use the “custom locations” checkbox and insert the data from any table you have. Make sure you have a country name inside each location. This will help the scraper find the places regardless of the IP address it’s using:

Custom Locations

Advanced Parameters

While using Google Maps scraper you can select the language, the total number of places limit, and whether to extract additional data from places’ websites or not. Consider selecting the region to eliminate any other countries that might appear from cities with ambiguous names.

You also might want to use “Drop duplicates” so you will ignore duplicate items within a single task (the same places from different queries):

Advanced Parameters

Starting the Scraping Task

Once everything looks right, click the “Scrape data” button and validate a few queries by opening them on Google Maps. Make sure the queries are working on Google Maps, and you can see the locations.

If you are running the first extraction, it will ask you to verify the account. Follow the instructions on the pop-up page and click “I’ve performed the actions” once you have verified the account. When your task is running, you can open the tasks page to monitor the progress:

Task Progress

Results

Once your task is finished, you will receive an email with a link to the data. The file will be available for 30 days to download. You can also download the results from the tasks page.

Outscraper Google Maps Data Scraper Result File

The results file contains the following fields:

  • name – name of the place on Google Maps.
  • site – website of the place.
  • type – the type of the place under which it was found (can be any element from subtypes).
  • subtypes – all types of the place.
  • category – the main type of the place (sometimes might be in a local language).
  • phone – place phone number.
  • full_address – full address of the place location.
  • borough – borough of the place location.
  • street – street of the place location.
  • city – city of the place location.
  • postal_code – postal code of the place location.
  • state – state of the place location.
  • us_state – state of the place location (will be removed in future versions).
  • country – country of the place location.
  • country_code – country code of the place location.
  • latitude – latitude of the place location.
  • longitude – longitude of the place location.
  • time_zone – timezone of the place location.
  • plus_code – location plus code or open location code (works only for individual search, e.g., query: “Hotel Colombo Berat,” “0x3e49a63f6b05fe3b:0xc73d6b1f31b2ccc8”).
  • rating – rating of the place.
  • reviews – number of reviews
  • reviews_link – link to the place’s reviews.
  • reviews_per_score – JSON object with reviews per score.
  • photos_count – number of photos from the place.
  • photo – image link of the place.
  • street_view – image link of the place street view.
  • working_hours – JSON object with working hours of the place.
  • working_hours_old_format – working hours of the place.
  • popular_times – popular time of the place (works only for individual search, e.g., query: “Hotel Colombo Berat,” “0x3e49a63f6b05fe3b:0xc73d6b1f31b2ccc8”).
  • business_status – current status of the business.
  • about – extra information about the place (e.g., Identifies as women-owned, LGBTQ+ friendly).
  • description – place description.
  • range – price range of the place.
  • posts – JSON object with posts from the place (works only for some places).
  • verified – indicates if the place was claimed.
  • owner_id – unique identifier of the place owner.
  • owner_title – title of the owner’s profile page.
  • owner_link – link to owner profile on Google Maps.
  • reservation_links – link to make a reservation.
  • booking_appointment_link – link to book an appointment.
  • menu_link – link to the menu.
  • order_links – link to place an order.
  • location_link – link to the place on Google Maps.
  • place_id – unique identifier of the place (Google might update it a couple of times per year).
  • google_id – unique identifier of the place, also known as Feature ID (Google might update it a couple of times per year).
  • cid – multi-platform ID of a listing in the Google ecosystem.
  • reviews_id – unique identifier of the places’ reviews.

Video Tutorial

FAQ

Most frequent questions and answers

It is easy and fast to extract business data with Outscraper Google Maps Data Scraper. Just choose a category, choose a location, set parameters, and start the task. When the task is finished, download the result file.

No business email address is normally listed as public on Google Maps. Google does not provide this data. But a different way can be followed to find the company email address. It is to visit the website of the business in the Google Maps profile and find the email address from the contact us page. If you find it difficult to do this one by one, there is a solution for you. Outscraper’s Google Maps Data Scraper. With this scraping service, Outscraper extracts the Google Maps data of the businesses in the selected category and location and collects their email addresses.

Google Maps shows the hotels in the selected area and also allows you to book. It offers a lot of data about hotels. Services offered by the hotel, pricing, hotel facilities, customer reviews and more. If you want to download the list of hotels in Google Maps, Outscraper Google Maps Data Scraper can be used.


0 Comments

Leave a Reply

Avatar placeholder