Local Search
The google_maps
source is designed to retrieve Google Local search results. It scrapes various location-based data, such as restaurants, hotels, coffee shops, gas stations, grocery stores, and more.
Query parameters
Parameter | Description | Default Value |
---|---|---|
source | Data source. More info. |
|
| Domain localization for Google. The full list of available domains can be found here. | com |
query | UTF-encoded keyword | - |
| Starting page number |
|
| Number of pages to retrieve. |
|
| Number of results to retrieve in each page. |
|
|
| - |
| The geographical location that the result should be adapted for. Using this parameter correctly is extremely important to get the right data. For more information, read about our suggested | - |
| Device type and browser. You can find the full list here. |
|
| Enables JavaScript rendering. More info. | |
| URL to your callback endpoint. More info. | - |
| Result language filter. You can find the list of supported Google languages here. | - |
|
|
|
| Number of guests. NB: this parameter is only applicable if you are searching for a hotel-related search term. |
|
| Length for staying in the hotel, from - to. Example: | - |
- required parameter
Code examples
In this example, we make a request to retrieve the first 3
pages of hotel availability for 1
guest between 2023-10-01
and 2023-10-10
for hotels in Paris
from google.com
.sons.
The example above uses the Realtime integration method. If you would like to use some other integration method in your query (e.g. Push-Pull or Proxy Endpoint), refer to the integration methods section.
Output example
HTML example
Last updated