# Local Places & Business Leads Extractor \[$1/1K] (`yakeddgraph/google-maps-places-leads-extractor`) Actor

High-speed local business & POI extractor powered by OpenStreetMap Nominatim. Extracts verified business names, addresses, categories, coordinates, phones, websites, and direct Google Maps links.

- **URL**: https://apify.com/yakeddgraph/google-maps-places-leads-extractor.md
- **Developed by:** [YakeddGraph Engineering](https://apify.com/yakeddgraph) (community)
- **Categories:** Lead generation, Business
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## 🚀 Google Maps & Local Business Leads Scraper \[$1/1K · Fast]

Extract structured, verified data in seconds with **`yakeddgraph/google-maps-places-leads-extractor`** — engineered for zero-cookie execution, 512 MB ultra-light cloud containers, and seamless **Model Context Protocol (MCP)** & REST API integration.

- 📊 **[View Live Extracted Sample Dataset Portal (HTML / JSON-LD)](https://api.apify.com/v2/key-value-stores/DdmgPcrZa8K9kqViS/records/data-google-maps-places-leads-extractor.html)**
- ⚡ **[Download 1-Click n8n Automation Workflow JSON](https://api.apify.com/v2/key-value-stores/DdmgPcrZa8K9kqViS/records/google-maps-places-leads-extractor-n8n.json)**
- 🤖 **[Import OpenAPI 3.1.0 Spec for OpenAI Custom GPTs & LangChain](https://api.apify.com/v2/key-value-stores/DdmgPcrZa8K9kqViS/records/openapi.json)**
- 🌐 **[Explore All 20 YakeddGraph Micro-SaaS Tools](https://api.apify.com/v2/key-value-stores/DdmgPcrZa8K9kqViS/records/hub)**

***

### ⚡ Why Choose This Actor? (Top-Tier Comparison)

| Feature | **YakeddGraph (`google-maps-places-leads-extractor`)** | Typical Store Competitors |
| :--- | :--- | :--- |
| **Pricing** | **$1.00 per 1,000 results** (`$0.001/item` Pay-Per-Event) | $5.00 – $25.00 / 1,000 results + Monthly Rental |
| **Cookies / Login Required?** | **No Cookies or Login Required** | Often requires session cookies |
| **Residential Proxies Needed?** | **No (Zero Proxy Cost)** | Expensive residential proxy burn |
| **Memory Footprint** | **512 MB Ultra-Light Container** (16x concurrent runs on Free tier) | 4,096 MB heavy browser instances |
| **AI & MCP Ready** | **Native Support for Claude Desktop, Cursor & Custom GPTs** | Manual integration required |

***

### 🤖 Connect to Claude Desktop, Cursor & Windsurf (Apify MCP Server)

Add this Actor as a native tool inside **Claude Desktop** (`claude_desktop_config.json`) or **Cursor** (`.cursor/mcp.json`):

```json
{
  "mcpServers": {
    "yakeddgraph-google-maps-places-leads-extractor": {
      "command": "npx",
      "args": [
        "-y",
        "@apify/actors-mcp-server",
        "--actors",
        "yakeddgraph/google-maps-places-leads-extractor"
      ],
      "env": {
        "APIFY_TOKEN": "YOUR_APIFY_API_TOKEN"
      }
    }
  }
}
```

***

### 🛠️ Input Parameters & Example Payload

| Parameter | Type | Description |
| :--- | :--- | :--- |
| `start_urls` | `array` | Google Maps search URLs (e.g. https://www.google.com/maps/search/restaurants+in+Manhattan) or local business pages. |
| `search_query` | `string` | Optional search query such as 'coffee shops in Miami' or 'dentists in Austin'. |

#### Example Input JSON

```json
{
  "start_urls": [
    {
      "url": "https://www.google.com/maps/search/restaurants+in+Manhattan"
    }
  ],
  "search_query": "restaurants in Manhattan"
}
```

***

### 📊 Real Verified Output Dataset Sample

```json
{
  "business_name": "Katz's Delicatessen",
  "category": "restaurant",
  "cuisine_or_specialty": "deli;american",
  "street_address": "205 East Houston Street",
  "city": "New York",
  "state": "New York",
  "postcode": "10002",
  "country": "United States",
  "phone": "+1 212-254-2246",
  "website": "https://katzsdelicatessen.com",
  "opening_hours": "Mo-Fr 08:00-22:45; Sa 08:00-24:00; Su 00:00-22:45",
  "latitude": 40.7222328,
  "longitude": -73.9874295,
  "google_maps_url": "https://www.google.com/maps/search/?api=1&query=40.7222328,-73.9874295",
  "search_query": "restaurants in Manhattan",
  "extracted_by": "YakeddGraph Local Business Engine"
}
```

***

### 🔌 Quickstart API Integration (Python, Node.js & cURL)

#### Python (`apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_API_TOKEN")
run = client.actor("yakeddgraph/google-maps-places-leads-extractor").call(run_input={
  "start_urls": [
    {
      "url": "https://www.google.com/maps/search/restaurants+in+Manhattan"
    }
  ],
  "search_query": "restaurants in Manhattan"
})

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

#### Direct Synchronous REST API (cURL)

```bash
curl -X POST "https://api.apify.com/v2/acts/yakeddgraph~google-maps-places-leads-extractor/run-sync-get-dataset-items?token=YOUR_APIFY_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"start_urls": [{"url": "https://www.google.com/maps/search/restaurants+in+Manhattan"}], "search_query": "restaurants in Manhattan"}'
```

# Actor input Schema

## `search_query` (type: `string`):

Enter category and city/neighborhood (e.g. 'coffee shops in Austin', 'restaurants in Manhattan', 'dentists in Miami').

## `max_places` (type: `integer`):

Maximum number of places to extract per run (default 30).

## `start_urls` (type: `array`):

Optional search URL (e.g. https://www.google.com/maps/search/restaurants+in+Manhattan or local directory link).

## Actor input object example

```json
{
  "search_query": "restaurants in Manhattan",
  "max_places": 30,
  "start_urls": [
    {
      "url": "https://www.google.com/maps/search/restaurants+in+Manhattan"
    }
  ]
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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 = {
    "search_query": "restaurants in Manhattan",
    "start_urls": [
        {
            "url": "https://www.google.com/maps/search/restaurants+in+Manhattan"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("yakeddgraph/google-maps-places-leads-extractor").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 = {
    "search_query": "restaurants in Manhattan",
    "start_urls": [{ "url": "https://www.google.com/maps/search/restaurants+in+Manhattan" }],
}

# Run the Actor and wait for it to finish
run = client.actor("yakeddgraph/google-maps-places-leads-extractor").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 '{
  "search_query": "restaurants in Manhattan",
  "start_urls": [
    {
      "url": "https://www.google.com/maps/search/restaurants+in+Manhattan"
    }
  ]
}' |
apify call yakeddgraph/google-maps-places-leads-extractor --silent --output-dataset

```

## MCP server setup

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

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/uHp1Eqj1F27vyaxxP/builds/9pXssfPT5khxHzGtA/openapi.json
