![Google Maps Scraper avatar](https://images.apifyusercontent.com/-vql_qDQejT0bL2oWOubuu3Dsk8EwD0tOB3ZIZiElnU/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vRkZ5V2ZSUjg4eEpvaUNTMWgvR1E3ZW14N1RINkhOaTlBVmItbWFwXzg1NDg3OC5wbmc.webp)
Google Maps Scraper
Try for free
1 day trial then $25.00/month - No credit card required now
View all Actors![Google Maps Scraper](https://images.apifyusercontent.com/-vql_qDQejT0bL2oWOubuu3Dsk8EwD0tOB3ZIZiElnU/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vRkZ5V2ZSUjg4eEpvaUNTMWgvR1E3ZW14N1RINkhOaTlBVmItbWFwXzg1NDg3OC5wbmc.webp)
![Google Maps Scraper](https://images.apifyusercontent.com/-vql_qDQejT0bL2oWOubuu3Dsk8EwD0tOB3ZIZiElnU/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vRkZ5V2ZSUjg4eEpvaUNTMWgvR1E3ZW14N1RINkhOaTlBVmItbWFwXzg1NDg3OC5wbmc.webp)
Google Maps Scraper
onidivo/google-maps-scraper
Try for free
1 day trial then $25.00/month - No credit card required now
Obtain more significant and quicker amounts of data from Google Maps compared to what is available through the official Google Places API.
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
2
3# Initialize the ApifyClient with your Apify API token
4client = ApifyClient("<YOUR_API_TOKEN>")
5
6# Prepare the Actor input
7run_input = {
8 "searchStringsArray": ["dentist in California"],
9 "countryCode": "",
10 "language": "en",
11 "maxCrawledPlacesPerSearch": 50,
12 "maxImages": 0,
13 "proxyConfig": { "useApifyProxy": True },
14 "maxReviews": 0,
15}
16
17# Run the Actor and wait for it to finish
18run = client.actor("onidivo/google-maps-scraper").call(run_input=run_input)
19
20# Fetch and print Actor results from the run's dataset (if there are any)
21print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
22for item in client.dataset(run["defaultDatasetId"]).iterate_items():
23 print(item)
24
25# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start
Developer
Maintained by Community
Actor metrics
- 17 monthly users
- 2 stars
- 94.4% runs succeeded
- Created in Feb 2024
- Modified 4 months ago
Categories