Google Maps B2B Lead Scraper (AI-enhanced)

by oneforall

83 runs
33 users
Try This Actor

Opens on Apify.com

About Google Maps B2B Lead Scraper (AI-enhanced)

What does this actor do?

Google Maps B2B Lead Scraper (AI-enhanced) 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 scraping Actor This Actor searches Google Maps for businesses and extracts contact information from the search results. It uses Selenium to control a headless Chrome browser and sends each result's HTML to an LLM through OpenRouter to parse the details. The scraper produces structured data for each business, including its name, rating, address, phone number and other useful fields. Results are stored in the Actor's default dataset. ## Environment variables - OPENROUTER_API_KEY – required API key used to authenticate requests to OpenRouter. Set this variable locally in your shell or in the Environment variables section when configuring the Actor on Apify. - SENTRY_DSN – optional Sentry DSN to capture errors and performance metrics. If defined, the Actor sends exceptions and profiling data to your Sentry project. ## Input The Actor accepts the following fields: | Field | Description | Default | |-------|-------------|---------| | query | Search keyword (e.g. "dentiste") | "dentiste" | | city | City to search in | "Montpellier" | | max_results | Maximum number of business cards to process | 5 | ### Example json { "query": "dentiste", "city": "Montpellier", "max_results": 5 } ### Sample output json [ { "Name": "Cabinet Dentaire Example", "Rating": "4.8", "Nb_reviews": "32", "Address": "123 Rue Exemple, 34000 Montpellier", "Hours": "Ouvert \u2212 ferme \u00e0 18:00", "Phone": "+33 4 67 00 00 00", "Link": "https://maps.google.com/?cid=123", "Website": "https://cabinet.example" }, { "Name": "Dentiste Demo", "Rating": "4.7", "Nb_reviews": "20", "Address": "456 Avenue Demo, 34000 Montpellier", "Hours": "Ouvert \u2212 ferme \u00e0 19:00", "Phone": "+33 4 67 11 22 33", "Link": "https://maps.google.com/?cid=456", "Website": "" } ] ## Getting started 1. Install dependencies: bash pip install -r requirements.txt 2. Export your environment variables so the scraper can access them: bash export OPENROUTER_API_KEY=<your-openrouter-api-key> # Optional: enable Sentry error reporting export SENTRY_DSN=<your-sentry-dsn> 3. Run the Actor locally: bash apify run ## Deploy to Apify 1. Login to Apify with your API token: bash apify login 2. Set OPENROUTER_API_KEY and SENTRY_DSN in the Actor's Environment variables tab on the Apify console. 3. Deploy the project: bash apify push Once the build finishes you can run the Actor from the Apify console or via the API.

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 B2B Lead Scraper (AI-enhanced) now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
oneforall
Pricing
Paid
Total Runs
83
Active Users
33
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