Google Maps Scraper avatar
Google Maps Scraper
Try for free

No credit card required

View all Actors
Google Maps Scraper

Google Maps Scraper

Try for free

No credit card required

Extract data from hundreds of Google Maps locations and businesses. Get Google Maps data including reviews, images, contact info, opening hours, location, popular times, prices & more. Export scraped data, run the scraper via API, schedule and monitor runs, or integrate with other tools.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

1from apify_client import ApifyClient
3# Initialize the ApifyClient with your Apify API token
4client = ApifyClient("<YOUR_API_TOKEN>")
6# Prepare the Actor input
7run_input = {
8    "searchStringsArray": ["restaurant"],
9    "locationQuery": "New York, USA",
10    "maxCrawledPlacesPerSearch": 50,
11    "language": "en",
12    "maxImages": 1,
13    "maxReviews": 0,
14    "maxQuestions": 0,
15    "countryCode": "",
16    "allPlacesNoSearchAction": "",
19# Run the Actor and wait for it to finish
20run ="compass/crawler-google-places").call(run_input=run_input)
22# Fetch and print Actor results from the run's dataset (if there are any)
23print("💾 Check your data here:" + run["defaultDatasetId"])
24for item in client.dataset(run["defaultDatasetId"]).iterate_items():
25    print(item)
27# 📚 Want to learn more 📖? Go to →
Maintained by Apify
Actor metrics
  • 4.7k monthly users
  • 7 stars
  • 97.6% runs succeeded
  • 2.8 days response time
  • Created in Nov 2018
  • Modified about 14 hours ago