Google Maps Places Scraper

Google Maps Places Scraper

by ai-scraper-labs

Scrapes place information from Google Maps using Scrapy and Playwright. Extract names, ratings, reviews, addresses, phone numbers, websites, hours, an...

16 runs
3 users
Try This Actor

Opens on Apify.com

About Google Maps Places Scraper

Scrapes place information from Google Maps using Scrapy and Playwright. Extract names, ratings, reviews, addresses, phone numbers, websites, hours, and more for any type of business in any city.

What does this actor do?

Google Maps Places Scraper is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

Google Maps Places Scraper A powerful Apify Actor built with Scrapy and Playwright to scrape detailed information about places from Google Maps. Perfect for gathering business data, competitor research, lead generation, and local market analysis. ## Features - πŸ—ΊοΈ Comprehensive Data Extraction - Scrapes 13+ data points per place including name, rating, reviews, address, phone, website, hours, and more - 🎯 Flexible Search - Search for any type of business or point of interest in any city - πŸ”„ Automatic Scrolling - Intelligently scrolls through Google Maps results to load more places - πŸš€ Playwright Integration - Uses browser automation for reliable scraping of dynamic content - πŸ“Š Structured Output - Returns clean, validated JSON data ready for analysis - πŸ›‘οΈ Proxy Support - Optional proxy configuration to avoid rate limiting - ⚑ Concurrent Processing - Efficiently scrapes multiple places in parallel ## Included Technologies - Apify SDK for Python - a toolkit for building Apify Actors and scrapers in Python - Scrapy - a fast high-level web scraping framework for crawling and data extraction - Playwright - browser automation library for handling JavaScript-heavy sites - scrapy-playwright - Scrapy integration with Playwright - Input schema - define and validate Actor input parameters - Dataset - store structured data in a scalable format ## How it works This Actor uses Scrapy with Playwright to scrape Google Maps places in two phases: 1. Search Phase: - Constructs a Google Maps search URL based on your interest and city - Loads the search results page using Playwright (for JavaScript rendering) - Automatically scrolls through results to load more places - Collects all place URLs from the search results 2. Detail Extraction Phase: - Visits each place URL individually - Extracts comprehensive information using CSS selectors - Cleans and validates the data through processing pipelines - Saves structured data to the Apify dataset Data Processing: - Rating and review counts are parsed from text to numbers - Phone numbers and addresses are trimmed of extra whitespace - Google redirect URLs are converted to actual website URLs - Missing or unavailable fields are set to null for consistency ## Input Parameters | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | interest | String | Yes | Type of place to search for (e.g., "cafes", "restaurants", "hotels", "gyms") | | city | String | Yes | City name to search in (e.g., "New York", "London", "Tokyo") | | maxResults | Integer | No | Maximum number of places to scrape (0 = unlimited, default: 50) | | proxyConfiguration | Object | No | Proxy settings to avoid rate limiting (recommended for large scrapes) | ## Output Data Each scraped place contains the following fields: json { "url": "https://www.google.com/maps/place/...", "search_query": "cafes in New York", "city": "New York", "interest": "cafes", "name": "Joe's Coffee Shop", "rating": 4.5, "reviews": 1234, "category": "Coffee shop", "address": "123 Main St, New York, NY 10001", "phone": "(212) 555-0123", "website": "https://joescoffee.com", "hours": "Open β‹… Closes 8 PM", "plus_code": "P27Q+3V New York" } ## Use Cases - πŸ“ Lead Generation - Find potential customers in specific industries and locations - 🏒 Competitor Research - Analyze competitor locations, ratings, and customer reviews - πŸ“Š Market Analysis - Understand business density and distribution in different areas - πŸ“ž Contact Lists - Build databases of business contacts for outreach - ⭐ Review Analysis - Gather review counts and ratings for market research - πŸ—ΊοΈ Location Intelligence - Map out business ecosystems in target cities ## Resources - Google Maps Scraping Guide - Web scraping with Scrapy - Python tutorials in Academy - Playwright for Web Scraping - Integration with Zapier, Make, Google Drive, and others - Video guide on getting scraped data using Apify API ## Getting started For complete information see this article. In short, you will: 1. Build the Actor 2. Run the Actor ## Pull the Actor for local development If you would like to develop locally, you can pull the existing Actor from Apify console using Apify CLI: 1. Install apify-cli Using Homebrew bash brew install apify-cli Using NPM bash npm -g install apify-cli 2. Pull the Actor by its unique <ActorId>, which is one of the following: - unique name of the Actor to pull (e.g. "apify/hello-world") - or ID of the Actor to pull (e.g. "E2jjCZBezvAZnX8Rb") You can find both by clicking on the Actor title at the top of the page, which will open a modal containing both Actor unique name and Actor ID. This command will copy the Actor into the current directory on your local machine. bash apify pull <ActorId> ## Documentation reference To learn more about Apify and Actors, take a look at the following resources: - Apify SDK for JavaScript documentation - Apify SDK for Python documentation - Apify Platform documentation - Join our developer community on Discord

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try Google Maps Places Scraper now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
ai-scraper-labs
Pricing
Paid
Total Runs
16
Active Users
3
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support