# Google Search (`ethereal_wool/google-search`) Actor

enter search term to search for google results

- **URL**: https://apify.com/ethereal\_wool/google-search.md
- **Developed by:** [Jackie Chen](https://apify.com/ethereal_wool) (community)
- **Categories:** AI, Lead generation
- **Stats:** 85 total users, 1 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: 1.00 out of 5 stars

## Pricing

$3.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?

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 Search Results Scraper

Search **Google** for any term and get clean, structured **local / Places results** back as
JSON — business name, full address, latitude / longitude, star rating, review count, category,
phone number, and website. Give a search term, a page number, and a result limit; the Actor
returns the matching Google local listings, ready to export to JSON, CSV & Excel, pull via the
API, schedule runs, or pipe into your own workflow. No code required.

> **Unofficial.** This Actor is not affiliated with, authorized, or endorsed by Google. It is
> an independent tool that retrieves publicly available search results via a third-party API.
> Use it in compliance with Google's terms and all applicable laws; you are responsible for
> how you use the retrieved data.

### What it does

- **Search by keyword** — pass any `search_term` (a brand, a business name, or a category
  like `coffee shop in Berlin`) and get the Google local results for it.
- **Paginate** — set `page` to walk through result pages.
- **Control volume** — set `limit` to cap how many results come back (up to 100).
- **Structured output** — every result includes name, address, coordinates, rating, review
  count, category, phone, and website, so you can use it directly for lead lists, local SEO,
  competitor research, or market mapping.

### Input

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `search_term` | string | yes | `apple inc` | The term to search Google for. Can be a brand, a business, or `<category> in <city>`. |
| `page` | integer | yes | `1` | Result page number to fetch. |
| `limit` | integer | yes | `10` | Maximum number of results to return (max `100`). |

#### Example input

```json
{
  "search_term": "coffee shop in San Francisco",
  "page": 1,
  "limit": 20
}
```

### Output

The Actor stores the search response in the dataset. Each record contains the search
parameters and a `places` array of matching listings, for example:

```json
{
  "searchParameters": { "q": "apple inc", "page": 1, "num": 10, "type": "places" },
  "places": [
    {
      "position": 1,
      "title": "Apple Park Visitor Center",
      "address": "10600 N Tantau Ave, Cupertino, CA 95014",
      "latitude": 37.3327,
      "longitude": -122.0053,
      "rating": 4.6,
      "ratingCount": 4213,
      "category": "Tourist attraction",
      "phoneNumber": "+1 408-961-1560",
      "website": "https://www.apple.com/retail/appleparkvisitorcenter/",
      "cid": "1234567890123456789"
    }
  ]
}
```

Export the data as JSON, CSV, or Excel from the Apify Console, or fetch it via the
[Apify API](https://docs.apify.com/api/v2) or any of the
[Apify integrations](https://apify.com/integrations) (Make, Zapier, Google Sheets, n8n, and more).

### Common use cases

- Building local **lead lists** (name, phone, website, address) for sales outreach.
- **Local SEO** and visibility tracking for a brand across multiple cities.
- **Competitor / market mapping** within a category and area.
- Enriching a CRM with business contact and location data.

### Pricing

This Actor runs on the Apify platform — see the **Pricing** tab on the Actor's page for the
current rate. You only pay for what you run.

### Support

Found a bug or need an extra field in the output? Open an issue on the Actor's page and we'll
take a look.

# Actor input Schema

## `search_term` (type: `string`):

The term to search Google for (a brand, a business, or '<category> in <city>').

## `page` (type: `integer`):

The result page number to fetch.

## `limit` (type: `integer`):

The maximum number of results to return.

## Actor input object example

```json
{
  "search_term": "apple inc",
  "page": 1,
  "limit": 10
}
```

# 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_term": "apple inc",
    "page": 1,
    "limit": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("ethereal_wool/google-search").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_term": "apple inc",
    "page": 1,
    "limit": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("ethereal_wool/google-search").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_term": "apple inc",
  "page": 1,
  "limit": 10
}' |
apify call ethereal_wool/google-search --silent --output-dataset

```

## MCP server setup

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

```

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/PBcMh83nEyiT1aSxJ/builds/Oevle7pFZ7Ppgvnwb/openapi.json
