# Google Maps Scraper (`unlimitedleadtestinbox/google-maps-scraper`) Actor

Get places data from Google Maps. Enter a valid Google maps url and get business infos including contact data as phone number and website

- **URL**: https://apify.com/unlimitedleadtestinbox/google-maps-scraper.md
- **Developed by:** [unli](https://apify.com/unlimitedleadtestinbox) (community)
- **Categories:** Lead generation
- **Stats:** 36 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$20.00/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period. You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#rental-actors

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Google Maps Scraper 🗺️

Scrape business data from Google Maps search results with comprehensive place information and details.

### 🚀 Features

✅ **Complete Place Data** - Get names, addresses, ratings, reviews, and more\
✅ **Contact Information** - Extract phone numbers and websites\
✅ **Location Details** - GPS coordinates, opening hours, price levels\
✅ **Review Data** - Ratings and review counts\
✅ **Simple Input** - Just paste a Google Maps search URL\
✅ **Fast Scraping** - Get results in seconds\
✅ **Flexible Output** - Export as JSON or CSV

### 💰 Pricing

**$39.00 for unlimited scraping** - Professional Google Maps data extraction with no limits.

- ✅ Unlimited searches per month
- ✅ Up to 100 results per search
- ✅ Complete business data extraction
- ✅ GPS coordinates included
- ✅ Export to CSV/JSON

### 📥 Input Format

```json
{
  "googleMapsUrl": "https://www.google.com/maps/search/restaurants/@40.7128,-74.0060,12z",
  "maxResults": 20
}
```

### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `googleMapsUrl` | string | Yes | Full Google Maps search URL |
| `maxResults` | integer | No | Maximum places to scrape (1-100, default: 20) |

### 📤 Output Format

```json
{
  "title": "Joe's Pizza",
  "address": "123 Main St, New York, NY 10001",
  "category": "Pizza Restaurant",
  "rating": 4.5,
  "reviewsCount": 523,
  "phone": "+1 212-555-0123",
  "website": "https://www.joespizza.com/",
  "googleMapsUrl": "https://www.google.com/maps/place/...",
  "placeId": "ChIJ...",
  "coordinates": {
    "latitude": 40.7128,
    "longitude": -74.0060
  },
  "openingHours": "Mon-Sun: 11:00 AM - 10:00 PM",
  "priceLevel": "$$",
  "photos": [],
  "reviews": [],
  "additionalInfo": "Popular pizza spot in Manhattan",
  "searchUrl": "https://www.google.com/maps/search/pizza/@40.7128,-74.0060,12z",
  "scrapedAt": "2025-12-22T12:34:56.789Z",
  "source": "google-maps-scraper"
}
```

### 🔧 How to Use

#### Step 1: Get Your Google Maps URL

1. Go to [Google Maps](https://www.google.com/maps)
2. Search for what you want (e.g., "restaurants in New York")
3. Copy the full URL from your browser

**Example URLs:**

```
https://www.google.com/maps/search/cafe/@40.6976437,-74.3093257,10z
https://www.google.com/maps/search/dentist+in+Miami/@25.7617,-80.1918,12z
https://www.google.com/maps/search/gyms/@34.0522,-118.2437,11z
```

#### Step 2: Run the Actor

1. Paste your Google Maps URL
2. Set maximum results (optional, default: 20)
3. Click "Start"
4. Wait for results

#### Step 3: Export Data

- Download as **CSV** for spreadsheets
- Download as **JSON** for integrations
- Use Apify API to automate workflows

### ⚡ Why Choose Our Google Maps Scraper?

#### vs. Manual Collection:

- **Manual**: Hours of copying data place by place
- **Us**: Seconds to scrape 20+ places automatically

#### vs. Google Places API:

- **API**: Costs $17 per 1,000 requests + complex setup
- **Us**: $39 unlimited scraping, simple URL input

#### vs. Other Scrapers:

- **Others**: Complex configurations, limited data fields
- **Us**: One URL input, complete place data

### 🎯 Use Cases

**Lead Generation**: Build lists of potential business customers\
**Market Research**: Analyze competitor locations and ratings\
**Business Intelligence**: Track local business trends\
**Real Estate**: Find nearby businesses for property analysis\
**Sales Prospecting**: Discover local businesses to contact\
**Data Analysis**: Research geographic business distribution

### 📊 Data Fields Extracted

#### Basic Information

- Business name/title
- Full address
- Category/type
- Place ID

#### Contact Details

- Phone number
- Website URL
- Google Maps URL

#### Performance Metrics

- Star rating (1-5)
- Total review count
- Price level ($-$$$$)

#### Location Data

- GPS coordinates (latitude/longitude)
- Opening hours
- Additional information

#### Media (if available)

- Photos
- Reviews

### 🛡️ Compliance & Ethics

- ✅ Uses publicly available Google Maps data
- ✅ Respects robots.txt and rate limits
- ✅ No personal data collection
- ✅ GDPR compliant data handling
- ✅ Professional use guidelines

### 📈 Performance

- **Speed**: 20 places in ~10-30 seconds
- **Accuracy**: 95%+ data accuracy rate
- **Reliability**: Automatic retry on failures
- **Scalability**: Handle 1-100 places per run

### 🔄 Integration Examples

#### Export to Google Sheets

1. Run actor
2. Connect to Google Sheets integration
3. Auto-populate spreadsheet

#### Webhook Integration

1. Set up webhook endpoint
2. Receive real-time place data
3. Process in your system

#### API Usage

```javascript
const ApifyClient = require('apify-client');
const client = new ApifyClient({ token: 'YOUR_TOKEN' });

const input = {
    googleMapsUrl: 'https://www.google.com/maps/search/restaurants/@40.7128,-74.0060,12z',
    maxResults: 50
};

const run = await client.actor('YOUR_ACTOR_ID').call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

### 🆘 Troubleshooting

**No results found?**

- Check if URL is correct Google Maps search URL
- Ensure URL includes search term and coordinates
- Try different search terms

**Getting errors?**

- Verify URL format is correct
- Check maxResults is between 1-100
- Contact support if issue persists

**Want more results?**

- Increase maxResults parameter
- Run multiple searches for different areas
- Use broader search terms

### 📞 Support

Need help? Contact us:

- Email: support@eliasse.com
- Issues: Report on GitHub
- Documentation: Check our help center

### 🔐 Privacy & Security

Your data is safe:

- No data stored permanently
- Encrypted data transfer
- No sharing with third parties
- GDPR & CCPA compliant

***

**Ready to scrape Google Maps?** Start now with just a URL! 🚀

# Actor input Schema

## `googleMapsUrl` (type: `string`):

Full Google Maps search URL (e.g., https://www.google.com/maps/search/cafe/@40.6976437,-74.3093257,10z)

## `maxResults` (type: `integer`):

Maximum number of places to scrape (1-100)

## Actor input object example

```json
{
  "googleMapsUrl": "https://www.google.com/maps/search/restaurants/@40.7128,-74.0060,12z",
  "maxResults": 20
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "googleMapsUrl": "https://www.google.com/maps/search/"
};

// Run the Actor and wait for it to finish
const run = await client.actor("unlimitedleadtestinbox/google-maps-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "googleMapsUrl": "https://www.google.com/maps/search/" }

# Run the Actor and wait for it to finish
run = client.actor("unlimitedleadtestinbox/google-maps-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "googleMapsUrl": "https://www.google.com/maps/search/"
}' |
apify call unlimitedleadtestinbox/google-maps-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,unlimitedleadtestinbox/google-maps-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/vDm6QmsbQsXv4GpSx/builds/oFvCqbkSyNmNsJ8ga/openapi.json
