# Google Scraper (`caprolok/google-scraper`) Actor

Extract efficient Google search data extraction with our cost-effective scraper. Quick, easy, and affordable for all your scraping needs. Ideal for SEO, market research, and analytics. Gain valuable insights and competitive edge with our reliable scraping tool.

- **URL**: https://apify.com/caprolok/google-scraper.md
- **Developed by:** [Caprolok](https://apify.com/caprolok) (community)
- **Categories:** Lead generation, SEO tools
- **Stats:** 91 total users, 0 monthly users, 100.0% runs succeeded, 9 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.50 / 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/platform/actors/running/actors-in-store#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

## 🚀 Fast & Cheap Google Scraper

Are you tired of waiting for **search result data**, or is your budget limited for **web scraping** tasks? Look no further! We present to you the ultimate solution – the **Superfast and Affordable Google Search Results Scraper** on Apify.

### 🌟 Why Choose Our Actor?

#### ⚡ Lightning Fast Performance

Our actor is built to be blazingly fast! We understand that time is precious, and waiting for **Google search results** can be frustrating. With our actor, you can retrieve **Google search results** in a matter of minutes, even with large lists of keywords.

#### 💸 Cost-Effective Solution

We believe that powerful **web scraping** tools shouldn't break the bank. Our actor is the most affordable option available in the Apify store. You get exceptional performance without burning a hole in your pocket.

#### 🖥️ Simple and User-Friendly

We've designed our actor to be user-friendly and straightforward. You don't need to be a coding expert to use it. Just input your list of keywords and the number of results you want per keyword, and let our actor do the rest.

### 💰 How Much Will It Cost Me to Use Fast & Cheap Google Scraper?

Understanding the cost of using our Google Scraper is straightforward and transparent. We want to ensure that you get the best value for your web scraping needs.

#### Free Credits and Subscription Plans

- **Free Plan**: Every month, Apify provides you with $5 free usage credits. With this, you can scrape up to **20,000 keywords** without any cost. That's right, 20,000 keywords completely free!

- **Subscription Plans**: For more regular or larger data scraping operations, subscribing to an Apify plan is the way to go. Our **$49/month Personal plan** gives you access to up to **200,000 google keywords** each month. Need even more data? The **$499 Team plan** will get you a whopping 2 million keywords!

#### 💹 Unbeatable Value: Fast & Cheap Google Scraper

Our "**Fast & Cheap Google Scraper**" excels in speed, efficiency, and cost-effectiveness. The cost comparison table below showcases our competitive pricing against other actors in the Apify store. Ideal for various **data scraping** scales, our solution offers significant savings, underscoring its value.

### 🔍 Key Features

#### 🔧 Customizable Input

- **Keyword List**: Provide a list of keywords you want to search for on Google.
- **Results Per Keyword**: Specify the number of **search results** you want for each keyword.

##### 📝 Example Input

Here is an example of how you should format your input:

```json
{
    "keywords": [
        "Latest trends",
        "Healthy Recipes"
    ],
    "noOfResults": 5
}
```

This input format ensures that our actor understands what you're looking for and how many results you need for each keyword.

#### 📊 Data Output

- **Search Keyword**: The keyword associated with each **search result**.
- **Search Result URL**: The URL of the **search result**.
- **Search Result Title**: The title of the **search result**.
- **Search Result Description**: A brief description of the **search result**.

##### 📝 Example JSON Output

To give you a better idea of the data format, here is an example JSON output:

```json
[
    {
        "position": 1,
        "keyword": "Healthy Recipes",
        "url": "https://www.foodnetwork.com/healthy/packages/healthy-every-week/healthy-mains/foodnetwork-most-saved-healthy-recipes",
        "title": "Our 50 Most-Popular Healthy Recipes - Food Network",
        "description": "Our 50 Most-Popular Healthy Recipes  Our Best Healthy Recipe Ideas  Sloppy Joes  Pan-Seared Salmon with Kale and Apple Salad  Lemony Yogurt..."
    },
    {
        "position": 2,
        "keyword": "Healthy Recipes",
        "url": "https://www.eatingwell.com/recipes/",
        "title": "Healthy Recipes - EatingWell",
        "description": "Healthy, delicious recipes, including quick dinner, easy lunch ideas, snacks, breakfast, soup and more, from the food and nutrition experts at EatingWell."
    },
    {
        "position": 3,
        "keyword": "Healthy Recipes",
        "url": "https://www.delish.com/cooking/recipe-ideas/g3733/healthy-dinner-recipes/",
        "title": "80 Best Healthy Dinner Recipes - Best Better-For-You Dinner Ideas",
        "description": "80 Easy Better-For-You Dinners You'll Actually Look Forward To Eating  Caprese Chicken Stuffed Peppers  Greek Salmon  One-Skillet Creamy Thai..."
    },
    {
        "position": 5,
        "keyword": "Healthy Recipes",
        "url": "https://www.allrecipes.com/recipes/84/healthy-recipes/",
        "title": "Healthy Recipes - Allrecipes",
        "description": "Find trusted recipes for eating healthy: start the day with a wholesome breakfast, cut the carbs or calories, find the perfect main dish for your special..."
    },
    {
        "position": 1,
        "keyword": "Latest trends",
        "url": "https://www.trendhunter.com/",
        "title": "TREND HUNTER - #1 in Trends, Trend Reports, Fashion Trends ...",
        "description": "Trends! The #1 largest Trends, Innovation and Trend Spotting community, 2024 Trend Reports, Style, Gadgets, Tech, Pop Culture, Art, Design, Fashion Trends."
    },
    {
        "position": 2,
        "keyword": "Latest trends",
        "url": "https://trends.google.com/trends/",
        "title": "Google Trends",
        "description": "Get started with Trends. New to Trends? Browse these resources to learn what it can do and how to use it. What is Google Trends? Basics of Google Trends."
    },
    {
        "position": 3,
        "keyword": "Latest trends",
        "url": "https://sproutsocial.com/insights/social-media-trends/",
        "title": "11 social media trends you need to know in 2024",
        "description": "In this article, learn about current trends in social media driving the future of social, based on input from social media experts and the data..."
    },
    {
        "position": 4,
        "keyword": "Latest trends",
        "url": "https://www.vogue.com/fashion/trends",
        "title": "Fashion Trends: What's In For Spring, Summer, Fall, and Winter",
        "description": "Fashion Trends: What's In For Spring, Summer, Fall, and Winter. The latest fashion news, beauty coverage, celebrity style, fashion week updates, culture reviews..."
    }
]
```

#### 📤 Data Export

Our actor generates a table with the scraped data, making it easy for you to export and analyze the results in various formats, such as CSV or JSON.

### 📘 How to Use

#### Step 1: Input Your Keywords

In the actor's configuration, provide a list of keywords you want to search for on Google. You can input a single keyword or multiple keywords separated by commas.

![Step 1 GIF](https://gitlab.com/caprolok-assets/apify/-/raw/main/Google%20Search%20Results%20Scraper/Step_01.png)

#### Step 2: Run the Actor

Click the "Run" button to start the actor. Sit back, relax, and let it scrape the **Google search results** at lightning speed.

![Step 2 GIF](https://gitlab.com/caprolok-assets/apify/-/raw/main/Google%20Search%20Results%20Scraper/step_4_and_5.gif)

#### Step 3: Download and Analyze

Once the actor finishes, download the results table in your preferred format (CSV, JSON, etc.). Use the data for your projects, reports, or any other analysis.

### 🌟 Get Started Today!

Don't waste time with slow and expensive **web scraping** solutions. Our **Superfast and Affordable Google Search Results Scraper** on Apify is here to cater to your needs. Get started now and experience the power of efficient and cost-effective **web scraping**.

Unlock the world of **web data** with speed, affordability, and simplicity. Join the growing community of satisfied users who have made us their go-to choice for **web scraping** on Apify

## More Exceptional Actors from Caprolok

In addition to our flagship **Superfast and Affordable Google Search Results Scraper**, Caprolok offers a suite of powerful web scraping tools designed to cater to a wide array of data extraction needs. Whether you're looking to analyze market trends, gather business intelligence, or streamline your recruitment process, our diverse collection of actors has you covered. Each actor is optimized for performance, ease of use, and cost-efficiency, ensuring you get the most value out of your web scraping experience. Explore our range of specialized actors below and elevate your data collection strategy to new heights.

### 🎭 Other Actors from Caprolok

At Caprolok, we pride ourselves on developing cutting-edge tools designed to streamline and enhance your digital operations. Our suite of actors extends beyond the Superfast and Affordable Google Search Results Scraper, offering a wide range of solutions tailored to meet various web scraping and data retrieval needs. Each actor is meticulously crafted to deliver precision, speed, and user-friendly experiences, ensuring you have the resources to drive data-driven decisions.

Browse our collection of specialized actors below and discover the perfect tools to empower your projects with efficiency and reliability.

### Caprolok's Diverse Range of Actors

| Actor                                                                                       | Description                                 | Cost           |
| ------------------------------------------------------------------------------------------- | ------------------------------------------- | -------------- |
| [Google Bulk Index Checker](https://apify.com/caprolok/google-bulk-index-checker)           | Quickly check if URLs are indexed by Google | Pay per result |
| [LinkedIn Employees Scraper](https://apify.com/caprolok/linkedin-employees-scraper)         | Scrape employee details from LinkedIn       | Pay per result |
| [LinkedIn Company URL Retriever](https://apify.com/caprolok/linkedin-company-url-retriever) | Retrieve company URLs from LinkedIn         | Pay per result |
| [LinkedIn People URL Retriever](https://apify.com/caprolok/linkedin-people-url-retriever)   | Get URLs for LinkedIn profiles              | Pay per result |
| [Google Rank Checker](https://apify.com/caprolok/google-rank-checker)                       | Check the Google rank for specific URLs     | Pay per result |

# Actor input Schema

## `keywords` (type: `array`):

Enter the keywords you want to search in Google

## `noOfResults` (type: `integer`):

Limit the no. of results you want to extract per keyword

## Actor input object example

```json
{
  "keywords": [
    "Microsoft",
    "Akamai Technologies"
  ],
  "noOfResults": 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 = {
    "keywords": [
        "Microsoft",
        "Akamai Technologies"
    ],
    "noOfResults": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("caprolok/google-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 = {
    "keywords": [
        "Microsoft",
        "Akamai Technologies",
    ],
    "noOfResults": 10,
}

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

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

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

```

## CLI example

```bash
echo '{
  "keywords": [
    "Microsoft",
    "Akamai Technologies"
  ],
  "noOfResults": 10
}' |
apify call caprolok/google-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=caprolok/google-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

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