Google Maps API
The Google Maps Scraper API allows you to easily scrape Google Maps by simply sending an HTTP request.
Last updated
The Google Maps Scraper API allows you to easily scrape Google Maps by simply sending an HTTP request.
Last updated
To enable this engine, set the engine=google_maps
parameter.
Interacting with the Google Maps scraper is quite straightforward. As opposed to the Google Search API, which can take a lot of parameters and allows more flexibility in customizing the response, the Google Maps API has fewer options, but the data it returns is still as rich and accurate.
We will use following URL as an example for this request:
q
Required
string
The keywords that you are searching for on Google (the query).
type
string
The type of search. It can be hotels
or vacation_rentals
.
data
string
This parameter is required only if q
is not provided.
It has to be constructed in the next sequence: !4m5!3m4!1s
+ data_id
+ !8m2!3d
+ latitude
+ !4d
+ longitude
device
string
The device used for your Google Maps search. Can be set to desktop
, mobile
or tablet
.
ll
string
Parameter defines GPS coordinates of location where you want your q
(query) to be applied. It has to be constructed in the next sequence: @
+ latitude
+ ,
+ longitude
+ ,
+ zoom
.
start
int
The offset of the Google Maps results. Represents the number of results that you want to skip.
num
int
The number of results returned on each page.